/* Quick Physio — Orbit theme layer (matches the patient app).
   Loaded after site.css on every page; overrides tokens and shared components only. */
:root {
  --teal: #00ae97;
  --teal-deep: #007a6b;
  --teal-darker: #045c51;
  --teal-soft: #e8f8f5;
  --teal-mid: #9fe3d6;
  --navy: #102421;
  --navy-soft: #24403b;
  --ink: #102421;
  --muted: #4a615c;
  --line: #e1eeea;
  --bg: #f6faf9;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sheet: 28px;
  --r-tile: 22px;
  --r-input: 18px;
  --r-btn: 16px;
  --r-sm: 12px;
  --shadow-btn: 0 8px 18px rgba(0, 174, 151, 0.28);
  --shadow-card: 0 1px 2px rgba(16, 36, 33, 0.04), 0 10px 28px rgba(16, 36, 33, 0.06);
}

body {
  line-height: 1.6;
}

h1,
h2,
h3,
.section-title,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 700;
}

.section-label,
.banner-kicker {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
}

/* ——— Header ——— */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding: 0.6rem 0;
  min-height: 64px;
}

.brand-text strong {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}

.nav-toggle,
.nav-cta {
  min-height: 44px;
  border-radius: var(--r-sm);
  font-weight: 700;
}

.nav-toggle {
  padding: 0 0.95rem;
  align-items: center;
  border-color: var(--line);
  color: var(--ink);
}

.nav-cta {
  padding: 0 1.05rem;
  box-shadow: var(--shadow-btn);
}

.nav-links > li > a,
.nav-drop > summary {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 979px) {
  .nav-links > li > a,
  .nav-drop > summary,
  .nav-drop-panel a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .nav-links > li + li {
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    font-size: 0.85rem;
    padding: 0 0.85rem;
  }

  .brand-text small {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0;
}

/* Flex gap would split "Book · " from the painted price span */
.btn:has(> [data-qp-price]) {
  display: inline-block;
  padding-block: 0.95rem;
  line-height: 1.3;
  text-align: center;
}

.btn-sm {
  min-height: 44px;
  padding: 0 1rem;
  font-size: 0.88rem;
  border-radius: var(--r-sm);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--teal-darker);
}

/* ——— Cards ——— */
.cat-card,
.mode-card,
.pain-card,
.related-card,
.type-card,
.pd-detail-card,
.exercise-card,
.treatment-used-card,
.g-review-card,
.city-pick-card,
.service-tile,
.why-us-item,
.prevention-item,
.side-card,
.blog-card,
.clinic-card,
.loc-card {
  border-radius: var(--r-tile);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.cat-card-media,
.mode-media {
  border-radius: var(--r-tile) var(--r-tile) 0 0;
}

.pd-chip,
.symptom-chip,
.therapy-chip,
.tag-row span {
  border-radius: 999px;
}

/* ——— Inner-page hero + breadcrumbs ——— */
.page-hero::after {
  background:
    linear-gradient(180deg, rgba(4, 30, 26, 0.35) 0%, rgba(4, 30, 26, 0.86) 80%),
    linear-gradient(105deg, rgba(4, 30, 26, 0.9) 0%, rgba(4, 30, 26, 0.4) 100%);
}

.page-hero h1 {
  max-width: 22ch;
}

.breadcrumb {
  opacity: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  gap: 0.25rem 0.4rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
  padding: 0.35rem 0;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-dark,
.breadcrumb-dark span,
.pd-hero .breadcrumb,
.pd-hero .breadcrumb span {
  color: var(--muted);
}

.breadcrumb-dark a,
.pd-hero .breadcrumb a {
  color: var(--teal-deep);
  text-decoration-color: rgba(0, 122, 107, 0.35);
}

/* ——— Home hero (static, inline pincode → price → Book) ——— */
.qp-hero {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0, 174, 151, 0.14), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.qp-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 920px) {
  .qp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.qp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.qp-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.08;
  color: var(--ink);
}

.qp-hero-lead {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.qp-hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qp-hero-trust li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  color: var(--muted);
}

.qp-hero-trust strong {
  color: var(--ink);
}

.qp-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  box-shadow: 0 18px 44px rgba(16, 36, 33, 0.1);
  padding: 1rem;
  color: var(--ink);
}

.qp-hero-media {
  margin: 0 0 1rem;
  border-radius: var(--r-tile);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--teal-soft);
}

.qp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .qp-hero h1 {
    font-size: 1.9rem;
  }

  .qp-hero-lead {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .qp-hero-trust {
    gap: 0.35rem;
  }

  .qp-hero-trust li {
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
  }

  .qp-hero-card {
    padding: 0.85rem;
  }

  .qp-hero-media {
    aspect-ratio: 16 / 6;
    margin-bottom: 0.85rem;
  }
}

.qp-hero-call {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
}

.page-hero .qp-hero-card {
  max-width: 30rem;
  margin-top: 1.25rem;
}

/* ——— Pincode widget ——— */
.qp-pin {
  display: grid;
  gap: 0.6rem;
}

.qp-pin-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.qp-pin-row {
  display: flex;
  gap: 0.5rem;
}

.qp-pin-input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.qp-pin-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 174, 151, 0.15);
}

.qp-pin-input[aria-invalid="true"] {
  border-color: #d14b3d;
}

.qp-pin-go {
  flex-shrink: 0;
  padding: 0 1.1rem;
}

.qp-pin-result {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  color: var(--muted);
  font-size: 0.92rem;
}

.qp-pin-result strong {
  font-size: 1.25rem;
  color: var(--ink);
}

.qp-pin-result s {
  margin: 0 0.15rem;
}

.qp-pin-result.is-error {
  background: #fdf0ee;
  color: #a1392e;
}

.qp-pin-book {
  width: 100%;
}

/* ——— Platform strip (slim) ——— */
.qp-platform.is-strip {
  background: var(--ink);
  padding: 1rem 0;
}

.qp-platform.is-strip::before {
  display: none;
}

.qp-platform.is-strip .qp-platform-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qp-platform.is-strip .qp-platform-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0;
  border: 0;
  background: none;
  min-width: 0;
}

.qp-platform.is-strip strong {
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  color: #7ff0dc;
  line-height: 1.2;
}

.qp-platform.is-strip span {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

/* Location / clinic hero stats — 3 across on mobile */
@media (max-width: 639px) {
  .index-stat-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .index-stat {
    padding: 0.55rem 0.4rem;
  }

  .index-stat strong {
    font-size: 1.15rem;
  }

  .index-stat span {
    font-size: 0.62rem;
  }
}

/* ——— Accordions (long problem pages) ——— */
.qp-acc {
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: #fff;
  margin: 0 0 0.75rem;
  box-shadow: var(--shadow-card);
}

.qp-acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  list-style: none;
}

.qp-acc > summary::-webkit-details-marker {
  display: none;
}

.qp-acc > summary h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink);
}

.qp-acc > summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007A6B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  transition: transform 0.2s ease;
}

.qp-acc[open] > summary::after {
  transform: rotate(180deg);
}

.qp-acc-body {
  padding: 0 1.1rem 1.1rem;
}

.qp-acc-body > .section-label:first-child,
.qp-acc-body > .section-title:first-child {
  display: none;
}

/* ——— Pain check (questions are h2 now, page title is the h1) ——— */
.pc-step-body h2.pc-h {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 4.5vw, 1.95rem);
  line-height: 1.2;
  color: var(--navy);
}

.pc-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
}

/* ——— FAQ / forms ——— */
.faq-list details,
.faq-item {
  border-radius: var(--r-sm);
}

.faq-list summary {
  min-height: 52px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  border-radius: var(--r-input);
}

/* ——— Footer ——— */
.site-footer a {
  display: inline-block;
  padding: 0.3rem 0;
}

/* ——— Mobile: one fixed bar (Book + WhatsApp), nothing else floating ——— */
.mobile-book-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-book-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--line);
  background: #fff;
  color: #1faa53;
}

@media (max-width: 979px) {
  .mobile-book-bar {
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(16, 36, 33, 0.1);
  }

  .mobile-book-info strong {
    color: var(--ink);
    font-weight: 800;
  }

  .mobile-book-btn {
    min-height: 48px;
    border-radius: var(--r-btn);
    box-shadow: var(--shadow-btn);
  }

  body:not(.has-sticky-offer):not(.has-metro-sticky):not(.has-pain-engage):not(.pain-check-page) .wa-float {
    display: none !important;
  }

  .wa-float {
    bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .wa-float-label {
    display: none;
  }
}

@media (min-width: 980px) {
  .mobile-book-wa {
    display: none;
  }
}

/* Sticky "Book" is a link to the patient app now */
a.mobile-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.offer-card {
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
}

.offer-card--free {
  background: var(--teal-soft);
  border: 1.5px solid var(--teal);
}

.offer-card--free h3 {
  color: var(--teal-darker);
}

/* ——— Slim header: logo · 5 links + More · call icon · Book in app ——— */
.site-header.qp-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.qp-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(16, 36, 33, 0.06);
}

.qp-header .nav {
  min-height: 56px;
  padding: 0;
  gap: 0.5rem;
  justify-content: flex-start;
}

.qp-header .brand {
  margin-right: auto;
  gap: 0.5rem;
}

.qp-header .brand img {
  width: 28px;
  height: 28px;
}

.qp-header .brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.qp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qp-header .qp-call,
.qp-header .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 0;
}

.qp-header .qp-call {
  color: var(--teal-deep);
  text-decoration: none;
}

.qp-header .nav-toggle {
  color: var(--ink);
}

.qp-header .qp-call:hover,
.qp-header .nav-toggle:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.qp-header .qp-book {
  display: none;
}

.qp-header .nav-links {
  top: 100%;
  max-height: calc(100vh - 56px);
  box-shadow: 0 18px 32px rgba(16, 36, 33, 0.12);
}

.qp-header .nav-links > li.nav-drawer-cta {
  border-top: 0;
  padding-top: 0.75rem;
}

.qp-header .nav-links > li.nav-drawer-cta > a {
  justify-content: center;
  min-height: 48px;
  border-radius: var(--r-sm);
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

@media (min-width: 980px) {
  .qp-header .nav {
    min-height: 64px;
    gap: 1.75rem;
  }

  .qp-header .brand {
    margin-right: 0;
  }

  .qp-header .brand img {
    width: 32px;
    height: 32px;
  }

  .qp-header .qp-nav {
    margin-right: auto;
  }

  .qp-header .nav-links {
    gap: 0 1.4rem;
    box-shadow: none;
    max-height: none;
  }

  .qp-header .nav-links > li > a,
  .qp-header .nav-drop > summary {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .qp-header .nav-links > li.nav-drawer-cta,
  .qp-header .nav-toggle {
    display: none;
  }

  .qp-header .qp-call {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .qp-header .qp-book {
    display: inline-flex;
    min-height: 40px;
    padding: 0 1.1rem;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
  }

  .qp-header .nav-more .nav-drop-panel {
    left: auto;
    right: 0;
    min-width: 200px;
  }
}

/* ——— Therapies: deep-teal section, white 4:3 cards (Orbit tiles), snap rail < 980px, 3/4-col grid above ——— */
.therapies-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse 70% 55% at 90% 0%, rgba(0, 174, 151, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 174, 151, 0.14), transparent 60%),
    linear-gradient(180deg, #053f38 0%, #045c51 100%);
}

.therapies-section .section-label {
  color: #8ff0de;
  letter-spacing: 0.12em;
}

.therapies-section .section-title {
  max-width: 22ch;
  color: #fff;
}

.therapies-section .section-lead {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.therapy-grid {
  --rail-pad: 1.125rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--rail-pad) - 0.9rem) / 1.2);
  gap: 0.9rem;
  margin: 1.75rem calc(-1 * var(--rail-pad)) 0;
  padding: 0.25rem var(--rail-pad) 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.therapy-grid::-webkit-scrollbar {
  display: none;
}

.therapy-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-tile);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(2, 30, 26, 0.1), 0 16px 36px rgba(2, 30, 26, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.therapy-card:hover,
.therapy-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(2, 30, 26, 0.1), 0 22px 44px rgba(2, 30, 26, 0.36);
}

.therapy-card:focus-visible {
  outline: 3px solid #8ff0de;
  outline-offset: 3px;
}

.therapy-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--teal-soft);
}

.therapy-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.therapy-card:hover .therapy-card-media img {
  transform: scale(1.04);
}

.therapy-card-media img[src*="physio-session"] {
  object-position: left center;
}

.therapy-card-media.is-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, #e8f8f5 0%, #cff0ea 100%);
}

.therapy-card-media.is-icon img {
  width: 46%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  mix-blend-mode: multiply;
}

.therapy-card:hover .therapy-card-media.is-icon img {
  transform: scale(1.06);
}

.therapy-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem 1.25rem;
}

.therapies-section .therapy-card h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.therapies-section .therapy-card p {
  display: -webkit-box;
  margin: 0;
  min-height: 3em;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.therapy-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-deep);
}

/* closing "Open app" card */
.therapy-card-cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(160deg, #00ae97 0%, #007a6b 100%);
  color: #fff;
}

.therapy-card-cta .therapy-card-body {
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.5rem 1.35rem 1.4rem;
}

.therapy-card-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4fff6;
}

.therapies-section .therapy-card-cta h3 {
  font-size: 1.3rem;
  color: #fff;
}

.therapies-section .therapy-card-cta p {
  min-height: 0;
  color: rgba(255, 255, 255, 0.9);
  -webkit-line-clamp: 3;
}

.therapy-card-cta .therapy-card-more {
  align-self: flex-start;
  margin-top: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--teal-darker);
}

@media (min-width: 700px) {
  .therapy-grid {
    grid-auto-columns: calc((100% - 2 * var(--rail-pad) - 2 * 0.9rem) / 2.2);
  }
}

@media (min-width: 980px) {
  .therapy-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2.25rem 0 0;
    padding: 0;
    overflow: visible;
  }
}

@media (min-width: 1200px) {
  .therapy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ——— Header Login (secondary) ——— */
.qp-header .qp-login {
  display: none;
}

@media (max-width: 979px) {
  .qp-header .nav-links > li.nav-drawer-cta {
    display: grid;
    gap: 0.5rem;
  }
}

.qp-header .nav-links > li.nav-drawer-cta > a.qp-drawer-login {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}

@media (min-width: 980px) {
  .qp-header .qp-login {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }

  .qp-header .qp-login:hover {
    border-color: var(--teal);
    color: var(--teal-deep);
  }
}

@media (min-width: 980px) and (max-width: 1139px) {
  .qp-header .nav {
    gap: 1rem;
  }

  .qp-header .nav-links {
    gap: 0 0.95rem;
  }

  .qp-header .nav-links > li > a,
  .qp-header .nav-drop > summary {
    font-size: 0.86rem;
  }

  .qp-header .qp-book,
  .qp-header .qp-login {
    padding: 0 0.8rem;
  }
}

/* ——— "Open app" popup: bottom sheet < 700px, centred modal above ——— */
body.qp-oa-open {
  overflow: hidden;
}

.qp-oa {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: var(--font-body);
}

.qp-oa[hidden] {
  display: none;
}

.qp-oa-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 26, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.qp-oa-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100% - 10px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 -12px 40px rgba(4, 30, 26, 0.22);
  transform: translateY(100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qp-oa.is-in .qp-oa-backdrop {
  opacity: 1;
}

.qp-oa.is-in .qp-oa-card {
  transform: none;
}

.qp-oa-grip {
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto 1rem;
  border-radius: 4px;
  background: var(--line);
}

.qp-oa-x {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.qp-oa-x:hover {
  background: var(--teal-soft);
  color: var(--ink);
}

.qp-oa-logo {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
}

.qp-oa-title {
  margin: 0 2.5rem 0.4rem 0;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.qp-oa-sub {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.qp-oa-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.qp-oa-field {
  display: flex;
  align-items: stretch;
  height: 56px;
  overflow: hidden;
  border: 1.5px solid #d4e6e1;
  border-radius: var(--r-input);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qp-oa-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 174, 151, 0.16);
}

.qp-oa-cc {
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  border-right: 1.5px solid var(--line);
  background: #f1f8f6;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.qp-oa-field input[type="tel"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  outline: none;
  box-shadow: none;
}

.qp-oa-field input[aria-invalid="true"] {
  color: #c23b3b;
}

.qp-oa-err {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c23b3b;
}

.qp-oa-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 1rem;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}

.qp-oa-go:hover {
  background: #009985;
}

.qp-oa-consent {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.qp-oa-consent a {
  color: var(--teal-deep);
  text-decoration: underline;
}

.qp-oa-field input[type="tel"] {
  font-size: 17px;
}

.qp-oa-later {
  display: block;
  margin: 0.55rem auto 0;
  padding: 0.5rem 1rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.qp-oa-later:hover {
  color: var(--ink);
}

/* open variant: no hero / bullets / Not now */
.qp-oa-hero,
.qp-oa-points,
.qp-oa-later {
  display: none;
}

/* discount variant (auto on scroll) */
.qp-oa.is-discount .qp-oa-card {
  padding: 0;
}

.qp-oa.is-discount .qp-oa-grip {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 2;
  margin: 0 0 0 -20px;
  background: rgba(255, 255, 255, 0.7);
}

.qp-oa.is-discount .qp-oa-x {
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.qp-oa.is-discount .qp-oa-hero {
  position: relative;
  display: block;
  height: 168px;
  overflow: hidden;
  background: linear-gradient(140deg, #00ae97 0%, #007a6b 60%, #045c51 100%);
}

.qp-oa-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.qp-oa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(180deg, rgba(0, 174, 151, 0.25) 0%, rgba(4, 92, 81, 0.75) 100%);
}

.qp-oa-chip {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.qp-oa-phone {
  position: absolute;
  right: 1.5rem;
  top: 1.6rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 112px;
  height: 200px;
  padding: 1.4rem 0.6rem 0;
  border: 4px solid #0d2f2a;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #e8f8f5 100%);
  box-shadow: 0 18px 30px rgba(2, 30, 26, 0.4);
  transform: rotate(6deg);
  text-align: center;
}

.qp-oa-phone-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 34px;
  height: 6px;
  margin-left: -17px;
  border-radius: 6px;
  background: #0d2f2a;
}

.qp-oa-phone strong {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
}

.qp-oa-phone span {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--muted);
}

.qp-oa-phone-tag {
  margin-top: 0.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  background: var(--teal);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  color: #fff;
}

.qp-oa.is-discount .qp-oa-main {
  padding: 1.1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
}

.qp-oa.is-discount .qp-oa-logo {
  display: none;
}

.qp-oa.is-discount .qp-oa-title {
  margin-right: 0;
  font-size: 1.45rem;
}

.qp-oa.is-discount .qp-oa-points {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.qp-oa-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.qp-oa-points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.qp-oa.is-discount .qp-oa-later {
  display: block;
}

.qp-oa.is-discount .qp-oa-consent {
  text-align: center;
}

/* keyboard open on phones: keep only what is needed so field + button sit above the keyboard */
@media (max-width: 979px) {
  .qp-oa.kb-open .qp-oa-hero,
  .qp-oa.kb-open .qp-oa-points,
  .qp-oa.kb-open .qp-oa-logo,
  .qp-oa.kb-open .qp-oa-grip,
  .qp-oa.kb-open .qp-oa-sub,
  .qp-oa.kb-open .qp-oa-later {
    display: none;
  }

  .qp-oa.kb-open .qp-oa-card {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-radius: 20px 20px 0 0;
  }

  .qp-oa.kb-open.is-discount .qp-oa-card {
    padding: 0;
  }

  .qp-oa.kb-open.is-discount .qp-oa-main {
    padding: 1rem 1.25rem 0.9rem;
  }

  .qp-oa.kb-open .qp-oa-title {
    margin-right: 2.75rem;
    font-size: 1.15rem;
  }

  .qp-oa.kb-open .qp-oa-x {
    background: transparent;
  }

  .qp-oa.kb-open .qp-oa-consent {
    margin-top: 0.5rem;
    font-size: 0.7rem;
  }
}

@media (min-width: 700px) {
  .qp-oa {
    align-items: center;
    padding: 1.5rem;
  }

  .qp-oa.is-discount .qp-oa-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    max-width: 780px;
    padding: 0;
  }

  .qp-oa.is-discount .qp-oa-hero {
    height: auto;
    min-height: 100%;
  }

  .qp-oa.is-discount .qp-oa-phone {
    top: 50%;
    right: 50%;
    width: 150px;
    height: 270px;
    margin: -150px -75px 0 0;
    padding-top: 2rem;
    gap: 0.4rem;
  }

  .qp-oa.is-discount .qp-oa-phone strong {
    font-size: 0.9rem;
  }

  .qp-oa.is-discount .qp-oa-phone span {
    font-size: 0.68rem;
  }

  .qp-oa.is-discount .qp-oa-phone-tag {
    font-size: 0.72rem;
  }

  .qp-oa.is-discount .qp-oa-chip {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .qp-oa.is-discount .qp-oa-main {
    padding: 2.25rem 2rem 1.5rem;
  }

  .qp-oa.is-discount .qp-oa-title {
    margin-right: 2rem;
    font-size: 1.6rem;
  }

  .qp-oa-card {
    padding: 2rem 2rem 1.75rem;
    border-radius: var(--r-sheet);
    box-shadow: 0 24px 60px rgba(4, 30, 26, 0.3);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .qp-oa.is-in .qp-oa-card {
    opacity: 1;
  }

  .qp-oa-grip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qp-oa-card,
  .qp-oa-backdrop,
  .therapy-card,
  .therapy-card-media img {
    transition: none;
  }
}

/* ——— Sticky mobile bar: Call · WhatsApp · Open app ——— */
@media (max-width: 979px) {
  .mobile-book-bar.qp-open-bar {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .qp-open-bar .qp-bar-call {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.35rem;
    height: 48px;
    padding: 0 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-btn);
    background: #fff;
    color: var(--teal-deep);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }

  .qp-open-bar .mobile-book-wa {
    flex: 0 0 auto;
  }

  .qp-open-bar .mobile-book-btn {
    flex: 1;
    min-width: 0;
    padding: 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  .qp-open-bar .qp-bar-call span {
    display: none;
  }
}

/* ——— Home v2 (scripts/home-v2.cjs) ——— */
.hv-home {
  overflow-x: clip;
}

.hv-home .container {
  width: min(100% - 2.5rem, 1180px);
}

.hv-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.hv-h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hv-sub {
  max-width: 52ch;
  margin: 0.6rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.hv-sub a {
  color: var(--teal-deep);
  font-weight: 700;
}

.hv-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.hv-center {
  margin-top: 2rem;
  text-align: center;
}

.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hv-btn:hover {
  transform: translateY(-1px);
}

.hv-btn-sm {
  min-height: 46px;
  padding: 0 1.15rem;
  font-size: 0.92rem;
}

.hv-btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 174, 151, 0.32);
}

.hv-btn-primary:hover {
  background: #009985;
  color: #fff;
}

.hv-btn-dark {
  background: var(--ink);
  color: #fff;
}

.hv-btn-ghost {
  border-color: #d4e6e1;
  background: #fff;
  color: var(--ink);
}

.hv-btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.hv-btn-white {
  background: #fff;
  color: var(--teal-darker);
  box-shadow: 0 10px 24px rgba(2, 30, 26, 0.25);
}

.hv-btn-outline-white {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hv-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--teal-deep);
  text-decoration: none;
}

.hv-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 36, 33, 0.15);
  font-weight: 800;
  font-style: normal;
  color: #4285f4;
}

/* hero */
.hv-hero {
  padding: 1.5rem 0 2.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 174, 151, 0.16), transparent 60%),
    linear-gradient(180deg, #f1faf8 0%, #ffffff 100%);
}

.hv-hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-areas: "copy" "media" "quick";
}

.hv-hero-copy {
  grid-area: copy;
}

.hv-hero-media {
  grid-area: media;
  position: relative;
}

.hv-quick {
  grid-area: quick;
  min-width: 0;
}

.hv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--teal-soft);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-darker);
}

.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 174, 151, 0.2);
}

.hv-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 7.6vw, 3.6rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hv-hero h1 span {
  color: var(--teal);
}

.hv-lead {
  max-width: 50ch;
  margin: 0.9rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.hv-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hv-hero .hv-cta-row .hv-btn-primary {
  flex: 1 1 180px;
}

.hv-hero .hv-cta-row .hv-btn-ghost {
  flex: 0 1 auto;
}

.hv-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hv-trust li {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.hv-trust strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}

.hv-trust span {
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--muted);
}

.hv-hero-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sheet);
  box-shadow: 0 24px 50px rgba(4, 52, 46, 0.18);
}

.hv-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(4, 52, 46, 0.18);
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--muted);
}

.hv-float strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
}

.hv-float svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.hv-float-a {
  left: 0.75rem;
  bottom: 0.75rem;
}

.hv-float-b {
  right: 0.75rem;
  top: 0.75rem;
}

.hv-quick-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.hv-quick-title span {
  margin-left: 0.35rem;
  font-weight: 600;
  color: var(--muted);
}

.hv-chips {
  display: flex;
  gap: 0.5rem;
  margin: 0 -1.25rem;
  padding: 0 1.25rem 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.hv-chips::-webkit-scrollbar {
  display: none;
}

.hv-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1.5px solid #d4e6e1;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.hv-chip:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-darker);
}

.hv-pin {
  margin-top: 1rem;
}

.hv-pin-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.hv-pin-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.3rem 0.3rem 0.85rem;
  border: 1.5px solid #d4e6e1;
  border-radius: var(--r-input);
  background: #fff;
}

.hv-pin-row:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 174, 151, 0.14);
}

.hv-pin-ic {
  display: inline-flex;
  color: var(--teal-deep);
}

.hv-pin-row input.qp-pin-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 0.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.hv-pin-go {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

@media (min-width: 980px) {
  .hv-hero {
    padding: 3.5rem 0 4rem;
  }

  .hv-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "copy media" "quick media";
    column-gap: 3.5rem;
    row-gap: 1.75rem;
    align-items: start;
  }

  .hv-hero-media {
    align-self: center;
  }

  .hv-hero h1 {
    font-size: clamp(2.6rem, 3.6vw, 3.25rem);
  }

  .hv-hero h1 span {
    white-space: nowrap;
  }

  .hv-hero-photo {
    aspect-ratio: 5 / 6;
  }

  .hv-hero .hv-cta-row .hv-btn-primary {
    flex: 0 0 auto;
    padding: 0 1.9rem;
  }

  .hv-trust {
    max-width: 520px;
  }

  .hv-chips {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .hv-pin {
    max-width: 520px;
  }

  .hv-float-a {
    left: -1.5rem;
    bottom: 2rem;
  }

  .hv-float-b {
    right: -1rem;
    top: 2rem;
  }

  .hv-float {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .hv-float strong {
    font-size: 0.9rem;
  }
}

/* proof */
.hv-proof {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.hv-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hv-score {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfa;
  text-decoration: none;
  color: var(--ink);
}

.hv-score strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.hv-score small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.hv-stars {
  margin: 0;
  color: #f2a900;
  letter-spacing: 0.08em;
}

.hv-reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 0.9rem;
  margin: 1.5rem -1.25rem 0;
  padding: 0.25rem 1.25rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  scrollbar-width: none;
}

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

.hv-review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: #fff;
  box-shadow: 0 8px 24px rgba(4, 52, 46, 0.06);
}

.hv-review blockquote {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.hv-review-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.6rem;
  margin: 0;
  font-size: 0.9rem;
}

.hv-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-darker);
}

.hv-review-src {
  width: 100%;
  padding-left: calc(36px + 0.6rem);
  margin-top: -0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hv-cred {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.9rem 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--r-tile);
  background: var(--teal-soft);
}

.hv-cred img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 30% center;
}

.hv-cred-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.hv-cred-name {
  margin: 0.15rem 0 0;
  font-weight: 800;
  color: var(--ink);
}

.hv-cred-name span {
  font-weight: 600;
  color: var(--muted);
}

.hv-cred-text {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.hv-cred .hv-link {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .hv-reviews {
    grid-auto-columns: calc((100% - 2.5rem - 1.8rem) / 2.4);
  }
}

@media (min-width: 980px) {
  .hv-reviews {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2rem 0 0;
    padding: 0;
    overflow: visible;
  }

  .hv-review:nth-child(n + 4) {
    display: none;
  }

  .hv-cred {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    padding: 1.1rem 1.5rem;
  }

  .hv-cred img {
    width: 72px;
    height: 72px;
  }

  .hv-cred-text {
    grid-column: 2;
  }

  .hv-cred .hv-link {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

/* problems */
.hv-problems {
  background: #f6faf9;
}

.hv-prob-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hv-prob {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hv-prob:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(4, 52, 46, 0.08);
  transform: translateY(-2px);
}

.hv-prob img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.hv-prob span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hv-prob strong {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.hv-prob small {
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hv-prob-all {
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.hv-prob-all small {
  color: rgba(255, 255, 255, 0.7);
}

.hv-prob-all:hover {
  border-color: transparent;
}

@media (min-width: 700px) {
  .hv-prob-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hv-prob-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hv-prob {
    padding: 0.7rem;
  }

  .hv-prob img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .hv-prob strong {
    font-size: 1rem;
  }

  .hv-prob small {
    font-size: 0.8rem;
  }

  .hv-prob-all {
    grid-column: span 2;
  }
}

/* how it works */
.hv-how {
  background: #fff;
}

.hv-steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.hv-step {
  position: relative;
  padding: 1.25rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.hv-step-ic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 174, 151, 0.28);
}

.hv-step-ic b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ink);
  font-size: 0.72rem;
  color: #fff;
}

.hv-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.hv-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 819px) {
  .hv-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
  }

  .hv-step-ic {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .hv-step h3 {
    margin-top: 0.2rem;
  }
}

@media (max-width: 699px) {
  .hv-prob:not(.hv-prob-all) small {
    display: none;
  }

  .hv-prob {
    min-height: 64px;
  }
}

@media (min-width: 820px) {
  .hv-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .hv-step {
    padding: 1.6rem;
  }
}

/* home page therapies spacing */
.hv-home .therapies-section .container {
  width: min(100% - 2.5rem, 1180px);
}

/* why + modes */
.hv-why {
  background: #f6faf9;
}

.hv-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hv-why-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.hv-why-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.3rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.hv-why-grid strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.hv-why-grid li > span:last-child {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.hv-modes {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hv-mode {
  overflow: hidden;
  border-radius: var(--r-tile);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(4, 52, 46, 0.06);
}

.hv-mode img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hv-mode-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.hv-mode h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.hv-mode p {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 980px) {
  .hv-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .hv-why-grid li {
    padding: 1.25rem;
  }

  .hv-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .hv-mode {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
  }

  .hv-mode img {
    height: 100%;
    aspect-ratio: auto;
  }

  .hv-mode-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
  }
}

/* locations */
.hv-locs {
  background: #fff;
}

.hv-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hv-cities a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6faf9;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.hv-cities a svg {
  color: var(--teal);
}

.hv-cities a:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.hv-cities .hv-cities-all {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.hv-clinics {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hv-clinic {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-tile);
  text-decoration: none;
}

.hv-clinic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hv-clinic:hover img {
  transform: scale(1.04);
}

.hv-clinic > span {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.15rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 30, 26, 0.85) 100%);
  color: #fff;
}

.hv-clinic strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.hv-clinic small {
  font-size: 0.82rem;
  opacity: 0.85;
}

@media (min-width: 820px) {
  .hv-clinics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .hv-clinic {
    aspect-ratio: 16 / 8;
  }
}

/* app band */
.hv-app {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: #fff;
}

.hv-app-grid {
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1.75rem 1.4rem 0;
  border-radius: var(--r-sheet);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(140deg, #00ae97 0%, #007a6b 60%, #045c51 100%);
  color: #fff;
}

.hv-app .container.hv-app-grid {
  width: min(100% - 2.5rem, 1180px);
}

.hv-app-chip {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hv-app h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.hv-app ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.hv-app li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.97rem;
  font-weight: 600;
}

.hv-app li svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hv-app-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hv-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 210px;
  height: 230px;
  padding: 1.8rem 1rem 0;
  border: 6px solid #0d2f2a;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #e8f8f5 100%);
  box-shadow: 0 -10px 40px rgba(2, 30, 26, 0.35);
  color: var(--ink);
}

.hv-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 54px;
  height: 7px;
  margin-left: -27px;
  border-radius: 6px;
  background: #0d2f2a;
}

.hv-phone strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.hv-phone-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(4, 52, 46, 0.08);
  font-size: 0.72rem;
}

.hv-phone-row b {
  font-weight: 800;
}

.hv-phone-row i {
  font-style: normal;
  color: var(--muted);
}

.hv-phone-tag {
  margin-top: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  background: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 820px) {
  .hv-app-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    padding: 3rem 3rem 0;
  }

  .hv-app-copy {
    padding-bottom: 3rem;
  }

  .hv-phone {
    width: 250px;
    height: 290px;
  }
}

/* FAQ */
.hv-faq {
  background: #f6faf9;
}

.hv-faq-grid {
  display: grid;
  gap: 1.25rem;
}

.hv-faq-list {
  display: grid;
  gap: 0.6rem;
}

.hv-faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.hv-faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.85rem 3rem 0.85rem 1.15rem;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.hv-faq-list summary::-webkit-details-marker {
  display: none;
}

.hv-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.hv-faq-list details[open] summary::after {
  content: "–";
}

.hv-faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (min-width: 980px) {
  .hv-faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
  }
}

/* final CTA */
.hv-final {
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  background: #f6faf9;
}

.hv-final-box {
  padding: 2.25rem 1.4rem;
  border-radius: var(--r-sheet);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 174, 151, 0.35), transparent 50%),
    linear-gradient(160deg, #0d2f2a 0%, #045c51 100%);
  color: #fff;
  text-align: center;
}

.hv-final .container.hv-final-box {
  width: min(100% - 2.5rem, 1180px);
}

.hv-final h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.hv-final p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.hv-final .hv-cta-row {
  justify-content: center;
}

@media (min-width: 820px) {
  .hv-final-box {
    padding: 3.25rem 2rem;
  }
}
