/* ============================================
   PRECISION PERIODONTICS — REDESIGN v3
   Color palette derived from office interiors:
   Navy scrubs, warm taupe cabinetry, cream walls,
   cherry wood accents, clean white operatories
   ============================================ */

:root {
  --navy: #1e3050;
  --navy-deep: #14233a;
  --navy-light: #2a4166;
  --taupe: #c4a882;
  --taupe-dark: #a68b6b;
  --taupe-light: #dbc9ad;
  --cream: #f5f1ea;
  --cream-deep: #ece5d8;
  --white: #fafaf6;
  --ink: #1a1f2b;
  --muted: #5e6878;
  --muted-light: #8d96a3;
  --cherry: #6b3a28;
  --line: rgba(30,48,80,0.1);
  --shadow: rgba(20,35,58,0.08);
  --radius: 2px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1340px, calc(100% - 48px)); margin: 0 auto; }

/* ======== UTILITY BAR ======== */
.utility-bar {
  background: var(--navy-deep);
  color: var(--taupe-light);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}
.util-right { display: flex; gap: 24px; align-items: center; }
.util-right a { color: var(--taupe-light); transition: color .2s; }
.util-right a:hover { color: #fff; }
.util-phone { font-weight: 700; }

/* ======== HEADER ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,241,234,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 200px; height: auto; }

/* legacy text-brand fallbacks (still used in some places, kept for safety) */
.brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.5px;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 600;
}

/* Per-location phones in header */
.header-phones {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding: 6px 0;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  transition: opacity .2s;
}
.header-phone:first-child { border-left: none; padding-left: 0; }
.header-phone:hover { opacity: 0.7; }
.hp-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 3px;
}
.hp-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
}

/* Utility bar CTA replaces single phone */
.util-cta { color: var(--taupe) !important; font-weight: 700; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--taupe);
  transition: width .3s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

/* Nav dropdowns (desktop hover) */
.main-nav .nav-item { position: relative; display: inline-flex; align-items: center; }
.main-nav .nav-item.has-dropdown > a::before {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px; /* hover bridge */
}
.main-nav .nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  max-width: 340px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.main-nav .nav-dropdown li { margin: 0; }
.main-nav .nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.2px;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-nav .nav-dropdown li a::after { display: none; }
.main-nav .nav-dropdown li a:hover { background: var(--stone, #f4efe9); color: var(--taupe); }
.main-nav .nav-item.has-dropdown:hover > .nav-dropdown,
.main-nav .nav-item.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* Wide two-column dropdown for long service lists (Periodontics 16, Implants 12, For Patients 11).
   Prevents viewport overflow that clipped the last 4 items on Periodontics. */
.main-nav .nav-dropdown--wide {
  min-width: 520px;
  max-width: 640px;
  padding: 12px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4px;
  row-gap: 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.main-nav .nav-dropdown--wide li a {
  padding: 8px 16px;
  font-size: 12.5px;
  white-space: normal;
  text-overflow: clip;
  line-height: 1.35;
}
/* Anchor wide dropdowns further left on nav items near the right edge so they don't blow past the viewport */
.main-nav .nav-item.has-dropdown:nth-last-child(-n+2) > .nav-dropdown--wide {
  left: auto;
  right: 0;
  transform: none;
}
.main-nav .nav-item.has-dropdown:nth-last-child(-n+2):hover > .nav-dropdown--wide,
.main-nav .nav-item.has-dropdown:nth-last-child(-n+2):focus-within > .nav-dropdown--wide {
  transform: translateY(-4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.btn-header {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
}
.btn-header:hover { background: var(--navy-light); }
.btn-gold {
  background: var(--taupe);
  color: var(--navy-deep);
  border-radius: var(--radius);
}
.btn-gold:hover { background: var(--taupe-dark); color: #fff; }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
  border-radius: var(--radius);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 22px; position: relative; }
.mobile-toggle span {
  display: block; width: 100%; height: 2px; background: var(--navy);
  position: absolute; left: 0; transition: all .3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 10px; }
.mobile-toggle span:nth-child(3) { top: 20px; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

/* ======== KICKER (section label) ======== */
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 16px;
}
.kicker-light { color: var(--taupe-light); }

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,35,58,0.15) 0%,
    rgba(20,35,58,0.35) 40%,
    rgba(20,35,58,0.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 100px;
  max-width: 1180px;
  color: #fff;
}
.hero-content .kicker { color: var(--taupe-light); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 900px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ======== ABOUT BAND ======== */
.about-band { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.about-grid.visible { opacity: 1; transform: none; }
.about-image { overflow: hidden; border-radius: var(--radius); }
.about-image img { transition: transform .6s; }
.about-image:hover img { transform: scale(1.03); }
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}
.about-text p { color: var(--muted); margin-bottom: 16px; }
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--taupe);
  padding-bottom: 3px;
  margin-top: 8px;
  transition: border-color .3s;
}
.text-link:hover { border-color: var(--navy); }
.text-link-light {
  color: var(--white);
  border-bottom-color: var(--taupe);
}
.text-link-light:hover { border-bottom-color: var(--white); }

.card-link-light {
  color: var(--taupe);
}
.card-link-light:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ======== IMAGE BAND (full-bleed, edge to edge) ======== */
.image-band {
  padding: 40px 0;
  overflow: hidden;
}
.image-band .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 60vh;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ======== DOCTORS ======== */
.doctors { padding: 120px 0; }
.section-intro {
  max-width: 700px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.section-intro.visible { opacity: 1; transform: none; }
.section-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy);
}
.doctor-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.doctor-feature.visible { opacity: 1; transform: none; }
.doctor-feature.reverse { direction: rtl; }
.doctor-feature.reverse > * { direction: ltr; }
.doctor-feature-img {
  overflow: hidden;
  position: relative;
}
.doctor-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s;
}
.doctor-feature-img:hover img { transform: scale(1.04); }
.doctor-feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: var(--white);
}
.doc-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 400;
  color: var(--cream-deep);
  line-height: 1;
  margin-bottom: 16px;
}
.doctor-feature-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.1;
}
.doctor-feature-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 520px;
}

/* text-strip removed — redundant with hero copy */
.text-strip-removed {
  max-width: 900px;
  margin: 0 auto;
}

/* ======== SERVICES ======== */
.services {
  padding: 120px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.services-grid.visible { opacity: 1; transform: none; }
.service-card {
  padding: 32px 0 0;
  border-top: 1px solid var(--taupe);
  background: transparent;
  transition: border-color .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  border-top-color: var(--taupe-dark);
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}

/* ======== IMPLANTS HERO ======== */
.implants-hero {
  position: relative;
  display: block;
  padding: 120px 0 100px;
  overflow: visible;
}
.implants-hero-inner {
  position: relative;
  z-index: 2;
}
.implants-img-wrap {
  position: absolute;
  inset: 0;
}
.implants-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.implants-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,35,58,0.88) 0%,
    rgba(20,35,58,0.55) 100%
  );
}
.implants-content {
  max-width: 1180px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.implants-content.visible { opacity: 1; transform: none; }
.implants-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}
.implants-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 900px;
}

/* ======== IMPLANTS DETAIL (cards inside hero) ======== */
.implants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.implants-grid.visible { opacity: 1; transform: none; }
.implant-card {
  padding: 32px 0 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--taupe);
  box-shadow: none;
  transition: border-color .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.implant-card::before { display: none; }
.implant-card:hover {
  border-top-color: var(--white);
}
.implant-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.implant-card p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}
.implant-card .card-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--taupe-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
  align-self: flex-start;
}
.implant-card .card-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Legacy spacer removed with overlap layout */

/* ======== TECHNOLOGY ======== */
/* ======== TECHNOLOGY (split, full-bleed) ======== */
.technology { padding: 80px 0 40px; }
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.tech-split.visible { opacity: 1; transform: none; }
.tech-image { overflow: hidden; position: relative; min-height: 60vh; }
.tech-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tech-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(48px, 6vw, 96px);
  background: var(--navy-deep);
  color: #fff;
}
.tech-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
.tech-text p { color: rgba(255,255,255,0.72); margin-bottom: 14px; }

/* ======== LOCATIONS ======== */
.locations { padding: 120px 0; }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.locations-grid.visible { opacity: 1; transform: none; }
.location-card {
  background: transparent;
  border: none;
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.location-card:hover .loc-img img { transform: scale(1.05); }
.loc-img { height: 220px; overflow: hidden; margin-bottom: 24px; }
.loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.loc-info { padding: 0; border-top: 1px solid var(--taupe); padding-top: 24px; transition: border-color .3s; }
.location-card:hover .loc-info { border-top-color: var(--taupe-dark); }
.loc-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.loc-info p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.loc-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1.5px solid var(--taupe);
  padding-bottom: 2px;
}

/* ======== CONTACT ======== */
.contact {
  padding: 120px 0;
  background: var(--cream-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.contact-grid.visible { opacity: 1; transform: none; }
.contact-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.contact-text p { color: var(--muted); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { margin-bottom: 16px; }
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  border-radius: var(--radius);
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--taupe);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-consent { margin-bottom: 20px; }
.form-consent p { font-size: 11px; color: var(--muted-light); line-height: 1.6; }

/* ======== FOOTER ======== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand-main { color: #fff; font-size: 24px; }
.footer-brand .brand-sub { color: var(--taupe); }
.footer-logo { display: block; width: 260px; height: auto; margin-bottom: 8px; filter: brightness(0) invert(1) opacity(0.92); }
.footer-copy { margin-top: 16px; font-size: 12px; }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
.footer-col a { color: var(--taupe); font-weight: 600; font-size: 14px; }
.footer-copy .footer-credit { color: var(--taupe); font-weight: 600; text-decoration: none; }
.footer-copy .footer-credit:hover,
.footer-copy .footer-credit:focus-visible { color: #fff; text-decoration: underline; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .btn-header { display: none; }
  .header-phones { display: none; }
  .mobile-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .doctor-feature { grid-template-columns: 1fr; min-height: auto; }
  .doctor-feature.reverse { direction: ltr; }
  .doctor-feature-img { height: 50vh; }
  .doctor-feature-text { padding: 48px 32px; }
  .services-grid, .implants-grid, .locations-grid { grid-template-columns: 1fr 1fr; }
  .tech-split { grid-template-columns: 1fr; }
  .tech-text { padding: 48px 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .wrap { width: calc(100% - 32px); }
  .utility-inner { flex-direction: column; gap: 6px; text-align: center; }
  .util-right { justify-content: center; }
  .hero { min-height: 80vh; }
  .hero-content { padding: 0 0 60px; }
  .services-grid, .implants-grid, .locations-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .image-band img { height: 45vh; }
  .doctor-feature-img { height: 40vh; }
}

/* ======== DOCTORS GRID (v3.1 — 6-card) ======== */
.section-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 620px;
}
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.doc-card.reveal { opacity: 0; transform: translateY(30px); }
.doc-card.reveal.visible { opacity: 1; transform: none; }
.doc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--taupe);
  padding-top: 24px;
  transition: border-color .3s;
}
.doc-card:hover .doc-body { border-top-color: var(--taupe-dark); }
.doc-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep);
  margin-bottom: 24px;
}
.doc-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.doc-card:hover .doc-portrait img { transform: scale(1.05); }
.doc-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}
.doc-cred {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.doc-blurb {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}
.doc-body .card-link { align-self: flex-start; }
@media (max-width: 1100px) {
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}
@media (max-width: 640px) {
  .doctors-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
  .doc-portrait { aspect-ratio: 4 / 4.5; }
}

/* ============================================
   SUBPAGE STYLES (dental-implants, etc.)
   ============================================ */

/* Active nav link */
.main-nav a.nav-active {
  color: var(--taupe-dark);
}
.main-nav a.nav-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--taupe);
  margin-top: 4px;
}

/* Subpage hero — service pages get roughly 2x the previous height */
.hero-subpage {
  position: relative;
  min-height: 72vh;
}
.hero-subpage .hero-content {
  padding: 80px 0 80px;
  align-self: center;
}
.hero-subpage h1 {
  font-size: clamp(56px, 8vw, 104px);
}
.hero-subpage .hero-sub {
  font-size: 22px;
  max-width: 780px;
}
@media (max-width: 700px) {
  .hero-subpage { min-height: 68vh; }
  .hero-subpage .hero-content { padding: 48px 0; }
  .hero-subpage .hero-sub { font-size: 18px; }
}

/* Plain subpage hero (no photo) — navy background with subtle pattern */
.subpage-hero-plain {
  background: linear-gradient(135deg, var(--navy) 0%, #14233a 100%);
  min-height: 28vh;
  align-items: center;
}
.subpage-hero-plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(196, 168, 130, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(196, 168, 130, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
.subpage-hero-plain .hero-content {
  padding: 32px 0;
}
.subpage-hero-plain .kicker {
  color: var(--taupe);
}
.subpage-hero-plain h1 {
  color: #fff;
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--cream);
  padding: 16px 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .crumb-sep {
  margin: 0 10px;
  color: var(--taupe-dark);
}
.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* Check list (used for benefits, features) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--taupe-dark);
  border-bottom: 2px solid var(--taupe-dark);
  transform: rotate(-45deg);
}

/* Procedure: numbered steps grid */
.procedure {
  padding: 120px 0;
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.steps-grid.visible { opacity: 1; transform: none; }
.step-card {
  background: transparent;
  padding: 32px 0 0;
  border-top: 1px solid var(--taupe);
  position: relative;
  transition: border-color .3s;
}
.step-card:hover {
  border-top-color: var(--gold, var(--taupe-dark));
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--taupe-dark);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Doctor grid variant for 4 (implant team) */
.doctors-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
@media (max-width: 1100px) {
  .doctors-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .doctors-grid-4 { grid-template-columns: 1fr; }
}

/* Services grid variant for 3 (implant options) */
.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .services-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid-3 { grid-template-columns: 1fr; }
}

/* Cost band: text + image split */
.cost-band {
  padding: 120px 0;
}
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.22,1,.36,1);
}
.cost-grid.visible { opacity: 1; transform: none; }
.cost-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.cost-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.cost-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Responsive tweaks for subpage */
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-grid { grid-template-columns: 1fr; gap: 48px; }
  .cost-image { max-width: 500px; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-card { padding: 24px 0 0; }
  .procedure { padding: 80px 0; }
  .cost-band { padding: 80px 0; }
}

/* ============================================
   SCROLL OFFSET (sticky header compensation)
   ============================================ */
:root { --header-h: 92px; }
#top, #about, #doctors, #services, #implants, #technology, #locations, #contact,
#overview, #procedure, #options, #cost {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ============================================
   DOC CARD — bottom-align CTAs across cards
   ============================================ */
.doc-card { display: flex; flex-direction: column; height: 100%; }
.doc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doc-body .card-link { align-self: flex-start; margin-top: auto; }

/* ============================================
   SERVICE CARD — inline link, baseline-aligned
   ============================================ */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card > p { flex: 1; }
.service-card .card-link { margin-top: auto; align-self: flex-start; }

/* ============================================
   LOCATION CARD — bottom-align phone
   ============================================ */
.location-card { display: flex; flex-direction: column; height: 100%; }
.location-card .loc-info { flex: 1; display: flex; flex-direction: column; }
.location-card .loc-phone { margin-top: auto; align-self: flex-start; }

/* ============================================
   IMPLANT CARD — bottom-align link
   ============================================ */
.implant-card { display: flex; flex-direction: column; height: 100%; }
.implant-card > p { flex: 1; }
.implant-card .card-link { margin-top: auto; align-self: flex-start; }
.card-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--taupe-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
  align-self: flex-start;
}
.card-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* ============================================================
   Framework additions — additive only, no pre-sweep overrides
   ============================================================ */

/* Accessibility: skip-to-content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
}

/* Focus-visible baseline for a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
}

/* Mobile menu drawer (mirrors main-nav on wide screens; only shown on narrow) */
.mobile-menu {
  /* NOTE: ancestor .site-header uses backdrop-filter, which makes it the
     containing block for position:fixed descendants (per CSS spec). So we
     size the drawer with explicit height instead of relying on top+bottom. */
  display: none;
  position: fixed;
  top: var(--header-h, 96px);
  left: 0;
  right: 0;
  width: 100vw;
  height: calc(100vh - var(--header-h, 96px));
  height: calc(100dvh - var(--header-h, 96px));
  background: var(--white);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 200;
  padding: 24px clamp(24px, 5vw, 40px) 60px;
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.mobile-menu .primary-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu .primary-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-menu .primary-menu > li.has-children > a::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--taupe);
  transition: transform .2s;
  line-height: 1;
}
.mobile-menu .primary-menu > li.has-children.open > a::after {
  content: '–';
}
.mobile-menu .primary-menu > li > a:hover { color: var(--navy); }
.mobile-menu .submenu {
  list-style: none;
  padding: 6px 0 14px 12px;
  margin: 0;
  background: var(--cream);
  display: none;
}
.mobile-menu .primary-menu > li.open > .submenu { display: block; }
.mobile-menu .submenu li a {
  display: block;
  padding: 8px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.mobile-menu .submenu li a:hover { color: var(--navy); }

@media (max-width: 900px) {
  /* mobile-toggle is already styled elsewhere; nothing to change */
}

/* ========================================================================
   Content-narrow (rendered body for cluster/service/location pages)
   ======================================================================== */
.content-section { padding: 80px 0 100px; background: var(--white); }
.wrap.content-narrow { max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap.content-narrow > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--navy);
  margin: 56px 0 20px;
  line-height: 1.25;
}
.wrap.content-narrow > h2:first-child { margin-top: 0; }
.wrap.content-narrow > h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--navy);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.wrap.content-narrow > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
}
.wrap.content-narrow > ul,
.wrap.content-narrow > ol {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 24px;
  margin: 0 0 24px;
}
.wrap.content-narrow > ul li,
.wrap.content-narrow > ol li { margin-bottom: 6px; }
.wrap.content-narrow a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--taupe);
  text-underline-offset: 3px;
}
.wrap.content-narrow a:hover { color: var(--taupe-dark); }
.wrap.content-narrow img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: var(--radius);
}

/* Location page — service directory laid out as 2-col grid */
main[data-page="location"] .wrap.content-narrow {
  max-width: 1180px;
}
main[data-page="location"] .wrap.content-narrow > h2 { margin-top: 72px; }

/* When 4+ h3+p sibling pairs follow, treat them as a directory grid.
   Simpler: wrap the whole content-narrow in columns for the service list section.
   Since the source dumps 30+ h3+p pairs consecutively, use CSS columns which
   auto-balance and won't break h3/p pairing. */
main[data-page="location"] .services-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  align-items: start;
  margin-top: 24px;
}
main[data-page="location"] .service-entry {
  min-width: 0;
}
main[data-page="location"] .services-directory h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
}
main[data-page="location"] .services-directory p {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  main[data-page="location"] .services-directory { grid-template-columns: minmax(0, 1fr); }
}


/* ============ Hub pages (doctors, services, locations) ============ */
.intro-block { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.lede { font-size: 1.15rem; line-height: 1.7; color: var(--muted); margin: 0; }

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 56px;
}
@media (max-width: 900px) {
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .doctor-grid { grid-template-columns: 1fr; }
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0 56px;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.doctor-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.doctor-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.doctor-card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.location-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.doctor-card:hover,
.location-card:hover {
  border-color: var(--taupe);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 48, 80, .08);
}
.doctor-card-body h3,
.location-card-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
}
.doctor-role {
  margin: 0 0 12px;
  color: var(--taupe-dark);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.doctor-card-body p,
.location-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.location-addr {
  color: var(--navy) !important;
  font-weight: 500;
  line-height: 1.5 !important;
}
.location-phone {
  margin: 0 0 14px !important;
  font-weight: 600;
}
.location-phone a {
  color: var(--navy);
  text-decoration: none;
}
.location-phone a:hover { color: var(--taupe-dark); }
.link-arrow {
  display: inline-block;
  color: var(--taupe-dark);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
}

/* Services hub — column groups */
.service-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 48px;
  margin: 32px 0 56px;
}
.service-hub-group h2 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--taupe);
  padding-bottom: 10px;
  display: inline-block;
}
.service-hub-group > p {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  border-bottom: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: none; }
.service-list a {
  display: block;
  padding: 10px 0;
  color: var(--navy);
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}
.service-list a:hover {
  color: var(--taupe-dark);
  padding-left: 6px;
}

/* CTA strip at bottom of hub pages */
.cta-strip {
  background: var(--cream, #f7f3ec);
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--radius);
  margin: 40px 0 24px;
}
.cta-strip h2 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.5rem;
}
.cta-strip p {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 1.05rem;
}

/* ---------- /contact-us/ office blocks ---------- */
.locations-contact { padding: 40px 0 60px; }
.locations-contact .office-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.locations-contact .office-block:last-child { border-bottom: none; }
.locations-contact .office-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 10px;
}
.locations-contact .office-info address {
  font-style: normal;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}
.locations-contact .office-phone a {
  font-size: 20px;
  font-weight: 600;
  color: var(--taupe-dark);
  text-decoration: none;
}
.locations-contact .office-phone a:hover,
.locations-contact .office-phone a:focus-visible { text-decoration: underline; }
.locations-contact .office-map iframe {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: #eee;
}
@media (max-width: 780px) {
  .locations-contact .office-block { grid-template-columns: 1fr; gap: 18px; }
  .locations-contact .office-map iframe { height: 280px; }
}

/* ---------- /reviews/ CTAs ---------- */
.reviews-cta-section { padding: 40px 0 60px; background: #fff; }
.reviews-cta-section .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--navy);
  text-align: center;
  margin: 0 0 30px;
}
.reviews-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-cta-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 30px 24px;
  text-align: center;
}
.review-cta-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 10px;
}
.review-cta-card p {
  color: #333;
  margin: 4px 0;
  line-height: 1.5;
}
.review-cta-card .review-phone a {
  font-size: 18px;
  font-weight: 600;
  color: var(--taupe-dark);
  text-decoration: none;
}
.review-cta-card .btn-gold { margin-top: 14px; display: inline-block; }
@media (max-width: 780px) {
  .reviews-cta-grid { grid-template-columns: 1fr; }
}

/* ---------- ADA no-JS fallback: reveal everything if JS never sets html.js ---------- */
html:not(.js) .reveal,
html:not(.js) .about-grid,
html:not(.js) .doctor-feature,
html:not(.js) .services-grid,
html:not(.js) .implants-content,
html:not(.js) .implants-grid,
html:not(.js) .tech-split,
html:not(.js) .locations-grid,
html:not(.js) .contact-grid,
html:not(.js) .section-intro,
html:not(.js) .doc-card,
html:not(.js) .service-card,
html:not(.js) .implant-card,
html:not(.js) .location-card,
html:not(.js) .step-card {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- Referral request form ---------- */
.referral-form { margin: 32px 0 48px; }
.referral-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px 20px;
  margin: 0 0 24px;
  background: #fff;
}
.referral-form legend {
  padding: 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
}
.referral-form .form-row { margin-bottom: 16px; }
.referral-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
}
.referral-form .req { color: var(--taupe-dark); margin-left: 2px; }
.referral-form input[type="text"],
.referral-form input[type="email"],
.referral-form input[type="tel"],
.referral-form input[type="file"],
.referral-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #fdfcfa;
  transition: border-color .2s, background .2s;
}
.referral-form input:focus,
.referral-form textarea:focus {
  outline: none;
  border-color: var(--taupe-dark);
  background: #fff;
}
.referral-form textarea { resize: vertical; min-height: 90px; }
.referral-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.referral-form .checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 20px;
}
.referral-form .radio-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.referral-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.4;
  color: #333;
}
.referral-form .check input {
  margin-top: 3px;
  accent-color: var(--taupe-dark);
}
.referral-form .form-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.referral-form .form-actions {
  margin-top: 8px;
}
@media (max-width: 640px) {
  .referral-form fieldset { padding: 20px 18px; }
  .referral-form .form-grid-2,
  .referral-form .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Doctor bio headshot normalization (v47) */
.wrap.wrap-narrow > img,
.content-section .wrap.wrap-narrow > img,
.content-section .wrap.wrap-narrow > p > img:only-child {
  display: block;
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.6rem;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(30,48,80,.12);
}
@media (max-width: 640px) {
  .wrap.wrap-narrow > img,
  .content-section .wrap.wrap-narrow > img,
  .content-section .wrap.wrap-narrow > p > img:only-child {
    max-width: 260px;
  }
}

/* ============================================
   Doctor profile pages (v51)
   Editorial two-column layout: portrait + meta on left,
   biographical prose on right. Stacks on mobile.
   ============================================ */

.doctor-profile { padding: 80px 0 100px; background: var(--white); }

.doctor-profile .wrap {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.doctor-aside { position: sticky; top: 120px; }
.doctor-aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(20,35,58,.14);
  margin-bottom: 28px;
}

.doctor-meta { border-top: 1px solid var(--taupe); padding-top: 20px; }
.doctor-meta dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin: 16px 0 6px;
}
.doctor-meta dt:first-child { margin-top: 0; }
.doctor-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy);
}
.doctor-meta dd + dd { margin-top: 2px; }
.doctor-meta dd.subtle { color: var(--muted); font-size: 13px; }

.doctor-body { max-width: 640px; }
.doctor-body .kicker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 10px;
}
.doctor-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.doctor-body .credentials {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin: 0 0 28px;
}
.doctor-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 18px;
}
.doctor-body p:last-child { margin-bottom: 0; }
.doctor-body p strong { color: var(--navy); font-weight: 600; }

/* Responsive stack */
@media (max-width: 900px) {
  .doctor-profile { padding: 56px 0 72px; }
  .doctor-profile .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .doctor-aside {
    position: static;
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
  }
  .doctor-aside img { margin-bottom: 20px; }
  .doctor-body { max-width: none; }
  .doctor-body h2 { text-align: center; }
  .doctor-body .kicker { text-align: center; }
  .doctor-body .credentials { text-align: center; }
}
@media (max-width: 560px) {
  .doctor-aside { max-width: 240px; }
}


/* -------------------------------------------------
   Service pages v52 — narrow prose + benefits band
   ------------------------------------------------- */
.wrap.wrap-narrow { max-width: 880px; }

.prose-block {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}
.prose-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.prose-block h3:first-child { margin-top: 0; }
.prose-block p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}
.prose-block ul.check-list { margin: 6px 0 24px; }

p.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 400;
  margin: 8px 0 24px;
}

.benefits-band {
  padding: 100px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-band {
  padding: 80px 0;
  background: var(--white);
}

.implants-hero .implants-content p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.implants-hero .implants-content ul.check-list li {
  color: rgba(255,255,255,0.9);
}
.implants-hero .implants-content ul.check-list li::before {
  color: var(--taupe);
}

.about-text p.lead + p { margin-top: 4px; }

@media (max-width: 900px) {
  .prose-block h3 { font-size: 22px; }
  .prose-block p { font-size: 16px; }
  .benefits-band { padding: 72px 0; }
  .content-band { padding: 60px 0; }
}

/* ---------- FAQ band ---------- */
.faq-band {
  padding: 96px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-band .section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.faq-band .section-intro .kicker {
  color: var(--taupe-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.faq-band .section-intro h2 {
  color: var(--navy);
  font-size: 36px;
  line-height: 1.15;
  margin: 12px 0 0;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .15s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px var(--shadow);
  border-color: rgba(196,168,130,0.35);
}
.faq-question {
  list-style: none;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ""; }
.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 20px;
  transition: transform .2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--taupe-dark);
  transition: transform .2s ease;
}
.faq-icon::before {
  top: 9px; left: 0;
  width: 20px; height: 2px;
}
.faq-icon::after {
  top: 0; left: 9px;
  width: 2px; height: 20px;
}
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }
@media (max-width: 900px) {
  .faq-band { padding: 72px 0; }
  .faq-band .section-intro h2 { font-size: 28px; }
  .faq-question { padding: 20px 22px; font-size: 16px; }
  .faq-answer { padding: 0 22px 22px; font-size: 15px; }
}

/* =====================================================================
   For Patients sectioned dropdown (desktop + mobile) - added 2026-07-28
   ===================================================================== */

/* Desktop: two-column dropdown with section headers spanning both columns */
.main-nav .nav-dropdown--sections {
  min-width: 560px;
  max-width: 640px;
  padding: 10px 8px 14px;
}
.main-nav .nav-dropdown--sections li.dd-heading {
  grid-column: 1 / -1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe, #806a4f);
  padding: 14px 16px 6px;
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 4px;
  pointer-events: none;
}
.main-nav .nav-dropdown--sections li.dd-heading:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 4px;
}
.main-nav .nav-dropdown--sections li a {
  font-size: 12.5px;
  padding: 6px 16px;
}

/* Mobile: sectioned submenu with tinted section headers */
.primary-menu .submenu--sections li.sm-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe, #806a4f);
  padding: 16px 20px 6px;
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 4px;
  pointer-events: none;
  list-style: none;
}
.primary-menu .submenu--sections li.sm-heading:first-child {
  border-top: 0;
  margin-top: 0;
}

/* =====================================================================
   Mobile Call Button in header - added 2026-07-28
   ===================================================================== */
.mobile-call-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--taupe, #806a4f);
  color: #fff !important;
  margin-right: 8px;
  transition: background .18s ease, transform .18s ease;
  text-decoration: none;
}
.mobile-call-btn:hover,
.mobile-call-btn:focus {
  background: var(--warm-brown, #5d4c37);
  transform: translateY(-1px);
}
.mobile-call-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Only show on mobile (matches existing .menu-toggle breakpoint) */
@media (max-width: 900px) {
  .mobile-call-btn { display: inline-flex; }
}

/* =====================================================================
   Built by Tekneq footer credit - added 2026-07-28
   ===================================================================== */
.built-by {
  text-align: center;
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted, #7a6a56);
  background: rgba(0,0,0,.02);
  border-top: 1px solid rgba(0,0,0,.06);
}
.built-by a {
  color: var(--taupe, #806a4f);
  text-decoration: none;
  font-weight: 600;
  transition: color .18s ease;
}
.built-by a:hover { color: var(--warm-brown, #5d4c37); text-decoration: underline; }

/* Mobile call menu (dropdown from call button) */
.mobile-call-wrap { display: none; position: relative; margin-right: 8px; }
@media (max-width: 900px) { .mobile-call-wrap { display: inline-block; } }
.mobile-call-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  padding: 6px;
  z-index: 1000;
}
.mobile-call-menu a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text, #2b2b2b);
  border-radius: 6px;
  gap: 2px;
  line-height: 1.3;
}
.mobile-call-menu a strong { font-size: 13px; font-weight: 700; color: var(--taupe, #806a4f); }
.mobile-call-menu a span { font-size: 15px; font-weight: 600; }
.mobile-call-menu a:hover, .mobile-call-menu a:focus { background: var(--stone, #f4efe9); }


/* =====================================================================
   Location page redesign v3 — 2026-07-28
   Columns swapped:
     LEFT  (.location-aside): sticky contact card + map, stacked
     RIGHT (.location-body):  kicker + h2 + long about paragraphs
   ===================================================================== */

.location-profile { padding: 80px 0 80px; background: var(--white); }

.location-profile .wrap {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.location-body { max-width: 780px; }
.location-body .kicker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 10px;
}
.location-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.location-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 18px;
}
.location-body p:last-child { margin-bottom: 0; }

.location-aside { position: sticky; top: 120px; }

/* Quick contact actions — icon button row inside contact card */
.location-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}
.location-quick-actions .quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  background: var(--white, #fff);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 6px;
  color: var(--warm-brown, #5d4c37);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 64px;
}
.location-quick-actions .quick-action svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  display: block;
  fill: currentColor;
}
.location-quick-actions .quick-action:hover,
.location-quick-actions .quick-action:focus-visible {
  background: var(--navy, #14233a);
  color: var(--white, #fff);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20,35,58,.15);
  outline: none;
}

.location-contact-card {
  background: var(--warm-light, #f4efe9);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 6px 22px rgba(20,35,58,.08);
  margin-bottom: 20px;
}
.location-card-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--taupe-dark, #6b5a44);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--taupe);
}
.location-address {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--navy);
}
.location-phone {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
}
.location-phone a {
  color: var(--warm-brown, #5d4c37);
  text-decoration: none;
}
.location-phone a:hover { text-decoration: underline; }
.location-email {
  font-size: 14px;
  margin: 0 0 20px;
}
.location-email a {
  color: var(--taupe-dark, #6b5a44);
  text-decoration: none;
}
.location-email a:hover { text-decoration: underline; }

.location-hours-block { margin-bottom: 22px; }
.location-hours-block h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--taupe-dark, #6b5a44);
  margin: 0 0 8px;
}
.location-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.location-hours th,
.location-hours td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}
.location-hours th { color: var(--navy); width: 45%; }
.location-hours tr:last-child th,
.location-hours tr:last-child td { border-bottom: none; }

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.location-actions .btn { text-align: center; width: 100%; }

.location-map-wrap {
  border-radius: 6px;
  overflow: hidden;
  height: 260px;
  background: #eee;
  box-shadow: 0 6px 22px rgba(20,35,58,.08);
}
.location-map { width: 100%; height: 100%; border: 0; display: block; }

/* Highlights + Services sections retain earlier styling */
.location-highlights-section { padding: 60px 0; background: var(--stone, #f4efe9); }
.location-highlights-section .kicker { color: var(--taupe, #806a4f); }
.location-highlights-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--navy);
  margin: 8px 0 0;
}

.location-services-section { padding: 60px 0 80px; background: var(--white); }
.location-services-section .kicker { color: var(--taupe, #806a4f); }
.location-services-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--navy);
  margin: 8px 0 16px;
}
.location-services-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 780px;
  margin: 0 0 40px;
}
.services-category { margin-bottom: 40px; }
.services-category:last-child { margin-bottom: 0; }
.services-category-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--taupe);
  display: inline-block;
}

.location-services-section .service-card,
.location-highlights-section .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.location-services-section .services-grid,
.location-highlights-section .services-grid { align-items: stretch; }
.location-services-section .service-card .card-link { margin-top: auto; }

@media (max-width: 900px) {
  .location-profile { padding: 48px 0; }
  .location-profile .wrap { grid-template-columns: 1fr; gap: 32px; }
  .location-aside { position: static; }
  .location-contact-card { padding: 24px; }
  .location-map-wrap { height: 260px; }
  .location-quick-actions { gap: 6px; }
  .location-quick-actions .quick-action { min-height: 58px; font-size: 10px; padding: 10px 4px; }
  .location-quick-actions .quick-action svg { width: 18px; height: 18px; }
  .location-highlights-section, .location-services-section { padding: 40px 0; }
}

/* =====================================================================
   Location page polish — v2.1 (2026-07-28)
   Give the highlights + services grids real "card" containment
   on location pages only (leaves site-wide .service-card untouched).
   ===================================================================== */

/* Highlights: filled cards on the stone-bg section */
.location-highlights-section .services-grid { gap: 24px; }
.location-highlights-section .service-card {
  background: var(--white);
  border-top: 3px solid var(--taupe, #806a4f);
  border-radius: 4px;
  padding: 28px 26px 26px;
  box-shadow: 0 4px 14px rgba(20,35,58,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.location-highlights-section .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20,35,58,.11);
}
.location-highlights-section .service-card h3 { margin-top: 6px; }

/* Services: card frame with hover lift, keep serif h3 */
.location-services-section .services-grid { gap: 24px; margin-top: 8px; }
.location-services-section .service-card {
  background: var(--white);
  border: 1px solid rgba(107,90,68,.15);
  border-top: 3px solid var(--taupe, #806a4f);
  border-radius: 4px;
  padding: 26px 24px 24px;
  box-shadow: 0 4px 14px rgba(20,35,58,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.location-services-section .service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(107,90,68,.3);
  box-shadow: 0 10px 26px rgba(20,35,58,.1);
}
.location-services-section .service-card h3 { margin-top: 4px; font-size: 20px; }
.location-services-section .service-card p { font-size: 14.5px; }
.location-services-section .service-card .card-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--taupe-dark, #6b5a44);
}
.location-services-section .service-card .card-link:hover { color: var(--warm-brown, #5d4c37); }

/* ========================================================================
   MOBILE HEADER CLEANUP + MOBILE MENU CONTACT BLOCK (v57, 2026-07-28)
   ======================================================================== */

/* Utility bar (dark navy strip): hide on mobile - too cramped and redundant.
   Locations show in hero + mobile menu; CTAs move into the mobile drawer. */
@media (max-width: 768px) {
  .utility-bar { display: none; }
}

/* Mobile-menu contact block (injected by site-mobile.js) */
.mm-contact {
  margin: -8px -4px 20px;
  padding: 0 4px 20px;
  border-bottom: 1px solid var(--line);
}
.mm-contact-head {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--taupe-dark, #a68b6b);
  margin: 4px 0 10px;
}
.mm-call-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.mm-call-btn {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--cream, #f5f1ea);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy, #1e3050);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.mm-call-btn:hover,
.mm-call-btn:focus {
  background: var(--cream-deep, #ece5d8);
  border-color: var(--taupe, #c4a882);
}
.mm-call-btn svg {
  width: 20px; height: 20px;
  min-width: 20px; min-height: 20px;
  max-width: 20px; max-height: 20px;
  fill: var(--taupe-dark, #a68b6b);
  display: block;
  flex-shrink: 0;
}
.mm-call-city {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1a1f2b);
  line-height: 1.2;
}
.mm-call-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1e3050);
  letter-spacing: .3px;
  white-space: nowrap;
}
.mm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mm-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy, #1e3050);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .15s, border-color .15s;
}
.mm-action:hover,
.mm-action:focus {
  background: var(--cream, #f5f1ea);
  border-color: var(--taupe, #c4a882);
}
.mm-action svg {
  width: 16px; height: 16px;
  min-width: 16px; min-height: 16px;
  max-width: 16px; max-height: 16px;
  fill: var(--taupe-dark, #a68b6b);
  display: block;
  flex-shrink: 0;
}
.mm-action--primary {
  grid-column: 1 / -1;
  background: var(--navy, #1e3050);
  color: #fff;
  border-color: var(--navy, #1e3050);
  padding: 14px 12px;
  font-size: 13px;
}
.mm-action--primary svg { fill: var(--taupe-light, #dbc9ad); }
.mm-action--primary:hover,
.mm-action--primary:focus {
  background: var(--navy-deep, #14233a);
  border-color: var(--navy-deep, #14233a);
  color: #fff;
}
/* ============================================
   About Us subpage list styles (Round 4)
   ============================================ */
.amenity-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.amenity-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy, #1e2a3a);
}
.amenity-list li:last-child { border-bottom: 0; }
.amenity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--taupe, #b7a89a);
}
.amenity-list li a {
  color: var(--taupe-dark, #6b5b4d);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.amenity-list li a:hover { border-bottom-color: var(--taupe-dark, #6b5b4d); }

.amenity-list--kv li { padding-left: 0; }
.amenity-list--kv li::before { display: none; }
.amenity-list--kv li strong {
  display: inline-block;
  min-width: 110px;
  color: var(--navy, #1e2a3a);
  font-weight: 600;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
@media (max-width: 700px) {
  .resource-list { grid-template-columns: 1fr; }
}
.resource-list li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: relative;
  font-size: 15px;
  line-height: 1.4;
}
.resource-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--gold, #c9a36a);
  font-weight: 700;
}
.resource-list li a {
  color: var(--navy, #1e2a3a);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.resource-list li a:hover {
  color: var(--taupe-dark, #6b5b4d);
  border-bottom-color: var(--taupe-dark, #6b5b4d);
}

/* --- Referral Lab embedded intake form -------------------------------- */
/* Height is driven by postMessage from app.referrallab.io; the inline
   min-height on the iframe is the pre-message fallback. */
.rl-embed {
  width: 100%;
  margin: 0 0 1.5rem;
}
.rl-embed iframe {
  display: block;
  width: 100%;
  border: none;
}
