/* ==========================================================================
   Dr. Shaliya Gupta — Dermatology
   ========================================================================== */

:root {
  --ivory: #FAF8F5;
  --sage: #E5EBE4;
  --sage-deep: #D3DDD2;
  --forest: #29483D;
  --forest-ink: #1F382F;
  --rose: #DCC5BE;
  --rose-soft: #EFE3DF;
  --charcoal: #282A28;
  --white: #FFFFFF;

  --text: var(--charcoal);
  --text-muted: #5D625D;
  --line: rgba(40, 42, 40, 0.12);
  --line-strong: rgba(40, 42, 40, 0.22);
  --danger: #A0352B;

  --font-serif: "DM Serif Display", "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 2px rgba(40, 42, 40, 0.04), 0 12px 32px -12px rgba(41, 72, 61, 0.14);
  --shadow-lift: 0 2px 4px rgba(40, 42, 40, 0.04), 0 24px 48px -20px rgba(41, 72, 61, 0.22);

  --gutter: 20px;
  --max: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--forest-ink); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; stroke-width: 1.2; }

.eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

/* ---------- buttons & links ---------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 0.95rem/1.2 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--forest-ink); box-shadow: 0 10px 24px -12px rgba(41, 72, 61, 0.55); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 9px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--forest-ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--white); }
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-weight: 600; font-size: 0.93rem; color: var(--forest); text-decoration: none;
  border-bottom: 1px solid rgba(41, 72, 61, 0.3); transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { border-color: var(--forest); gap: 12px; }
.link-arrow--button { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: inherit; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(250, 248, 245, 0.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--forest-ink); white-space: nowrap; }
.brand__name { font-family: var(--font-serif); font-size: 1.32rem; }
.brand__sep, .brand__tag { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 380px) { .brand__sep, .brand__tag { display: none; } }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle { display: none; }

@media (max-width: 959px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 10px; margin-right: -10px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle-bar { display: block; height: 1.5px; background: var(--charcoal); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }

  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(40, 42, 40, 0.2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; min-height: 52px; font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { padding: 36px 0 56px; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero__title em { color: var(--forest); display: block; }
.hero__lede { font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.15rem); color: var(--text-muted); max-width: 33em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 40px; }
.hero__trust { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; }
.hero__trust .icon { color: var(--forest); }

.hero__media { position: relative; margin: 0 auto; width: min(100%, 440px); }
.hero__arch {
  position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--sage); box-shadow: var(--shadow-lift);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__ornament {
  position: absolute; z-index: 0; inset: auto -28px -28px auto; width: 70%; height: 70%;
  border: 1px solid var(--rose); border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero__caption {
  position: absolute; z-index: 2; left: -12px; bottom: 34px; display: grid; gap: 2px;
  padding: 14px 20px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); backdrop-filter: blur(8px);
}
.hero__caption-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--forest-ink); }
.hero__caption-cred { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

@media (min-width: 640px) {
  .hero__trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
  .hero__media { margin-right: 28px; }
  .hero__caption { left: -44px; }
}
@media (max-width: 959px) {
  .hero__media { width: min(86%, 400px); }
}

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__list li {
  display: flex; align-items: center; gap: 12px; padding: 20px 8px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em; color: var(--forest-ink);
}
.trust__list li:nth-child(odd) { padding-left: 0; }
.trust__list .icon { color: var(--forest); }
@media (max-width: 639px) {
  .trust__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 640px) and (max-width: 959px) {
  .trust__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__list li { justify-content: center; padding: 26px 12px; }
  .trust__list li + li { border-left: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__lede { margin-top: 18px; color: var(--text-muted); font-size: 1.06rem; }

/* ---------- concern tiles ---------- */
.concerns__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .concerns__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 960px) { .concerns__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.tile {
  display: flex; flex-direction: column; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tile.is-dimmed { opacity: 0.45; }
.tile__art { aspect-ratio: 16 / 10; background-color: var(--sage); background-repeat: no-repeat; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.tile:hover .tile__art { transform: scale(1.03); }
.tile__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; position: relative; background: var(--white); }
.tile__body p { color: var(--text-muted); font-size: 0.95rem; flex: 1; margin-bottom: 8px; }
.tile__body .link-arrow { align-self: flex-start; }
.tile__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }

/* Illustrated tile visuals — line art in the brand palette */
.tile__art--acne {
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Ccircle cx='290' cy='70' r='120' fill='%23DCC5BE' opacity='.45'/%3E%3Ccircle cx='120' cy='140' r='70' fill='none' stroke='%2329483D' stroke-width='1' opacity='.55'/%3E%3Ccircle cx='120' cy='140' r='46' fill='none' stroke='%2329483D' stroke-width='1' opacity='.3'/%3E%3Cg fill='%2329483D'%3E%3Ccircle cx='108' cy='126' r='3.2' opacity='.6'/%3E%3Ccircle cx='136' cy='150' r='2.4' opacity='.45'/%3E%3Ccircle cx='118' cy='160' r='1.8' opacity='.4'/%3E%3Ccircle cx='142' cy='124' r='1.6' opacity='.35'/%3E%3Ccircle cx='250' cy='170' r='2' opacity='.3'/%3E%3Ccircle cx='272' cy='190' r='1.4' opacity='.3'/%3E%3Ccircle cx='310' cy='160' r='2.6' opacity='.25'/%3E%3C/g%3E%3Cpath d='M210 210c40-30 90-36 150-18' fill='none' stroke='%2329483D' stroke-width='1' opacity='.35'/%3E%3C/svg%3E");
}
.tile__art--pigment {
  background-color: var(--rose-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Ccircle cx='150' cy='125' r='78' fill='%23DCC5BE'/%3E%3Ccircle cx='215' cy='125' r='78' fill='%23C9ADA4' opacity='.75'/%3E%3Ccircle cx='280' cy='125' r='78' fill='%23A98B81' opacity='.5'/%3E%3Ccircle cx='150' cy='125' r='78' fill='none' stroke='%2329483D' stroke-width='1' opacity='.4'/%3E%3Ccircle cx='280' cy='125' r='78' fill='none' stroke='%2329483D' stroke-width='1' opacity='.4'/%3E%3C/svg%3E");
}
.tile__art--hair {
  background-color: #F1EEE8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Ccircle cx='320' cy='60' r='90' fill='%23E5EBE4'/%3E%3Cg fill='none' stroke='%2329483D' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M40 30c60 40 70 120 150 150s120 40 170 60' opacity='.7'/%3E%3Cpath d='M40 50c60 40 70 120 150 150s120 40 170 60' opacity='.55'/%3E%3Cpath d='M40 70c60 40 70 120 150 150' opacity='.45'/%3E%3Cpath d='M40 90c50 34 60 100 120 130' opacity='.35'/%3E%3Cpath d='M40 10c60 40 70 120 150 150s120 40 170 60' opacity='.4'/%3E%3Cpath d='M250 200c14 8 30 12 44 14' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
}
.tile__art--scalp {
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Cpath d='M60 250c0-90 62-150 140-150s140 60 140 150' fill='%23FAF8F5' opacity='.8'/%3E%3Cg fill='none' stroke='%2329483D' stroke-linecap='round' stroke-width='1'%3E%3Cpath d='M60 250c0-90 62-150 140-150s140 60 140 150' opacity='.5'/%3E%3Cpath d='M200 100v-40M180 102l-10-38M220 102l10-38M160 108l-20-34M240 108l20-34M142 118l-28-28M258 118l28-28' opacity='.45'/%3E%3C/g%3E%3Cg fill='%2329483D' opacity='.3'%3E%3Ccircle cx='170' cy='150' r='2'/%3E%3Ccircle cx='205' cy='138' r='1.6'/%3E%3Ccircle cx='232' cy='160' r='2.2'/%3E%3Ccircle cx='190' cy='175' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}
.tile__art--allergy {
  background-color: var(--rose-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Ccircle cx='110' cy='200' r='110' fill='%23E5EBE4' opacity='.8'/%3E%3Cg fill='none' stroke='%2329483D' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M150 205C150 130 190 80 270 70c6 80-40 130-110 135' opacity='.6'/%3E%3Cpath d='M150 205c26-38 56-70 92-100' opacity='.45'/%3E%3Cpath d='M190 160l-14-24M214 134l-6-26M200 150l30 4M226 122l26 0' opacity='.35'/%3E%3Cpath d='M290 190c0-30 16-50 46-56 2 32-16 52-46 56z' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
}
.tile__art--aging {
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250'%3E%3Ccircle cx='200' cy='250' r='170' fill='%23FAF8F5' opacity='.55'/%3E%3Cg fill='none' stroke='%2329483D' stroke-width='1'%3E%3Ccircle cx='200' cy='250' r='170' opacity='.35'/%3E%3Ccircle cx='200' cy='250' r='130' opacity='.3'/%3E%3Ccircle cx='200' cy='250' r='90' opacity='.25'/%3E%3C/g%3E%3Cpath d='M200 60c18 26 28 44 28 60a28 28 0 0 1-56 0c0-16 10-34 28-60z' fill='%23DCC5BE' stroke='%2329483D' stroke-width='1' opacity='.85'/%3E%3C/svg%3E");
}

/* ---------- about ---------- */
.about { background: var(--white); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__media { margin: 0; position: relative; max-width: 420px; width: 100%; justify-self: center; }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--sage); border-radius: var(--radius-lg); z-index: 0;
}
.about__media img { position: relative; z-index: 1; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; }
.about__copy > * + * { margin-top: 20px; }
.about__copy h2 { margin-top: 0; }
.about__cred { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-top: 12px !important; }
.about__copy > p:not(.eyebrow):not(.about__cred) { color: var(--text-muted); font-size: 1.06rem; max-width: 36em; }
.about__facts { display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.about__facts div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.about__facts dd { margin: 0; }
.about .btn { margin-top: 32px; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; }
  .about__facts div { grid-template-columns: 180px 1fr; gap: 16px; }
}

/* ---------- steps ---------- */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 28px 0 28px 0; border-top: 1px solid var(--line-strong); }
.step__num { display: block; font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--rose); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); max-width: 28em; }
.steps__cta { text-align: center; margin-top: 48px; }
@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .step { padding-top: 36px; }
  .step__num { font-size: 3.2rem; }
}

/* ---------- booking ---------- */
.booking { background: var(--sage); }
.booking__grid { display: grid; gap: 40px; align-items: start; }
.booking__intro h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.9rem); }
.booking__meta { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.booking__meta li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--forest-ink); }
.booking__privacy { display: flex; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(41, 72, 61, 0.18); font-size: 0.88rem; color: var(--text-muted); max-width: 30em; }
.booking__privacy .icon { margin-top: 2px; color: var(--forest); }

.booking__panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 28px 22px; }
@media (min-width: 640px) { .booking__panel { padding: 40px; } }
@media (min-width: 960px) {
  .booking__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .booking__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
}

.demo-banner { margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-sm); background: #FBF1E3; border: 1px solid #E7C99A; color: #6A4A17; font-size: 0.88rem; }

.form { display: grid; gap: 24px; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.form__label { padding: 0; font-size: 0.86rem; font-weight: 600; color: var(--charcoal); }
.form__opt, .form__tz { font-weight: 400; color: var(--text-muted); }
.form__hint { font-size: 0.9rem; color: var(--text-muted); }
.form__row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__error { min-height: 0; font-size: 0.84rem; color: var(--danger); }
.form__error:empty { display: none; }
.form__alert { padding: 14px 16px; border-radius: var(--radius-sm); background: #F8E9E6; border: 1px solid #E5BDB5; color: var(--danger); font-size: 0.92rem; }
.form__fine { font-size: 0.84rem; color: var(--text-muted); text-align: center; }

.input, .select select, .phone__cc {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text); font: 400 1rem/1.4 var(--font-sans);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.input { resize: vertical; min-height: 96px; }
.input:focus, .select select:focus, .phone__cc:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(41, 72, 61, 0.14); }
.input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--charcoal); border-bottom: 1.5px solid var(--charcoal); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.phone { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.phone__cc { padding-inline: 10px; cursor: pointer; }

.chips, .slots { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .slot, .date { position: relative; }
.chip input, .slot input, .date input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span, .slot span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; font-weight: 500; background: var(--white);
  transition: all .2s var(--ease);
}
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.slots .form__hint { grid-column: 1 / -1; }
.slot span { width: 100%; border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; }
.chip input:checked + span, .slot input:checked + span, .date input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip input:focus-visible + span, .slot input:focus-visible + span, .date input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }
.chip:hover span, .slot:hover span, .date:hover span { border-color: var(--forest); }

.dates { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: -2px -2px 0; scrollbar-width: thin; }
.date { flex: none; scroll-snap-align: start; }
.date span {
  display: grid; justify-items: center; gap: 2px; width: 64px; padding: 10px 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); transition: all .2s var(--ease); line-height: 1.2;
}
.date small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.date strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; }
.date input:disabled + span { opacity: 0.35; text-decoration: line-through; }
.date input:disabled { cursor: not-allowed; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__label { opacity: 0.75; }
.btn:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 16px 0; }
.success:focus { outline: none; }
.success__mark { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); }
.success__mark .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.success h3 { font-size: 1.8rem; margin-bottom: 12px; }
.success > p { color: var(--text-muted); max-width: 30em; margin-inline: auto; }
.success__details { margin: 28px 0; display: grid; text-align: left; border-top: 1px solid var(--line); }
.success__details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.success__details dt { color: var(--text-muted); font-size: 0.9rem; }
.success__details dd { margin: 0; font-weight: 600; text-align: right; }
.success__note { font-size: 0.9rem; margin-bottom: 20px !important; }

/* ---------- why ---------- */
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why__item { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.why__item .icon { color: var(--forest); margin-bottom: 22px; }
.why__item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why__item p { color: var(--text-muted); font-size: 0.95rem; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .why__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- faq ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.75fr 1.25fr; gap: 80px; align-items: start; }
  .faq .section__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
}
.accordion { border-top: 1px solid var(--line-strong); }
.acc { border-bottom: 1px solid var(--line-strong); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--charcoal);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 10px 1.4px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 1.4px 10px no-repeat;
  transition: transform .3s var(--ease), background-size .3s var(--ease);
}
.acc[open] summary::after { transform: rotate(180deg); background-size: 10px 1.4px, 1.4px 0; }
.acc summary:hover { color: var(--forest); }
.acc__body { padding: 0 48px 24px 0; color: var(--text-muted); }

/* ---------- final ---------- */
.final { background: var(--ivory); padding: 96px 0 112px; text-align: center; }
.final__inner { max-width: 760px; position: relative; }
.final__ornament { display: block; width: 1px; height: 56px; margin: 0 auto 36px; background: var(--forest); opacity: 0.4; }
.final h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 4px; }
.final .section__lede { margin: 18px auto 36px; max-width: 32em; }
.final__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--forest-ink); color: rgba(255, 255, 255, 0.78); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.92rem; }
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.footer .btn--light { color: var(--forest-ink); }
.footer__grid { display: grid; gap: 40px; }
.footer__name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--white); }
.footer__cred { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 6px 0 20px; }
.footer__reg { margin: -8px 0 20px; font-size: 0.85rem; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.footer__muted { color: rgba(255, 255, 255, 0.6); }
.footer__base { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 16px; }
.footer__disclaimer { font-size: 0.82rem; max-width: 62em; color: rgba(255, 255, 255, 0.62); }
.footer__copy { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 245, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 52px; }
@media (min-width: 960px) { .mobile-cta { display: none; } }
@media (max-width: 959px) { .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- policy pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); margin-bottom: 16px; }
.legal h2 { font-size: 1.7rem; margin: 56px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal__back { display: inline-block; margin-bottom: 32px; }
