/* ==========================================================================
   AKSHAR WELLNESS — STYLESHEET
   --------------------------------------------------------------------------
   EDIT THE LOOK HERE. Everything visual (colours, fonts, sizes, spacing)
   is controlled by the variables in :root below. Change a value once and
   it updates across every page. Text and content live in assets/js/config.js.
   ========================================================================== */

:root {
  /* ---- Brand colours ---- */
  --c-orange: #FF6E02;          /* actions, highlights, glowing points */
  --c-orange-deep: #E25F00;     /* button hover */
  --c-peach: #FECFB0;
  --c-mauve: #8A6666;           /* deep bands: consultation, footer */
  --c-mauve-deep: #6E5050;
  /* Brand gradient for the hero, highlight bands and footer (replaces the old mauve backgrounds) */
  --grad-brand: linear-gradient(120deg, #FECFB0 0%, #FFB487 50%, #FF6E02 100%);
  --c-ink: #4A3232;            /* text on the gradient — deep warm brown, readable from peach to orange */
  --c-beige: #F5EAD9;           /* main page background */
  --c-beige-2: #EFE0C8;
  --c-beige-3: #E8D4B4;
  --c-text: #6E5050;           /* body text — deeper shade of the brand mauve (no black) */
  --c-head: #8A6666;           /* headings — brand mauve */
  --c-logo: #FF6E02;           /* logo text colour */
  --c-text-2: #765555;          /* secondary text — readable on peach and white */
  /* Page background: peach ↔ white gradient, repeating down every page */
  --page-bg: repeating-linear-gradient(180deg, #FECFB0 0px, #FFFFFF 900px, #FECFB0 1800px);
  --c-light: #F7F7F7;
  --c-white: #FFFFFF;

  /* ---- Fonts ---- */
  --f-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Montserrat", "Segoe UI", Arial, sans-serif;

  /* ---- Type scale ---- */
  --fs-h1: clamp(2.6rem, 6.2vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* ---- Layout & spacing ---- */
  --logo-height: 50px;          /* logo size in the header */
  --logo-height-footer: 48px;
  --max-w: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);   /* vertical space between sections */
  --radius-s: 6px;
  --radius-l: 22px;
  --header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.7;
  color: var(--c-text); background: #FFFFFF var(--page-bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--c-head); }
.section--mauve :is(h1, h2, h3, h4) { color: inherit; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white, .section--beige2 { background: transparent; }
.section--mauve { background: var(--grad-brand); color: var(--c-ink); }
.section--mauve :is(h1, h2, h3, h4) { color: var(--c-ink); }
.section--mauve .btn--primary, [data-hero3d] .btn--primary, .footer .btn--primary { background: #FFFFFF; color: var(--c-ink); }
.section--mauve .btn--primary:hover, [data-hero3d] .btn--primary:hover { background: var(--c-ink); color: #FFFFFF; }
.section--mauve .muted { color: var(--c-ink); }
.lead { font-size: var(--fs-lead); color: var(--c-text-2); max-width: 62ch; }
.muted { color: var(--c-text-2); }
.measure { max-width: 64ch; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--c-text-2); }
.section--mauve .section-head p { color: var(--c-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-orange); color: #FFFFFF; }
.btn--primary:hover { background: var(--c-orange-deep); color: #FFFFFF; }
.btn--ghost { border-color: var(--c-text); color: var(--c-text); background: transparent; }
.btn--ghost:hover { background: var(--c-text); color: var(--c-white); }
.section--mauve .btn--ghost { border-color: var(--c-ink); color: var(--c-ink); }
.section--mauve .btn--ghost:hover { background: var(--c-ink); color: #FFFFFF; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--c-mauve-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(138,102,102,.18); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: var(--logo-height); width: auto; }
.logo-fallback { font-family: var(--f-head); font-size: 1.45rem; line-height: 1; color: var(--c-logo); }
.footer .logo img { height: var(--logo-height-footer); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 34px); margin: 0; padding: 0; }
.nav a.nav-link { text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .12em; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { border-bottom-color: var(--c-orange); }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-head); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 23px; } .menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 72px; --logo-height: 40px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; background: linear-gradient(180deg, #FECFB0, #FFFFFF);
    flex-direction: column; justify-content: center; align-items: center; gap: 36px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 24px;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 26px; text-align: center; }
  .nav a.nav-link { font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
  /* blur on the header would trap the fixed overlay inside it */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #FECFB0; }
}

/* ---------- Hero (3D animation) ----------
   The animation is drawn on the <canvas>. The text sits above it.
   On wide screens the subject is on the right; on phones and tall
   tablets it sits at the top with the text below.                      */
:root { --c-night: #FF6E02; --c-ivory: #FBF3EA; }
[data-hero3d] { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-brand); color: var(--c-ink); }
.hero3d-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero3d-poster, .hero3d-poster img, .hero3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero3d-poster img { object-fit: cover; object-position: 80% 50%; }
.hero3d-poster img { transition: opacity .5s ease; }
.hero3d-canvas { display: block; opacity: 0; transition: opacity 1.2s ease .4s; object-fit: cover; }
[data-hero3d].is-live .hero3d-canvas { opacity: 1; }
[data-hero3d].is-live .hero3d-poster img { opacity: 0; }
.hero3d-caption { position: absolute; z-index: 3; right: var(--gutter); bottom: 72px; margin: 0; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: rgba(251,243,234,.72); transition: opacity .5s ease; }
[data-hero3d] .motion-toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: 20px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.75); color: var(--c-ink); border: 1px solid rgba(74,50,50,.25); font-size: .8rem; font-weight: 600; }
[data-hero3d] .motion-toggle:hover { background: #FFFFFF; }

.hero--3d { display: flex; align-items: center; min-height: clamp(580px, calc(100svh - var(--header-h)), 940px); }
.hero--3d .hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 72px; }
.hero--3d .hero-copy { max-width: 540px; }
.hero--3d h1 { color: var(--c-ink); max-width: 11ch; margin-bottom: .35em; }
.hero--3d .lead { color: var(--c-ink); margin-bottom: 2rem; max-width: 44ch; }
.hero--3d .btn--ghost { border-color: var(--c-ink); color: var(--c-ink); }
.hero--3d .btn--ghost:hover { background: var(--c-ink); color: #FFFFFF; }
.hero-copy > * { animation: heroIn .9s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  .hero--3d { align-items: flex-end; min-height: max(640px, calc(100svh - var(--header-h))); }
  .hero3d-poster img { object-position: 50% 15%; }
  .hero--3d .hero-inner { padding-block: 0 84px; }
  .hero--3d h1 { max-width: 12ch; }
  .hero--3d .lead { margin-bottom: 1.5rem; }
  .hero3d-caption { top: 18px; left: var(--gutter); right: auto; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .hero-copy > * { animation: none; } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-grid h2 { margin: 0; }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Image placeholders (replace with real photos) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-beige-2); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  display: flex; align-items: flex-end; padding: 16px;
  background:
    radial-gradient(circle at 70% 30%, rgba(254,207,176,.9), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(232,212,180,.95), transparent 60%),
    var(--c-beige-2);
}
.media--placeholder span { font-size: .75rem; color: var(--c-text-2); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 999px; }

/* ---------- Services overview (homepage): cards with sliding image boxes ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit;
  background: var(--c-white); border: 1px solid rgba(138,102,102,.16); border-radius: var(--radius-l); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; -webkit-tap-highlight-color: transparent;
}
.svc-slider { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--c-beige-2); }
.svc-track { display: flex; height: 100%; transition: transform .9s cubic-bezier(.6,.05,.25,1); }
.svc-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.svc-slide img, .svc-slide-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-slide-ph { display: flex; align-items: flex-start; padding: 14px; }
.svc-slide-ph.ph-0 { background: radial-gradient(circle at 70% 30%, #FFD9BF, transparent 60%), linear-gradient(160deg, #FECFB0, #F5EAD9); }
.svc-slide-ph.ph-1 { background: radial-gradient(circle at 30% 70%, #FFE6D4, transparent 60%), linear-gradient(200deg, #EFE0C8, #FECFB0); }
.svc-slide-ph.ph-2 { background: radial-gradient(circle at 50% 40%, #FFF3EA, transparent 60%), linear-gradient(180deg, #F5D8C7, #E8D4B4); }
.svc-slide-ph span { font-size: .72rem; color: var(--c-text-2); background: rgba(255,255,255,.75); padding: 3px 10px; border-radius: 999px; }
.svc-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.svc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(110,80,80,.18); transition: width .35s ease, background-color .35s ease; }
.svc-dots i.on { width: 18px; border-radius: 3px; background: var(--c-orange); box-shadow: none; }
.svc-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.svc-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.svc-subs { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.svc-subs li { font-size: .92rem; color: var(--c-text-2); padding: 5px 0; border-bottom: 1px dashed rgba(138,102,102,.2); }
.svc-subs li:last-child { border-bottom: 0; }
.svc-more { align-self: flex-start; font-size: .88rem; font-weight: 600; color: var(--c-text); padding-bottom: 3px; background: linear-gradient(var(--c-orange), var(--c-orange)) left bottom / 32px 2px no-repeat; transition: background-size .4s ease; }
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-6px); border-color: rgba(255,110,2,.45); box-shadow: 0 22px 44px -24px rgba(110,80,80,.5); }
  .svc-card:hover .svc-slide img, .svc-card:hover .svc-slide-ph { transform: scale(1.05); }
  .svc-card:hover .svc-more { background-size: 100% 2px; }
}
.svc-card:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; transform: translateY(-4px); }
.svc-card:focus-visible .svc-more { background-size: 100% 2px; }
.svc-card:active { transform: scale(.985); border-color: rgba(255,110,2,.55); }
@media (max-width: 1080px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .svc-cards { grid-template-columns: 1fr; gap: 16px; }
  .svc-slider { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .svc-card, .svc-track, .svc-slide img, .svc-slide-ph { transition: none; } .svc-card:hover, .svc-card:active { transform: none; } }

/* ---------- Services page index ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.svc-nav a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--c-beige-3); border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--c-white); }
.svc-nav a:hover { border-color: var(--c-orange); }
.svc-cat { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-cat > h2 { padding-bottom: 16px; border-bottom: 1px solid var(--c-beige-3); margin-bottom: 0; }
.svc-row { display: grid; grid-template-columns: 220px 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--c-beige-3); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-row .media { aspect-ratio: 4/3; border-radius: var(--radius-s); }
.svc-row h3 { margin-bottom: .3em; }
.svc-row p { margin: 0; color: var(--c-text-2); max-width: 60ch; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .svc-row .media { aspect-ratio: 16/9; }
}

/* ---------- Consultation options ---------- */
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(74,50,50,.22); }
.consult-opt { padding: 36px 40px 8px 0; }
.consult-opt + .consult-opt { padding-left: 40px; padding-right: 0; border-left: 1px solid rgba(74,50,50,.22); }
.consult-opt .who { font-size: .9rem; font-weight: 600; color: var(--c-ink); margin-bottom: 1em; }
@media (max-width: 800px) {
  .consult-grid { grid-template-columns: 1fr; }
  .consult-opt + .consult-opt { padding-left: 0; border-left: 0; border-top: 1px solid rgba(74,50,50,.22); }
  .consult-opt { padding-right: 0; }
}

/* ---------- Experience (a real sequence, so it is numbered) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-size: 2.6rem; line-height: 1; color: var(--c-orange); }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: -16px; height: 1px; background: var(--c-beige-3); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--c-text-2); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Memberships ---------- */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member-card { background: var(--c-white); border-radius: var(--radius-l); padding: 32px 28px; display: flex; flex-direction: column; border: 1px solid rgba(138,102,102,.16); }
.member-card:nth-child(2) { background: var(--c-peach); border-color: rgba(138,102,102,.22); }
.member-icon { width: 56px; height: 56px; margin-bottom: 20px; color: var(--c-mauve); }
.member-card p { color: var(--c-text-2); flex: 1; }
.member-card:nth-child(2) p { color: #6E5050; }
@media (max-width: 860px) { .member-grid { grid-template-columns: 1fr; } }
.center-cta { margin-top: 36px; }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.branch { background: var(--c-white); border: 1px solid rgba(138,102,102,.16); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.branch-body { padding: 28px; flex: 1; }
.branch-body address { font-style: normal; color: var(--c-text-2); margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 18px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--c-beige-2); font-weight: 500; }
.hours th { color: var(--c-text-2); width: 42%; font-weight: 500; }
.tbc { color: var(--c-mauve-deep); font-style: italic; }
.branch-phone { font-weight: 600; text-decoration: none; display: inline-block; margin-bottom: 20px; }
.branch-phone:hover { color: var(--c-orange-deep); }
.map-box { aspect-ratio: 16 / 10; background: var(--c-beige-2); position: relative; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; font-size: .88rem; color: var(--c-text-2); }
@media (max-width: 860px) { .branch-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials: sliding review cards ---------- */
.reviews-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.reviews-head h2 { margin: 0; max-width: 14ch; }
.reviews-intro { margin: 0; color: var(--c-text-2); max-width: 46ch; }
@media (max-width: 800px) { .reviews-head { grid-template-columns: 1fr; } }
.reviews { position: relative; }
.reviews-track {
  list-style: none; margin: 0; padding: 14px 4px 22px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3); column-gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; outline: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 4px; border-radius: var(--radius-l); }
.review { scroll-snap-align: start; min-width: 0; display: flex; }
.review figure {
  position: relative; margin: 0; width: 100%; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px 26px;
  background: var(--c-white); border: 1px solid rgba(138,102,102,.16); border-radius: var(--radius-l);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.review-mark { font-family: var(--f-head); font-size: 4.2rem; line-height: .6; height: 26px; color: var(--c-peach); transition: color .35s ease, transform .35s ease; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-family: var(--f-head); font-style: italic; font-size: 1.08rem; line-height: 1.65; color: var(--c-text); }
.review-stars { display: inline-flex; gap: 4px; }
.review-stars svg { width: 18px; height: 18px; display: block; fill: #F3D9C8; }
.review-stars .on svg { fill: var(--c-orange); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(138,102,102,.18); }
.review-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #FFF1E7; color: var(--c-orange-deep); font-weight: 600; font-size: .85rem; transition: background-color .35s ease, color .35s ease; }
.review-name { font-weight: 600; color: var(--c-head); }
.review-detail { font-size: .85rem; color: var(--c-text-2); }
@media (hover: hover) {
  .review:hover figure { transform: translateY(-6px); border-color: rgba(255,110,2,.45); box-shadow: 0 22px 44px -24px rgba(110,80,80,.5); }
  .review:hover .review-mark { color: var(--c-orange); transform: translateY(-2px); }
  .review:hover .review-avatar { background: var(--c-orange); color: #FFFFFF; }
}
.review.is-active figure { transform: translateY(-4px); border-color: rgba(255,110,2,.55); box-shadow: 0 18px 40px -22px rgba(110,80,80,.45); }
.review.is-active .review-mark { color: var(--c-orange); }
.review.is-active .review-avatar { background: var(--c-orange); color: #FFFFFF; }
.reviews-arrow {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(138,102,102,.22);
  background: var(--c-white); color: var(--c-head); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(110,80,80,.55); transition: background-color .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}
.reviews-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reviews-arrow.prev { left: -22px; } .reviews-arrow.next { right: -22px; }
.reviews-arrow:hover:not(:disabled) { background: var(--c-orange); border-color: var(--c-orange); color: #FFFFFF; transform: scale(1.06); }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews.is-static .reviews-arrow { display: none; }
@media (max-width: 1080px) { .reviews-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 1280px) { .reviews-arrow.prev { left: -8px; } .reviews-arrow.next { right: -8px; } }
@media (max-width: 640px) {
  .reviews-track { grid-auto-columns: 86%; column-gap: 14px; padding-inline: 2px; }
  .reviews-arrow { position: static; margin: 0; width: 44px; height: 44px; }
  .reviews { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "track track" "prev next"; gap: 6px 12px; }
  .reviews .reviews-track { grid-area: track; }
  .reviews-arrow.prev { grid-area: prev; justify-self: end; } .reviews-arrow.next { grid-area: next; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .reviews-track { scroll-behavior: auto; } .review figure, .reviews-arrow { transition: none; } .review:hover figure, .review.is-active figure { transform: none; } }

/* ---------- Video reviews ---------- */
.video-reviews { margin-top: clamp(36px, 5vw, 56px); }
.video-reviews-title { font-size: 1.4rem; margin-bottom: 18px; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video-card { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-l); overflow: hidden; background: var(--grad-brand);
  border: 1px solid rgba(138,102,102,.16); transition: transform .35s ease, box-shadow .35s ease; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #FFFFFF; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,50,50,0) 45%, rgba(74,50,50,.7)); transition: background-color .35s ease; }
.video-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--c-orange); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255,110,2,.22); transition: transform .35s ease, box-shadow .35s ease; }
.video-btn svg { width: 26px; height: 26px; fill: #FFFFFF; margin-left: 3px; }
.video-label { position: absolute; left: 18px; right: 18px; bottom: 14px; text-align: left; font-size: .88rem; font-weight: 600; }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (hover: hover) {
  .video-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px rgba(110,80,80,.55); }
  .video-card:hover .video-play img { transform: scale(1.06); }
  .video-card:hover .video-btn { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(255,110,2,.28); }
}
.video-play:focus-visible { outline: 3px solid var(--c-orange); outline-offset: -6px; border-radius: var(--radius-l); }
.video-play:active .video-btn { transform: scale(.94); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .video-card, .video-play img, .video-btn { transition: none; } .video-card:hover { transform: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--c-beige-3); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--f-head); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--c-orange); border-bottom: 2px solid var(--c-orange); transform: rotate(45deg); transition: transform .25s ease, margin-top .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }  /* down arrow when closed, up arrow when open */
.faq .answer { padding: 0 0 22px; color: var(--c-text-2); max-width: 68ch; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: left; }
.final-cta h2 { max-width: 16ch; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { max-width: 16ch; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.therapist .media { aspect-ratio: 4 / 5; }
.designation { display: inline-block; font-weight: 600; color: var(--c-mauve-deep); margin-bottom: 1em; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.principles h3 { font-size: 1.2rem; }
.principles p { color: var(--c-text-2); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 20px; } }

/* How Akshar began */
.kicker { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--c-text); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--c-orange); vertical-align: middle; margin-right: 12px; }
.story-text h2 { max-width: 16ch; }
.story-text p { color: var(--c-text); max-width: 60ch; }
.story-text .lead { color: var(--c-text); }
.signature { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(138,102,102,.25); }
.signature-name { font-family: var(--f-head); font-size: 1.35rem; color: var(--c-head); }
.signature-role { font-size: .88rem; color: var(--c-text-2); }
.story-media .media { aspect-ratio: 4 / 5; border: 1px solid rgba(138,102,102,.16); }

/* What we stand for — principle cards */
.principles-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.principle {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 28px 24px 26px; background: var(--c-white); border: 1px solid rgba(138,102,102,.16); border-radius: var(--radius-l);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease; outline: none;
}
.principle::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.principle-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #FFF1E7; color: var(--c-orange); transition: background-color .35s ease, color .35s ease, transform .35s ease; }
.principle-icon svg { width: 26px; height: 26px; }
.principle h3 { font-size: 1.2rem; margin: 6px 0 0; }
.principle p { margin: 0; font-size: .94rem; color: var(--c-text-2); }
@media (hover: hover) {
  .principle:hover { transform: translateY(-6px); border-color: rgba(255,110,2,.45); box-shadow: 0 18px 40px -22px rgba(110,80,80,.45); }
  .principle:hover::after { transform: scaleX(1); }
  .principle:hover .principle-icon { background: var(--c-orange); color: #FFFFFF; transform: rotate(-6deg); }
}
.principle:focus-visible, .principle.is-active { transform: translateY(-4px); border-color: rgba(255,110,2,.55); box-shadow: 0 18px 40px -22px rgba(110,80,80,.45); }
.principle:focus-visible::after, .principle.is-active::after { transform: scaleX(1); }
.principle:focus-visible .principle-icon, .principle.is-active .principle-icon { background: var(--c-orange); color: #FFFFFF; }
.principle:active { transform: scale(.985); }
@media (max-width: 1080px) { .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .principles-grid { grid-template-columns: 1fr; gap: 14px; }
  .principle { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px; padding: 20px 18px; align-items: start; }
  .principle-icon { grid-row: span 2; }
  .principle h3 { margin: 4px 0 0; font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) { .principle, .principle-icon, .principle::after { transition: none; } .principle:hover, .principle.is-active, .principle:focus-visible { transform: none; } }

/* ---------- Forms ---------- */
.form-block { background: var(--c-white); border: 1px solid rgba(138,102,102,.16); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-block + .form-block { margin-top: 28px; }
.form-block > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-intro { color: var(--c-text-2); max-width: 62ch; }
.aw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .85rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--c-text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--c-beige-3); border-radius: var(--radius-s);
  background: var(--c-light); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-mauve); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(255,110,2,.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .8rem; min-height: 0; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--c-text-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--c-orange); }
.check.has-error { color: #B3261E; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { grid-column: 1 / -1; padding: 0; border-radius: var(--radius-s); font-size: .95rem; }
.form-status:not(:empty) { padding: 14px 16px; }
.form-status.is-success { background: #E7F2E8; color: #1E5128; }
.form-status.is-error { background: #FBE9E7; color: #8C1D18; }
@media (max-width: 640px) { .aw-form { grid-template-columns: 1fr; } }

.tabs { display: flex; width: 100%; max-width: 520px; background: #FDEBDD; border-radius: 999px; padding: 4px; gap: 4px; margin-top: 8px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem; line-height: 1.3; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--c-white); box-shadow: 0 1px 2px rgba(110,80,80,.18); }

.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.contact-aside h2 { font-size: 1.4rem; }
.contact-aside .branch-mini { padding: 18px 0; border-bottom: 1px solid var(--c-beige-3); font-size: .92rem; }
.contact-aside .branch-mini strong { display: block; font-family: var(--f-head); font-size: 1.1rem; font-weight: 500; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1F8F4E; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(110,80,80,.28); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--grad-brand); color: var(--c-ink); padding: 72px 0 28px; font-size: .92rem; border-top: 1px solid rgba(74,50,50,.14); }
.footer a { color: var(--c-ink); text-decoration: none; }
.footer a:hover { color: var(--c-ink); text-decoration: underline; text-decoration-color: #FFFFFF; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h3 { font-size: 1.05rem; color: var(--c-ink); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 3px 0; }
.footer .logo-fallback { color: var(--c-logo); }
.footer .logo { background: #FFFFFF; padding: 10px 16px 10px 12px; border-radius: var(--radius-s); margin-bottom: 18px; }
.footer-branch { margin-bottom: 16px; }
.footer-branch strong { display: block; color: var(--c-ink); }
.socials { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(74,50,50,.2); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .82rem; color: var(--c-ink); }
.footer-bottom button { background: none; border: 0; color: var(--c-ink); padding: 0; cursor: pointer; font-size: .82rem; }
.footer-bottom button:hover { text-decoration: underline; }
.disclaimer { max-width: 70ch; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie panel ---------- */
.cookie-panel { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 520px; background: var(--c-white); border-radius: var(--radius-l); padding: 22px; box-shadow: 0 10px 40px rgba(110,80,80,.25); font-size: .9rem; }
.cookie-panel[hidden] { display: none; }
.cookie-panel h2 { font-size: 1.2rem; }
.cookie-panel label { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.cookie-panel input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-orange); }

/* ---------- Legal text ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Hero: interactive particle foot ----------
   Background set in config.js → heroFoot.background:
   "light" (white → peach #FECFB0, current), "brand" (peach → orange) or "dark".  */
[data-hero3d].hero--foot { background: linear-gradient(115deg, #FECFB0 0%, #FECFB0 22%, #FFB487 50%, #FF6E02 88%); }
.hero--foot .hero3d-stage { pointer-events: none; }
.hero--foot .hero3d-poster img { object-position: 100% 50%; }
.hero--foot .hero-copy { position: relative; }
[data-hero3d].hero--foot .motion-toggle { background: rgba(255,255,255,.22); color: #FFFFFF; border-color: rgba(255,255,255,.6); }
[data-hero3d].hero--foot .motion-toggle:hover { background: rgba(255,255,255,.4); }
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  [data-hero3d].hero--foot { background: linear-gradient(180deg, #FF6E02 0%, #FF8A2E 30%, #FFB487 55%, #FECFB0 78%); }
  .hero--foot .hero3d-poster img { object-position: 50% 0%; }
  [data-hero3d].hero--foot .motion-toggle { top: 16px; bottom: auto; }
}
[data-hero3d].hero--foot-light { background: linear-gradient(115deg, #FFFFFF 0%, #FFF8F3 30%, #FFE6D4 62%, #FECFB0 100%); }
.hero--foot-light .btn--primary { background: var(--c-orange); color: #FFFFFF; }
.hero--foot-light .btn--primary:hover { background: var(--c-orange-deep); color: #FFFFFF; }
[data-hero3d].hero--foot-light .motion-toggle { background: rgba(255,255,255,.7); color: var(--c-ink); border-color: rgba(74,50,50,.25); }
[data-hero3d].hero--foot-light .motion-toggle:hover { background: #FFFFFF; }
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  [data-hero3d].hero--foot-light { background: linear-gradient(180deg, #FECFB0 0%, #FFE6D4 35%, #FFF8F3 62%, #FFFFFF 85%); }
}
[data-hero3d].hero--foot-dark { background: radial-gradient(55% 75% at 72% 50%, #3B1D10 0%, #24140E 48%, #1A100C 100%); color: #FFF4EA; }
.hero--foot-dark h1 { color: #FFF4EA; }
.hero--foot-dark .lead { color: #F6DCC8; }
.hero--foot-dark .btn--primary { background: #FF6E02; color: #2A1710; }
.hero--foot-dark .btn--primary:hover { background: #FECFB0; color: #2A1710; }
.hero--foot-dark .btn--ghost { border-color: rgba(254,207,176,.7); color: #FECFB0; }
.hero--foot-dark .btn--ghost:hover { background: #FECFB0; color: #2A1710; }
[data-hero3d].hero--foot-dark .motion-toggle { background: rgba(255,244,234,.08); color: #FECFB0; border-color: rgba(254,207,176,.35); }
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  [data-hero3d].hero--foot-dark { background: radial-gradient(90% 55% at 50% 30%, #3B1D10 0%, #24140E 55%, #1A100C 100%); }
}

/* ==========================================================================
   Button system — one look everywhere, in brand colours
   Primary:   orange #FF6E02, white text      (hover: deeper orange)
   Secondary: white, orange border, dark-orange text (hover: orange, white text)
   ========================================================================== */
:root { --btn-2-text: #B34700; }
.btn--primary, .section--mauve .btn--primary, [data-hero3d] .btn--primary, .footer .btn--primary, .hero--foot-light .btn--primary { background: var(--c-orange); border-color: var(--c-orange); color: #FFFFFF; }
.btn--primary:hover, .section--mauve .btn--primary:hover, [data-hero3d] .btn--primary:hover, .footer .btn--primary:hover, .hero--foot-light .btn--primary:hover { background: var(--c-orange-deep); border-color: var(--c-orange-deep); color: #FFFFFF; }
.btn--ghost, .section--mauve .btn--ghost, .hero--3d .btn--ghost { background: #FFFFFF; border-color: var(--c-orange); color: var(--btn-2-text); }
.btn--ghost:hover, .section--mauve .btn--ghost:hover, .hero--3d .btn--ghost:hover { background: var(--c-orange); border-color: var(--c-orange); color: #FFFFFF; }
.btn--small { min-height: 44px; padding: 0 20px; }
.btn { text-align: center; line-height: 1.2; }

/* Alignment: button rows sit at the bottom of side-by-side cards so they line up */
.consult-opt { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 36px; }
.consult-opt > .btn, .consult-opt > .btn-row { margin-top: auto; }
.branch-body { display: flex; flex-direction: column; }
.branch-body > .btn-row { margin-top: auto; }
.branch-body > .btn-row .btn { flex: 1 1 0; }

/* Phones: stacked buttons are full width so their edges line up */
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > .btn, .consult-opt > .btn, .center-cta .btn, .form-actions .btn { width: 100%; }
  .consult-opt > .btn-row { align-self: stretch; }
  .branch-body > .btn-row .btn { flex: 0 0 auto; }
}

/* Review arrows and tabs in brand colours */
.reviews-arrow { border-color: var(--c-orange); color: var(--c-orange); }
.tabs button { color: var(--btn-2-text); }
.tabs button[aria-selected="true"] { background: var(--c-orange); color: #FFFFFF; box-shadow: none; }

/* Dark hero option keeps its own buttons */
[data-hero3d].hero--foot-dark .btn--primary { background: #FF6E02; border-color: #FF6E02; color: #2A1710; }
[data-hero3d].hero--foot-dark .btn--ghost { background: transparent; border-color: rgba(254,207,176,.7); color: #FECFB0; }
[data-hero3d].hero--foot-dark .btn--ghost:hover { background: #FECFB0; color: #2A1710; }
