/* =============================================================
   legal.css — Reneta Cleaning
   Shared styles for: Support, Privacy Policy, Terms & Conditions
   ============================================================= */

/* ── Hero (reuses ct-hero from contact.css) ─────────────────── */
.lg-hero {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  padding: 160px 0 80px;
  display: flex;
  align-items: flex-end;
}

.lg-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 16, 0.80) 0%,
    rgba(10, 22, 16, 0.40) 55%,
    transparent 100%
  );
}

.lg-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.lg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--f-viet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.lg-hero__title {
  font-family: var(--f-viet);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 14px;
}

.lg-hero__subtitle {
  font-family: var(--f-viet);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

/* ── Content wrapper ─────────────────────────────────────────── */
.lg-content {
  background: #ffffff;
  padding: 80px 0 100px;
}

.lg-content__inner {
  max-width: 820px;
  margin: 0 auto;
}

/* Last updated pill */
.lg-updated {
  display: inline-block;
  background: #e6f6ee;
  color: var(--rc-green-dark);
  font-family: var(--f-viet);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Section headings */
.lg-content__inner h2 {
  font-family: var(--f-viet);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rc-dark);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.lg-content__inner h3 {
  font-family: var(--f-viet);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rc-dark);
  margin: 28px 0 10px;
}

/* Body text */
.lg-content__inner p {
  font-family: var(--f-viet);
  font-size: 0.97rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Lists */
.lg-content__inner ul,
.lg-content__inner ol {
  font-family: var(--f-viet);
  font-size: 0.97rem;
  color: #4b5563;
  line-height: 1.8;
  padding-left: 1.4rem;
  margin-bottom: 18px;
}

.lg-content__inner ul li,
.lg-content__inner ol li {
  margin-bottom: 8px;
}

/* Highlight box */
.lg-highlight {
  background: #f0faf6;
  border-left: 4px solid var(--rc-green);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-family: var(--f-viet);
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
}

/* Contact box */
.lg-contact-box {
  background: #111827;
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.lg-contact-box__text h3 {
  font-family: var(--f-viet);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  border: none;
  padding: 0;
}

.lg-contact-box__text p {
  font-family: var(--f-viet);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.lg-contact-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rc-green);
  color: #ffffff;
  font-family: var(--f-viet);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.lg-contact-box__btn:hover {
  opacity: 0.88;
  color: #fff;
}

/* ── Support-specific: FAQ cards ─────────────────────────────── */
.lg-support__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.lg-support__card {
  background: #f8fafc;
  border: 1.5px solid #e9ecef;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lg-support__card:hover {
  border-color: var(--rc-green);
  box-shadow: 0 6px 24px rgba(23, 141, 113, 0.12);
  transform: translateY(-2px);
}

.lg-support__card-icon {
  width: 52px;
  height: 52px;
  background: #e6f6ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--rc-green);
  font-size: 1.3rem;
}

.lg-support__card-title {
  font-family: var(--f-viet);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rc-dark);
  margin-bottom: 6px;
}

.lg-support__card-desc {
  font-family: var(--f-viet);
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .lg-hero {
    min-height: 42vh;
    padding: 140px 0 60px;
  }

  .lg-content {
    padding: 60px 0 80px;
  }
}

@media (max-width: 767px) {
  .lg-hero {
    min-height: 36vh;
    padding: 110px 0 50px;
  }

  .lg-content {
    padding: 50px 0 70px;
  }

  .lg-content__inner h2 {
    font-size: 1.25rem;
    margin-top: 36px;
  }

  .lg-contact-box {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .lg-contact-box__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .lg-hero {
    padding: 95px 0 44px;
  }

  .lg-hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .lg-support__cards {
    grid-template-columns: 1fr 1fr;
  }
}
