/* =========================================================
   Sujok Homeo Clinic — homepage styles
   ========================================================= */

:root {
  /* Brand colours */
  --green-900: #0a4a2c;
  --green-800: #0d5a35;   /* primary buttons */
  --green-700: #136b3f;   /* headline green */
  --green-600: #1a8a4a;   /* bright accent (services heading) */
  --green-100: #e6f2e8;   /* icon circles, tags */
  --green-50:  #f3f8f2;   /* tinted section backgrounds */
  --footer-bg: #1c4d2e;

  /* v3 colour test: the client's logo green for green-filled buttons only */
  --btn-fill: #78C35C;         /* logo green */
  --btn-fill-hover: #5FA845;   /* darker logo green */
  --btn-label: #14203A;        /* navy label: 7.5:1 on --btn-fill (white would be 2.15:1) */
  --text-green: #367A25;       /* darker logo green for text: 4.6-5.3:1 on the page backgrounds (#78C35C as text is only 1.9-2.2:1) */

  /* Brand palette from the Sujok design system (used by the hero carousel) */
  --brand-primary: #246B3B;
  --brand-deep:    #174D2A;
  --brand-light:   #EAF4E7;

  --ink-900: #14203a;     /* headings (deep navy) */
  --ink-700: #3c4757;
  --ink-500: #5f6b7d;     /* body copy (slate) */
  --line:    #e6ebe6;
  --white:   #ffffff;
  --page-bg: #fbfcfb;

  /* Type */
  --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* v2 type scale. Serif (Libre Caslon Text) for headings, sans (DM Sans) for everything else.
     The header, hero, booking and footer keep their own values. */
  --fs-h2: clamp(2.1rem, 4.2vw, 3.5rem);          /* section headings: 56px desktop, 33.6px mobile */
  --lh-h2: 1.12;
  --ls-h2: -.01em;
  --fs-h3-panel: clamp(1.7rem, 2.6vw, 2.35rem);   /* service panel title */
  --fs-h3-feature: clamp(1.25rem, 1.65vw, 1.5rem);/* About rows, team names (green) */
  --fs-h3: 1.25rem;                               /* card titles (navy) */
  --lh-h3: 1.25;
  --fs-h4: 1.05rem;                               /* strip titles, service tabs */
  --fs-lead: clamp(1rem, 1.3vw, 1.15rem);         /* section intros */
  --lh-lead: 1.65;
  --fs-body: 1rem;                                /* panel text, About rows, team bios, contact rows */
  --fs-body-sm: .95rem;                           /* card descriptions, checklists */
  --lh-body: 1.6;
  --fs-small: .9rem;                              /* notes and captions */
  --fs-eyebrow: .92rem;
  --ls-eyebrow: .2em;
  --fs-eyebrow-sm: .8rem;                         /* panel kicker */
  --fs-btn-lg: 1.12rem;
  --fs-link: 1rem;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  /* Vertical rhythm: visible gap between the content of neighbouring sections.
     Each gap is split across the two sections' padding (see "Section spacing"),
     so padding never stacks into a double gap. Tablet/mobile values are below. */
  --gap-hero-why: 64px;
  --gap-why-about: 80px;
  --gap-about-services: 80px;
  --gap-services-booking: 88px;
  --gap-booking-footer: 64px;
  --gap-section: 88px;     /* v2: space between the white sections */
  --band-pad-y: 64px;      /* v2: inner top/bottom padding of the pale bands (About, Team, Visit) */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 58, .05), 0 2px 8px rgba(20, 32, 58, .04);
  --shadow:    0 6px 24px rgba(20, 32, 58, .07), 0 1px 3px rgba(20, 32, 58, .05);
  --shadow-lg: 0 18px 48px rgba(20, 32, 58, .10);

  --header-h: 102px;

  /* Motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --reveal-distance: 22px;
  --reveal-duration: .7s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* No hover lift either; colour/shadow feedback remains */
  .btn:hover { transform: none; }
}

/* ---------- Scroll reveal ----------
   Elements are only hidden once script.js has tagged them with .reveal,
   and only if they start below the fold. Without JS everything stays visible.
   :root raises specificity above component transitions (.service-card, .btn, ...);
   script.js removes these classes once the reveal finishes, restoring hover transitions. */
:root .reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
:root .reveal.is-revealed { opacity: 1; transform: none; }
@media print {
  :root .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-500);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 400; color: var(--ink-900); line-height: 1.12; }

:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green-800); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.text-green  { color: var(--text-green); }
.text-accent { color: var(--green-600); }

/* ---------- Icons ---------- */
.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; stroke-width: 2; }
.icon-xs { width: 12px; height: 12px; stroke-width: 2; vertical-align: -1px; }

.icon-circle {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
}
.icon-circle-sm { width: 34px; height: 34px; }
.icon-circle-lg { width: 64px; height: 64px; }
.icon-circle-lg .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.icon-circle-xl { width: 62px; height: 62px; }
.icon-circle-xl .icon { width: 28px; height: 28px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 24px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-weight: 500; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.btn-sm { padding: 10px 26px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.12rem; }
.btn-primary { background: var(--btn-fill); color: var(--btn-label); box-shadow: 0 6px 16px rgba(13, 90, 53, .22); }
.btn-primary:hover { background: var(--btn-fill-hover); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13, 90, 53, .28); }
.btn-outline { background: rgba(255, 255, 255, .6); border-color: var(--green-800); color: var(--green-900); border-radius: 12px; }
.btn-outline:hover { background: var(--btn-fill); color: var(--btn-label); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13, 90, 53, .2); }
.btn:active { transform: translateY(0); }
.hero .btn-primary { border-radius: 12px; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-green); font-weight: 500;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Section scaffolding ---------- */
/* Section spacing — one source of truth for the gaps between sections.
   Tinted bands (hero, About, footer) count as blocks: the gap runs to the band's edge.
   Between two sections on the same background, the gap is split across both paddings. */
.section { padding-block: 0; }
/* v2: the white sections space themselves with --gap-section (see "v2 sections") */
.booking  { padding-top: calc(var(--gap-services-booking) / 2); padding-bottom: var(--gap-booking-footer); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  margin-bottom: 14px;
  font-size: .92rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-green);
}
.eyebrow::after { content: ""; width: 56px; height: 1.5px; background: currentColor; }

.section-title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.01em; }
.section-title .text-green, .section-title .text-accent { display: inline; }
.section-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; color: var(--ink-500); }

.section-head-center { max-width: 1000px; margin: 0 auto clamp(32px, 4vw, 44px); text-align: center; }
.section-head-center .section-title { margin-bottom: 14px; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.section-head-center .section-lead { max-width: 640px; margin-inline: auto; }

.media-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.card-title { font-size: 1.3rem; line-height: 1.25; margin-bottom: 8px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(140%) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(20, 32, 58, .08); }

/* No max-width of its own: as a .container it shares the page content's width, so the logo and the
   Book a Consultation button line up with the content edges at every screen size */
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { flex: none; }
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 86px; }

.site-nav { display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 22px); margin-left: auto; }

.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-size: .95rem; font-weight: 400; color: var(--ink-900); white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green-700); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--green-700); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.dropdown-toggle::after { display: none; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -16px; min-width: 190px;
  padding: 8px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown-toggle[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .95rem; color: var(--ink-900); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--green-50); color: var(--green-700); }
.dropdown-toggle .icon { transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Service menus (Homeopathy, Kids Health, Pain Relief): the label is a link to the section page and
   the chevron is a separate button, so the topic list opens on hover or on the button, not on
   keyboard focus of the link (tabbing past the menu doesn't step through every topic) */
.has-split { display: flex; align-items: center; }
.nav-caret {
  display: grid; place-items: center; width: 16px; height: 30px; padding: 0;
  background: none; border: 0; border-radius: 6px; color: var(--ink-700); cursor: pointer;
}
.nav-caret:hover, .nav-caret:focus-visible { color: var(--green-700); }
.has-split:focus-within:not(:hover) .dropdown { opacity: 0; visibility: hidden; transform: translateY(6px); }
.has-split .dropdown-toggle[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-split::before {   /* hover bridge across the gap above the panel */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.dropdown--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; width: 460px; }
.dropdown--cols a { line-height: 1.3; }
.dropdown a[aria-current="page"] { background: var(--green-50); color: var(--green-700); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-actions .btn { padding-inline: 18px; }   /* keeps "Book a Consultation" on one line beside the eight-link menu */

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink-900); cursor: pointer;
}
.icon-btn:hover { background: var(--green-50); color: var(--green-700); }
.icon-btn .icon { width: 24px; height: 24px; stroke-width: 1.5; }

.nav-login { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-900); }
.nav-login .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.nav-login:hover { color: var(--green-700); }

.cart-count {
  position: absolute; top: -2px; right: -4px;
  display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: var(--pill); background: var(--green-800); color: var(--white);
  font-size: .68rem; font-weight: 700;
}

/* Header search bar (opened by the search icon; added by store-header.js) */
.site-search { padding: 14px 0 18px; border-top: 1px solid var(--line); background: var(--white); }
.site-search[hidden] { display: none; }
.site-search-form { display: flex; align-items: center; gap: 10px; }
.site-search-field {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 16px;
  background: var(--white); border: 1px solid #cfdccb; border-radius: var(--pill);
}
.site-search-field:focus-within { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(13, 90, 53, .12); }
.site-search-field .icon { flex: none; color: var(--ink-500); }
.site-search-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font: inherit; color: var(--ink-900); }
.site-search-form .btn { flex: none; }
@media (max-width: 560px) {
  .site-search-form .btn-text { display: none; }   /* phones: icon-only Search button */
}

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--ink-900); cursor: pointer; place-items: center;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  --hero-bar-overlap: 56px;     /* how far the feature bar overlaps the slides */
  --hero-slide-ms: 600ms;
  position: relative; isolation: isolate;
  background: linear-gradient(90deg, #f1f7f0 0%, #f6f9f5 40%, #eef3ee 100%);
}

/* ---------- Carousel frame ---------- */
.hero-viewport { position: relative; overflow: hidden; }
.hero-track {
  display: flex; /* slides stretch to the tallest one, so height never jumps */
  transition: transform var(--hero-slide-ms) cubic-bezier(.4, 0, .2, 1);
}
.hero-slide {
  position: relative; isolation: isolate;
  flex: 0 0 100%; min-width: 0;
  padding-top: clamp(56px, 6.5vw, 84px);
  padding-bottom: var(--hero-bar-overlap);
}
.hero-viewport + .container { position: relative; z-index: 2; margin-top: calc(-1 * var(--hero-bar-overlap)); }

.hero-media { position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 15%; }

/* v3: slide 1 plays a silent video in the same frame as the photo it replaces.
   The poster also sits behind it as a background, so the frame is never empty: while
   the video loads, in the carousel's looping copy of slide 1, and with reduced motion. */
.hero-media--video { background: url("../images/sujok-hero-poster.jpg") 50% 30% / cover no-repeat; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-slide--clone .hero-video { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #f3f8f2 0%, rgba(243, 248, 242, .82) 16%, rgba(243, 248, 242, 0) 42%);
}

/* Family slide: keep the family and practitioner in frame at every crop */
.hero-slide--family .hero-media { width: 50%; }
.hero-slide--family .hero-media img { object-position: 0% 40%; }
.hero-slide--family .hero-media::before { /* short fade so the mother at the photo's edge stays visible */
  background: linear-gradient(90deg, #f3f8f2 0%, rgba(243, 248, 242, .5) 4%, rgba(243, 248, 242, 0) 10%);
}

/* Eyebrow with a short leading rule */
.hero-kicker--rule { display: flex; align-items: center; flex-wrap: wrap; }
.hero-kicker--rule::before {
  content: ""; width: 36px; height: 1.5px; margin-right: 18px; background: var(--brand-primary);
}

/* Narrower desktops: keep the copy inside the text column (the photo starts at 50%) */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero-slide--family .hero-content > * { max-width: calc(50vw - var(--gutter) - 16px); }
}

/* ---------- Carousel controls ---------- */
.hero-controls-wrap {
  position: absolute; left: 0; right: 0; bottom: calc(var(--hero-bar-overlap) + 22px); z-index: 3;
  display: flex; justify-content: flex-end; pointer-events: none;
}
.hero-controls {
  display: flex; align-items: center; gap: 4px; pointer-events: auto;
  padding: 5px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .88); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.hero-controls[hidden] { display: none; }
.hero-arrow {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: transparent; color: var(--brand-deep); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.hero-arrow:hover { background: var(--brand-light); color: var(--brand-primary); }
.hero-arrow .icon { width: 20px; height: 20px; stroke-width: 2; }
.hero-pause { margin-left: 2px; border-left: 1px solid var(--line); border-radius: 0 50% 50% 0; }
.hero-pause .icon { width: 16px; height: 16px; }
.hero-dots { display: flex; align-items: center; gap: 2px; padding-inline: 4px; }
.hero-dot {
  display: grid; place-items: center; width: 24px; height: 38px; /* comfortable tap target */
  padding: 0; border: 0; background: none; cursor: pointer;
}
.hero-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: var(--pill);
  background: #c5d6c6; transition: width .3s var(--ease-out), background-color .3s;
}
.hero-dot:hover::before { background: var(--brand-primary); }
.hero-dot[aria-current="true"]::before { width: 22px; background: var(--brand-primary); }

.hero-content { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }
.hero-kicker {
  margin-bottom: 22px;
  font-size: .9rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-700);
}
.hero-kicker span { margin-inline: .5em; color: var(--brand-primary); }
.hero-title {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.015em; color: #1d2230;
}
.hero-title .text-green { display: block; color: var(--brand-deep); }
.hero-lead { max-width: 33rem; margin-bottom: 34px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-700); line-height: 1.6; }

.feature-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
  transform: translateY(0); margin-bottom: -1px;
}
.feature-bar-item {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 4px 16px; font-size: .98rem; line-height: 1.45; color: var(--ink-700);
}
.feature-bar-item + .feature-bar-item { border-left: 1px solid var(--line); }
.feature-bar-item .icon-circle { width: 58px; height: 58px; }
.feature-bar-item .icon-circle .icon { width: 26px; height: 26px; }

/* =========================================================
   v2 sections (Frame 3 design) — all on solid white
   Typography reuses the existing classes (.eyebrow, .section-title,
   .section-lead, .card-title), so fonts and sizes are unchanged.
   ========================================================= */
.v2-section { background: #FFFFFF; padding-top: var(--gap-section); }
.v2-section .section-title .text-green { display: block; }
.v2-section .section-head-center .section-title .text-green { display: inline; }
.v2-section .section-head-center .eyebrow { margin-bottom: 12px; }
/* Centred headings (Services, How to Get Started): a little more room before the intro */
.v2-services .section-head-center .section-title,
.v2-steps .section-head-center .section-title { margin-bottom: 18px; }

/* Shared: soft card surface on white */
.v2-card-surface,
.v2-feature, .v2-panel, .v2-strip, .v2-member, .v2-step, .v2-visit-info {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* Shared: four-point strip (About, Services) */
.v2-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px; padding: 22px 12px;
}
.v2-strip li { display: flex; align-items: center; gap: 16px; padding: 4px 20px; }
.v2-strip li + li { border-left: 1px solid var(--line); }
.v2-strip .icon-circle { width: 56px; height: 56px; }
.v2-strip strong { display: block; margin-bottom: 2px; font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-h4); line-height: var(--lh-h3); color: var(--ink-900); }
.v2-strip span:not(.icon-circle) { display: block; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-500); }

/* ---------- v2 type scale (shared levels; values in :root) ---------- */
.v2-section .section-title { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); letter-spacing: var(--ls-h2); color: var(--ink-900); text-wrap: balance; }
.v2-section h3 { text-wrap: balance; }   /* even line lengths, no one-word last lines */
.v2-section .section-title .text-green { color: var(--text-green); }
.v2-section .section-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-500); }
.v2-section .eyebrow { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--ls-eyebrow); color: var(--text-green); }
.v2-section .card-title { font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--ink-900); }
.v2-section .btn-lg { font-size: var(--fs-btn-lg); }

/* Shared: text link on white, and links waiting for a verified URL */
.v2-text-link { font-size: var(--fs-link); color: var(--text-green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.v2-panel-link { align-self: flex-start; margin-top: 26px; font-size: var(--fs-link); }   /* "Learn More About …" under each service */
.v2-center-row { justify-content: center; margin-top: 36px; }
.v2-btn-pill { border-radius: var(--pill); }
.v2-plain-link { color: var(--ink-900); font-weight: 500; }
.v2-plain-link:hover { color: var(--text-green); text-decoration: underline; }
.v2-muted { font-size: var(--fs-small); color: var(--ink-500); }

/* ---------- Why Choose Sujok ---------- */
.v2-why { padding-top: var(--gap-hero-why); }
/* Full-width grid: the photo bleeds to the viewport's left edge; the text column's
   right edge lines up with the main 1280px content grid (same edge as Services, Steps, Booking). */
.v2-why-grid {
  display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); column-gap: clamp(32px, 3.5vw, 50px);
  align-items: center;
  padding-right: max(var(--gutter), calc((100% - var(--container)) / 2));
}
/* Frame 3's photo shape: square left edge, large curve top-right, smaller curve bottom-right.
   The radii match the curve in the source photo (566x848), so the box keeps that aspect ratio. */
.v2-why-media {
  aspect-ratio: 566 / 848; overflow: hidden;
  border-radius: 0 71% 31% 0 / 0 39% 17.2% 0;
}
.v2-why-media img { width: 100%; height: 100%; object-fit: cover; }
.v2-why-body .section-title { margin-bottom: 18px; }
.v2-why-body .section-lead { max-width: 42rem; margin-bottom: 30px; }
.v2-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.v2-feature { display: flex; align-items: flex-start; gap: 16px; padding: 20px 12px 22px 18px; min-height: 156px; }
.v2-feature .icon-circle-lg { width: 72px; height: 72px; }
.v2-feature .icon-circle-lg .icon { width: 32px; height: 32px; }
.v2-feature .card-title { margin-top: 8px; }
.v2-feature p { font-size: var(--fs-body-sm); line-height: var(--lh-body); }
.v2-why-actions { gap: 18px 28px; }
.v2-why-divider { align-self: stretch; width: 1px; min-height: 40px; margin-block: 8px; background: #cfd8cf; }

/* ---------- About Sujok Homeo Clinic ----------
   Layout from the earlier About design: a flat pale-green band, photo on the left,
   three rows with separators, a button and a text link. Text from Frame 3. */
.v2-about {
  margin-top: var(--gap-section);              /* white space between Why and the band */
  padding-block: var(--band-pad-y);
  background: #F8FEF7;
}
/* Wider than the site container: ~27px side margins at 1440px, as in the design */
.v2-about > .container { max-width: 1490px; padding-inline: clamp(16px, 1.9vw, 28px); }
.v2-about-grid { display: grid; grid-template-columns: minmax(0, 691fr) minmax(0, 642fr); column-gap: clamp(32px, 3.7vw, 53px); align-items: center; }
.v2-about-media {
  overflow: hidden; aspect-ratio: 724 / 862; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(28, 77, 46, .08), 0 1px 3px rgba(20, 32, 58, .05);
}
.v2-about-media img, .v2-about-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* v3: sound toggle for the About video (shown by script-v3.js) */
.v2-about-media { position: relative; }
.v2-sound-toggle {
  position: absolute; right: 16px; bottom: 16px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green-800);
  box-shadow: 0 4px 14px rgba(20, 32, 58, .18); cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.v2-sound-toggle:hover { background: #FFFFFF; transform: scale(1.06); }
.v2-sound-toggle[hidden] { display: none; }

.v2-about-body { padding-right: clamp(0px, 1.8vw, 26px); }
.v2-about-body .section-title { margin-bottom: 22px; }
.v2-about-body .section-lead { margin-bottom: 30px; color: var(--ink-700); }
.v2-about-list { margin-bottom: 48px; }
.v2-about-list li { display: flex; align-items: flex-start; gap: 31px; padding: 24px 0 28px; }
.v2-about-list li:first-child { padding-top: 0; }
.v2-about-list li:last-child { padding-bottom: 0; }
.v2-about-list li + li { border-top: 1px solid #E6EBE5; }
.v2-about-list .icon-circle { width: 78px; height: 78px; background: #E6F6DF; color: var(--green-800); }
.v2-about-list .icon-circle .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.v2-about-list .card-title { margin: 6px 0 8px; font-size: var(--fs-h3-feature); color: var(--text-green); }
.v2-about-list p { font-size: var(--fs-body); line-height: var(--lh-body); }
.v2-about-actions { gap: 18px 38px; }
.v2-about-actions .btn-lg { min-height: 60px; padding-inline: 40px; }

/* ---------- Explore Our Services (tabs) ---------- */
.v2-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.v2-tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 72px; padding: 12px 18px; text-align: left;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-family: var(--font-serif); font-size: var(--fs-h4); line-height: var(--lh-h3); color: var(--ink-900); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.v2-tab .icon { width: 26px; height: 26px; color: var(--green-700); transition: color .25s; }
.v2-tab:hover { border-color: #cfdccf; box-shadow: var(--shadow); }
.v2-tab[aria-selected="true"] { background: var(--btn-fill); border-color: var(--btn-fill); color: var(--btn-label); box-shadow: 0 8px 20px rgba(13, 90, 53, .22); }
.v2-tab[aria-selected="true"] .icon { color: var(--btn-label); }
.v2-tab[aria-selected="true"]::after {    /* small pointer toward the panel */
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px;
  background: var(--btn-fill); transform: translateX(-50%) rotate(45deg); border-radius: 2px;
}

.v2-panel { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); overflow: hidden; }
.v2-panel[hidden] { display: none; }
.v2-panel:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
.v2-panel-img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.v2-panel-body { padding: clamp(26px, 3.2vw, 44px); }
.v2-panel-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 16px; }
.v2-panel-kicker { margin-bottom: 6px; font-size: var(--fs-eyebrow-sm); font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-green); }
.v2-panel-title { font-size: var(--fs-h3-panel); line-height: 1.15; }
.v2-panel-title .text-green { display: block; }
.v2-panel-text { margin-bottom: 20px; font-size: var(--fs-body); line-height: var(--lh-body); }
.v2-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.v2-checks li { position: relative; padding-left: 34px; font-size: var(--fs-body-sm); line-height: 1.45; color: var(--ink-700); }
.v2-checks li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d5a35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Meet Our Team ---------- */
/* Follows the Frame 3 Team reference: a pale band with botanical leaves in the
   corners (an exception to the white v2 sections), wider than the site container. */
.v2-team {
  --team-photo-ratio: 338 / 370;   /* portrait frame from the reference; change to match the original photos */
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--gap-section);
  padding-block: var(--band-pad-y);
  background:
    radial-gradient(ellipse 30% 45% at 0% 20%, rgba(233, 243, 229, .7), rgba(233, 243, 229, 0) 70%),
    radial-gradient(ellipse 28% 40% at 100% 8%, rgba(236, 245, 232, .8), rgba(236, 245, 232, 0) 70%),
    linear-gradient(180deg, #FDFDFB 0%, #FCFDFA 60%, #F9FCF8 100%);
}
.v2-team > .container { max-width: 1442px; }
.v2-team-leaf { position: absolute; z-index: -1; pointer-events: none; height: auto; }
.v2-team-leaf .leaf-a, .v2-team-leaf .leaf-c { fill: #D7E3CF; }
.v2-team-leaf .leaf-b, .v2-team-leaf .leaf-d { fill: #E2ECDC; }
.v2-team-leaf .stem { fill: none; stroke: #CFDFC8; stroke-width: 3; stroke-linecap: round; }
.v2-team-leaf .vein { fill: none; stroke: #EEF5EB; stroke-width: 1.6; stroke-linecap: round; }
.v2-team-leaf--tr { top: 18px; right: -18px; width: clamp(150px, 19vw, 285px); transform: rotate(8deg); }
.v2-team-leaf--tl { top: 70px; left: -70px; width: clamp(140px, 17vw, 250px); opacity: .45; transform: scaleX(-1) rotate(-12deg); }

/* Heading block: label with a short rule underneath, larger dark-green title */
.v2-team-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.v2-team .v2-team-head .eyebrow {
  flex-direction: column; gap: 14px; margin-bottom: 18px; color: var(--text-green);
}
.v2-team-head .eyebrow::after { width: 48px; height: 1.5px; background: #4B6F47; }
.v2-team-head .section-title { margin-bottom: 14px; color: #173D2B; }
.v2-team-head .section-title .text-green { color: var(--text-green); }
.v2-team-head .section-lead { max-width: 41rem; color: #5E6468; }

.v2-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.75vw, 26px); }
.v2-member {
  overflow: visible; display: flex; flex-direction: column;
  border: 0; border-radius: 14px; box-shadow: 0 10px 30px rgba(23, 61, 43, .07), 0 1px 3px rgba(20, 32, 58, .04);
}
.v2-member-photo {
  width: 100%; aspect-ratio: var(--team-photo-ratio); object-fit: cover; object-position: 50% 15%;
  border-radius: 14px 14px 0 0;
}
.v2-member-body { position: relative; flex: 1; padding: 52px clamp(18px, 2.3vw, 34px) 34px; text-align: center; }
/* Role badge: centred on the photo's bottom edge (≈8px below it), pale green with a white ring */
.v2-member-icon {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -40%);
  width: 80px; height: 80px; box-sizing: border-box;
  background: #EBF8DF; border: 4px solid #FFFFFF; box-shadow: 0 4px 12px rgba(23, 61, 43, .08); color: #2E6B3F;
}
.v2-member-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.v2-member-name { margin-bottom: 6px; font-size: var(--fs-h3-feature); line-height: var(--lh-h3); color: #1F4A33; white-space: nowrap; }
.v2-member-role { margin-bottom: 26px; font-size: var(--fs-body); color: var(--text-green); }
.v2-member-role::after { content: ""; display: block; width: 50px; height: 2px; margin: 18px auto 0; background: #4B6F47; }
.v2-member-bio { text-align: left; font-size: var(--fs-body); line-height: var(--lh-body); color: #5E6468; }

/* ---------- How to Get Started ---------- */
.v2-steps { padding-bottom: calc(var(--gap-services-booking) / 2); }
.v2-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: none; }
.v2-step { position: relative; display: flex; flex-direction: column; }
.v2-step + .v2-step::before {      /* dotted connector with an arrow between steps */
  content: ""; position: absolute; top: 60px; left: calc(-1 * clamp(20px, 3vw, 44px)); width: clamp(20px, 3vw, 44px); height: 0;
  border-top: 2px dotted #9cc8a7;
}
.v2-step-media { position: relative; }
.v2-step-media img { width: 100%; aspect-ratio: 318 / 172; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.v2-step-num {
  position: absolute; top: -14px; left: -10px; z-index: 1;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-100); border: 3px solid #FFFFFF;
  font-weight: 700; font-size: 1rem; color: var(--text-green);
}
.v2-step-title { margin: 18px 20px 6px; font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--text-green); }
.v2-step p { margin: 0 20px 22px; font-size: var(--fs-body-sm); line-height: var(--lh-body); }

/* ---------- Patient Experiences (hidden until verified reviews exist) ---------- */
.v2-review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v2-review { padding: 26px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.v2-review-text { margin-bottom: 18px; color: var(--ink-700); }
.v2-review-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-900); }
.v2-review-initials { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-size: .85rem; }

/* ---------- Visit Our Clinic ---------- */
/* Follows the Frame 3 "Visit Our Clinic" reference: pale band with botanical leaves
   (an exception to the white v2 sections), text beside a large photo, then one white
   panel holding the contact rows and the map. */
.v2-visit {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--band-pad-y);
  background:
    radial-gradient(ellipse 35% 55% at 100% 60%, rgba(237, 245, 238, .95), rgba(237, 245, 238, 0) 70%),
    radial-gradient(ellipse 30% 40% at 0% 0%, rgba(240, 246, 238, .9), rgba(240, 246, 238, 0) 70%),
    linear-gradient(180deg, #FCFCF9 0%, #F8FAF7 50%, #F5F8F5 100%);
}
.v2-visit-leaf { position: absolute; z-index: -1; pointer-events: none; height: auto; }
.v2-visit-leaf .leaf-a, .v2-visit-leaf .leaf-c { fill: #D6E9D5; }
.v2-visit-leaf .leaf-b, .v2-visit-leaf .leaf-d { fill: #E0EFDD; }
.v2-visit-leaf .stem { fill: none; stroke: #CFE3CC; stroke-width: 3; stroke-linecap: round; }
.v2-visit-leaf .vein { fill: none; stroke: #EEF6EC; stroke-width: 1.6; stroke-linecap: round; }
.v2-visit-leaf--tl { top: -40px; left: -36px; width: clamp(140px, 16vw, 235px); opacity: .55; transform: scaleX(-1) rotate(160deg); }
.v2-visit-leaf--bl { bottom: -30px; left: -60px; width: clamp(130px, 14vw, 200px); transform: scaleX(-1) rotate(-20deg); }
.v2-visit-leaf--br { bottom: 10px; right: -40px; width: clamp(130px, 14vw, 200px); transform: rotate(-12deg); }

/* Top row: text column inset ~17px; the photo's right edge lines up with the map's
   (the map sits inside the panel's 12px padding) */
.v2-visit-grid {
  display: grid; grid-template-columns: minmax(0, 530fr) minmax(0, 738fr); align-items: center;
  margin-right: 12px;
}
.v2-visit-body { padding: 0 clamp(16px, 1.7vw, 24px) 0 clamp(0px, 1.2vw, 17px); }
.v2-visit .v2-visit-body .eyebrow {
  flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; color: var(--text-green);
}
.v2-visit-body .eyebrow::after { width: 64px; height: 1.5px; background: #4B7A57; }
.v2-visit-body .section-title {
  margin-bottom: 22px; color: #0B1420;
}
.v2-visit .section-title .text-green { display: inline; }
.v2-visit-body .section-lead { max-width: 30rem; margin-bottom: 38px; color: #5F6470; }
.v2-visit-body .btn-row { gap: 18px; }
.v2-visit-body .btn-lg { min-height: 62px; padding-inline: 32px; }
.v2-visit-body .btn-outline { background: transparent; border-width: 1.5px; }
.v2-visit-media {
  overflow: hidden; aspect-ratio: 750 / 529; border-radius: 22px;
  box-shadow: 0 14px 34px rgba(20, 50, 34, .10), 0 1px 3px rgba(20, 32, 58, .05);
}
.v2-visit-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* White panel: contact rows + map */
.v2-visit-panel {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 470fr) minmax(0, 786fr);
  margin-top: 4px; padding: 12px;
  background: #FFFFFF; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 50, 34, .08), 0 1px 3px rgba(20, 32, 58, .04);
}
.v2-visit .v2-visit-info { display: block; padding: 6px 30px 6px 18px; background: none; border: 0; box-shadow: none; }
.v2-visit-info li { display: flex; align-items: flex-start; gap: 32px; padding: 15px 0 18px; }
.v2-visit-info li + li { border-top: 1px solid #EBEBEB; }
.v2-visit-info .icon-circle { width: 60px; height: 60px; background: #E9F4EA; color: var(--green-800); }
.v2-visit-info .icon-circle .icon { width: 27px; height: 27px; stroke-width: 1.9; }
.v2-visit-info .card-title { margin: 2px 0 6px; }
.v2-visit-info p { font-size: var(--fs-body); line-height: var(--lh-body); color: #5F6470; }
.v2-visit-info .v2-plain-link { color: #5F6470; font-weight: 400; }
.v2-visit-info .v2-muted { margin-top: 4px; font-size: var(--fs-small); color: #7A8089; }

.v2-visit-map { position: relative; min-height: 340px; overflow: hidden; border-radius: 12px; background: #F3F1EF; }
.v2-visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v2-visit-map-card {
  position: absolute; top: 17px; left: 17px; z-index: 1;
  display: flex; align-items: flex-start; gap: 18px;
  width: min(300px, calc(100% - 34px)); padding: 18px 20px 18px 16px;
  background: #FFFFFF; border-radius: 12px; box-shadow: 0 8px 24px rgba(20, 32, 58, .14);
}
.v2-visit-map-card .icon-circle { width: 46px; height: 46px; background: #E9F4EA; color: var(--green-800); }
.v2-visit-map-card .icon-circle .icon { width: 22px; height: 22px; stroke-width: 2; }
.v2-visit-map-name { margin-bottom: 4px; font-weight: 600; font-size: var(--fs-body); color: var(--ink-900); }
.v2-visit-map-card p { font-size: var(--fs-small); line-height: 1.5; color: #5F6470; }
.v2-visit-map-card .link-arrow { margin-top: 8px; font-size: var(--fs-small); color: var(--text-green); }

/* =========================================================
   Booking
   ========================================================= */
.booking { background: linear-gradient(180deg, var(--page-bg) 0%, #f2f6f2 100%); }
.booking-card {
  display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); overflow: hidden;
  border-radius: var(--radius-lg); background: #eff6ef; box-shadow: var(--shadow-lg);
}

.booking-media { position: relative; min-height: 100%; }
.booking-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
.booking-badges {
  position: absolute; left: 4%; right: 4%; bottom: 4%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 16px 8px; border-radius: var(--radius); background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow); backdrop-filter: blur(4px);
}
.booking-badges li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-inline: 10px; text-align: center; font-size: .95rem; line-height: 1.4; color: var(--ink-900);
}
.booking-badges li + li { border-left: 1px solid var(--line); }

.booking-body { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 48px); }
.booking-body .icon-circle-xl { margin-bottom: 14px; background: #ddeedd; }
.booking-body .section-title { margin-bottom: 14px; font-size: clamp(1.9rem, 2.9vw, 2.7rem); line-height: 1.12; }
.booking-body .section-title .text-green { display: block; }
.booking-body .section-lead { margin-bottom: 26px; font-size: 1.02rem; }

.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ink-700); pointer-events: none; width: 20px; height: 20px; }
.field-icon-top { top: 20px; transform: none; }

.input {
  width: 100%; min-height: 54px; padding: 14px 18px 14px 54px;
  border: 1px solid #dde3dd; border-radius: var(--radius); background: var(--white);
  font-size: 1rem; color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--ink-500); opacity: 1; }
.input:hover { border-color: #c8d3c8; }
.input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(19, 107, 63, .14); }
.input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .1); }

.select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; color: var(--ink-500); }
.select.has-value { color: var(--ink-900); }
.select-chevron { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-900); }
.textarea { min-height: 128px; padding-top: 16px; resize: vertical; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 10px; }
.form-foot .btn { padding-inline: 34px; }
.secure-note { display: flex; align-items: center; gap: 14px; max-width: 16rem; font-size: .95rem; line-height: 1.45; }
.secure-note .icon-circle { background: #ddeedd; }

.form-status {
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: .96rem;
  background: var(--white); border-left: 4px solid var(--green-700); color: var(--ink-900);
}
.form-status.is-error { border-left-color: #b3261e; }
.form-status a { color: var(--text-green); font-weight: 600; text-decoration: underline; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .86); font-size: .94rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.5fr; gap: 32px;
  padding-block: 56px;
}
.footer-logo { display: inline-block; padding: 8px 10px; margin-bottom: 24px; border-radius: 6px; background: var(--white); }
.footer-logo img { width: 66px; }
.footer-brand p { max-width: 15rem; margin-bottom: 18px; line-height: 1.6; }

.social-list { display: flex; gap: 6px; }
.social-list a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.social-list a:hover { background: rgba(255, 255, 255, .12); }
.social-list .icon { width: 17px; height: 17px; }

.footer-heading {
  margin: 4px 0 20px; font-family: var(--font-sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
.footer-col li + li { margin-top: 12px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

address { font-style: normal; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 17px; height: 17px; margin-top: 3px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; font-size: .88rem; }
.legal-links { display: flex; gap: 28px; }
.legal-links a:hover { color: var(--white); text-decoration: underline; }
/* "Design by …" credit after the copyright (same as the existing site's footer) */
.footer-credit::before { content: "·"; margin: 0 8px 0 2px; opacity: .6; }   /* the HTML already has a space before it */
.footer-credit a:hover { color: var(--white); text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
/* Narrower desktops: tighten the header so the menu and "Book a Consultation" stay on one line */
@media (max-width: 1359px) {
  .nav-login span { display: none; }
  .header-inner { gap: 16px; }
  .site-nav { gap: 14px; }
  .nav-list { gap: 10px; }
  .nav-link { font-size: .9rem; }
  .nav-actions { gap: 6px; padding-left: 10px; }
  .nav-actions .btn { padding-inline: 14px; }
}

/* Collapsible navigation. It starts above the 1080px tablet layout because the full menu (with the
   service dropdown buttons) no longer fits on one line below 1180px. Keep in step with the
   mobileQuery in script-v3.js and about-sujok.js. */
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 24px; background: var(--white); box-shadow: 0 16px 32px rgba(20, 32, 58, .1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; padding: 14px 0; font-size: 1.05rem; justify-content: space-between; }
  .nav-link::after { display: none; }

  .dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 10px 12px;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .dropdown-toggle[aria-expanded="true"] + .dropdown { display: block; }

  /* Service menus: link and chevron share a row, the topic list opens below as one column */
  .has-split { flex-wrap: wrap; gap: 0; }
  .has-split::before { display: none; }
  .has-split > .nav-link { width: auto; flex: 1; }
  .nav-caret { width: 44px; height: 44px; }
  .has-split .dropdown { flex: 1 1 100%; width: auto; }
  .has-split .dropdown-toggle[aria-expanded="true"] + .dropdown--cols { display: grid; grid-template-columns: minmax(0, 1fr); }

  .nav-actions { flex-wrap: wrap; border-left: 0; padding: 18px 0 0; gap: 12px; }
  .nav-login span { display: inline; }
  .nav-actions .btn { flex: 1 1 100%; min-height: 50px; }
}

/* Tablet & below */
@media (max-width: 1080px) {
  :root {
    --header-h: 80px;
    --gap-hero-why: 56px;
    --gap-why-about: 64px;
    --gap-about-services: 64px;
    --gap-services-booking: 72px;
    --gap-booking-footer: 56px;
    --gap-section: 72px;
    --band-pad-y: 48px;
  }
  .brand img { height: 66px; }

  .hero-media { width: 70%; }
  .feature-bar { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .feature-bar-item { justify-content: flex-start; }
  .feature-bar-item:nth-child(3) { border-left: 0; }

  /* v2 sections: stack the two-column layouts, 2-up grids */
  .v2-why-grid, .v2-about-grid { grid-template-columns: 1fr; }
  /* About: photo above the text in a landscape frame, normal page margins */
  .v2-about > .container { padding-inline: var(--gutter); }
  .v2-about-grid { row-gap: 36px; }
  .v2-about-media { aspect-ratio: 4 / 3; }
  .v2-about-media img, .v2-about-media video { object-position: 50% 30%; }
  .v2-about-body { padding-right: 0; }
  /* Why: stacked inside the page gutters, with a simple rounded frame instead of the curve */
  .v2-why-grid { row-gap: 36px; padding-inline: var(--gutter); }
  .v2-why-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .v2-why-media img { object-position: 50% 62%; }
  .v2-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .v2-strip li:nth-child(3) { border-left: 0; }
  .v2-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .v2-step + .v2-step::before { display: none; }

  .booking-card { grid-template-columns: 1fr; }
  .booking-media { aspect-ratio: 16 / 10; }

  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Small tablet: stack the hero photo above the copy */
@media (max-width: 900px) {
  .hero { padding-top: 0; background: #f3f8f2; }
  .hero-media { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; }
  .hero-media::before { background: linear-gradient(180deg, rgba(243, 248, 242, 0) 65%, #f3f8f2 100%); }
  .hero-content { padding-top: 12px; padding-bottom: 28px; }

  /* Carousel: photo stacked on top, controls in flow under the copy, no bar overlap */
  .hero { --hero-bar-overlap: 0px; }
  .hero-slide { padding-top: 0; }
  .hero-slide--family .hero-media { width: 100%; }
  .hero-slide--family .hero-media img { object-position: 50% 40%; }
  .hero-slide--family .hero-media::before { background: linear-gradient(180deg, rgba(243, 248, 242, 0) 65%, #f3f8f2 100%); }
  .hero-controls-wrap { position: static; justify-content: center; padding-bottom: 24px; }

  /* v2: tabs in a 2x2 grid (no pointer), panel image above the text */
  .v2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-tab[aria-selected="true"]::after { display: none; }
  .v2-panel { grid-template-columns: 1fr; }
  .v2-panel-img { min-height: 0; aspect-ratio: 16 / 9; }
  /* Visit: text above the photo, contact rows above the map */
  .v2-visit-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .v2-visit-media { margin-left: 12px; }   /* stacked: photo matches the map's 12px inset on both sides */
  .v2-visit-body { padding: 0; }
  .v2-visit-panel { grid-template-columns: 1fr; margin-top: 20px; }
  .v2-visit .v2-visit-info { padding: 4px 12px 10px; }
  .v2-visit-map { min-height: 320px; }
}

/* Mobile */
@media (max-width: 680px) {
  :root {
    --gap-hero-why: 44px;
    --gap-why-about: 48px;
    --gap-about-services: 48px;
    --gap-services-booking: 56px;
    --gap-booking-footer: 44px;
    --gap-section: 56px;
    --band-pad-y: 40px;
  }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-kicker { font-size: .72rem; letter-spacing: .12em; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 2.7rem); }
  .btn-row .btn { flex: 1 1 100%; }
  .feature-bar { grid-template-columns: 1fr; padding: 10px 18px; row-gap: 0; }
  .feature-bar-item { padding: 12px 0; }
  .feature-bar-item + .feature-bar-item { border-left: 0; border-top: 1px solid var(--line); }

  /* v2 sections: single column */
  .v2-feature-grid, .v2-checks, .v2-step-list { grid-template-columns: 1fr; }
  .v2-feature { padding: 18px; gap: 16px; min-height: 0; }
  .v2-feature .icon-circle-lg { width: 56px; height: 56px; }
  .v2-feature .icon-circle-lg .icon { width: 26px; height: 26px; }
  .v2-why-media { aspect-ratio: 4 / 3; }
  .v2-why-divider { display: none; }       /* buttons stack full-width on phones */
  .v2-why-actions .v2-text-link { justify-content: center; width: 100%; }
  .v2-strip { grid-template-columns: 1fr; padding: 8px 18px; row-gap: 0; }
  .v2-strip li { padding: 12px 0; }
  .v2-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .v2-about-list li { gap: 16px; }
  .v2-about-list .icon-circle, .v2-feature .icon-circle { width: 52px; height: 52px; }
  .v2-tab { min-height: 64px; padding: 10px 12px; gap: 10px; font-size: .92rem; }
  .v2-tab .icon { width: 22px; height: 22px; }
  .v2-panel-head { gap: 14px; }
  .v2-team-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .v2-visit-info li { gap: 18px; }
  .v2-visit-info .icon-circle { width: 50px; height: 50px; }
  /* Phones: the card sits under the map so it doesn't hide the pin */
  .v2-visit-map { min-height: 0; display: flex; flex-direction: column; }
  .v2-visit-map iframe { position: static; height: 260px; }
  .v2-visit-map-card { position: static; width: auto; gap: 14px; padding: 16px 14px; border-radius: 0; box-shadow: none; }
  .v2-step-num { left: 6px; }

  .booking-media { aspect-ratio: auto; }
  .booking-media img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .booking-badges { position: static; grid-template-columns: 1fr; border-radius: 0; box-shadow: none; padding: 8px 20px; }
  .booking-badges li { flex-direction: row; text-align: left; padding: 10px 0; }
  .booking-badges li + li { border-left: 0; border-top: 1px solid var(--line); }
  .booking-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 44px; text-align:center; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start;text-align: center; }
  .footer-bottom-inner p{ width:100%;}
  .footer-credit { display: block; margin-top: 4px; }   /* phones: the credit gets its own line */
  .footer-credit::before { content: none; }
  .contact-list li {justify-content: center;}
  .legal-links {width: 100%;justify-content: center;}
  .social-list {justify-content: center;}
  .footer-brand p { max-width: 100%; text-align:center;}
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
