/* Rudrashakti Astro Clinic — production stylesheet.
   Ported from the design source, where layout was computed in JS from window.innerWidth.
   Those breakpoints are expressed here as real media queries:
     < 480px  tiny   |  < 600px narrow  |  < 700px  |  < 900px mobile  |  < 1024px tablet
*/

:root {
  /* Fraunces for display; Inter for text, with Mukta behind it so the Devanagari
     in the practitioner's name renders rather than falling back to a system face. */
  --hf: Fraunces, 'Cormorant Garamond', Georgia, serif;
  --bf: Inter, Mukta, system-ui, -apple-system, sans-serif;

  --bg: #F8F5EF;
  --surface: #fff;
  --ink: #242321;
  --ink-2: #4b463f;
  --ink-3: #5d574e;
  --ink-4: #6d665b;

  /* Brand colours sampled from the logo. The two --brand-* values are the logo
     exactly; they are light (3.81:1 and 2.39:1 on paper) so they are used only
     for display type, rules and decoration. Everything that carries text uses
     the derived values below, each checked to WCAG AA against the paper
     background — the stricter of the two surfaces. See README > Brand colours. */
  --brand-red: #e4402a;   /* logo wordmark            3.81:1 on paper */
  --brand-cyan: #3cafc0;  /* logo mark                2.39:1 on paper */

  --accent: #d5311b;      /* links, small text, buttons   4.51:1 */
  --accent-dark: #a02514; /* hover / pressed              7.00:1 */
  --teal: #2a7b87;        /* secondary accent text        4.51:1 */
  --gold: #836c3c;        /* section numerals (14–15px)   4.62:1 */
  --gold-rule: #a88a4e;   /* hairlines and dividers only  3.00:1 */
  --error: #a3271a;

  --rule-strong: #242321;
  --rule: #e0d7c7;
  --rule-soft: #e6ddce;
  --rule-faint: #ddd3c2;
  --field: #cfc4b1;
  --line: #d5cab6;

  --tone: saturate(.78) sepia(.08) contrast(1.03);
  --nav-h: 68px;
  --pad-x: clamp(20px, 4vw, 44px);
  --pad-y: clamp(48px, 8vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--bf);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }
input, textarea, button, select { font-family: inherit; font-size: 16px; }
::selection { background: #f7d9d2; color: var(--ink); }

/* One visible focus treatment everywhere, in the brand red, with a light halo so
   it reads on both the paper and white bands. */
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px rgba(213, 49, 27, .14);
}
button:active { transform: translateY(1px); }

/* Fraunces is a variable face; soften it slightly and keep the quirky
   alternates off so headings stay calm at display sizes. */
h1, h2, h3, .h-hero, .h-sec, .h-cta, .h-svc {
  font-variation-settings: 'SOFT' 24, 'WONK' 0;
}

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rule-top { border-top: 1px solid var(--rule); }
[id] { scroll-margin-top: var(--nav-h); }
.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: 60;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 2px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------------------------------------------------------------- animation */

@keyframes rsIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rsMenu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.anim { animation: rsIn .7s var(--ease) both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .34s; }
.d4 { animation-delay: .5s; }
.d-img { animation-duration: .9s; animation-delay: .3s; }

/* Applied by app.js only when IntersectionObserver is available, so content
   stays visible with JS disabled. */
.js-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease-out, transform .7s var(--ease); }
.js-reveal.is-img { transform: scale(.985) translateY(10px); transition: opacity 1s ease-out, transform 1.1s var(--ease); }
.js-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
  .js-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ eyebrow */

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .22em; color: var(--accent);
  font-weight: 600; margin-bottom: 20px;
}
.eyebrow .num { font-family: var(--hf); font-size: 15px; letter-spacing: 0; color: var(--gold); }
.eyebrow .dash { width: 22px; height: 1px; background: var(--gold-rule); flex: none; }
.eyebrow.is-hero .dash { background: var(--accent); }

/* ---------------------------------------------------------------- typography */

/* Fraunces runs larger on the body than Cormorant did at the same pixel size —
   bigger x-height, wider set. The scale below is tuned down to match the
   original optical weight rather than the original numbers. */
h1, h2, h3 { font-family: var(--hf); font-weight: 400; }
.h-hero { font-size: clamp(31px, 3.9vw, 51px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.h-sec { font-size: clamp(25px, 2.9vw, 39px); line-height: 1.14; letter-spacing: -.016em; margin: 0; text-wrap: balance; }
.h-cta { font-size: clamp(25px, 3.1vw, 41px); line-height: 1.14; letter-spacing: -.016em; margin: 0 0 16px; text-wrap: balance; }
.h-svc { font-size: clamp(30px, 3.7vw, 47px); line-height: 1.1; letter-spacing: -.018em; margin: 0 0 20px; }
.lead { color: var(--ink-2); text-wrap: pretty; margin: 0; }
.teal { color: var(--teal); }
.label { font-size: 13.5px; letter-spacing: .14em; font-weight: 600; color: var(--ink-4); }
.label-tight { font-size: 13.5px; letter-spacing: .16em; font-weight: 600; color: var(--ink-4); margin: 0 0 4px; }

/* -------------------------------------------------------------------- links */

.ul {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .25s;
}
.ul:hover, .ul[aria-current="true"], .ul[aria-current="page"] { background-size: 100% 1px; }
.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--accent); font-weight: 500; padding-bottom: 1px;
}
.link-arrow:hover { color: var(--accent-dark); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 2px; font-size: 16px; font-weight: 500;
  padding: 0 26px; min-height: 52px; cursor: pointer;
  transition: background .3s, box-shadow .3s, color .25s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 6px 18px -10px rgba(184, 74, 46, .6); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 48px; padding: 0 22px; }

/* -------------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.site-header.is-scrolled,
.site-header.is-sub {
  border-bottom-color: var(--rule);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 239, .92);
  box-shadow: 0 8px 24px -18px rgba(36, 35, 33, .35);
}
/* A hairline in the two logo colours, so the brand reads even above the fold
   on a narrow screen where the wordmark is small. */
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-red) 38%, var(--brand-cyan) 38%, var(--brand-cyan) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.site-header.is-scrolled::after, .site-header.is-sub::after { opacity: 1; }
.nav {
  max-width: 1240px; margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--nav-h);
}
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; display: block; mix-blend-mode: multiply; }
.nav-desk { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); font-size: 15.5px; }
.nav-desk a { color: var(--ink); padding: 6px 0; line-height: 1.4; }
.nav-desk a:hover, .nav-desk a[aria-current="true"] { color: var(--accent); }
.nav-desk .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

.burger {
  display: none; background: transparent; border: 1px solid var(--field);
  border-radius: 2px; width: 48px; height: 48px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; border-top: 1px solid #e3dacb; padding: 4px 20px 20px;
  flex-direction: column; background: var(--bg);
  max-height: calc(100dvh - var(--nav-h)); overflow: auto;
  animation: rsMenu .3s ease-out both;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-family: var(--hf); font-size: 20px; color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid #e8e0d2; min-height: 48px;
}
.nav-mobile .btn { margin-top: 18px; min-height: 50px; }

@media (max-width: 899px) {
  .brand img { height: 46px; }
  .nav-desk { display: none; }
  .burger { display: flex; }
}

/* ---------------------------------------------------------------- hero/grids */

.grid-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 6vw, 80px) var(--pad-x) clamp(48px, 7vw, 96px);
}
.grid-12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 72px); }
.grid-half { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 44px; }
.grid-feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.grid-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.grid-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.grid-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.grid-how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.grid-steps-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
@media (max-width: 899px) {
  .grid-how { grid-template-columns: minmax(0, 1fr); }
  .how-media { max-width: 420px; }
}
@media (max-width: 599px) { .grid-steps-2 { grid-template-columns: minmax(0, 1fr); } }
.grid-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; }
.grid-footer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px 40px; }

@media (max-width: 1023px) {
  .grid-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .grid-hero, .grid-12, .grid-feat, .grid-split { grid-template-columns: minmax(0, 1fr); }
  .grid-areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 699px) { .grid-half { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
  .grid-steps, .grid-form, .grid-footer { grid-template-columns: minmax(0, 1fr); }
  .grid-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 479px) { .grid-areas { grid-template-columns: minmax(0, 1fr); } }

.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px clamp(20px, 4vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row > p { margin: 0; color: var(--ink-2); max-width: 560px; }
@media (max-width: 899px) { .head-row { grid-template-columns: minmax(0, 1fr); } }

.hero-copy { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.hero-actions .btn { flex: 0 0 auto; }
@media (max-width: 599px) { .hero-actions .btn, .cta-actions .btn, .cta-actions .btn-ghost { flex: 1 1 100%; } }

/* --------------------------------------------------------------------- media */

figure { margin: 0; }
.frame { position: relative; overflow: hidden; background: #ece5d8; filter: var(--tone); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.frame:hover img { transform: scale(1.025); }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-feat { aspect-ratio: 1 / 1; }
@media (max-width: 899px) { .r-feat { aspect-ratio: 4 / 3; } }

.cap-split {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--ink-4); padding: 10px 0;
  border-bottom: 1px solid var(--rule-faint);
}
.cap-split em { font-family: var(--hf); font-style: italic; }
.cap { font-family: var(--hf); font-style: italic; font-size: 15px; color: var(--ink-4); padding-top: 8px; }
.credit {
  display: block; margin-top: 4px;
  font-family: var(--bf); font-style: normal; font-size: 12.5px;
  letter-spacing: .01em; color: var(--ink-4);
}
.credit a { color: var(--ink-4); border-bottom: 1px solid var(--rule-faint); }
.credit a:hover { color: var(--accent); border-color: var(--accent); }
.cap-plain { font-size: 14px; color: var(--ink-4); padding-top: 10px; }

.portrait-figure { max-width: 460px; width: 100%; position: relative; }
/* The About copy is much taller than the portrait, so the portrait tracks the
   reader instead of leaving a long empty column. Desktop only. */
@media (min-width: 900px) {
  .grid-about { align-items: stretch; }
  .grid-about .portrait-figure { position: sticky; top: calc(var(--nav-h) + 28px); }
}
.portrait-figure .ring {
  position: absolute; right: -22px; top: -22px; width: 140px; height: 140px;
  border: 1px solid var(--gold-rule); border-radius: 50%; opacity: .55; pointer-events: none;
}

/* ------------------------------------------------------------------ services */

.cat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px clamp(20px, 4vw, 72px);
  border-top: 1px solid var(--rule-strong);
  padding: 24px 0 clamp(28px, 4vw, 44px);
}
@media (max-width: 899px) { .cat { grid-template-columns: minmax(0, 1fr); } }
.cat-n { font-family: var(--hf); font-size: 15px; color: var(--gold); margin-bottom: 8px; }
.cat-name { font-size: 14px; letter-spacing: .16em; font-weight: 600; margin: 0; line-height: 1.5; color: var(--ink); font-family: var(--bf); }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; }
@media (max-width: 699px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

.svc-row { position: relative; border-bottom: 1px solid var(--rule-soft); transition: background .35s ease; }
.svc-row::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width .45s var(--ease);
}
.svc-row:hover::before { width: 100%; }
.svc-row:hover { background: linear-gradient(90deg, rgba(184, 74, 46, .035), transparent 70%); }
.svc-row a {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 12px;
  padding: 16px 8px 18px 0; color: var(--ink); transition: color .3s;
}
.svc-row a:hover { color: var(--accent); }
.svc-row .n { font-family: var(--hf); font-size: 14px; color: var(--gold); padding-top: 5px; transition: color .3s; }
.svc-row:hover .n { color: var(--accent); }
.svc-row .t { font-family: var(--hf); font-size: 20px; line-height: 1.3; }
.svc-row .arrow { color: var(--accent); font-size: 16px; padding-top: 3px; display: inline-block; transition: transform .35s var(--ease); }
.svc-row:hover .arrow { transform: translateX(6px); }
.svc-row .d { grid-column: 2 / 4; color: var(--ink-3); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }

/* ----------------------------------------------------------- definition list */

.dl { margin: 0; border-top: 1px solid var(--rule-strong); }
.dl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.dl-row.tight { padding: 14px 0; border-bottom-color: var(--rule-soft); }
@media (max-width: 599px) { .dl-row { grid-template-columns: minmax(0, 1fr); } }
.dl-row dt { font-family: var(--hf); font-size: 18px; }
.dl-row dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.dl-row.tight dt { font-family: var(--bf); font-size: 13.5px; letter-spacing: .14em; font-weight: 600; color: var(--ink-4); padding-top: 2px; }
.dl-row.tight dd { font-size: 16.5px; color: var(--ink); }

.contact-row { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.contact-row dt { margin-bottom: 2px; }
.contact-row dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.contact-row dd a { color: var(--ink); border-bottom: 1px solid var(--field); }
.contact-row dd a:hover { color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------- steps */

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 28px; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-n {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hf); font-size: 15px; color: var(--accent); background: var(--bg);
  transition: background .35s, color .35s;
}
.steps li:hover .step-n { background: var(--accent); color: #fff; }
.step-line { flex: 1; height: 1px; background: var(--line); }
.steps li:last-child .step-line { visibility: hidden; }
@media (max-width: 599px) { .step-line { visibility: hidden; } }
.steps h3 { font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; text-wrap: pretty; max-width: 300px; }

/* --------------------------------------------------------------------- areas */

.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.areas li { border-bottom: 1px solid var(--rule); }
.areas button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 20px 12px 20px 0; cursor: pointer; color: var(--ink);
  display: flex; align-items: baseline; gap: 14px; min-height: 64px; transition: color .25s;
}
.areas button:hover { color: var(--accent); }
.areas .n { font-family: var(--hf); font-size: 14px; color: var(--gold); flex: none; }
.areas .t { font-family: var(--hf); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; }

/* ------------------------------------------------------------------- chips */

.chips-h { margin: 28px 0 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 14.5px; line-height: 1.4; color: var(--ink-2);
  border: 1px solid var(--rule); background: var(--bg);
  border-radius: 2px; padding: 6px 12px;
  transition: border-color .25s, color .25s;
}
.chips li:hover { border-color: var(--accent); color: var(--accent); }

/* -------------------------------------------------------------- testimonials */

.t-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--rule-strong);
}
@media (max-width: 767px) { .t-list { grid-template-columns: minmax(0, 1fr); } }

.t-item { border-bottom: 1px solid var(--rule); padding: clamp(24px, 3vw, 34px) 0; }
.t-item figure, .t-item blockquote { margin: 0; }
.t-mark {
  display: block; font-family: var(--hf); font-size: 48px; line-height: .6;
  color: var(--gold); margin-bottom: 10px;
}
.t-quote {
  margin: 0; font-family: var(--hf); font-style: italic;
  font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5;
  color: var(--ink-2); text-wrap: pretty;
}
.t-by { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; }
.t-name { font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.t-meta { color: var(--ink-4); letter-spacing: .02em; }

/* ------------------------------------------------------------ preview banner */

.preview-banner {
  position: sticky; top: 0; z-index: 60;
  background: #7a1f10; color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-align: center; padding: 10px 20px; line-height: 1.4;
}
body.is-preview .site-header { top: 0; }

/* ----------------------------------------------------------------------- faq */

.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: transparent; border: 0; padding: 16px 0; text-align: left; cursor: pointer;
  color: var(--ink); font-family: var(--hf); font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 400; line-height: 1.4; min-height: 56px;
}
.faq-q:hover { color: var(--accent); }
.faq-q > span:first-child { display: flex; gap: 14px; align-items: baseline; }
.faq-q .n { font-family: var(--hf); font-size: 14px; color: var(--gold); flex: none; transition: color .3s; }
.faq-q[aria-expanded="true"] .n { color: var(--accent); }
.faq-icon { flex: none; position: relative; width: 14px; height: 14px; }
.faq-icon i { position: absolute; background: var(--accent); font-style: normal; }
.faq-icon i:first-child { left: 0; top: 6.5px; width: 14px; height: 1.5px; }
.faq-icon i:last-child { left: 6.25px; top: 0; width: 1.5px; height: 14px; transition: transform .3s; }
.faq-q[aria-expanded="true"] .faq-icon i:last-child { transform: scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { margin: 0; padding: 0 36px 20px 34px; color: var(--ink-2); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
/* With JS off every answer is readable. */
.no-js .faq-a { grid-template-rows: 1fr; }

/* ----------------------------------------------------------------------- cta */

.cta { max-width: 760px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--pad-x); text-align: center; }
.cta-mark { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
.cta-mark span:nth-child(odd) { width: 32px; height: 1px; background: var(--gold-rule); }
.cta-mark span:nth-child(2) { width: 6px; height: 6px; border: 1px solid var(--gold-rule); transform: rotate(45deg); }
.cta p { margin: 0 auto 30px; color: var(--ink-2); max-width: 520px; text-wrap: pretty; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------------------------------------------------------------------- form */

.form { border-top: 1px solid var(--rule-strong); padding-top: 22px; }
.form h3 { font-size: 22px; margin: 0 0 6px; }
.form > p { margin: 0 0 22px; color: var(--ink-3); font-size: 15.5px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.field.wide { grid-column: 1 / -1; }
.field .hint { font-weight: 400; color: var(--ink-4); font-size: 14px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--field); background: var(--bg); border-radius: 2px;
  padding: 10px 12px; color: var(--ink); min-height: 48px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field input[type="date"] { padding: 9px 12px; }
.field textarea { resize: vertical; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 74, 46, .12); outline: none;
}
.field [aria-invalid="true"] { border-color: var(--error); background: #fdf6f4; }
.field-err { font-weight: 400; font-size: 13.5px; color: var(--error); margin-top: -2px; }
.form-error { margin: 16px 0 0; color: var(--error); font-size: 15px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 22px; }
.form-actions .btn { flex: 0 0 auto; }
.form-note { font-size: 14px; color: var(--ink-4); }
@media (max-width: 599px) { .form-actions .btn { flex: 1 1 100%; } }

.sent { border-top: 1px solid var(--rule-strong); padding-top: 26px; }
.sent h3 { font-size: 24px; margin: 0 0 10px; }
.sent p { margin: 0 0 20px; color: var(--ink-2); }
.sent strong { font-weight: 500; color: var(--ink); }
.sent-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.link-btn { background: transparent; border: 0; color: var(--accent); font-weight: 500; cursor: pointer; min-height: 44px; padding: 0; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ service detail */

.crumbs { font-size: 14px; color: var(--ink-4); margin-bottom: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-4); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
@media (max-width: 899px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* The copy column runs longer than the photo, so the photo and the clinic card
   travel with the reader instead of leaving the column empty. Desktop only. */
@media (min-width: 900px) {
  .svc-aside { position: sticky; top: calc(var(--nav-h) + 28px); }
}

.clinic-card {
  margin-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}
.clinic-card h2 { margin: 0 0 6px; }
.clinic-card dl { margin: 0; }
.clinic-card dl > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2px 20px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft);
}
.clinic-card dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.clinic-card dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.clinic-card dd a { color: var(--ink); border-bottom: 1px solid var(--field); }
.clinic-card dd a:hover { color: var(--accent); border-color: var(--accent); }
.clinic-card .link-arrow { margin-top: 6px; }
@media (max-width: 479px) { .clinic-card dl > div { grid-template-columns: minmax(0, 1fr); } }
.svc-cat { font-size: 13.5px; letter-spacing: .16em; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.svc-lead { margin: 0 0 30px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 540px; text-wrap: pretty; }
.share { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--rule-strong); }
.share li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 16.5px; }
.share .dot { flex: none; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); position: relative; top: -3px; }
.svc-format { margin: 0 0 32px; padding: 12px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-soft); font-size: 16.5px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.svc-actions .btn { flex: 0 0 auto; }
@media (max-width: 599px) { .svc-actions .btn { flex: 1 1 100%; } }
.svc-actions .wa { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.related { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule-strong); padding-top: 22px; }
.related h2 { font-size: 22px; margin: 0 0 8px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 899px) { .related ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 479px) { .related ul { grid-template-columns: minmax(0, 1fr); } }
.related li { border-bottom: 1px solid var(--rule-soft); }
.related a {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 14px 0; min-height: 52px; color: var(--ink); font-family: var(--hf); font-size: 18px;
}
.related a:hover { color: var(--accent); }
.related a span:last-child { color: var(--accent); }

/* -------------------------------------------------------------------- legal */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ------------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: #d8d1c4; border-top: 3px solid var(--accent); }
.site-footer .wrap { padding-top: clamp(44px, 6vw, 72px); padding-bottom: 24px; }
.footer-top { padding-bottom: 32px; border-bottom: 1px solid #3d3a35; }
.footer-name { font-family: var(--hf); font-size: 22px; color: var(--bg); margin-bottom: 4px; }
.footer-tag { margin: 0; font-family: var(--hf); font-style: italic; color: #c9b88f; font-size: 16px; }
.footer-col { display: flex; flex-direction: column; font-size: 15.5px; }
.footer-h { font-size: 13px; letter-spacing: .16em; color: #9d968a; font-weight: 600; margin-bottom: 8px; }
.footer-col a, .footer-col span { color: #ece6da; padding: 5px 0; transition: color .25s; }
.footer-col a:hover { color: #e5c38d; }
.footer-col address { font-style: normal; line-height: 1.6; display: contents; }
.break { word-break: break-all; }
.disclaimer { margin: 22px 0 14px; font-size: 14px; line-height: 1.6; color: #b3ab9e; max-width: 820px; }
.copyright { margin: 0; font-size: 14px; color: #9d968a; }

/* --------------------------------------------------------------- mobile bar */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 8px 20px calc(8px + env(safe-area-inset-bottom));
  display: none; gap: 8px;
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-bar .btn { min-height: 48px; }
.mobile-bar .wa { flex: none; padding: 0 16px; font-size: 15px; }
.mobile-bar .book { flex: 1; }
@media (max-width: 899px) {
  .mobile-bar { display: flex; }
  .mobile-bar.is-visible { transform: none; }
  body.has-bar .site-footer { padding-bottom: 72px; }
}
