/* ==========================================================================
   Mountain Dental Care — stylesheet
   Palette drawn from the clinic logo: alpine slate, glacier teal, mist.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License), latin subset */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/manrope.woff2") format("woff2"); }

:root {
  --ink: #16303c;
  --ink-2: #24414f;
  --slate: #3e5a68;
  --muted: #5c7480;
  --teal: #0f7a7d;
  --teal-deep: #0c6b6f;
  --teal-soft: #d8efed;
  --aqua: #8fd0cd;
  --mist: #eef7f6;
  --mist-2: #f6fbfa;
  --paper: #ffffff;
  --line: #dbe9e8;
  --gold: #e9b45a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(22, 48, 60, .06), 0 2px 8px rgba(22, 48, 60, .05);
  --shadow: 0 2px 6px rgba(22, 48, 60, .05), 0 18px 40px -12px rgba(22, 48, 60, .16);
  --shadow-lg: 0 30px 70px -20px rgba(22, 48, 60, .28);

  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--teal); font-weight: 400; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-soft); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--mist { background: var(--mist-2); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; color: #fff; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- Eyebrows, leads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate); line-height: 1.65; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font: 700 .98rem/1.2 var(--font-body); letter-spacing: .01em;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(22, 48, 60, .45); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn--primary { --bg: var(--teal); }
.btn--primary:hover { --bg: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(22, 48, 60, .22); }
.btn--ghost:hover { color: var(--ink); background: #fff; border-color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-deep); }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #cfe3e2; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .i { color: var(--aqua); width: 1.05em; height: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(22, 48, 60, .35); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-body); font-weight: 800; font-size: 1.32rem; letter-spacing: .09em; text-transform: uppercase; }
.brand__sub { margin-top: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--teal); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: .96rem; color: var(--slate);
  transition: color .2s, background .2s;
}
.nav__links a:not(.btn):hover { color: var(--ink); background: var(--mist); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--teal);
}
.nav__mobile-cta { display: none; }
.nav__phone, .nav__book { padding: 12px 20px; }
.nav__phone + .nav__book { margin-left: -16px; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle .i { width: 22px; height: 22px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(143, 208, 205, .35), transparent 60%),
    radial-gradient(700px 500px at 5% 0%, rgba(216, 239, 237, .9), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, #fff 100%);
  padding: clamp(48px, 7vw, 96px) 0 0;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .88rem; font-weight: 600; color: var(--slate); margin-bottom: 26px;
}
.hero__pill b { background: var(--teal); color: #fff; font-size: .72rem; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.hero h1 { margin-bottom: 22px; }
.hero__kicker { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.hero .lead { max-width: 40ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; list-style: none; color: var(--slate); font-weight: 600; font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust .i { color: var(--teal); background: var(--teal-soft); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 2.2; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.emblem { position: relative; width: min(440px, 82%); aspect-ratio: 1; }
.emblem::before {
  content: ""; position: absolute; inset: -9%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, 0) 70%);
}
.emblem__ring { position: absolute; inset: -5%; border-radius: 50%; border: 1.5px dashed rgba(15, 122, 125, .35); animation: spin 80s linear infinite; }
.emblem__ring::after { content: ""; position: absolute; top: 12%; right: 9%; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(15, 122, 125, .15); }
.emblem picture, .arch picture { display: block; position: relative; width: 100%; height: 100%; }
.emblem img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-lg); background: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow);
  font-size: .86rem; line-height: 1.35; color: var(--muted); max-width: 270px;
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); flex: none; }
.float-card__icon--gold { background: #fbefd9; color: #b07a1c; }
.float-card--a { left: -6%; bottom: 12%; }
.float-card--b { right: -2%; top: 10%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ridge { position: relative; height: clamp(120px, 16vw, 230px); background: url("../assets/ridge-light.svg") center bottom / cover no-repeat; margin-top: -40px; z-index: 1; pointer-events: none; }

/* ---------- Highlights strip ---------- */
.highlights { position: relative; z-index: 3; margin-top: -10px; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.highlight { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--teal-deep); flex: none; }
.highlight__icon .i { width: 24px; height: 24px; }
.highlight h2, .highlight h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 2px 0 4px; }
.highlight p { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.arch { position: relative; aspect-ratio: 9 / 10; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.about__media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--teal-soft) 0 2px, transparent 2px 12px);
}
.about__badge {
  position: absolute; left: -24px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow); font-size: .86rem; line-height: 1.35;
}
.about__badge img { width: 44px; height: 44px; border-radius: 50%; }
.about__badge strong { display: block; font-size: .98rem; }
.about__badge span { color: var(--aqua); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pillar { padding: 22px 20px; border-radius: var(--radius); background: var(--mist-2); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.pillar:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.pillar .i { width: 30px; height: 30px; color: var(--teal); margin-bottom: 12px; }
.pillar h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.pillar p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(143, 208, 205, .35), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.svc-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { opacity: 1; }
.svc-card__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--mist), var(--teal-soft)); color: var(--teal-deep);
  transition: background .35s, color .35s;
}
.svc-card__icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.svc-card:hover .svc-card__icon { background: var(--teal); color: #fff; }
.svc-card h2, .svc-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.svc-card p { font-size: .93rem; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }
.svc-card .link-arrow { margin-top: auto; font-size: .9rem; }
.svc-card--feature { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: space-between; }
.svc-card--feature:hover { color: #fff; }
.svc-card--feature h2, .svc-card--feature h3 { color: #fff; }
.svc-card--feature p { color: #b8cfd2; }
.svc-card--feature .link-arrow { color: var(--aqua); }

/* ---------- Offer band ---------- */
.offer { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); isolation: isolate; }
.offer::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; opacity: .16;
  background: url("../assets/ridge-light.svg") center bottom / cover no-repeat;
}
.offer::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(15, 122, 125, .55), transparent 65%);
}
.offer__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.offer h2 { color: #fff; }
.offer h2 em { color: var(--aqua); }
.offer p { color: #c6dadc; max-width: 52ch; }
.offer__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(233, 180, 90, .16); color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.offer__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.offer__fine { font-size: .8rem; color: #8fa9ae; margin-top: 18px; }
.offer--ad .offer__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); }
.offer__list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.offer__list li { position: relative; padding-left: 32px; color: #e3eff0; font-weight: 600; line-height: 1.5; }
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(143, 208, 205, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0cd' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.offer__poster {
  display: block; justify-self: center; width: min(400px, 100%); border-radius: var(--radius);
  overflow: hidden; background: var(--mist); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(2deg); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer__poster:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(143, 208, 205, .4); }
.offer__poster img { width: 100%; height: auto; }
.offer__art { position: relative; justify-self: center; width: min(280px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.offer__art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(145deg, rgba(143, 208, 205, .25), rgba(143, 208, 205, .05)); border: 1px solid rgba(143, 208, 205, .3); }
.offer__art::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(143, 208, 205, .35); }
.offer__art .i { position: relative; width: 42%; height: 42%; color: #fff; stroke-width: 1.1; }
.offer__art .spark { position: absolute; color: var(--gold); width: 26px; height: 26px; }
.offer__art .spark--1 { top: 16%; right: 18%; }
.offer__art .spark--2 { bottom: 20%; left: 14%; width: 18px; height: 18px; }

/* ---------- Coverage split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.panel--tint { background: linear-gradient(160deg, var(--mist) 0%, #fff 70%); }
.panel__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--teal); color: #fff; margin-bottom: 22px; }
.panel__icon .i { width: 26px; height: 26px; }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.panel p { color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; color: var(--slate); line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6b6f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Visit / contact ---------- */
.visit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.visit__info { padding: clamp(32px, 4.5vw, 56px); }
.visit__map { position: relative; min-height: 420px; background: var(--mist); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mist); color: var(--teal-deep); flex: none; }
.contact-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.contact-list a:hover { color: var(--teal); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(143, 208, 205, .32), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, #fff 100%);
  padding: clamp(56px, 8vw, 104px) 0 0;
}
.page-hero .container { position: relative; z-index: 2; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.page-hero .crumbs { display: flex; justify-content: center; flex-wrap: wrap; }
.page-hero__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: var(--teal); color: #fff; margin: 0 auto 18px; box-shadow: 0 14px 28px -12px rgba(15, 122, 125, .7); }
.page-hero__icon .i { width: 32px; height: 32px; stroke-width: 1.5; }
.page-hero__kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.page-hero .lead { max-width: 60ch; margin: 0 auto; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .ridge { margin-top: 8px; height: clamp(90px, 11vw, 160px); }

/* ---------- Services page ---------- */
.svc-layout > * { min-width: 0; }
.svc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.svc-nav__title { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 14px; }
.svc-nav__list { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc-nav__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--slate); font-weight: 600; font-size: .94rem; line-height: 1.3; transition: background .2s, color .2s; }
.svc-nav__list a .i { color: var(--teal); width: 20px; height: 20px; }
.svc-nav__list a:hover { background: var(--mist); color: var(--ink); }
.svc-nav__list a.is-active, .svc-nav__list a[aria-current="page"] { background: var(--ink); color: #fff; }
.svc-nav__list a.is-active .i, .svc-nav__list a[aria-current="page"] .i { color: var(--aqua); }
.svc-nav__help { margin-top: 16px; padding: 20px; border-radius: var(--radius); background: var(--mist); font-size: .9rem; color: var(--slate); line-height: 1.5; }
.svc-nav__help strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.svc-nav__help a { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }

.svc-list { display: grid; gap: 28px; }
.svc { scroll-margin-top: calc(var(--header-h) + 24px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.svc:nth-child(even) { background: var(--mist-2); }
.svc__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.svc__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--teal); color: #fff; flex: none; box-shadow: 0 12px 24px -12px rgba(15, 122, 125, .7); }
.svc__icon .i { width: 30px; height: 30px; stroke-width: 1.5; }
.svc__kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.25rem); margin: 0; }
.svc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }

.prose { color: var(--slate); }
.prose p { margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); margin: 1.5em 0 .5em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin: 1.3em 0 .4em; color: var(--ink); }
.prose strong { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; font-size: .84rem; }
.facts .i { width: 16px; height: 16px; stroke-width: 2.2; }
.sub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.sub-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sub-card h3 { margin-top: 0 !important; font-size: 1.15rem !important; }
.sub-card p { font-size: .95rem; }
.callout { margin: 22px 0; padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); }
.callout h2, .callout h3 { margin-top: 0 !important; font-size: 1.2rem !important; }
.callout--alert { border-left-color: #c9663d; background: #fff8f4; border-color: #f3dfd4; }
.callout--alert h2, .callout--alert h3 { color: #8f3e1c; }
.callout--alert .checklist li::before { background-color: #fbe5d9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4532b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }

.more-svcs { margin-top: 48px; }
.more-svcs h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 20px; }
.more-svcs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.more-svcs__grid a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.3; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.more-svcs__grid a:hover { color: var(--ink); border-color: var(--aqua); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.more-svcs__grid .i { width: 22px; height: 22px; color: var(--teal); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Policies ---------- */
.jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 3; }
.jump a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-weight: 700; transition: transform .3s var(--ease); }
.jump a:hover { transform: translateY(-3px); color: var(--ink); }
.jump .ji { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--teal-deep); flex: none; }
.jump .i.arrow { margin-left: auto; color: var(--teal); }
.policy { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.policy:last-child { border-bottom: 0; }
.policy__aside .panel__icon { margin-bottom: 18px; }
.policy__aside h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.policy__aside p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -56px; position: relative; z-index: 3; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); transition: transform .3s var(--ease); }
a.contact-card:hover { transform: translateY(-4px); color: var(--ink); }
.contact-card .ci { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--teal); color: #fff; margin-bottom: 12px; }
.contact-card small { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 1.06rem; line-height: 1.4; word-break: break-word; }
.contact-card span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Appointment request form ---------- */
.book { scroll-margin-top: var(--header-h); }
.book__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.book__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.book__urgent { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; padding: 18px 20px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.book__urgent .i { color: var(--teal-deep); margin-top: 3px; }
.book__urgent p { margin: 0; font-size: .95rem; color: var(--slate); line-height: 1.6; }
.book__urgent a { font-weight: 700; }

.intake { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.intake__body { display: grid; gap: 20px; }
.intake__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 700; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--teal-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--mist-2);
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #8ba0a9; }
.field select {
  padding-right: 44px; cursor: pointer;
  background: var(--mist-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6b6f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input[type="date"] { min-height: 50px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bcd8d6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(15, 122, 125, .14); }
.field [aria-invalid="true"] { border-color: #b4462f; }
.field__hint { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice-group { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { position: relative; flex: 1 1 180px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--mist-2); font-weight: 600; transition: border-color .2s, background .2s;
}
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fbcbb; background: #fff; transition: border .2s; }
.choice:hover span { border-color: #bcd8d6; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.choice input:checked + span::before { border: 5px solid var(--teal); }
.choice input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.choice-group[aria-invalid="true"] .choice span { border-color: #b4462f; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate); line-height: 1.55; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.consent[aria-invalid="true"] { color: #b4462f; }

.intake__error { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #fbeee9; border: 1px solid #efc9bd; color: #8f3420; font-size: .93rem; font-weight: 600; }
.intake__error a { color: inherit; text-decoration: underline; }
.intake__submit { width: 100%; }
.intake__submit[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.intake__note { margin: -6px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }

.intake__done { text-align: center; padding: clamp(24px, 5vw, 56px) 0; outline: none; }
.intake__done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 20px; }
.intake__done-icon .i { width: 34px; height: 34px; stroke-width: 2; }
.intake__done h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.intake__done p { color: var(--muted); max-width: 42ch; margin-left: auto; margin-right: auto; }
.intake [hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 820px; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer-ridge { height: clamp(110px, 14vw, 200px); background: url("../assets/ridge-dark.svg") center bottom / cover no-repeat; margin-bottom: -1px; }
.site-footer { background: var(--ink); color: #b8cfd2; font-size: .95rem; padding: 24px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--aqua); }
.footer__brand p { max-width: 36ch; line-height: 1.65; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__badges span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(143, 208, 205, .3); color: var(--aqua); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.site-footer address { font-style: normal; }
.footer__title { font-family: var(--font-body); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 8px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b8cfd2; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer__contact .i { color: var(--aqua); margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #8aa4aa; }

/* Floating call button (mobile) */
.mobile-call { display: none; }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
.js [data-reveal="4"] { transition-delay: .3s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav__phone { padding: 12px; }
  .nav__phone span { display: none; }
  .nav__phone + .nav__book { margin-left: -8px; }
  .nav__links a:not(.btn) { padding: 10px 11px; }
}

@media (max-width: 1060px) {
  .nav__book-more { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .topbar__mid { display: none !important; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(22, 48, 60, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 1.06rem; border-radius: 12px; }
  .nav__links a[aria-current="page"] { background: var(--mist); }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__mobile-cta { display: inline-flex; margin-top: 10px; }
  .nav__mobile-cta + .nav__mobile-cta { margin-top: 6px; }
  .nav { gap: 10px; }
  .nav__book { padding: 11px 16px; font-size: .92rem; gap: 8px; }
  .nav__book-more { display: none; }

  .hero__grid, .about__grid, .offer__grid, .split, .visit, .svc-layout, .policy, .book__grid { grid-template-columns: minmax(0, 1fr); }
  .book__intro { position: static; }
  .hero { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__visual { min-height: 0; padding: 20px 0 40px; }
  .emblem { width: min(360px, 78%); }
  .about__media { max-width: 380px; }
  .offer__art { display: none; }
  .offer--ad .offer__grid { grid-template-columns: minmax(0, 1fr); }
  .offer__poster { width: min(420px, 100%); transform: none; }
  .visit__map { min-height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .jump { grid-template-columns: 1fr; }

  .svc-nav { position: sticky; top: var(--header-h); z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 10px 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .svc-nav__title, .svc-nav__help { display: none; }
  .svc-nav--page { display: none; }
  .svc-nav__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; border: 0; padding: 0 var(--gutter); background: none; gap: 8px; }
  .svc-nav__list::-webkit-scrollbar { display: none; }
  .svc-nav__list a { flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .site-footer ul { gap: 2px; }
  .site-footer ul a { display: inline-block; padding: 8px 0; }
  .footer__contact li { padding: 4px 0; }
  .page-hero__ctas .btn { flex: 1 1 100%; }
  .svc { padding: 24px 20px; }
  .topbar__inner { justify-content: center; }
  .topbar__inner > :last-child { display: none !important; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 1.12rem; }
  .brand__sub { font-size: .6rem; letter-spacing: .3em; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card { position: relative; inset: auto; margin-top: 14px; max-width: none; width: 100%; animation: none; text-align: left; }
  .float-card--b { display: none; }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .about__badge { left: 50%; transform: translateX(-50%); bottom: -22px; width: max-content; max-width: calc(100% - 16px); }
  .about__media::before { inset: 16px -10px -16px 10px; }
  .sub-cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .intake__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .svc__head { align-items: flex-start; flex-direction: column; gap: 14px; }

  .mobile-call {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 999px; background: var(--teal); color: #fff;
    font-weight: 700; box-shadow: 0 16px 30px -10px rgba(12, 107, 111, .7);
  }
  .mobile-call:hover { color: #fff; }
}
