/* =========================================================
   32Shine — La Jolla Cosmetic Dentistry
   Dark luxe · gallery black · glacier-ice accent · geometric sans
   All themeable values live in :root and are driven by the Tweaks panel.
   ========================================================= */

:root {
  /* — Color — */
  --accent: #80D4E9;                                           /* glacier ice blue   */
  --accent-ink: color-mix(in srgb, var(--accent) 88%, #ffffff);/* brighter for hover */
  --accent-soft: color-mix(in srgb, var(--accent) 14%, #0c0c0e);/* faint tinted fields */
  --on-accent: #050608;                                        /* text on ice buttons */

  --paper: #060607;                                            /* near-black page bg */
  --surface: #1b1c20;                                          /* cards / nav glass  */
  --surface-2: #232428;                                        /* elevated fields    */
  --tint: #0d0e10;                                             /* alt section bg     */
  --tint-2: #16171a;                                           /* image placeholders */

  --ink: #f4f5f6;                                              /* primary text       */
  --ink-2: #a7a9ad;                                            /* muted body (≈949699)*/
  --ink-3: #75777b;                                            /* captions           */
  --line: rgba(255,255,255,.10);                               /* hairline borders   */
  --line-2: rgba(255,255,255,.16);
  --star: #80D4E9;

  /* — Highlight (Book Now CTA) — the same glacier ice that defines the brand — */
  --highlight: #80D4E9;
  --highlight-ink: color-mix(in srgb, var(--highlight) 88%, #ffffff);

  /* — Type — */
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --fs-base: 17px;

  /* — Shape — */
  --radius-card: 4px;
  --radius-btn: 3px;
  --radius-pill: 999px;

  /* — Rhythm — */
  --section-pad: 112px;
  --maxw: 1200px;
  --gap: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.3);
  --shadow-md: 0 10px 34px rgba(0,0,0,.46), 0 2px 8px rgba(0,0,0,.32);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 32px;
}

/* ---------- Section scaffolding ---------- */
section { padding-block: var(--section-pad); }
.section-tint { background: var(--tint); }

/* =========================================================
   REVIEWS — Diamond BG + Glass Cards
   ========================================================= */
#reviews {
  position: relative;
  overflow: hidden;
}
#financing {
  position: relative;
  overflow: hidden;
}
.financing-gem-bg {
  position: absolute;
  width: clamp(400px, 60vw, 700px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.financing-gem-bg svg { width: 100%; height: auto; display: block; }
#financing .wrap { position: relative; z-index: 1; }
.comfort-gem-bg {
  position: absolute;
  width: clamp(400px, 65vw, 750px);
  height: auto;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.comfort-gem-bg svg { width: 100%; height: auto; display: block; }
#sec-comfort .wrap { position: relative; z-index: 1; }
.reviews-gem-bg {
  position: absolute;
  width: clamp(400px, 70vw, 800px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.reviews-gem-bg svg {
  width: 100%;
  height: auto;
  display: block;
}
#reviews .wrap {
  position: relative;
  z-index: 1;
}
.review-card {
  background: rgba(127, 227, 227, 0.04) !important;
  backdrop-filter: blur(64px) saturate(1.8);
  -webkit-backdrop-filter: blur(64px) saturate(1.8);
  border: 1px solid rgba(127, 227, 227, 0.15) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.section-ink  { background: #000; color: #fff; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
}
.sec-head .support {
  margin-top: 20px;
  font-size: 1.06rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  padding: 16px 30px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-book { background: var(--highlight); color: var(--on-accent); box-shadow: 0 4px 18px color-mix(in srgb, var(--highlight) 32%, transparent); }
.btn-book:hover { background: var(--highlight-ink); box-shadow: 0 10px 28px color-mix(in srgb, var(--highlight) 42%, transparent); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: #050608; }
.btn-light:hover { background: color-mix(in srgb, #fff 88%, var(--accent)); }
.btn-ghost-light { background: transparent; color: var(--on-accent); border-color: rgba(5,6,8,.28); }
.btn-ghost-light:hover { border-color: var(--on-accent); background: rgba(5,6,8,.06); }
.btn-dark { background: #050608; color: #fff; }
.btn-dark:hover { background: #1b1c20; box-shadow: var(--shadow-md); }
.btn-sm { padding: 12px 20px; font-size: .88rem; }

/* ---------- Star rating ---------- */
.stars { color: var(--star); letter-spacing: 2px; font-size: .95rem; }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}

/* ---------- Image slot defaults ---------- */
image-slot {
  --slot-bg: var(--tint-2);
  background: var(--tint-2);
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  color: var(--ink-3);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: #000;
  color: #fff;
  font-size: .86rem;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  padding-block: 8px;
}
.topbar .cta-text { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); text-align: center; letter-spacing: .02em; }
.topbar .cta-text b { color: var(--accent); font-weight: 600; }
.topbar .cta-text svg { color: var(--accent); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,6,7,.78);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo-img { width: auto; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500; color: var(--ink-2); font-size: .9rem;
  letter-spacing: .04em; transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .92rem; }
.nav-phone:hover { color: var(--accent); }
.nav-menu-head { display: none; }
.nav-menu-social { display: none; }
.nav-call {
  display: none;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.nav-call:active { transform: translateY(1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block: 96px 104px;
  position: relative;
  overflow: hidden;
  background: none;
}
.hero-bg-base {
  position: absolute; inset: 0;
  background: url('assets/hero-bg.jpg') center / cover no-repeat;
  filter: grayscale(1) brightness(0.85);
  z-index: 0;
}
.hero-color-layer {
  position: absolute; inset: 0;
  background: url('assets/hero-bg.jpg') center / cover no-repeat;
  filter: grayscale(1);
  z-index: 1;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.18) 65%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero .wrap { z-index: 3; }
.hero-sparkle {
  position: absolute;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transform-origin: center;
}
.hero-shine {
  position: absolute; inset: 0;
  background: linear-gradient(
    108deg,
    transparent 18%,
    rgba(255,255,255,.05) 40%,
    rgba(255,255,255,.22) 49%,
    rgba(255,255,255,.28) 50%,
    rgba(255,255,255,.22) 51%,
    rgba(255,255,255,.05) 60%,
    transparent 82%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transform: translateX(-130%);
  animation: heroShineSweep 1.8s cubic-bezier(0.25,0,0.4,1) 2.1s forwards;
}
@keyframes heroShineSweep {
  0%   { transform: translateX(-130%); opacity: 1; }
  75%  { transform: translateX(130%);  opacity: 1; }
  100% { transform: translateX(130%);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-color-layer { clip-path: none !important; }
  .hero-bg-base { filter: none; }
  .hero-sparkle, .hero-shine { display: none !important; }
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); font-weight: 300; letter-spacing: -0.02em; color: #fff; }
.hero h1 b { font-weight: 600; color: var(--accent); font-style: normal; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero .support { margin-top: 24px; font-size: 1.14rem; color: rgba(255,255,255,.85); max-width: 40ch; line-height: 1.7; }
.hero .cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .trust { margin-top: 32px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero .trust .stars { font-size: 1.05rem; }
.hero-media { display: none; }
.hero .wrap { grid-template-columns: minmax(0, 560px); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-slider {
  margin-top: 54px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.reviews-viewport { flex: 1; overflow: hidden; }
.reviews-track {
  display: flex;
  gap: var(--gap);
  transition: transform .45s cubic-bezier(.4,.05,.2,1);
  will-change: transform;
}
.reviews-track .review-card {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
}
.slider-arrow {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s, border-color .18s, opacity .18s, transform .15s;
}
.slider-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.slider-arrow:active { transform: scale(.94); }
.slider-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.slider-dots {
  margin-top: 34px;
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots button {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, var(--surface));
  cursor: pointer;
  transition: background .18s, transform .18s, width .18s;
}
.slider-dots button[aria-current="true"] {
  background: var(--accent);
  width: 26px; border-radius: 999px;
}
.review-card {
  background: rgba(127, 227, 227, 0.04);
  border: 1px solid rgba(127, 227, 227, 0.12);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.review-card .stars { font-size: 1rem; }
.review-card .quote { color: var(--ink); line-height: 1.65; font-size: 1rem; }
.review-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.review-card .who .name { font-weight: 700; color: var(--ink); }
.review-card .who .src { font-size: .82rem; color: var(--ink-3); }

/* =========================================================
   OFFICE TOUR
   ========================================================= */
.tour-slider {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.tour-viewport { flex: 1; overflow: hidden; position: relative; }
.tour-shine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 5%,
    rgba(255,255,255,0.08) 30%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.72) 50%,
    rgba(255,255,255,0.55) 52%,
    rgba(255,255,255,0.08) 70%,
    transparent 95%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translateX(-130%);
}
.tour-shine-overlay.playing {
  animation: tourShineSweep 1.1s cubic-bezier(0.25, 0, 0.35, 1) forwards;
}
@keyframes tourShineSweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  8%   { opacity: 1; }
  75%  { transform: translateX(130%);  opacity: 1; }
  100% { transform: translateX(130%);  opacity: 0; }
  100% { transform: translateX(130%);  opacity: 0; }
}
.tour-track {
  display: flex;
  gap: 18px;
  transition: transform .45s cubic-bezier(.4,.05,.2,1);
  will-change: transform;
}
.tour-track .tour-slide {
  flex: 0 0 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
  width: 100%;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); }
.about-highlights { margin-top: 32px; display: flex; flex-direction: column; gap: 26px; }
.about-hl { display: flex; gap: 18px; }
.about-hl .ico {
  flex: none; width: 48px; height: 48px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.about-hl h4 { font-size: 1.18rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.about-hl p { color: var(--ink-2); font-size: .98rem; }
.assoc { margin-top: 38px; }
.assoc .lbl { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.assoc-row { display: flex; flex-wrap: wrap; gap: 14px; }
.assoc-logo {
  min-height: 58px; min-width: 120px; padding: 12px 22px;
  border: 1px solid var(--line); border-radius: 8px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-size: .78rem; font-weight: 500; color: var(--ink-2);
  letter-spacing: .04em; line-height: 1.3;
  background: var(--surface);
}
.doctors { display: flex; flex-direction: column; gap: 18px; }
.doctor-card {
  display: flex; flex-direction: column; gap: 0; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm);
}
.doctor-card image-slot { height: 480px; flex: none; border-radius: 0; display: block; object-fit: cover; object-position: center 15%; }
.doc-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.doc-img-wrap img {
  width: 100%; height: 480px; flex: none; border-radius: 0;
  display: block; object-fit: cover; object-position: center 15%;
}
.doc-shine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 5%,
    rgba(255,255,255,0.06) 30%,
    rgba(255,255,255,0.48) 48%,
    rgba(255,255,255,0.62) 50%,
    rgba(255,255,255,0.48) 52%,
    rgba(255,255,255,0.06) 70%,
    transparent 95%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translateX(-130%);
}
.doc-shine-overlay.playing {
  animation: docShineSweep 1.4s cubic-bezier(0.25, 0, 0.35, 1) forwards;
}
@keyframes docShineSweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  8%   { opacity: 1; }
  78%  { transform: translateX(130%);  opacity: 1; }
  100% { transform: translateX(130%);  opacity: 0; }
}
.doctor-card > div { padding: 20px; }
.doctor-card h4 { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.doctor-card .title { color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.doctor-card p { color: var(--ink-2); font-size: .95rem; margin-top: 10px; }

/* =========================================================
   SERVICES
   ========================================================= */
/* Sticky-stacking full-bleed service panels.
   Each panel sticks under the nav; the next slides up to cover it. Pure CSS. */
.svc-stack { margin-top: 58px; position: relative; }
.svc-sticky { position: sticky; top: 84px; }
.svc-card {
  position: relative;
  height: clamp(540px, 86svh, 840px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--tint-2);
}
.svc-card .svc-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-card.in-color .svc-media {
  filter: grayscale(0);
}
.svc-shine {
  position: absolute; inset: 0;
  z-index: 3;
  background: linear-gradient(
    108deg,
    transparent 5%,
    rgba(255,255,255,0.04) 30%,
    rgba(255,255,255,0.42) 48%,
    rgba(255,255,255,0.58) 50%,
    rgba(255,255,255,0.42) 52%,
    rgba(255,255,255,0.04) 70%,
    transparent 95%
  );
  pointer-events: none;
  opacity: 0;
  transform: translateX(-130%);
}
.svc-shine.playing {
  animation: svcShineSweep 1.3s cubic-bezier(0.25, 0, 0.35, 1) forwards;
}
@keyframes svcShineSweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  8%   { opacity: 1; }
  78%  { transform: translateX(130%); opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  z-index: 1;
}
.svc-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 35%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.60) 35%, rgba(0,0,0,.20) 65%, rgba(0,0,0,.10) 100%),
    rgba(0,0,0,.35);
}
.svc-content {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px clamp(48px, 7vh, 100px);
}
.svc-head-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.svc-index {
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600; letter-spacing: .3em;
  color: var(--accent);
}
.svc-content h3 {
  color: #fff; font-weight: 300;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  max-width: 18ch;
}
.svc-content p {
  margin-top: 18px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem; line-height: 1.65;
  max-width: 46ch;
}
.svc-content .sc-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 28px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .92rem; letter-spacing: .06em;
  color: var(--accent);
  transition: gap .2s ease;
}
.svc-content .sc-link:hover { gap: 15px; }
.badge-special {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
}

/* =========================================================
   COMFORT MENU
   ========================================================= */
.comfort .wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }
.comfort h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); }
.amenities { display: grid; grid-template-columns: 1fr; gap: 16px; }
.amenity {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.amenity .ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.amenity h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.amenity p { color: var(--ink-2); font-size: .94rem; }

/* =========================================================
   LOCATION
   ========================================================= */
.location .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: stretch; }
.map-slot {
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line); min-height: 440px;
  background: var(--tint-2);
  display: grid; place-items: center;
  position: relative;
}
.map-slot iframe {
  display: block; width: 100%; height: 100%; min-height: 440px;
  filter: invert(92%) hue-rotate(180deg) saturate(0.75) brightness(0.88);
}
.map-slot .map-note {
  font-family: ui-monospace, monospace; font-size: .8rem; color: var(--ink-3);
  text-align: center; padding: 20px;
}
.hours-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 36px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.hours-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 6px; }
.hours-card .addr { color: var(--ink-2); margin: 16px 0 22px; font-size: .98rem; line-height: 1.6; }
.hours-card .addr strong { color: var(--ink); font-weight: 600; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--ink-2); }
.hours-list .time { font-weight: 600; color: var(--ink); }
.hours-list .closed { color: var(--ink-3); font-weight: 500; }
.hours-card .btn { margin-top: 24px; }

/* =========================================================
   PRACTICE HIGHLIGHTS
   ========================================================= */
.highlights-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.highlight {
  text-align: center;
  padding: 8px 12px;
}
.highlight .ico {
  width: 66px; height: 66px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.highlight h4 { font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.highlight p { color: var(--ink-2); font-size: .95rem; }

/* =========================================================
   FINANCING (accent band — the one bright, light section)
   ========================================================= */
.financing {
  background: linear-gradient(135deg, #9adcee 0%, var(--accent) 48%, #5cc4de 100%);
  color: var(--on-accent);
}
.financing .wrap { display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center; }
.financing .eyebrow { color: rgba(5,6,8,.55); }
.financing h2 { color: var(--on-accent); font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); }
.financing .support { color: rgba(5,6,8,.78); margin-top: 16px; font-size: 1.08rem; max-width: 760px; }
.financing .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.follow-us { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }
.follow-label {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(5,6,8,.6);
  white-space: nowrap;
}
.follow-links { display: flex; gap: 14px; }
.follow-links a {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-accent);
  border: 1px solid rgba(5,6,8,.28);
  transition: background .18s, border-color .18s, transform .15s;
}
.follow-links a:hover { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); transform: translateY(-3px); }

/* =========================================================
   CONNECT
   ========================================================= */
.connect {
  text-align: center;
  position: relative;
  background: url('assets/connect-bg.jpg') center / cover no-repeat;
  isolation: isolate;
}
.connect::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.68);
  z-index: 0;
  pointer-events: none;
}
.connect .wrap { position: relative; z-index: 1; }
.connect .eyebrow { color: rgba(255,255,255,.6); }
.connect h2 { color: #fff; }
.connect .support { color: rgba(255,255,255,.82); }
.connect-cta { margin-top: 40px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #000; color: var(--ink-2); padding-block: 76px 32px; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer h5 { color: #fff; font-family: var(--font-head); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
.footer .f-brand p { margin-top: 14px; font-size: .95rem; max-width: 34ch; }
.footer .f-phone { color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.footer .f-phone:hover { color: var(--accent); }
.footer .f-contact { margin-top: 4px; }
.footer .f-sub {
  color: rgba(255,255,255,.45);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 16px 0 4px;
}
.footer .f-contact .f-sub:first-child { margin-top: 0; }
.footer .f-val { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: .95rem; }
.footer ul a:hover { color: var(--accent); }
.footer .f-hours li { display: flex; justify-content: space-between; gap: 14px; }
.footer .f-social { display: flex; gap: 12px; margin-top: 18px; }
.footer .f-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s, color .15s;
}
.footer .f-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.footer .f-bottom {
  max-width: var(--maxw); margin: 48px auto 0; padding: 24px 32px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 28px;
  font-size: .84rem; color: var(--ink-3);
}
.footer .f-legal { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.footer .f-bottom a:hover { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* — Tablet — */
@media (max-width: 1024px) {
  :root { --section-pad: 84px; }
  .hero .wrap, .about-grid, .comfort .wrap, .location .wrap, .financing .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-media image-slot { aspect-ratio: 16/10; }
  .hero-media { max-width: 580px; }
  .reviews-track .review-card { flex-basis: calc((100% - var(--gap)) / 2); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-track .tour-slide { flex-basis: 100%; height: 420px; }
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* — Collapse nav to hamburger — */
@media (max-width: 900px) {
  .nav .wrap { gap: 14px; }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 88px 32px 48px;
    background: var(--paper);
    box-shadow: none;
    z-index: 60;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.4,.05,.2,1), opacity .25s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 84px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu-head .logo-img { height: 42px; width: auto; }
  .nav-close {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
  }
  .nav-close:active { transform: scale(.94); }
  .nav-links a {
    width: 100%; max-width: 360px;
    text-align: center;
    padding: 18px 6px; font-size: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-of-type { border-bottom: 0; }
  .nav-menu-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
  }
  .nav-menu-social a {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--accent);
    padding: 0;
    transition: background .18s, color .18s, border-color .18s;
  }
  .nav-menu-social a:active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  .nav-book { display: none; }
  .nav-phone { display: none; }
  .nav-call { display: inline-flex; }
  .nav-toggle { display: flex; }
}

/* — Mobile — */
@media (max-width: 680px) {
  :root { --section-pad: 64px; --fs-base: 16px; }
  .topbar { display: none; }
  .wrap { padding-inline: 20px; }
  .nav .wrap { min-height: 68px; }
  .brand .logo-img { height: 40px; }
  .hero { padding-block: 56px 64px; }
  .hero .trust { flex-wrap: wrap; }
  .reviews-track .review-card { flex-basis: 100%; }
  .services-grid, .highlights-grid { grid-template-columns: 1fr; }
  .svc-sticky { top: 68px; }
  .svc-card { height: clamp(460px, 76svh, 680px); }
  .svc-content { padding: 0 20px clamp(36px, 6vh, 64px); }
  .svc-content h3 { font-size: clamp(30px, 8.5vw, 44px); }
  .svc-content p { font-size: 1rem; }
  .tour-track .tour-slide { flex-basis: 100%; height: 260px; }
  .slider-arrow { width: 44px; height: 44px; }
  .reviews-slider, .tour-slider { gap: 10px; }
  .doctor-card { align-items: flex-start; }
  .doctor-card image-slot { height: 260px; }
  .map-slot { min-height: 300px; }
  .hours-card { padding: 26px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer .f-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .connect-cta, .financing .cta-row { flex-direction: column; width: 100%; }
  .connect-cta .btn, .financing .cta-row .btn { width: 100%; }
}

/* Hide elements when a section is toggled off via Tweaks */
[data-hidden="true"] { display: none !important; }

/* Lock background scroll while the mobile nav overlay is open */
body.nav-open { overflow: hidden; }

/* =========================================================
   MOBILE FLOATING CTA
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 60;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  background: var(--highlight);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--highlight) 40%, transparent), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.4,.05,.2,1), opacity .3s ease;
}
.mobile-cta.hidden {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 680px) {
  .mobile-cta { display: inline-flex; }
}
