/* =============================================================
   Able Acupuncture Clinic — Design System
   Premium, calm, trustworthy TCM/wellness aesthetic.
   Single stylesheet · design tokens · mobile-first responsive.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — deep teal + brass palette (primary var name "jade" = teal).
     Calm, premium, clinical-trustworthy. */
  --ink:        #16282b;   /* near-black teal-tinted — body text */
  --ink-soft:   #2f4448;
  --muted:      #566a6d;   /* secondary text */
  --jade:       #1f6470;   /* primary brand (deep teal) */
  --jade-deep:  #174c56;   /* hover / depth */
  --jade-700:   #123b43;
  --jade-soft:  #e3eef0;   /* tint surfaces */
  --jade-mist:  #f1f6f7;
  --gold:       #c98a4e;   /* restrained warm brass accent */
  --gold-soft:  #f1e3d0;
  --cream:      #f9f7f3;   /* page background */
  --sand:       #eaf0ef;   /* alt section background */
  --line:       #dde6e5;   /* hairlines / borders */
  --line-soft:  #e8efee;
  --white:      #ffffff;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (clamp avoids layout shift between breakpoints) */
  --fs-display: clamp(2.4rem, 1.4rem + 4.2vw, 4rem);
  --fs-h1:      clamp(2rem, 1.3rem + 3vw, 3.1rem);
  --fs-h2:      clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
  --fs-h3:      clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem);
  --fs-lead:    clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.78rem;

  /* Spacing scale (4px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 2.5rem; --s8: 3rem; --s9: 4rem; --s10: 5rem; --s11: 6.5rem;

  /* Radius */
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Shadows — soft, premium */
  --shadow-sm: 0 1px 2px rgba(28,43,39,.05), 0 2px 6px rgba(28,43,39,.04);
  --shadow:    0 6px 18px rgba(28,43,39,.07), 0 2px 6px rgba(28,43,39,.04);
  --shadow-lg: 0 18px 50px rgba(28,43,39,.12), 0 6px 16px rgba(28,43,39,.06);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --nav-h: 76px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: 220ms var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
section[id], article[id] { scroll-margin-top: 88px; }
.section--tint { background: var(--jade-mist); }
.section--sand { background: var(--sand); }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.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; }

/* Section header */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--jade); margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); }
.section-intro { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-lead); }

/* skip link */
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--jade); color: #fff; padding: .6rem 1.1rem; border-radius: var(--r-pill);
  z-index: 1200; transition: top var(--t);
}
.skip-link:focus { top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .92rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--jade); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--jade-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--jade-deep); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--jade); color: var(--jade); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
/* touch press feedback */
.btn:active { transform: translateY(0) scale(.98); }
.mbtn:active { transform: scale(.97); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,248,243,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(250,248,243,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex: 0 1 auto; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
/* the in-drawer Book button is hidden on desktop (desktop has its own CTA) */
.mobile-cta { display: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.brand-name span { color: var(--jade); }
.brand-sub { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  position: relative; padding: .55rem .85rem; border-radius: var(--r-sm);
  font-size: .94rem; font-weight: 500; color: var(--ink-soft); transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--jade); }
.nav-links a.active { color: var(--jade); }
.nav-links a.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px;
  background: var(--gold); border-radius: 2px;
}
/* the in-drawer Book CTA must keep white button text (.nav-links a sets ink-soft) */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .6rem; flex: none; }

/* language toggle — segmented control */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--jade-mist); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: .74rem; font-weight: 700; letter-spacing: .03em;
}
.lang-toggle button {
  position: relative; /* anchors the invisible ::after tap-area extension */
  padding: .5rem .72rem; border-radius: var(--r-pill); color: var(--muted); line-height: 1; min-height: 36px;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
/* invisible tap-area extension — lifts the ~34px pills toward the 44px touch guideline without any visual change */
.lang-toggle button::after { content: ""; position: absolute; inset: -6px -2px; }
.lang-toggle button:hover { color: var(--jade-deep); }
.lang-toggle button[aria-pressed="true"] { background: var(--jade); color: #fff; box-shadow: var(--shadow-sm); }

/* hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t), top var(--t); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--jade-mist) 0%, var(--cream) 55%, var(--sand) 100%); }
.hero::before { /* soft botanical glow */
  content: ""; position: absolute; top: -25%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(47,107,94,.10), transparent 65%); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; z-index: 1; }
.hero-eyebrow { color: var(--jade); }
.hero h1 { font-size: var(--fs-display); margin-bottom: var(--s5); font-weight: 500; }
.hero h1 em { font-style: normal; color: var(--jade); }
.hero-lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 32ch; margin-bottom: var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: var(--s6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.hero-trust .t { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hero-trust .t svg { width: 20px; height: 20px; color: var(--jade); flex: none; }

/* hero visual — clean editorial portrait with a soft offset accent behind it */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 1.5rem -1.25rem -1.25rem 1.5rem;
  border-radius: var(--r-lg); background: linear-gradient(150deg, var(--jade-soft), var(--gold-soft));
}
.hero-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-card img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--jade-soft); color: var(--jade); margin-bottom: var(--s4);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Service cards ---------- */
.service-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.service-art {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--jade-soft); color: var(--jade); display: grid; place-items: center;
  margin: clamp(1.3rem, 2.4vw, 1.8rem) clamp(1.3rem, 2.4vw, 1.8rem) 0;
}
.service-art svg { width: 28px; height: 28px; }
.service-body { padding: clamp(1.3rem, 2.4vw, 1.8rem); display: flex; flex-direction: column; flex: 1; }
.service-body h2, .service-body h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.service-body p { color: var(--muted); margin-bottom: var(--s4); flex: 1; }
/* home teaser cards link to their service section — stretched link makes the whole card clickable */
.service-body h3 a { color: inherit; }
.service-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-more { font-weight: 600; font-size: .9rem; color: var(--jade); }
.service-card:hover .card-more { text-decoration: underline; }
.service-features { display: flex; flex-direction: column; gap: .45rem; margin-bottom: var(--s5); }
.service-features li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.service-features li svg { width: 16px; height: 16px; color: var(--jade); flex: none; }
/* ---------- Conditions ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cond-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.cond-card h3 { font-size: 1.1rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.cond-card h3 svg { width: 22px; height: 22px; color: var(--jade); }
.cond-card ul { display: flex; flex-direction: column; gap: .4rem; }
.cond-card li { font-size: .92rem; color: var(--muted); padding-left: 1rem; position: relative; }
.cond-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--jade); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: var(--s4);
}
.step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- About / practitioner ---------- */
.practitioner { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.practitioner + .practitioner { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.practitioner.rev { grid-template-columns: 1fr 280px; }
.practitioner.rev .pr-media { order: 2; }
.pr-media .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.pr-media .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pr-monogram {
  border-radius: var(--r-lg); aspect-ratio: 4/5; display: grid; place-content: center; justify-items: center; gap: .6rem;
  background: linear-gradient(150deg, var(--jade-soft), var(--gold-soft)); box-shadow: var(--shadow); border: 1px solid var(--line-soft);
}
.pr-monogram .ini { font-family: var(--font-display); font-size: 3.2rem; color: var(--jade-deep); }
.pr-monogram .role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pr-info .role-tag { color: var(--jade); font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.pr-info h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.pr-info p { color: var(--muted); margin-bottom: var(--s3); }

/* expectation checklist */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.8rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); font-size: .96rem; }
.checklist li svg { width: 22px; height: 22px; color: var(--jade); flex: none; margin-top: 1px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-h { margin: 0; } /* heading wrapper for the accordion button (ARIA pattern) — no visual role */
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  padding: 1.15rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; line-height: 1.45; letter-spacing: 0; color: var(--ink); }
.faq-q .icon { width: 24px; height: 24px; flex: none; position: relative; transition: transform var(--t); color: var(--jade); }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .icon::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.faq-q .icon::after { top: 4px; bottom: 4px; left: 11px; width: 2px; transition: transform var(--t); }
.faq-item.open .faq-q .icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a-inner { padding: 0 1.4rem 1.25rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-grid > div { min-width: 0; }
.info-card { display: flex; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); box-shadow: var(--shadow-sm); min-width: 0; }
.info-content { min-width: 0; flex: 1; container-type: inline-size; }
.info-card a, .footer-contact a { overflow-wrap: anywhere; word-break: break-word; }
/* email always fits its card on one line: scales with the card's text width (cqi),
   capped at 1rem; old browsers fall back to overflow-wrap above */
.info-card a[href^="mailto:"] { font-size: min(1rem, 5.75cqi); }
.info-card + .info-card { margin-top: 1rem; }
.info-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--jade-soft); color: var(--jade); display: grid; place-items: center; flex: none; }
.info-ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.info-card a { color: var(--jade); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.info-card p { color: var(--muted); font-size: .94rem; }
.info-note { font-size: .82rem; color: var(--muted); }

.form-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--cream); transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--jade); background: #fff; box-shadow: 0 0 0 3px rgba(47,107,94,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-status { padding: .85rem 1.1rem; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; margin-bottom: 1rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: var(--jade-soft); color: var(--jade-deep); border: 1px solid #bcdccf; }
.form-status.error { background: #fcecea; color: #a5392b; border: 1px solid #f2c9c4; }
.field-error { color: #a5392b; font-size: .8rem; margin-top: .3rem; display: none; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #d4604f; }
.form-group.invalid .field-error { display: block; }

/* map embed */
.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 1rem; }
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c7d0cc; padding-block: clamp(3rem, 5vw, 4rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.5fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer .brand-name span { color: var(--gold); }
.footer .brand-sub { color: #8b9690; }
.footer-tagline { margin-top: 1rem; font-size: .92rem; color: #9aa6a1; max-width: 34ch; }
.footer .foot-h { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer ul { display: flex; flex-direction: column; gap: .6rem; }
.footer ul a { color: #aeb8b3; font-size: .92rem; transition: color var(--t); }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; font-size: .92rem; margin-bottom: .7rem; color: #aeb8b3; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-contact a { color: #aeb8b3; }
.footer-contact a[href^="mailto:"] { font-size: .88rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .82rem; color: #8b9690; }
.footer-bottom .disclaimer { max-width: 60ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #c7d0cc; transition: background var(--t), color var(--t), border-color var(--t); }
.socials a:hover { background: var(--jade); border-color: var(--jade); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* ---------- Back to top + scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--jade); z-index: 1100; transition: width 80ms linear; }
.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%; background: var(--jade); color: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t); z-index: 900; }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--jade-deep); }

/* mobile sticky action bar (Call / Book) */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 22px rgba(22,40,43,.08);
  transform: translateY(110%); transition: transform var(--t);
}
.mobile-bar.show { transform: none; }
body.menu-open .mobile-bar { transform: translateY(110%); }
.mobile-bar .mbtn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem;
}
.mobile-bar .mbtn svg { width: 18px; height: 18px; }
.mbtn-primary { background: var(--jade); color: #fff; flex: 1.4; }
.mbtn-ghost { background: var(--jade-soft); color: var(--jade-deep); }
@media (max-width: 640px) {
  .mobile-bar { display: flex; }
  .back-to-top { display: none; }
  /* roomier tap targets for footer links on mobile (≥44px touch height) */
  .footer ul a { display: inline-block; padding: .55rem 0; }
  .footer-contact li { margin-bottom: .9rem; }
  .info-link { display: inline-block; padding: .4rem 0; }
  /* the sticky Call/Book bar must never cover the last footer content */
  .footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
}

/* page hero (interior pages) */
.page-hero { background: linear-gradient(170deg, var(--jade-mist), var(--cream)); padding-block: clamp(2.6rem, 6vw, 4.2rem); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--s4); }
.page-hero p { color: var(--muted); font-size: var(--fs-lead); max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: var(--s4); }
.breadcrumb a { color: var(--jade); }

/* reveal-on-scroll animation — content is visible by default (no-JS safe);
   only hidden/animated when JS is active (html.js) */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-inline: auto; order: -1; }
  .hero-lead { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* contact column gets a full row so the email never wraps */
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  /* slightly more compact info-cards so long text (email) keeps a readable size */
  .info-card { padding: 1.05rem; gap: .8rem; }
  .info-ic { width: 40px; height: 40px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .desktop-cta { display: none; }
  .nav-toggle { display: block; }
  .lang-toggle { display: inline-flex; }
  /* mobile drawer */
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
  }
  body.menu-open .nav-links { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .95rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .mobile-cta { display: block; margin-top: 1rem; border-bottom: none; }
  .nav-links .mobile-cta .btn { width: 100%; }
}
/* very small screens: drop the brand sub-line so the header never forces overflow */
@media (max-width: 400px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.02rem; white-space: nowrap; }
  .brand { gap: .5rem; }
  .brand-mark { width: 32px; height: 32px; }
  /* compact lang pills so the brand keeps one clean line */
  .lang-toggle button { padding: .5rem .5rem; min-height: 34px; }
  .nav-actions { gap: .4rem; }
}
/* tiniest screens: drop the decorative mark so the name never collides with the toggle */
@media (max-width: 365px) {
  .brand-mark { display: none; }
}
@media (max-width: 760px) {
  .grid-3, .cond-grid, .steps, .contact-grid, .form-row, .checklist { grid-template-columns: 1fr; }
  .practitioner, .practitioner.rev { grid-template-columns: 1fr; justify-items: center; }
  .practitioner.rev .pr-media { order: -1; }
  .pr-media { max-width: 220px; width: 100%; margin-inline: auto; }
  /* square, centered photos on mobile — no long vertical crop */
  .pr-media .frame img, .pr-monogram { aspect-ratio: 1 / 1; }
  .pr-info { text-align: center; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

/* phone numbers should never wrap mid-number */
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .back-to-top, .scroll-progress, .skip-link, .nav-toggle { display: none !important; }
  body { background: #fff; }
  /* unrevealed sections must not print blank */
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .faq-a { max-height: none !important; } /* print all answers expanded */
}
