/* ============================================================
   Coastal Dental — style.css
   Concept by De Villa Design
   "DentaCare" direction: Archivo display + Hanken Grotesk body,
   gradient headline, 3D tooth-splash hero, marquee, blue/coral.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --blue:       #1f9bdf;
  --blue-lt:    #5cc6f2;
  --blue-mid:   #1483c9;
  --blue-dk:    #0c6098;
  --blue-ink:   #1f7fb8;
  --coral:      #f2622e;
  --coral-dk:   #a8451f;
  --ink:        #15242e;
  --slate:      #2c5870;
  --grey:       #4a5d68;
  --grey-soft:  #5a6e79;
  --grey-mute:  #7c93a0;
  --panel:      #e7f5fd;
  --tint:       #e3f3fc;
  --tint-2:     #cbe7f8;
  --coral-tint: #fdeee6;
  --white:      #ffffff;

  --radius-pill: 100px;
  --radius-lg:   34px;
  --radius-md:   22px;
  --radius-sm:   14px;

  --shadow-card:  0 14px 36px rgba(24, 90, 130, 0.07);
  --shadow-hover: 0 24px 50px rgba(24, 90, 130, 0.14);
  --shadow-coral: 0 8px 20px rgba(242, 98, 46, 0.34);

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(31, 155, 223, 0.22); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* keep anchored sections clear of the sticky nav */
#home, #about, #treatments, #pricing, #team, #contact { scroll-margin-top: 88px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.coral { color: var(--coral); letter-spacing: 0.16em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-pill);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.2s ease;
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-coral {
  color: #fff;
  background: var(--coral);
  padding: 13px 22px;
  font-size: 14px;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover,
.btn-coral:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 98, 46, 0.46);
  color: #fff;
}
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(20, 60, 85, 0.12);
  padding: 15px 26px;
  font-size: 15.5px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover,
.btn-ghost:focus-visible { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 40, 55, 0.06);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--blue-lt), var(--blue));
  box-shadow: 0 6px 16px rgba(31, 155, 223, 0.4);
}
.brand-mark svg { display: block; }
.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-name span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: #3a4c57;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--blue); }

.nav-cta { flex: none; }
.nav-cta .arrow { font-size: 15px; }

/* Book CTA that only appears inside the mobile dropdown menu */
.nav-links .nav-book { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  border-radius: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: 1240px;
  margin-inline: auto;
  padding: 22px 20px 0;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 46px 48px 40px;
  background: radial-gradient(120% 120% at 60% 0%, #e7f5fd 0%, #d3ecfb 55%, #c4e4f8 100%);
}
.hero-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-ink);
}
.hero-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.hero-offer { font-size: 13px; font-weight: 600; color: var(--slate); }
.hero-offer b { color: var(--coral); font-weight: 800; }

.hero-title {
  position: relative;
  z-index: 3;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(46px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-align: center;
  background: linear-gradient(180deg, #8ad6f7 0%, #3aa8e6 48%, #1483c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.3);
}

.hero-tooth {
  position: relative;
  z-index: 2;
  margin: -6% auto -4%;
  width: min(560px, 82%);
  aspect-ratio: 1 / 1;
  background: url("assets/tooth-cut.webp") center / contain no-repeat;
}

.hero-card {
  position: absolute;
  left: 48px;
  top: 34%;
  z-index: 4;
  max-width: 268px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(24, 90, 130, 0.16);
}
.hero-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #2c4654;
  font-weight: 500;
}
.hero-card-hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 60, 85, 0.1);
}
.hero-card-hours .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grey-mute);
}
.hero-card-hours .val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 3px;
}
.hero-card .btn { margin-top: 16px; }

.hero-stats {
  position: absolute;
  right: 48px;
  top: 33%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: right;
}
.hero-stats .n {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
}
.hero-stats .l {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  max-width: 160px;
  margin-left: auto;
  margin-top: 2px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 40, 55, 0.08);
  padding: 26px 0;
  margin-top: 8px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.marquee-track span::after {
  content: "+";
  color: var(--blue);
  margin: 0 26px;
  font-weight: 700;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(64px, 8vw, 104px) 0; }
.about-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-head .eyebrow { display: block; margin-bottom: 14px; }
.about-vision { padding-top: 8px; }
.about-vision p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--grey);
}

.collage {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
}
.collage figure {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #dceffb;
}
.collage img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.collage .tall  { grid-row: span 2; }
.collage .wide  { grid-column: span 2; }
.collage figcaption {
  position: absolute;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(24, 90, 130, 0.14);
}
.collage .cap-bl { left: 14px; bottom: 14px; }
.collage .cap-tl { left: 14px; top: 14px; }
.collage .cap-tr { right: 14px; top: 14px; color: var(--coral-dk); }

/* ============================================================
   TREATMENTS
   ============================================================ */
.treatments {
  background: linear-gradient(180deg, #f3fafe, #ffffff);
  padding: clamp(64px, 8vw, 104px) 0;
}
.treatments-head { max-width: 600px; margin-bottom: 46px; }
.treatments-head .eyebrow { display: block; margin-bottom: 14px; }
.treatments-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey);
}
.treat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.treat-card {
  background: #fff;
  border: 1px solid rgba(20, 60, 85, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.treat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.treat-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--tint), var(--tint-2));
  color: var(--blue);
  margin-bottom: 18px;
}
.treat-card h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.treat-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--grey-soft);
}
.treat-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-dk);
  background: var(--coral-tint);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: clamp(40px, 6vw, 72px) 0; }
.pricing-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(40px, 5vw, 64px);
  color: #fff;
  background: radial-gradient(120% 140% at 12% 10%, #1f9bdf 0%, #1380c0 50%, #0c6098 100%);
}
.pricing-panel::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.pricing-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.pricing-grid h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.pricing-copy p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 440px;
}
.pricing-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
}
.pricing-list .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.price-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 30px;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(8, 60, 95, 0.3);
}
.price-card .label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--grey-mute);
}
.price-card .amount {
  font-family: var(--display);
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
  margin: 8px 0 2px;
}
.price-card .desc {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--grey-soft);
}
.price-card .btn { margin-top: 22px; }
.price-card .fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: #8a9aa4;
}

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: clamp(48px, 7vw, 88px) 0; }
.team-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.team-head .eyebrow { display: block; margin-bottom: 14px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(150deg, #dceffb, #bfe2f6);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}
.team-card p {
  font-size: 13.5px;
  color: var(--grey-soft);
  margin-top: 4px;
  line-height: 1.45;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: linear-gradient(180deg, #f3fafe, #eaf5fd);
  padding: clamp(56px, 7vw, 96px) 0;
}
.testimonial-inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.testimonial .eyebrow { display: block; margin-bottom: 22px; }
.testimonial blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #1a3340;
}
.testimonial-author {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(150deg, var(--blue-lt), var(--blue));
}
.testimonial-author .who { text-align: left; }
.testimonial-author .name { font-size: 15px; font-weight: 700; }
.testimonial-author .meta { font-size: 13px; color: var(--grey-soft); }
.testimonial-author .stars { color: #f2a93e; letter-spacing: 1px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(60px, 8vw, 104px) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-copy .eyebrow { display: block; margin-bottom: 14px; }
.contact-copy > p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 440px;
}
.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-emergency {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--coral-tint);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--coral-dk);
}
.contact-emergency a { color: var(--coral-dk); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.contact-card {
  background: #fff;
  border: 1px solid rgba(20, 60, 85, 0.09);
  border-radius: 26px;
  padding: 34px 32px;
  box-shadow: 0 20px 50px rgba(24, 90, 130, 0.1);
}
.contact-item {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 60, 85, 0.07);
}
.contact-item:first-child { padding-top: 0; }
.contact-item-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--tint), var(--tint-2));
  color: var(--blue);
}
.contact-item .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mute);
}
.contact-item .v {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 3px;
  line-height: 1.45;
}
.contact-item .v a:hover { color: var(--blue); }
.contact-badges {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.contact-badges span {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  background: #eef6fc;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 54px 24px 30px;
}
.footer-top {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand .row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--blue-lt), var(--blue));
}
.footer-brand .name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}
.footer-brand .name span { color: var(--blue-lt); }
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.footer-cols { display: flex; gap: 54px; flex-wrap: wrap; }
.footer-cols .h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}
.footer-cols .lines {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}
.footer-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ============================================================
   DEMO BADGE
   ============================================================ */
.demo-badge {
  position: fixed;
  bottom: 1.1rem;
  left: 1.1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(8, 36, 46, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}
.demo-badge:hover,
.demo-badge:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  /* Hero: float cards become normal flow under the tooth */
  .hero-panel { padding: 34px 30px 36px; }
  .hero-card,
  .hero-stats {
    position: static;
    max-width: none;
    margin-top: 22px;
  }
  .hero-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.9); }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px 24px;
    text-align: left;
  }
  .hero-stats .l { margin-left: 0; }
  .hero-tooth { margin: -2% auto 0; width: min(440px, 78%); }

  .about-head { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-card { max-width: 420px; margin-inline: auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(20, 40, 55, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(24, 90, 130, 0.16);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 10px; }
  .nav-links a:hover { background: #f0f8fd; }
  .nav-toggle { display: grid; place-items: center; }

  /* top-bar CTA hidden; booking lives in the dropdown instead */
  .nav-cta { display: none; }
  .nav-links .nav-book {
    display: block;
    margin-top: 6px;
    text-align: center;
    color: #fff;
    background: var(--coral);
    font-weight: 700;
    box-shadow: var(--shadow-coral);
  }
  .nav-links .nav-book:hover { background: var(--coral); color: #fff; }

  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 170px;
  }
  .collage .tall { grid-row: span 1; }

  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding: 14px 12px 0; }
  .hero-panel { padding: 26px 20px 30px; border-radius: 26px; }
  .hero-top { gap: 10px; }
  .marquee-track span { font-size: 24px; }
  .marquee-track span::after { margin: 0 18px; }
  .collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .collage figure { height: 200px; }
  .collage .wide { grid-column: span 1; }
  .contact-actions .btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
