/**
 * Layout — containers, sections, grids, and all section-specific layouts.
 * Mobile-first. Desktop enhancements via min-width queries.
 */

/* === Container === */

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}

/* === Sections === */

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

/* Stronger alternating backgrounds for visual rhythm */
.section--services {
  background: linear-gradient(180deg, var(--color-surface-base) 0%, var(--color-surface-light) 8%, var(--color-surface-light) 92%, var(--color-surface-base) 100%);
}

.section--process {
  background: linear-gradient(180deg, #F5F1E8 0%, var(--color-surface-light) 100%);
}

.section--qualifications {
  background: linear-gradient(180deg, var(--color-surface-base) 0%, var(--color-surface-light) 10%, var(--color-surface-light) 90%, var(--color-surface-base) 100%);
}

.section--faq {
  background: linear-gradient(180deg, var(--color-surface-light) 0%, #F5F1E8 100%);
}


.section--pre-footer-cta {
  background: var(--gradient-gold);
  color: var(--color-text-inverse);
}

/* === Section headings === */

.section__heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .section__heading {
    margin-bottom: var(--space-3xl);
  }
}

/* Eyebrow (script accent above headings) */
.section__eyebrow {
  text-align: center;
}

/* ==========================================================================
   HERO — Full-bleed with crossfading background slideshow
   Atmospheric imagery, warm gradient overlay, staggered content entrance.
   ========================================================================== */

.section--hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

@media (min-width: 640px) {
  .section--hero {
    min-height: 85vh;
    padding-top: var(--space-3xl);
  }
}

/* Landscape phones/tablets: don't force tall hero */
@media (min-width: 640px) and (orientation: landscape) and (max-height: 600px) {
  .section--hero {
    min-height: 0;
  }
}

@media (min-width: 1024px) {
  .section--hero {
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: var(--space-4xl);
  }
}

/* Landscape laptops with short screens */
@media (min-width: 1024px) and (max-height: 700px) {
  .section--hero {
    min-height: 0;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
  }
}

/* --- Background image --- */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/assets/images/stock/elderly-holding-hands-closeup.jpg') center / cover no-repeat;
}

/* --- Gradient overlay (ensures text readability) --- */

/* Mobile: strong uniform overlay so text is always readable */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(248, 246, 241, 0.88);
}

/* Tablet: top-to-bottom gradient reveals image at bottom */
@media (min-width: 640px) {
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(248, 246, 241, 0.94) 0%,
      rgba(248, 246, 241, 0.85) 55%,
      rgba(248, 246, 241, 0.45) 100%
    );
  }
}

/* Desktop: left-to-right gradient reveals image on right */
@media (min-width: 1024px) {
  .hero__overlay {
    background: linear-gradient(
      105deg,
      rgba(248, 246, 241, 0.97) 0%,
      rgba(248, 246, 241, 0.92) 30%,
      rgba(248, 246, 241, 0.6) 58%,
      rgba(248, 246, 241, 0.25) 80%,
      rgba(248, 246, 241, 0.1) 100%
    );
  }
}

/* --- Inner layout --- */

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 660px;
}

/* --- Eyebrow (tagline in script) --- */

.hero__eyebrow {
  display: inline-block;
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--color-brand-gold);
  margin-bottom: var(--space-md);
}

/* --- Headline --- */

.hero__headline {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
}

.hero__headline-accent {
  display: block;
  color: var(--color-brand-gold-mid);
  font-size: 1.3em;
  line-height: 1.1;
  margin-top: 4px;
  letter-spacing: 0;
}

/* --- Subline --- */

.hero__subline {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-md));
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

/* --- CTA row --- */

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .hero__cta-row {
    gap: var(--space-xl);
  }
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-md);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero__action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.hero__action-link svg {
  flex-shrink: 0;
  color: var(--color-brand-gold-mid);
}

.hero__action-link--whatsapp svg {
  color: #25D366;
}

.hero__action-link:hover {
  color: var(--color-text-primary);
  text-decoration: none;
}

/* --- Trust strip --- */

.hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.hero__trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

.hero__trust-chip svg {
  color: var(--color-brand-gold);
  flex-shrink: 0;
}

.hero__trust-chip--featured {
  background: linear-gradient(135deg, rgba(241, 207, 93, 0.15), rgba(180, 135, 41, 0.06));
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(225, 179, 67, 0.25);
  color: var(--color-brand-gold-dark);
}

.hero__trust-number {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-brand-gold-mid);
  line-height: 1;
}

/* --- Scroll hint --- */

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-text-secondary);
  opacity: 0.5;
  text-decoration: none;
}

@media (min-width: 640px) {
  .hero__scroll-hint {
    display: flex;
  }
}

.hero__scroll-hint:hover {
  opacity: 0.9;
  color: var(--color-brand-gold-mid);
  text-decoration: none;
}

.hero__scroll-text {
  font-size: 0.6875rem;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-hint svg {
    animation: heroBounce 2.4s ease-in-out infinite;
  }
}

@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Entrance animation (signature moment) --- */

/* Gate behind .js-reveal-ready so content stays visible without JS */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready .section--hero .hero__content > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out),
                transform 0.7s var(--ease-out);
  }

  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > * {
    opacity: 1;
    transform: translateY(0);
  }

  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > :nth-child(1) { transition-delay: 100ms; }
  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > :nth-child(2) { transition-delay: 250ms; }
  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > :nth-child(3) { transition-delay: 400ms; }
  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > :nth-child(4) { transition-delay: 550ms; }
  .js-reveal-ready .section--hero.is-hero-revealed .hero__content > :nth-child(5) { transition-delay: 700ms; }

  .js-reveal-ready .hero__scroll-hint {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out) 1.4s;
  }

  .js-reveal-ready .section--hero.is-hero-revealed .hero__scroll-hint {
    opacity: 0.5;
  }

  .js-reveal-ready .section--hero.is-hero-revealed .hero__scroll-hint:hover {
    opacity: 0.9;
    transition-delay: 0s;
  }
}

/* ==========================================================================
   SERVICES — Flexbox grid, centered last row
   ========================================================================== */

.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.services__card {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-surface-base);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(180, 135, 41, 0.06);
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .services__card {
    transition: transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out),
                border-color var(--duration-normal) var(--ease-default);
  }

  .services__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-brand-gold);
  }
}

@media (min-width: 640px) {
  .services__card {
    flex: 0 1 calc(50% - var(--space-xl) / 2);
  }
}

@media (min-width: 1024px) {
  .services__card {
    flex: 0 1 calc(33.333% - var(--space-xl) * 2 / 3);
    max-width: calc(33.333% - var(--space-xl) * 2 / 3);
  }
}

.services__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(241, 207, 93, 0.14), rgba(180, 135, 41, 0.06));
  border: 1px solid rgba(225, 179, 67, 0.12);
  margin-bottom: var(--space-xl);
}

.services__icon svg {
  display: block;
}

.services__title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  font-size: var(--text-md);
}

.services__description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

@media (max-width: 639px) {
  .services__description {
    font-size: var(--text-sm);
  }
}

.services__link {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-brand-gold-mid);
}

@media (min-width: 640px) {
  .services__link {
    display: inline-flex;
  }
}

.services__link:hover {
  color: var(--color-brand-gold-dark);
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .services__link svg {
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .services__link:hover svg {
    transform: translateX(4px);
  }
}

/* ==========================================================================
   TRUST BRIDGE — bold emotional transition with background image
   ========================================================================== */

.section--trust-bridge {
  display: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3D3A34 0%, #59564E 50%, #3D3A34 100%);
  color: var(--color-text-inverse);
}

@media (min-width: 640px) {
  .section--trust-bridge {
    display: block;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.trust-bridge__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/stock/cozy-room-tea.jpg') center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.trust-bridge__quote {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  border: none;
  padding: 0;
}

.trust-bridge__text {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  color: var(--color-brand-gold-light);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-tight);
}

.trust-bridge__subtext {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-relaxed);
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing__table-wrapper {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing__table {
  background: var(--color-surface-base);
}

.pricing__table th {
  background: var(--color-text-primary);
  color: var(--color-text-inverse);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

@media (min-width: 640px) {
  .pricing__table th {
    padding: var(--space-md) var(--space-xl);
  }
}

.pricing__table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-surface-light);
  font-size: var(--text-sm);
}

@media (min-width: 640px) {
  .pricing__table td {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
  }
}

.pricing__table tbody tr {
  border-left: 3px solid transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing__table tbody tr {
    transition: background-color var(--duration-fast) var(--ease-default),
                border-color var(--duration-fast) var(--ease-default);
  }
}

.pricing__table tbody tr:hover {
  background-color: rgba(241, 207, 93, 0.04);
  border-left-color: var(--color-brand-gold);
}

.pricing__table tr:last-child td {
  border-bottom: none;
}

.pricing__table td:last-child {
  font-weight: var(--weight-bold);
  color: var(--color-brand-gold-dark);
  white-space: nowrap;
  text-align: right;
}

.pricing__table th:last-child {
  text-align: right;
}

.pricing__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 640px) {
  .process__steps {
    gap: var(--space-xl);
  }
}

@media (min-width: 640px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.process__step {
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  position: relative;
}

@media (min-width: 640px) {
  .process__step {
    padding: var(--space-xl) var(--space-lg);
  }
}

.process__number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-brand-gold);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

@media (min-width: 640px) {
  .process__number {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-md);
  }
}

@media (min-width: 640px) {
  .process__step--has-connector::after {
    content: '';
    position: absolute;
    top: var(--space-3xl);
    right: -16%;
    width: 32%;
    height: 1px;
    background: var(--color-brand-gold);
    opacity: 0.25;
  }
}

.process__title {
  color: var(--color-text-primary);
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

.process__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 639px) {
  .process__text {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   VALUES — Centered intro + three value pillars
   ========================================================================== */

.section--values {
  background: linear-gradient(180deg, var(--color-surface-base) 0%, #F5F1E8 40%, #F0EBE0 100%);
  position: relative;
}

/* Intro */
.values__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

@media (min-width: 640px) {
  .values__intro {
    margin-bottom: var(--space-3xl);
  }
}

.values__lead {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

@media (min-width: 640px) {
  .values__lead {
    font-size: var(--text-md);
  }
}

/* Pillars grid */
.values__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .values__pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual pillar — typography-driven */
.values__pillar {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

@media (min-width: 640px) {
  .values__pillar {
    padding: var(--space-2xl) var(--space-lg);
  }
}

.values__pillar-word {
  display: block;
  font-size: var(--text-2xl);
  color: var(--color-brand-gold);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

@media (min-width: 640px) {
  .values__pillar-word {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-md);
  }
}

.values__pillar-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .values__pillar-text {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.section--about {
  background: linear-gradient(180deg, var(--color-surface-base) 0%, var(--color-surface-light) 100%);
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about__inner {
    flex-direction: row;
    gap: var(--space-2xl);
    align-items: center;
  }

  .about__image-wrapper {
    flex: 0 0 40%;
    max-width: 460px;
  }

  .about__content {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .about__inner {
    gap: var(--space-4xl);
  }

  .about__image-wrapper {
    flex: 0 0 42%;
  }
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 2;
}

/* Secondary image: Erica in action, overlaps on desktop */
.about__image-secondary {
  display: none;
}

@media (min-width: 1024px) {
  .about__image-secondary {
    display: block;
    position: absolute;
    bottom: -40px;
    right: -30px;
    z-index: 2;
    width: 170px;
    height: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 4px solid var(--color-surface-base);
  }
}

.about__content .section__heading {
  text-align: left;
}

.about__content .section__heading::after {
  left: 0;
  transform: none;
}

.about__name {
  font-size: var(--text-xl);
  color: var(--color-brand-gold);
  margin-bottom: var(--space-md);
}

.about__content p {
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

@media (min-width: 640px) {
  .about__content p {
    font-size: var(--text-md);
  }
}

/* ==========================================================================
   QUALIFICATIONS
   ========================================================================== */

.qualifications__intro {
  text-align: center;
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-2xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.qualifications__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .qualifications__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qualifications__item {
  background: var(--color-surface-base);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-brand-gold);
  box-shadow: var(--shadow-sm);
}

.qualifications__title {
  color: var(--color-text-primary);
  font-size: var(--text-base);
  margin-bottom: 4px;
}

.qualifications__detail {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */

/* ==========================================================================
   CONTACT
   ========================================================================== */

.section--contact {
  background: linear-gradient(180deg, var(--color-surface-base) 0%, #F5F1E8 100%);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .contact__inner {
    flex-direction: row;
    gap: var(--space-2xl);
    align-items: flex-start;
  }

  .contact__info {
    flex: 0 0 34%;
    position: sticky;
    top: calc(80px + var(--space-xl));
  }

  .contact__form {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .contact__inner {
    gap: var(--space-4xl);
  }

  .contact__info {
    flex: 0 0 36%;
  }
}

.contact__info .section__heading {
  text-align: left;
}

.contact__info .section__heading::after {
  left: 0;
  transform: none;
}

.contact__info .section__eyebrow {
  text-align: left;
}

.contact__intro {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: var(--leading-relaxed);
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: var(--border-light);
}

.contact__channel {
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
}

@media (min-width: 1024px) {
  .contact__channel {
    padding: var(--space-sm) 0;
  }
}

.contact__channel strong {
  color: var(--color-text-primary);
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* Compact contact channels on mobile */
@media (max-width: 1023px) {
  .contact__channels {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-xl);
    border-top: none;
    padding-top: 0;
  }

  .contact__channel strong {
    display: none;
  }
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.section--faq .container {
  max-width: 800px;
}

.faq__list {
  list-style: none;
  padding: 0;
}

/* ==========================================================================
   PRE-FOOTER CTA
   ========================================================================== */

.section--pre-footer-cta {
  display: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .section--pre-footer-cta {
    display: block;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.pre-footer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Real photo background (subtle) */
.pre-footer-cta__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/real/erica-child-playing.jpg') center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.section--pre-footer-cta .cta-block {
  justify-content: center;
}

.section--pre-footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 55%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.pre-footer-cta__eyebrow {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.pre-footer-cta__text {
  font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2xl);
  color: var(--color-text-inverse);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-tight);
}

.section--pre-footer-cta .btn--primary {
  background: var(--color-surface-base);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-md);
  padding: 16px var(--space-2xl);
  font-size: var(--text-md);
}

.section--pre-footer-cta .btn--primary:hover {
  background: var(--color-text-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.section--pre-footer-cta .btn--primary:active {
  transform: translateY(0);
}

.section--pre-footer-cta .cta-block__link {
  color: rgba(255, 255, 255, 0.85);
}

.section--pre-footer-cta .cta-block__svg,
.section--pre-footer-cta .cta-block__link svg {
  color: rgba(255, 255, 255, 0.85);
}

.section--pre-footer-cta .cta-block__link:hover {
  color: var(--color-text-inverse);
  text-decoration: none;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-page {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.legal-page h1 {
  margin-bottom: var(--space-2xl);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  font-size: var(--text-xl);
}

.legal-page p,
.legal-page ul {
  max-width: var(--content-narrow);
  line-height: var(--leading-relaxed);
}
