/* Siladon Skin Clinic (fictional) — concept site styles
   Palette: celadon glaze strata, read as skin layers from surface to depth. */

:root {
  --porcelain: #F3F6F4;
  --paper: #FFFFFF;
  --l1: #E4EEE8;   /* epidermis */
  --l2: #CCDFD4;   /* dermis */
  --l3: #AECBBC;   /* subcutaneous */
  --l4: #86AB9A;   /* SMAS */
  --l5: #2E5B4F;   /* muscle */
  --jade: #2E5B4F;
  --jade-deep: #1F4238;
  --ink: #1B2A26;
  --ink-soft: #4A5B56;
  --line: #C9D7D0;
  --field: #6F8A80;
  --brass: #97784A;
  --error: #A3312A;
  --line-green: #06C755;
  --serif: "Trirong", "Noto Serif Thai", Georgia, serif;
  --sans: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--jade-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.vh {
  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 {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Concept badge ---------- */
.concept {
  margin: 0;
  padding: 6px var(--gutter);
  background: var(--l1);
  text-align: center;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.concept span {
  display: inline-block;
  padding: 1px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--porcelain); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 72px; padding-top: 6px; padding-bottom: 6px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.brand-sub { display: block; font-size: .8125rem; line-height: 1.4; color: var(--ink-soft); }

.lang { display: flex; align-items: center; font-size: .9375rem; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  color: var(--ink-soft); font-weight: 500; text-decoration: none;
}
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang .sep { color: var(--field); }

.menu-toggle { display: none; }
.js .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font: inherit; color: var(--ink); cursor: pointer;
}
.menu-toggle .bars { display: grid; gap: 4px; width: 18px; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle .bars i { display: block; height: 1.5px; background: currentColor; }

.main-nav { order: 5; flex-basis: 100%; }
.js .main-nav { display: none; }
.js .main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 4px 0 10px; }
.main-nav a {
  display: flex; align-items: center; min-height: 48px;
  border-top: 1px solid var(--line);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.main-nav a[aria-current="page"] { color: var(--jade); }
.main-nav a[aria-current="page"]::before { content: ""; width: 14px; height: 2px; margin-right: 10px; background: var(--jade); }

.btn.header-cta { display: none; }

@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; gap: 24px; min-height: 84px; }
  .js .menu-toggle { display: none; }
  .main-nav, .js .main-nav { display: block; order: 0; flex-basis: auto; }
  .main-nav ul { display: flex; gap: 26px; padding: 0; }
  .main-nav a { position: relative; min-height: 44px; border: 0; white-space: nowrap; }
  .main-nav a[aria-current="page"]::before { display: none; }
  .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--jade); }
}
@media (min-width: 1100px) {
  .btn.header-cta { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--jade); color: #fff; }
.btn-primary:hover { background: var(--jade-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--jade); color: var(--jade); }
.btn-ghost:hover { background: var(--l1); color: var(--jade-deep); }
.btn-line { background: var(--line-green); color: #04210F; }
.btn-line:hover { background: #05B44C; color: #04210F; }
.btn-plain { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-plain:hover { border-color: var(--jade); color: var(--ink); }
.header-cta { min-height: 44px; padding: 8px 20px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head p, .lead { color: var(--ink-soft); }
.lead { font-size: 1.125rem; max-width: 36em; }
.note { font-size: .9375rem; color: var(--ink-soft); }
@media (min-width: 960px) { .section { padding: 80px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 48px; }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { max-width: 13em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.facts { display: grid; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: .9375rem; }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .facts div { display: block; }
  .facts dd { text-align: left; }
  .hero-figure img { aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  .hero-figure img { aspect-ratio: 4 / 5; }
}

/* ---------- Skin strata (signature element) ---------- */
.strata { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stratum { display: grid; gap: 6px 28px; padding: 20px; background: var(--l1); }
.stratum:nth-child(2) { background: var(--l2); }
.stratum:nth-child(3) { background: var(--l3); }
.stratum:nth-child(4) { background: var(--l4); }
.stratum:nth-child(5) { background: var(--l5); color: #fff; }
.stratum-name { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.stratum-depth { display: block; font-family: var(--sans); font-size: .875rem; color: var(--ink-soft); }
.stratum:nth-child(3) .stratum-depth,
.stratum:nth-child(4) .stratum-depth { color: var(--ink); }
.stratum:nth-child(5) .stratum-depth { color: var(--l2); }
.stratum p { margin: 0; max-width: 30em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px;
  border: 1px solid rgba(27, 42, 38, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .72); color: var(--ink);
  font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none;
}
.chips a:hover { background: #fff; color: var(--ink); }
.stratum:nth-child(5) .chips a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.stratum:nth-child(5) .chips a:hover { background: rgba(255, 255, 255, .2); }
.stratum:nth-child(5) :focus-visible { outline-color: #fff; }
.strata-foot { margin-top: 14px; }

@media (min-width: 860px) {
  .stratum { grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 24px 28px; }
  .chips { margin: 0; }
}

.strata.will-reveal .stratum { opacity: 0; transform: translateX(-14px); transition: opacity .6s ease, transform .6s ease; }
.strata.will-reveal.is-in .stratum { opacity: 1; transform: none; }
.strata.will-reveal.is-in .stratum:nth-child(2) { transition-delay: .1s; }
.strata.will-reveal.is-in .stratum:nth-child(3) { transition-delay: .2s; }
.strata.will-reveal.is-in .stratum:nth-child(4) { transition-delay: .3s; }
.strata.will-reveal.is-in .stratum:nth-child(5) { transition-delay: .4s; }

/* ---------- Promises (home) ---------- */
.split { display: grid; gap: 32px; }
.split-figure { margin: 0; }
.split-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { padding: 18px 0; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises h3 { margin-bottom: .2em; font-size: 1.2rem; }
.promises p { margin: 0; color: var(--ink-soft); }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .split-figure img { aspect-ratio: 4 / 5; }
}

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 2px solid var(--l3); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--serif); font-size: 2rem; line-height: 1.2; color: var(--jade); }
.steps h3 { margin: 0; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li:nth-child(2) { border-top-color: var(--l4); }
  .steps li:nth-child(3) { border-top-color: var(--jade); }
  .steps li:nth-child(4) { border-top-color: var(--jade-deep); }
  .steps li::before { grid-row: auto; }
}

/* ---------- Doctors teaser ---------- */
.doc-pair { display: grid; gap: 32px; }
.doc-card { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
.doc-card img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.doc-card h3 { margin: 0; }
.doc-role { margin: 0 0 6px; color: var(--ink-soft); }
.doc-card .more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.licence { display: inline-block; margin: 0 0 10px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .875rem; color: var(--ink-soft); }
@media (min-width: 768px) {
  .doc-pair { grid-template-columns: 1fr 1fr; gap: 40px; }
  .doc-card { grid-template-columns: 160px 1fr; gap: 24px; }
  .doc-card img { width: 160px; }
}

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }
.rating-score { font-family: var(--serif); font-size: 2.2rem; line-height: 1.2; }
.stars { display: inline-flex; gap: 2px; color: var(--brass); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--porcelain); border-left: 3px solid var(--l3); }
.review blockquote { margin: 12px 0 14px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.75; }
.review blockquote p { margin: 0; }
.review figcaption { font-size: .9375rem; color: var(--ink-soft); }
.review figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.disclaimer { margin-top: 18px; font-size: .9375rem; color: var(--ink-soft); }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 52em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0;
  font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--jade); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; max-width: 44em; color: var(--ink-soft); }

/* ---------- Visit / contact info ---------- */
.visit { display: grid; gap: 32px; }
.info-block { margin-bottom: 24px; }
.info-block h3 { margin-bottom: .3em; font-size: 1.15rem; }
.info-block p { margin: 0 0 .4em; }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed td { color: var(--ink-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-row + .note { margin-top: 12px; }
.visit-figure { margin: 0; }
.visit-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) { .visit { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 16em; }
@media (min-width: 960px) { .page-head { padding: 56px 0 40px; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.jump a:hover { border-color: var(--jade); color: var(--ink); }

/* Gauge legend */
.legend { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; max-width: 40em; font-size: .9375rem; color: var(--ink-soft); }
.legend p { margin: 0; }
.legend .tx-gauge { width: 34px; flex: none; padding-top: 7px; }

/* ---------- Treatments ---------- */
.tx-group { padding: 44px 0 12px; scroll-margin-top: 12px; }
.tx-group > .wrap > h2 { margin-bottom: .3em; }
.tx-intro { display: grid; gap: 20px; margin-bottom: 8px; }
.tx-intro p { color: var(--ink-soft); max-width: 36em; }
.tx-intro img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 860px) {
  .tx-intro { grid-template-columns: 1fr 360px; gap: 40px; align-items: end; }
  .tx-intro img { aspect-ratio: 3 / 2; }
}

.tx { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px 16px; padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.tx-gauge { display: grid; gap: 3px; align-content: start; padding-top: 9px; }
.tx-gauge i { display: block; height: 7px; border-radius: 2px; background: var(--l2); }
.tx-gauge i.on { background: var(--jade); }
.tx h3 { margin: 0 0 .35em; }
.tx-en { display: block; margin-top: 2px; font-family: var(--sans); font-size: .9375rem; color: var(--ink-soft); }
.tx-main p { margin: 0 0 .6em; max-width: 38em; }
.tx-main .tx-depth { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.tx-side { grid-column: 1 / -1; }
.tx-meta { margin: 0 0 14px; }
.tx-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tx-meta dt { color: var(--ink-soft); font-size: .9375rem; }
.tx-meta dd { margin: 0; text-align: right; }
.tx-meta .price { align-items: baseline; border-bottom: 0; padding-top: 10px; }
.tx-meta .price dd { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--jade-deep); }
.tx-meta .price dd small { font-family: var(--sans); font-size: .9375rem; color: var(--ink-soft); }
.tx-side .btn { width: 100%; }
@media (min-width: 860px) {
  .tx { grid-template-columns: 40px minmax(0, 1fr) 290px; gap: 10px 40px; }
  .tx-side { grid-column: 3; grid-row: 1; }
}

.price-note { margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--l4); background: var(--paper); font-size: .9375rem; color: var(--ink-soft); }
.price-note p { margin: 0 0 .4em; }
.price-note p:last-child { margin: 0; }

/* ---------- Doctor profiles ---------- */
.profile { display: grid; gap: 28px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.profile:last-of-type { border-bottom: 0; }
.profile-figure { margin: 0; }
.profile-figure img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.profile h2 { margin-bottom: .1em; }
.profile .doc-role { font-size: 1.05rem; }
.profile-quote { margin: 20px 0 24px; padding-left: 18px; border-left: 3px solid var(--l3); font-family: var(--serif); font-size: 1.2rem; line-height: 1.75; }
.profile-quote p { margin: 0; }
.profile-facts { display: grid; gap: 18px; margin: 0; }
.profile-facts dt { font-weight: 600; margin-bottom: 4px; }
.profile-facts dd { margin: 0; color: var(--ink-soft); }
.profile-facts ul { margin: 0; padding-left: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0 !important; }
.tags li { padding: 3px 12px; border-radius: 999px; background: var(--l1); color: var(--ink); font-size: .9375rem; }
@media (min-width: 900px) {
  .profile { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
}

.table-scroll { overflow-x: auto; }
.schedule { width: 100%; min-width: 300px; border-collapse: collapse; font-size: .9375rem; }
.schedule th, .schedule td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.schedule thead th { font-weight: 600; }
.schedule tbody th { text-align: left; font-weight: 500; }
.schedule .yes { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--jade); vertical-align: middle; }
.schedule .no { color: var(--ink-soft); }
.schedule .off { color: var(--ink-soft); background: var(--porcelain); }

.standards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.standards li { padding: 16px 0; border-top: 1px solid var(--line); }
.standards h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.standards p { margin: 0; color: var(--ink-soft); }

/* ---------- Booking form ---------- */
.contact-grid { display: grid; gap: 40px; padding: 40px 0 64px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding: 56px 0 88px; } }

.booking { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
@media (min-width: 600px) { .booking { padding: 32px; } }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; margin-bottom: 6px; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: .9375rem; }
.hint { margin: 4px 0 0; font-size: .875rem; color: var(--ink-soft); }
input[type="text"], input[type="tel"], input[type="date"], select {
  width: 100%; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--field); border-radius: var(--radius); background: #fff;
  font: inherit; color: var(--ink); line-height: 1.5;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%232E5B4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input[type="date"] { display: block; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--jade); }
.error { margin: 6px 0 0; color: var(--error); font-size: .9375rem; }
.error:empty { display: none; }
.has-error input, .has-error select { border-color: var(--error); }
.form-foot { display: grid; gap: 12px; margin-top: 8px; }
.form-foot .btn { width: 100%; }
@media (min-width: 600px) { .form-foot .btn { width: auto; justify-self: start; } }

.thanks { padding: 28px 20px; border-radius: var(--radius); background: var(--l1); border: 1px solid var(--l3); }
@media (min-width: 600px) { .thanks { padding: 36px; } }
.thanks h2:focus { outline: none; }
.thanks dl { margin: 16px 0 20px; }
.thanks dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--l3); }
.thanks dt { color: var(--ink-soft); }
.thanks dd { margin: 0; font-weight: 500; text-align: right; }

.aside-card { padding: 22px 0; border-top: 1px solid var(--line); }
.aside-card:first-child { border-top: 0; padding-top: 0; }
.aside-card h2 { font-size: 1.3rem; margin-bottom: .4em; }
.line-id { font-family: var(--serif); font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 32px; background: var(--l1); border-top: 1px solid var(--line); font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: .4em; }
.footer-grid p { margin: 0 0 .4em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .875rem; }
.legal p { margin: 0 0 .3em; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }

/* ---------- PV Dev strip (studio band, separate from demo design) ---------- */
.pv-strip { background: #262626; color: #EDEDED; padding: 14px 0; font-family: var(--sans); font-size: .875rem; line-height: 1.6; }
.pv-strip p { margin: 0; }
.pv-strip a { color: #fff; font-weight: 600; }
.pv-strip a:hover { color: #fff; }
.pv-strip :focus-visible { outline-color: #fff; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(243, 246, 244, .97); border-top: 1px solid var(--line);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.action-bar .ab-line { background: var(--line-green); color: #04210F; }
.action-bar .ab-call { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.action-bar .ab-book { background: var(--jade); color: #fff; }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .strata.will-reveal .stratum { opacity: 1; transform: none; }
}
