/* Mobile hero preview — isolated from the rest of the V5.1 design. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-media,
.hero-media img,
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-actions,
.hero-copy .hero-proof {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

html:not(.is-ready) .hero-media {
  opacity: .32;
  transform: none;
}

html:not(.is-ready) .hero-media img { transform: scale(1.025); }

html:not(.is-ready) .hero-copy .eyebrow,
html:not(.is-ready) .hero-copy h1,
html:not(.is-ready) .hero-copy .hero-lead,
html:not(.is-ready) .hero-copy .hero-actions,
html:not(.is-ready) .hero-copy .hero-proof {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

html.is-ready .hero-media,
html.is-ready .hero-media img,
html.is-ready .hero-copy .eyebrow,
html.is-ready .hero-copy h1,
html.is-ready .hero-copy .hero-lead,
html.is-ready .hero-copy .hero-actions,
html.is-ready .hero-copy .hero-proof {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-media {
  transition-property: opacity;
  transition-duration: 1100ms;
  transition-delay: 0ms;
  will-change: opacity;
}

.hero-media img {
  transition-property: transform;
  transition-duration: 1250ms;
  transition-delay: 0ms;
  will-change: transform;
}

.hero-copy .eyebrow { transition-duration: 700ms; transition-delay: 150ms; }
.hero-copy h1 { transition-duration: 900ms; transition-delay: 260ms; }
.hero-copy .hero-lead { transition-duration: 820ms; transition-delay: 380ms; }
.hero-copy .hero-actions { transition-duration: 800ms; transition-delay: 500ms; }
.hero-copy .hero-proof { transition-duration: 760ms; transition-delay: 620ms; }

.hero {
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: center;
}

.hero-media {
  isolation: isolate;
  border-color: rgba(201, 162, 74, .28);
  border-radius: 0 0 72px 0;
}

.hero-media img {
  object-position: 58% center;
  filter: saturate(.9) contrast(1.06) brightness(.88);
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .04), rgba(5, 5, 5, .14) 56%, rgba(5, 5, 5, .82)),
    linear-gradient(90deg, rgba(5, 5, 5, .16), transparent 62%);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.hero-proof span {
  padding: .58rem .72rem .58rem 1.65rem;
  border: 1px solid rgba(223, 194, 127, .25);
  background: rgba(8, 8, 8, .34);
  backdrop-filter: blur(8px);
}

.hero-proof span::before {
  left: .7rem;
  top: .86rem;
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(6, 6, 6, .96);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .45rem;
  }

  .wordmark {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(.98rem, 4.25vw, 1.18rem);
    letter-spacing: .055em;
  }

  .header-actions { gap: .2rem; }

  .language-switcher a {
    min-width: 40px;
    min-height: 40px;
    padding: 0 .5rem;
    font-size: .79rem;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .menu-button span { width: 24px; }

  .hero {
    position: relative;
    height: calc(100svh - 74px);
    min-height: 0;
    padding: 0;
    display: block;
    background: #050505;
  }

  .hero-grid {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    display: block;
    padding: 0;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 59% 47%;
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, .08) 0%, rgba(5, 5, 5, .06) 31%, rgba(5, 5, 5, .48) 54%, rgba(5, 5, 5, .94) 78%, #050505 100%),
      linear-gradient(90deg, rgba(5, 5, 5, .18), transparent 64%);
  }

  .hero-media figcaption { display: none; }

  .hero-copy {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: min(calc(100% - 2rem), var(--shell));
    max-width: none;
    min-height: 0;
    margin-inline: auto;
    padding: 1.25rem 0 calc(1.15rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-copy .eyebrow {
    margin: 0 0 .55rem;
    color: var(--gold-soft);
    font-size: .67rem;
    letter-spacing: .19em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
  }

  .hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(2.08rem, 9.8vw, 2.72rem);
    line-height: .93;
    letter-spacing: -.022em;
    text-wrap: balance;
    text-shadow: 0 5px 24px rgba(0, 0, 0, .78);
  }

  .hero-lead {
    max-width: 38ch;
    margin: .72rem 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.86rem, 3.8vw, .98rem);
    line-height: 1.48;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .82);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(98px, .7fr);
    gap: .5rem;
    margin-top: .88rem;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 50px;
    padding: .7rem .76rem;
    font-size: clamp(.76rem, 3.35vw, .9rem);
    white-space: nowrap;
  }

  .hero-actions .button-gold {
    box-shadow: 0 12px 34px rgba(201, 162, 74, .21);
  }

  .hero-actions .button-ghost {
    background: rgba(8, 8, 8, .28);
    backdrop-filter: blur(10px);
  }

  .hero-proof {
    margin-top: .65rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
  }

  .hero-proof span {
    width: auto;
    padding: .4rem .52rem .4rem 1.18rem;
    font-size: clamp(.6rem, 2.7vw, .72rem);
    line-height: 1.25;
    color: rgba(255, 255, 255, .82);
    border-color: rgba(223, 194, 127, .22);
  }

  .hero-proof span::before {
    left: .48rem;
    top: .65rem;
    width: 5px;
    height: 5px;
  }

  body.hero-in-view .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
  }
}

@media (max-width: 360px), (max-height: 710px) and (max-width: 760px) {
  .hero-copy { padding-bottom: .72rem; }
  .hero-copy .eyebrow { margin-bottom: .4rem; }
  .hero h1 { font-size: clamp(1.88rem, 9vw, 2.3rem); }
  .hero-lead { margin-top: .5rem; font-size: .82rem; line-height: 1.38; }
  .hero-actions { margin-top: .62rem; }
  .hero-actions .button { min-height: 46px; }
  .hero-proof { margin-top: .45rem; }
  .hero-proof span { font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-media,
  .hero-media img,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions,
  .hero-copy .hero-proof {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* V6 final — one coherent homepage system. */
.review-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-top: 1px solid rgba(201, 162, 74, .24);
  border-bottom: 1px solid rgba(201, 162, 74, .24);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 74, .13), transparent 30%),
    linear-gradient(120deg, #080808, #15120c 62%, #090909);
}

.review-strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.review-strip-heading h2 {
  max-width: 13ch;
  margin: .35rem 0 0;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
}

.premium-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(201, 162, 74, .3);
}

.premium-review {
  min-height: 315px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
}

.premium-review blockquote {
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, .9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.3;
}

.premium-review footer {
  display: grid;
  gap: .2rem;
  margin-top: auto;
}

.premium-review footer strong { color: var(--gold-soft); }
.premium-review footer span { color: rgba(255, 255, 255, .5); font-size: .76rem; }
.stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  color: var(--gold-soft);
  letter-spacing: .11em;
}

.review-source {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.needs-section {
  background: #0d0d0b;
  border-top: 0;
}

.needs-section .section-heading { max-width: 790px; }
.needs-section .section-heading > p:last-child { color: rgba(255, 255, 255, .66); }

.needs-section .service-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 162, 74, .3);
  border-color: rgba(201, 162, 74, .3);
}

.needs-section .service-link-card {
  min-height: 245px;
  background: linear-gradient(155deg, #11110f, #090909);
}

.needs-section .service-link-card:hover { background: #18150f; }
.needs-section .service-link-card p { color: rgba(255, 255, 255, .6); }
.needs-section .service-link-card strong { color: var(--gold-soft); }

.therapist-trust {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid rgba(28, 33, 48, .12);
  background:
    radial-gradient(circle at 92% 18%, rgba(157, 118, 34, .12), transparent 25%),
    #e8e0d2;
}

.therapist-trust-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.therapist-trust-intro h2 {
  max-width: 12ch;
  margin: .4rem 0 1rem;
  color: var(--ink);
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
}

.therapist-trust-intro > p:not(.eyebrow) { color: #575b66; }
.therapist-trust-intro .text-link { display: inline-flex; margin-top: 1rem; }

.therapist-trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: #cfc3aa;
}

.therapist-trust-points li {
  min-height: 185px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 250, 240, .92);
}

.therapist-trust-points strong { color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.therapist-trust-points span { color: #60636d; font-size: .86rem; line-height: 1.5; }

.core-services { background: #eee8dc; }
.core-services .section-heading { max-width: 850px; }

.core-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.core-service-card {
  min-height: 560px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28, 33, 48, .15);
  background: linear-gradient(145deg, #fffaf0, #e8e0d2);
  box-shadow: 0 24px 70px rgba(19, 24, 38, .08);
}

.core-service-card-dark {
  color: #fff;
  border-color: rgba(201, 162, 74, .3);
  background:
    radial-gradient(circle at 85% 12%, rgba(201, 162, 74, .16), transparent 28%),
    linear-gradient(150deg, #17150f, #080808 64%);
}

.service-number {
  color: #9d7622;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.core-service-card h3 {
  margin: 1rem 0 .8rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: .98;
}

.core-service-card-dark h3 { color: #fff; }
.core-service-card p { color: #4f5360; font-size: 1.03rem; }
.core-service-card-dark p { color: rgba(255, 255, 255, .68); }
.core-service-card ul { margin: 1.1rem 0 2rem; padding-left: 1.15rem; }
.core-service-card li { margin: .7rem 0; color: #303542; }
.core-service-card-dark li { color: rgba(255, 255, 255, .78); }
.core-service-card .text-link { margin-top: auto; }

.care { background: #080808; }
.care .section-heading .text-link { display: inline-flex; margin-top: 1rem; }
.partnership { border-top: 1px solid rgba(201, 162, 74, .24); }

.context-card-editorial {
  background:
    radial-gradient(circle at 92% 10%, rgba(201, 162, 74, .22), transparent 34%),
    linear-gradient(145deg, #19160f, #0a0a09 72%);
}

.context-card-editorial::after { background: linear-gradient(135deg, transparent, rgba(0, 0, 0, .28)); }

.context-editorial {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.context-editorial > span { margin-bottom: auto; color: var(--gold-soft); font-size: .78rem; letter-spacing: .22em; }
.context-editorial > p { margin: 0 0 .55rem; color: var(--gold-soft); font-size: .75rem; letter-spacing: .17em; text-transform: uppercase; }
.context-editorial h3 { max-width: 28ch; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.context-editorial ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; padding: 0; list-style: none; }
.context-editorial li { padding: .42rem .58rem; border: 1px solid rgba(223, 194, 127, .25); color: rgba(255, 255, 255, .7); font-size: .72rem; }

.profile-card {
  max-width: 470px;
  justify-self: end;
  display: block;
  overflow: hidden;
  padding: 0;
  border-color: rgba(28, 33, 48, .16);
  background: #fffaf0;
}

.profile-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.55;
  object-fit: cover !important;
  object-position: center top;
  border-radius: 0;
  background: #f2f2f2;
  padding: 0;
}

.profile-card > div { padding: 1.15rem 1.3rem 1.35rem; }

.footer-brand-block img {
  object-fit: contain !important;
  background: #080808;
  padding: .35rem;
}

.booking-microcopy {
  margin: 1.25rem 0 1.4rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(223, 194, 127, .65);
}

.booking-microcopy p { margin: .35rem 0; color: rgba(255, 255, 255, .68); font-size: .86rem; }

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(223, 194, 127, .38);
  background: rgba(201, 162, 74, .09);
}

.form-feedback[hidden] { display: none; }
.form-feedback p { margin: 0 0 .8rem; color: rgba(255, 255, 255, .86); }
.form-feedback .button { width: 100%; }

.why-section { background: #f4efe5; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #d4c7ac;
}

.why-card {
  min-height: 265px;
  padding: 1.5rem;
  background: #fffaf0;
}

.why-card span { color: #9d7622; font-size: .74rem; letter-spacing: .18em; }
.why-card h3 { margin: 2rem 0 .7rem; color: var(--ink); font-size: 1.7rem; }
.why-card p { margin: 0; color: #555a66; }

.service-depth-section { background: #f4efe5; }
.service-depth-section .section-heading h2 { color: var(--ink); }
.service-depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.service-depth-card {
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid #d8cfbd;
  background: #fffaf0;
}

.service-depth-card h3 { margin: .3rem 0 .65rem; color: var(--ink); font-size: 1.55rem; }
.service-depth-card p { margin: 0; color: #555a66; }

@media (max-width: 1080px) {
  .premium-reviews,
  .needs-section .service-link-grid,
  .service-depth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .therapist-trust-grid { grid-template-columns: 1fr; }
  .therapist-trust-intro h2 { max-width: 15ch; }
  .profile-card { justify-self: start; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .review-strip { padding: 3.6rem 0; }
  .review-strip-heading { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
  .review-strip-heading h2 { max-width: none; }

  .premium-reviews {
    width: 100%;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 335px);
    gap: .65rem;
    padding: 0 1rem .8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    background: transparent;
  }

  .premium-reviews::-webkit-scrollbar { display: none; }

  .premium-review { min-height: 285px; scroll-snap-align: start; border: 1px solid rgba(201, 162, 74, .3); }
  .premium-review blockquote { font-size: 1.32rem; }

  .needs-section .service-link-grid,
  .core-service-grid,
  .service-depth-grid,
  .why-grid { grid-template-columns: 1fr; }

  .therapist-trust-points { grid-template-columns: 1fr; }
  .therapist-trust-points li { min-height: 150px; }

  .profile-card {
    width: 100%;
    max-width: 520px;
  }

  .profile-card img { width: 100%; height: auto; }

  .needs-section .service-link-card { min-height: 185px; }
  .core-service-card { min-height: 0; padding: 1.5rem; }
  .core-service-card h3 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .why-card { min-height: 210px; }

  .contact { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
}
