/* ============================================================
   PrimeCareRMT — public site design system
   Clinical, clean, trustworthy. Deep medical teal on calm paper,
   crisp cards, generous whitespace, an ECG "care line" signature.
   NOTE: the :root token names below are shared with the admin UI
   (admin.css consumes them) — keep the names, tune the values.
   ============================================================ */

:root {
  --primecare: #0f766e;        /* primary — deep medical teal */
  --primecare-dark: #0b3b38;   /* ink teal — headings, footer */
  --mint: #ddf2ef;             /* light teal tint — soft fills */
  --sage: #45817b;             /* muted mid teal — quiet accents */
  --ink: #132422;              /* near-black body text */
  --muted: #5b6b68;            /* secondary text */
  --line: #d9e5e2;             /* hairline borders */
  --paper: #f6faf9;            /* page background */
  --white: #ffffff;
  --rose: #b45309;             /* warm amber — warnings/notes */
  --gold: #b08968;             /* muted warm beige — sparing accents */
  --shadow: 0 18px 44px rgba(10, 42, 39, 0.12);

  --pc-radius: 14px;
  --pc-radius-sm: 10px;
  --pc-focus: 0 0 0 3px rgba(15, 118, 110, 0.35);
  --pc-font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Premium layer — display serif + tones derived from the admin-managed
     brand tokens above (color-mix keeps every admin theme coherent). */
  --pc-display: "Iowan Old Style", "Palatino Nova", Palatino, "Book Antiqua", "Times New Roman", Georgia, serif;
  --pc-pine: color-mix(in srgb, var(--primecare-dark) 92%, black);
  --pc-tint: color-mix(in srgb, var(--primecare) 7%, transparent);
  --pc-tint-strong: color-mix(in srgb, var(--primecare) 16%, transparent);
  --pc-gold-line: color-mix(in srgb, var(--gold) 46%, transparent);
  --pc-gold-soft: color-mix(in srgb, var(--gold) 14%, transparent);
}

* { box-sizing: border-box; }

/* [hidden] must always win, even over display:flex/grid components. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--pc-font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: clip;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primecare-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:is(a, button, input, select, textarea, summary):focus-visible {
  outline: none;
  box-shadow: var(--pc-focus);
  border-radius: 6px;
}

/* ---------------------------------------------------------- layout */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primecare);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--primecare);
  opacity: 0.65;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--primecare);
  opacity: 0.65;
}

h1, h2, h3, h4 {
  color: var(--primecare-dark);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-wrap: balance;
}
/* Display serif carries the premium register; h3+ stay sans for clinical clarity. */
h1, h2 {
  font-family: var(--pc-display);
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.12;
}
h1 { font-size: clamp(36px, 5.2vw, 58px); }
h2 { font-size: clamp(27px, 3.5vw, 40px); }
h1 em, h2 em {
  font-style: italic;
  color: var(--primecare);
}
h3 { font-size: 20px; font-weight: 650; }
.lede { color: var(--muted); font-size: 18px; margin: 0; max-width: 62ch; }
.section-head.center .lede { margin: 0 auto; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--pc-radius-sm);
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary {
  position: relative;
  overflow: clip;
  background: linear-gradient(160deg, color-mix(in srgb, var(--primecare) 88%, white), var(--primecare) 55%, color-mix(in srgb, var(--primecare) 82%, black));
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primecare) 28%, transparent);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn-primary:hover { background: linear-gradient(160deg, var(--primecare-dark), var(--pc-pine)); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-secondary { background: var(--white); color: var(--primecare); border-color: var(--primecare); }
.btn-secondary:hover { background: var(--mint); }

.btn-ghost { background: transparent; color: var(--primecare); }
.btn-ghost:hover { background: var(--mint); }

.btn-light { background: var(--white); color: var(--primecare-dark); }
.btn-light:hover { background: var(--mint); }

.btn[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------------------------------------------------------- header */
.utility-strip {
  background: var(--primecare-dark);
  color: #d9ece9;
  font-size: 14px;
}
.utility-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.utility-strip a { color: #fff; text-decoration: none; font-weight: 600; }
.utility-strip a:hover { text-decoration: underline; }
.utility-note { display: inline-flex; align-items: center; gap: 8px; }
.utility-note svg { width: 15px; height: 15px; }

.announcement-bar {
  background: var(--mint);
  color: var(--primecare-dark);
  text-align: center;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand img { height: 44px; width: auto; }
.brand-name { font-weight: 700; font-size: 19px; color: var(--primecare-dark); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name b { color: var(--primecare); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.nav-links a:hover { background: var(--mint); color: var(--primecare-dark); }
.nav-links a[aria-current="page"] { color: var(--primecare); }
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 2px 10px 0;
  border-radius: 2px;
  background: var(--primecare);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.nav-book-short { display: none; }
@media (max-width: 680px) {
  /* Compact header CTA on phones — the bottom bar carries the big Book action. */
  .nav-book-full { display: none; }
  .nav-book-short { display: inline; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14.5px; border-radius: 10px; box-shadow: none; }
  .nav-actions .btn svg { width: 17px; height: 17px; }
  .nav-wrap { min-height: 62px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 17px; }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  color: var(--primecare-dark);
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 14px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .utility-strip .utility-note.secondary { display: none; }
}

/* ---------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 520px at 88% -12%, var(--pc-tint-strong), transparent 62%),
    radial-gradient(760px 460px at -8% 108%, var(--pc-gold-soft), transparent 60%),
    var(--paper);
  padding: 84px 0 92px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-copy .lede { font-size: 19px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sage);
}
.trust-badges svg { width: 17px; height: 17px; color: var(--primecare); flex: none; }

/* Signature: the appointment-preview panel with the care line */
.hero-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 74%;
  height: 74%;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--mint), rgba(221, 242, 239, 0));
  z-index: -1;
}
.hero-panel h2 { font-size: 19px; margin-bottom: 4px; }
.hero-panel .panel-note { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.panel-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.panel-steps li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
}
.panel-steps li:first-child { border-top: 0; }
.panel-steps .p-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--primecare);
  display: grid;
  place-items: center;
}
.panel-steps .p-icon svg { width: 19px; height: 19px; }
.panel-steps strong { display: block; font-size: 15.5px; color: var(--primecare-dark); }
.panel-steps span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hero-panel .btn { width: 100%; margin-top: 14px; }

.care-line { width: 100%; height: 34px; color: var(--primecare); opacity: 0.5; margin-top: 4px; }

@media (max-width: 920px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel::before { display: none; }
}

/* ---------------------------------------------------------- quick booking strip */
.quickbook {
  background: var(--primecare);
  color: #fff;
  padding: 26px 0;
}
.quickbook .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.qb-steps { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; margin: 0; padding: 0; list-style: none; }
.qb-steps li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.qb-steps svg { width: 18px; height: 18px; color: var(--sage); filter: brightness(1.9); }
.qb-steps li + li::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin-right: 16px;
}
.quickbook .btn { flex: none; }

@media (max-width: 720px) {
  .qb-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
  .qb-steps li + li::before { display: none; }
  .quickbook .btn { width: 100%; }
}

/* ---------------------------------------------------------- cards & grids */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }

.pc-card {
  position: relative;
  overflow: clip;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  padding: 24px 22px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.pc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primecare));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
a.pc-card { text-decoration: none; display: block; }
.pc-card:hover { border-color: color-mix(in srgb, var(--primecare) 55%, var(--line)); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10, 42, 39, 0.10); }
.pc-card:hover::before { transform: scaleX(1); }
.pc-card:hover .c-icon { transform: translateY(-2px) rotate(-4deg); background: color-mix(in srgb, var(--gold) 16%, var(--mint)); }
.pc-card .c-icon { transition: transform 0.25s ease, background-color 0.25s ease; }
.pc-card .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--primecare);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pc-card .c-icon svg { width: 22px; height: 22px; }
.pc-card h3 { margin-bottom: 6px; }
.pc-card p { color: var(--muted); font-size: 15px; margin: 0; }
.pc-card .c-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--primecare); font-weight: 650; font-size: 14.5px; }
.pc-card .c-meta svg { width: 16px; height: 16px; }

.section-foot { margin-top: 34px; text-align: center; }

/* conditions checklist */
.conditions-note {
  margin: 30px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 18px;
}

/* steps (numbered sequence) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: pcstep; }
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  padding: 26px 22px 22px;
  counter-increment: pcstep;
}
.step-card::before {
  content: counter(pcstep, decimal-leading-zero);
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--primecare);
  background: var(--mint);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; }
.step-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* text columns */
.tcol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 30px; }
.tcol h3 { display: flex; align-items: center; gap: 10px; font-size: 17.5px; margin-bottom: 8px; }
.tcol h3 svg { width: 20px; height: 20px; color: var(--primecare); flex: none; }
.tcol p { color: var(--muted); font-size: 15.5px; margin: 0; }
.tcol ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; }

/* intro split */
.split-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: center; }
.split-copy p { color: var(--muted); margin: 0 0 16px; }
.stat-stack { display: grid; gap: 14px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primecare);
  border-radius: 12px;
  padding: 18px 20px;
}
.stat-card b { display: block; font-size: 26px; color: var(--primecare-dark); letter-spacing: -0.01em; }
.stat-card span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------------------------------------------------------- service menu (price list) */
.menu-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}
.chip:hover { border-color: var(--primecare); color: var(--primecare); }
.chip.active { background: var(--primecare); border-color: var(--primecare); color: #fff; }

.menu-group { margin-bottom: 30px; }
.menu-group > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  margin-bottom: 12px;
}
.menu-group > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-rows { display: grid; gap: 8px; }
.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
}
.menu-row .m-name { font-weight: 600; color: var(--ink); }
.menu-row .m-side { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.menu-row .m-dur { color: var(--muted); font-size: 14px; }
.menu-row .m-price { font-weight: 700; color: var(--primecare-dark); font-size: 16.5px; min-width: 56px; text-align: right; }
.menu-row .m-book {
  border: 1px solid var(--primecare);
  color: var(--primecare);
  background: var(--white);
  border-radius: 9px;
  padding: 7px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.menu-row .m-book:hover { background: var(--mint); }
.menu-note { margin-top: 22px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 640px) {
  .menu-row { flex-wrap: wrap; row-gap: 8px; }
  .menu-row .m-side { width: 100%; justify-content: space-between; }
}

/* ---------------------------------------------------------- FAQ */
.faq-group { max-width: 820px; margin: 0 auto 30px; }
.faq-group > h3 { margin-bottom: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 650;
  font-size: 16.5px;
  color: var(--primecare-dark);
  text-align: left;
  cursor: pointer;
}
.faq-q svg { width: 19px; height: 19px; flex: none; color: var(--primecare); transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }
.faq-item.open .faq-a { display: block; }

/* ---------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(620px 300px at 12% 118%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(120deg, var(--pc-pine), var(--primecare));
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  border-radius: 22px;
  color: #fff;
  padding: 58px 46px;
  text-align: center;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--primecare-dark) 26%, transparent);
}
.cta-band > *:not(.decor-field) { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 56ch; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); border-width: 1.5px; border-style: solid; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 640px) { .cta-band { padding: 38px 22px; } }

/* ---------------------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(900px 380px at 92% -30%, var(--pc-tint), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .lede { max-width: 70ch; }

/* ---------------------------------------------------------- rich text */
.rich { max-width: 780px; margin: 0 auto; }
.rich h2 { font-size: 22px; margin: 34px 0 10px; }
.rich h2:first-child { margin-top: 0; }
.rich p { color: var(--muted); margin: 0 0 14px; }
.rich .updated { font-size: 13.5px; color: var(--sage); margin-bottom: 26px; }

/* ---------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  padding: 28px 26px;
}
.panel h2 { font-size: 21px; margin-bottom: 18px; }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: 14.5px; color: var(--primecare-dark); }
.field .req { color: var(--rose); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pc-radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primecare); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c2410c; }
.field-err { display: none; color: #b3261e; font-size: 13.5px; font-weight: 600; }
.field-err.show { display: block; }
.field .hint { color: var(--muted); font-size: 13px; }

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

.form-msg { border-radius: 10px; padding: 13px 16px; font-weight: 600; font-size: 15px; margin-top: 4px; }
.form-msg.ok { background: #e3f4ec; color: #14663c; }
.form-msg.err { background: #fdebe9; color: #b3261e; }

.info-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list svg { width: 19px; height: 19px; color: var(--primecare); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-size: 14px; color: var(--primecare-dark); }
.info-list span, .info-list a { color: var(--muted); font-size: 15px; text-decoration: none; word-break: break-word; }
.info-list a:hover { color: var(--primecare); text-decoration: underline; }

.map-frame { border: 1px solid var(--line); border-radius: var(--pc-radius); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------------------------------------------------------- booking wizard */
.booking-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
@media (max-width: 960px) { .booking-shell { grid-template-columns: 1fr; } }

.bw-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.bw-steps button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  background: none;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
}
.bw-steps button .n {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink);
  font-size: 12.5px;
}
.bw-steps button.active { background: var(--primecare); color: #fff; }
.bw-steps button.active .n { background: rgba(255, 255, 255, 0.25); color: #fff; }
.bw-steps button.done { color: var(--primecare); }
.bw-steps button.done .n { background: var(--mint); color: var(--primecare); }
.bw-steps button:disabled { cursor: default; }
@media (max-width: 640px) { .bw-steps button span.lbl { display: none; } .bw-steps button.active span.lbl { display: inline; } }

.bw-pane { background: var(--white); border: 1px solid var(--line); border-radius: var(--pc-radius); padding: 26px 24px; }
.bw-pane h2 { font-size: 20px; margin-bottom: 4px; }
.bw-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }

.svc-cat { margin-bottom: 22px; }
.svc-cat > h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.svc-cat > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.svc-btn {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 13px 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 74px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.svc-btn:hover { border-color: var(--primecare); }
.svc-btn.sel { border-color: var(--primecare); background: var(--mint); }
.svc-btn .d { font-weight: 700; color: var(--primecare-dark); font-size: 16px; display: block; }
.svc-btn .p { color: var(--primecare); font-weight: 650; font-size: 14.5px; }

.bw-datetime { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; }
@media (max-width: 760px) { .bw-datetime { grid-template-columns: 1fr; } }

.cal { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-size: 15px; color: var(--primecare-dark); }
.cal-nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--primecare-dark);
}
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-nav svg { width: 17px; height: 17px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 5px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.cal-day:hover:not(:disabled) { border-color: var(--primecare); }
.cal-day:disabled { color: #b8c6c2; cursor: default; }
.cal-day.today { border-color: var(--line); }
.cal-day.sel { background: var(--primecare); color: #fff; }

.slot-section { min-width: 0; }
.slot-group { margin-bottom: 16px; }
.slot-group h4 { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot-btn {
  min-height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--primecare-dark);
  cursor: pointer;
}
.slot-btn:hover { border-color: var(--primecare); }
.slot-btn.sel { background: var(--primecare); border-color: var(--primecare); color: #fff; }
.slot-empty { color: var(--muted); font-size: 15px; padding: 14px; background: var(--paper); border-radius: 10px; }

.ther-pick { margin-top: 20px; }
.ther-pick h3 { font-size: 16px; margin-bottom: 4px; }
.ther-pick .bw-sub { margin-bottom: 12px; }
.ther-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ther-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 62px;
}
.ther-btn:hover { border-color: var(--primecare); }
.ther-btn.sel { border-color: var(--primecare); background: var(--mint); }
.ther-btn .t-av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primecare-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.ther-btn.any .t-av { background: var(--sage); }
.ther-btn b { display: block; font-size: 14.5px; color: var(--primecare-dark); line-height: 1.25; }
.ther-btn span { font-size: 12.5px; color: var(--muted); }

.consent-row { display: flex; gap: 11px; align-items: flex-start; padding: 4px 0; }
.consent-row input { width: 21px; height: 21px; margin-top: 2px; accent-color: var(--primecare); flex: none; }
.consent-row label { font-size: 14.5px; color: var(--muted); font-weight: 500; }
.consent-row a { color: var(--primecare); }

.bw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.bw-nav .btn { min-width: 130px; }
@media (max-width: 560px) { .bw-nav { flex-direction: column-reverse; } .bw-nav .btn { width: 100%; } }

.bw-summary {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pc-radius);
  padding: 22px;
}
.bw-summary h3 { font-size: 16.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.bw-summary h3 svg { width: 18px; height: 18px; color: var(--primecare); }
.sum-rows { display: grid; margin-bottom: 6px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.sum-row:first-child { border-top: 0; }
.sum-row .k { color: var(--muted); }
.sum-row .v { font-weight: 650; color: var(--primecare-dark); text-align: right; }
.sum-row.total .v { font-size: 17px; color: var(--primecare); }
.sum-note { font-size: 13px; color: var(--muted); background: var(--paper); border-radius: 9px; padding: 10px 12px; margin-top: 10px; }
.sum-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; color: var(--primecare); }
@media (max-width: 960px) { .bw-summary { position: static; order: -1; } }

.bw-confirm { text-align: center; padding: 34px 18px; }
.bw-confirm .ok-badge {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primecare);
  display: grid;
  place-items: center;
}
.bw-confirm .ok-badge svg { width: 36px; height: 36px; }
.bw-confirm h2 { margin-bottom: 8px; }
.bw-confirm .ref { display: inline-block; background: var(--paper); border: 1px dashed var(--line); border-radius: 9px; padding: 8px 16px; font-weight: 700; color: var(--primecare-dark); margin: 10px 0 16px; }
.bw-confirm p { color: var(--muted); max-width: 46ch; margin: 0 auto 10px; }
.bw-confirm .hero-actions { justify-content: center; margin-top: 18px; }

.waitlist-box { background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 18px; margin-top: 14px; }
.waitlist-box h4 { margin: 0 0 6px; color: var(--primecare-dark); font-size: 15.5px; }
.waitlist-box p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--primecare-dark); color: #c8dedb; margin-top: 84px; }
.footer-care-line { display: block; width: 100%; height: 26px; color: var(--primecare); background: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 36px;
  padding: 56px 0 40px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.f-brand img { height: 40px; margin-bottom: 14px; background: #fff; border-radius: 9px; padding: 5px 10px; }
.f-brand p { font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; max-width: 34ch; }
.f-contact { display: grid; gap: 8px; font-size: 14.5px; }
.f-contact a, .f-contact span { color: #e6f2f0; text-decoration: none; display: inline-flex; gap: 9px; align-items: center; }
.f-contact a:hover { text-decoration: underline; }
.f-contact svg { width: 16px; height: 16px; color: var(--sage); filter: brightness(1.6); flex: none; }

.site-footer h3 { color: #fff; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-links a { color: #c8dedb; text-decoration: none; font-size: 15px; }
.f-links a:hover { color: #fff; text-decoration: underline; }

.f-hours { font-size: 14.5px; margin: 0 0 16px; }
.site-footer .btn-light { width: 100%; justify-content: center; }

.f-news { margin-top: 18px; }
.f-news p { font-size: 13px; margin: 0 0 8px; }
.f-news form { display: flex; gap: 8px; }
.f-news input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 13px;
  font: inherit;
  font-size: 14.5px;
}
.f-news input::placeholder { color: #9dbcb8; }
.f-news button {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  background: var(--primecare);
  color: #fff;
  font: inherit;
  font-weight: 650;
  padding: 0 16px;
  cursor: pointer;
}
.f-news button:hover { background: #0d685f; }
.f-news .form-msg { padding: 8px 12px; font-size: 13.5px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 20px 0 26px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 22px; font-size: 13.5px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: #a9c6c2; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-legal .admin-link a { color: #6f918d; }

/* ---------------------------------------------------------- help widget (FAB) */
.faq-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primecare-dark);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.faq-fab svg { width: 20px; height: 20px; }
.faq-sheet {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 81;
  width: min(390px, calc(100vw - 36px));
  max-height: min(560px, 72vh);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.faq-sheet h3 { margin-bottom: 4px; }
.faq-sheet .bw-sub { margin-bottom: 12px; }
.faq-sheet .faq-item { border-radius: 10px; }
.faq-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.faq-sheet-close svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------- misc */
.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--primecare-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.pill-note svg { width: 15px; height: 15px; color: var(--primecare); }

.loading-dots { color: var(--muted); font-size: 14.5px; padding: 12px 4px; }

/* ============================================================
   Premium layer — decorative "care field" motifs, cursor parallax,
   scroll reveals, install prompt, mobile action bar.
   ============================================================ */

/* ---------- decor field: floating massage line-art (injected by script.js) */
.decor-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.decor {
  position: absolute;
  display: block;
  color: var(--primecare);
  transform: translate3d(calc(1px * var(--mxn, 0) * var(--depth, 1)), calc(1px * var(--myn, 0) * var(--depth, 1)), 0);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.decor svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  animation: pc-float var(--dur, 16s) ease-in-out var(--delay, 0s) infinite alternate;
}
.decor--gold { color: var(--gold); }
.decor--sage { color: var(--sage); }
.decor--light { color: #fff; }
@keyframes pc-float {
  from { transform: translateY(-6px) rotate(-1.2deg); }
  to { transform: translateY(10px) rotate(1.6deg); }
}

/* ---------- quiet lotus texture on alternating sections & footer */
.section.alt,
.quickbook,
.site-footer {
  position: relative;
}
.section.alt::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%230f766e' stroke-opacity='0.055' stroke-width='1.2'%3E%3Cpath d='M48 34c-4 5-6 9-6 13a6 6 0 0 0 12 0c0-4-2-8-6-13z'/%3E%3Cpath d='M40 45c-5-1-9 0-12 2 2 3 6 5 11 5'/%3E%3Cpath d='M56 45c5-1 9 0 12 2-2 3-6 5-11 5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}
.site-footer::before { opacity: 0.5; }
.section.alt > .wrap,
.site-footer > .wrap { position: relative; z-index: 1; }

.quickbook { overflow: clip; }
.quickbook .wrap { position: relative; z-index: 2; }
.quickbook::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 200px at 92% 130%, rgba(255, 255, 255, 0.14), transparent 65%);
}

/* ---------- eyebrow: gold thread */
.eyebrow::before,
.section-head.center .eyebrow::after { background: var(--gold); opacity: 0.9; }

/* ---------- hero panel: finer jewellery */
.hero-panel {
  border-radius: 20px;
  border-color: color-mix(in srgb, var(--gold) 26%, var(--line));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 54px rgba(10, 42, 39, 0.14);
}

/* ---------- scroll reveal (added by script.js; no-JS stays visible) */
.rv {
  opacity: 0;
  transform: translateY(16px);
}
.rv-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease var(--rvd, 0s), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--rvd, 0s);
}

/* ---------- step numbers: gilded */
.step-card::before {
  background: var(--pc-gold-soft);
  color: color-mix(in srgb, var(--gold) 70%, var(--primecare-dark));
}

/* ---------- footer: gold hairline + lifted care line */
.site-footer { border-top: 1px solid var(--pc-gold-line); }

/* =====================================================================
   PWA — "Install app / Add to Home Screen" prompt (pwa.js).
   Bottom-left card; slides in only once styled & flagged visible.
   ===================================================================== */
.pwa-install {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 32px));
  margin: 0;
  padding: 11px 12px 11px 13px;
  border: 1px solid var(--pc-gold-line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--primecare-dark), var(--pc-pine));
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(7, 33, 30, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.pwa-install.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pwa-install:hover { border-color: color-mix(in srgb, var(--gold) 75%, transparent); }
.pwa-install:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.pwa-install__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(221, 242, 239, 0.16);
  color: var(--mint);
}
.pwa-install__icon svg { width: 22px; height: 22px; }
.pwa-install__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pwa-install__text b { font-size: 14px; font-weight: 700; letter-spacing: 0.01em; }
.pwa-install__text small { font-size: 11.5px; color: rgba(230, 242, 240, 0.78); }
.pwa-install__close {
  flex: 0 0 auto;
  margin-left: 2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.15s, color 0.15s;
}
.pwa-install__close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Instructions sheet (iOS + generic) */
.pwa-sheet {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: end center;
  padding: 0;
  background: rgba(7, 26, 24, 0);
  transition: background 0.22s ease;
}
.pwa-sheet.is-open { background: rgba(7, 26, 24, 0.55); }
@supports (backdrop-filter: blur(2px)) {
  .pwa-sheet.is-open { backdrop-filter: blur(2px); }
}
.pwa-sheet__card {
  position: relative;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 22px 22px 26px;
  background: #fff;
  color: var(--primecare-dark);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 50px rgba(7, 33, 30, 0.3);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.pwa-sheet.is-open .pwa-sheet__card { transform: translateY(0); }
@media (min-width: 620px) {
  .pwa-sheet { place-items: center; padding: 24px; }
  .pwa-sheet__card { border-radius: 20px; transform: translateY(16px) scale(0.98); }
  .pwa-sheet.is-open .pwa-sheet__card { transform: translateY(0) scale(1); }
}
.pwa-sheet__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 59, 56, 0.06);
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pwa-sheet__x:hover { background: rgba(11, 59, 56, 0.12); }
.pwa-sheet__card h3 { margin: 4px 40px 6px 0; font-size: 1.18rem; }
.pwa-sheet__card > p { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.pwa-sheet__steps { list-style: none; margin: 0; padding: 0; }
.pwa-sheet__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}
.pwa-sheet__steps li:first-child { border-top: 0; }
.pwa-sheet__steps b { color: var(--primecare-dark); }
.pwa-sheet__ic {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mint);
  color: var(--primecare);
}
.pwa-sheet__ic svg { width: 22px; height: 22px; }

/* =====================================================================
   Mobile action bar — app-style bottom navigation on phones only.
   ===================================================================== */
.mobile-bar { display: none; }

@media (max-width: 680px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(10, 42, 39, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 7px 2px;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
    color: var(--primecare-dark);
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
  }
  .mobile-bar-item span { white-space: nowrap; }
  .mobile-bar-item:active { background: var(--mint); }
  .mobile-bar-item svg { width: 21px; height: 21px; }
  .mobile-bar-item[aria-current="page"] { color: var(--primecare); }

  .mobile-bar-cta {
    color: #fff;
    background: linear-gradient(150deg, var(--primecare), var(--pc-pine));
    border-radius: 13px;
    margin: 5px 4px;
    flex: 1.15 1 0;
    box-shadow: 0 5px 14px color-mix(in srgb, var(--primecare) 38%, transparent);
  }
  .mobile-bar-cta svg { color: color-mix(in srgb, var(--gold) 70%, #fff); }
  .mobile-bar-cta:active { background: var(--primecare-dark); }

  /* keep page content, footer, install prompt & help FAB clear of the bar */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .faq-fab { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .faq-sheet { bottom: calc(138px + env(safe-area-inset-bottom, 0px)); }
  .pwa-install { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .decor { transition: none; }
  .decor svg { animation: none; }
  .rv { opacity: 1; transform: none; }
}
