/* ==========================================================================
   DreamSmile — inner pages (Dental Implants, Locations)
   ========================================================================== */

/* ─── Primary nav links (desktop center, mobile drawer) ──────────────────── */

.ds-navbar__nav {
  display: none;
  gap: 28px;
}
.ds-navbar__nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3A3A3A !important;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color .2s ease;
}
.ds-navbar__nav a:hover { color: #7FB5B0 !important; }
.ds-navbar__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--ds-teal);
  transition: left .2s ease, right .2s ease;
}
.ds-navbar__nav a:hover::after { left: 4px; right: 4px; }

.ds-navbar.is-scrolled .ds-navbar__nav a { color: #3A3A3A !important; }
.ds-navbar.is-scrolled .ds-navbar__nav a:hover { color: var(--ds-teal) !important; }

@media (min-width: 900px) {
  .ds-navbar__nav { display: inline-flex; }
}

.ds-navbar__mobile a {
  display: block;
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-charcoal);
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
}
.ds-navbar__mobile a:last-child { border-bottom: 0; }
.ds-navbar__mobile-group { padding: 8px 0 6px; }
.ds-navbar__mobile-group-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  padding: 6px 0 4px;
}
.ds-navbar__mobile-sub { padding-left: 14px !important; font-size: 13px !important; color: var(--ds-warm-gray) !important; }

/* ─── Services dropdown (desktop only) ───────────────────────────────────── */
.ds-navbar__dropdown { position: relative; }
.ds-navbar__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 4px;
  font: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3A3A3A !important;
  cursor: pointer;
  position: relative;
  transition: color .2s ease;
}
.ds-navbar__dropdown-trigger:hover,
.ds-navbar__dropdown-trigger[aria-expanded="true"] { color: var(--ds-teal) !important; }
.ds-navbar.is-scrolled .ds-navbar__dropdown-trigger { color: #3A3A3A !important; }
.ds-navbar.is-scrolled .ds-navbar__dropdown-trigger:hover,
.ds-navbar.is-scrolled .ds-navbar__dropdown-trigger[aria-expanded="true"] { color: var(--ds-teal) !important; }
body:has(.ds-loc-hero) .ds-navbar__dropdown-trigger,
body:has(.ds-subhero) .ds-navbar__dropdown-trigger { color: var(--ds-charcoal); }
.ds-navbar__dropdown-trigger svg { transition: transform .25s ease; }
.ds-navbar__dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.ds-navbar__mega,
.ds-navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid #ECECEA;
  border-radius: 14px;
  padding: 8px;
  min-width: 320px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 100;
}
.ds-navbar__dropdown:hover > .ds-navbar__mega,
.ds-navbar__dropdown:hover > .ds-navbar__dropdown-menu,
.ds-navbar__dropdown.is-open > .ds-navbar__mega,
.ds-navbar__dropdown.is-open > .ds-navbar__dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
/* Bridge the gap so cursor can move from trigger to menu without losing hover */
.ds-navbar__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.ds-navbar__dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ds-charcoal);
  transition: background .15s ease, color .15s ease;
}
.ds-navbar__dropdown-menu a::after { display: none; }
.ds-navbar__dropdown-menu a:hover {
  background: var(--ds-light-gray);
  color: var(--ds-teal-dark);
}
.ds-navbar__dropdown-menu a strong {
  display: block;
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin-bottom: 2px;
}
.ds-navbar__dropdown-menu a:hover strong { color: var(--ds-teal-dark); }
.ds-navbar__dropdown-menu a span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--ds-warm-gray);
  letter-spacing: 0;
  line-height: 1.4;
}

/* ─── Nav: Services Mega-Menu ────────────────────────────────────────────── */
.ds-navbar__dropdown--mega .ds-navbar__dropdown-menu.ds-navbar__mega {
  /* Wider panel + grid-based columns */
  min-width: 720px;
  padding: 22px 22px 18px;
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.95fr;
  gap: 28px;
  border-radius: 16px;
  border-top: 2px solid rgba(127, 181, 176, 0.55);
}
.ds-navbar__mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ds-navbar__mega-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-teal-dark) !important;
  border-bottom: 1px solid #ECECEA;
  border-radius: 0 !important;
  background: transparent !important;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.ds-navbar__mega-head svg {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity .18s ease, transform .18s ease;
}
.ds-navbar__mega-head:hover {
  color: var(--ds-teal) !important;
  background: transparent !important;
  border-bottom-color: var(--ds-teal);
}
.ds-navbar__mega-head:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.ds-navbar__mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ds-navbar__mega-list li { margin: 0; }
.ds-navbar__mega-list a {
  display: block !important;
  padding: 8px 10px !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ds-charcoal) !important;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background .12s ease, color .12s ease, padding .15s ease;
}
.ds-navbar__mega-list a::after { display: none; }
.ds-navbar__mega-list a:hover {
  background: rgba(127, 181, 176, 0.08) !important;
  color: var(--ds-teal-dark) !important;
  padding-left: 14px !important;
}

.ds-navbar__mega-quick {
  margin: 6px 0 0 !important;
  padding: 10px 10px 0 !important;
  border-top: 1px dashed #E8E8E5;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--ds-warm-gray);
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ds-navbar__mega-quick a {
  display: inline !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--ds-warm-gray) !important;
  font-size: 12px;
  font-weight: 500;
  border-radius: 0 !important;
  transition: color .12s ease;
}
.ds-navbar__mega-quick a::after { display: none; }
.ds-navbar__mega-quick a:hover {
  color: var(--ds-teal-dark) !important;
  background: transparent !important;
  padding-left: 0 !important;
}
.ds-navbar__mega-quick span[aria-hidden="true"] {
  color: #C9CCCC;
  font-size: 10px;
  user-select: none;
}
.ds-navbar__mega-also-label {
  font-size: 10.5px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin-right: 4px;
}

/* On smaller laptop widths, allow the mega panel to nudge left so it doesn't clip */
@media (max-width: 1180px) {
  .ds-navbar__dropdown--mega .ds-navbar__dropdown-menu.ds-navbar__mega {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-6px);
  }
  .ds-navbar__dropdown--mega:hover .ds-navbar__dropdown-menu,
  .ds-navbar__dropdown--mega:focus-within .ds-navbar__dropdown-menu,
  .ds-navbar__dropdown--mega[data-open="true"] .ds-navbar__dropdown-menu {
    transform: translateX(0) translateY(0);
  }
}

/* ─── Nav: Mobile Accordion (Services / Resources groups) ────────────────── */
.ds-navbar__mobile-acc { border-bottom: 1px solid #EFEEEB; }
.ds-navbar__mobile-acc:last-child { border-bottom: 0; }
.ds-navbar__mobile-acc-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-charcoal);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease;
}
.ds-navbar__mobile-acc-trigger:hover { background: rgba(127, 181, 176, 0.06); }
.ds-navbar__mobile-acc-trigger svg { transition: transform .25s ease; flex-shrink: 0; }
.ds-navbar__mobile-acc-trigger[aria-expanded="true"] {
  color: var(--ds-teal-ink);
  background: rgba(127, 181, 176, 0.06);
}
.ds-navbar__mobile-acc-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.ds-navbar__mobile-acc-panel {
  padding: 4px 0 12px;
  background: rgba(245, 245, 243, 0.55);
  animation: ds-acc-fade .22s ease;
}
@keyframes ds-acc-fade {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ds-navbar__mobile-acc-head {
  display: block;
  padding: 10px 16px 4px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--ds-teal-ink) !important;
  border-bottom: 0 !important;
  text-decoration: none;
}
a.ds-navbar__mobile-acc-head:hover { background: transparent; }
.ds-navbar__mobile-acc-head + .ds-navbar__mobile-sub { margin-top: 0; }
.ds-navbar__mobile-acc-panel .ds-navbar__mobile-sub {
  display: block;
  padding: 9px 16px 9px 28px !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ds-charcoal) !important;
  border-bottom: 0 !important;
  text-decoration: none;
  transition: background .12s ease, color .12s ease, padding .15s ease;
}
.ds-navbar__mobile-acc-panel .ds-navbar__mobile-sub:hover {
  background: rgba(127, 181, 176, 0.08);
  color: var(--ds-teal-dark) !important;
  padding-left: 32px !important;
}
.ds-navbar__mobile-acc-panel .ds-navbar__mobile-sub--muted {
  color: var(--ds-warm-gray) !important;
  font-size: 13px !important;
}

/* ─── Sub-Hero (inner page header) ───────────────────────────────────────── */

.ds-subhero {
  position: relative;
  padding: 112px 24px 56px;
  background:
    radial-gradient(ellipse at 20% -20%, rgba(127, 181, 176, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%,  rgba(127, 181, 176, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #F6FAF9 0%, var(--ds-off-white) 100%);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ds-subhero { padding: 132px 24px 64px; }
}
.ds-subhero--compact { padding: 104px 24px 48px; }
@media (min-width: 768px) {
  .ds-subhero--compact { padding: 120px 24px 56px; }
}
.ds-subhero__inner { max-width: 880px; margin-inline: auto; }
.ds-subhero__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--ds-charcoal);
  margin: 14px 0 14px;
  line-height: 1.15;
  font-weight: 700;
}
.ds-subhero__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-subhero__sub {
  color: var(--ds-warm-gray);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
}
.ds-subhero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Photo variant — full-bleed image hero with dark gradient and white text */
.ds-subhero--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 180px 24px 110px;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
}
.ds-subhero--photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(127, 181, 176, 0.55) 50%, transparent 100%);
  z-index: 1;
}
.ds-subhero--photo .ds-subhero__inner {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  text-align: center;
}
.ds-subhero--photo .ds-label {
  color: var(--ds-teal-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.ds-subhero--photo .ds-subhero__title {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  font-style: italic;
  font-weight: 600;
}
.ds-subhero--photo .ds-subhero__sub {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 620px;
}
.ds-subhero--photo .ds-btn--outlined {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ds-subhero--photo .ds-btn--outlined:hover {
  background: #fff;
  color: var(--ds-charcoal);
  border-color: #fff;
}

@media (max-width: 700px) {
  .ds-subhero--photo {
    padding: 140px 20px 80px;
    min-height: 460px;
  }
}

/* ─── Benefits (4-card grid) ────────────────────────────────────────────── */

.ds-benefits {
  position: relative;
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(127, 181, 176, 0.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F8FBFA 100%);
  padding: 96px 0 104px;
  overflow: hidden;
}
.ds-benefits__head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-benefits__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
}
.ds-benefits__title .ds-italic { color: var(--ds-teal-dark); }
.ds-benefits__sub {
  color: var(--ds-warm-gray);
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.ds-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 640px) { .ds-benefits__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1024px) { .ds-benefits__grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.ds-benefit-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #F6FAF9 100%);
  border: 1px solid rgba(127, 181, 176, 0.16);
  border-radius: 18px;
  padding: 28px 24px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  overflow: hidden;
}
.ds-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(58, 58, 58, 0.12);
  border-color: rgba(127, 181, 176, 0.35);
}

.ds-benefit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-benefit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-benefit-card__icon svg { width: 28px; height: 28px; }
.ds-benefit-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.25;
}
.ds-benefit-card__desc {
  color: var(--ds-warm-gray);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.ds-benefit-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 10px;
  background: rgba(127, 181, 176, 0.1);
  color: var(--ds-teal-dark);
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

/* ─── Before / After Carousel ────────────────────────────────────────────── */

.ds-before-after {
  position: relative;
  background:
    radial-gradient(1200px 420px at 20% -10%, rgba(127, 181, 176, 0.14), transparent 60%),
    radial-gradient(900px 340px at 90% 110%, rgba(127, 181, 176, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ds-off-white) 0%, #F4F7F6 100%);
  padding: 96px 0 104px;
  overflow: hidden;
}
.ds-before-after__head {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ds-before-after__head .ds-label { margin-bottom: 4px; }
.ds-before-after__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-before-after__sub {
  color: var(--ds-warm-gray);
  margin: 0;
  max-width: 560px;
  font-size: 15px;
}

.ds-ba {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  outline: none;
}
.ds-ba:focus-visible { outline: 2px solid var(--ds-teal); outline-offset: 6px; border-radius: 20px; }

.ds-ba__stage {
  position: relative;
  width: 100%;
}

.ds-ba__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0F172A;
  box-shadow:
    0 40px 80px -30px rgba(15, 23, 42, 0.45),
    0 14px 32px -12px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(127, 181, 176, 0.18);
  isolation: isolate;
}

.ds-ba__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 700ms ease, transform 900ms ease;
  pointer-events: none;
  will-change: opacity, transform;
}
.ds-ba__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.ds-ba__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Video (TikTok 9:16) letterboxes inside the 16/9 stage — preserves full frame. */
.ds-ba__slide video,
.ds-ba__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0F172A;
  display: block;
}
.ds-ba__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 45%, rgba(15,23,42,0.55) 100%);
  pointer-events: none;
}
/* Lift caption above browser video controls so names don't get covered. */
.ds-ba__slide:has(video) .ds-ba__cap { bottom: 48px; }

.ds-ba__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.ds-ba__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: 0.01em;
}
.ds-ba__proc {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ds-ba__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 99px;
  border: 1px solid rgba(127, 181, 176, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ds-charcoal);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow:
    0 12px 28px -12px rgba(15, 23, 42, 0.38),
    0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
  pointer-events: auto;
}
.ds-ba__nav:hover {
  background: var(--ds-teal);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 16px 32px -12px rgba(90, 154, 147, 0.5),
    0 4px 10px rgba(15, 23, 42, 0.08);
}
.ds-ba__nav:active { transform: translateY(-50%) scale(0.98); }
.ds-ba__nav:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 3px;
}
.ds-ba__nav svg { width: 22px; height: 22px; pointer-events: none; }
.ds-ba__nav--prev { left: 16px; }
.ds-ba__nav--next { right: 16px; }
@media (max-width: 720px) {
  .ds-ba__nav--prev { left: 12px; }
  .ds-ba__nav--next { right: 12px; }
  .ds-ba__nav { width: 42px; height: 42px; }
  .ds-ba__nav svg { width: 18px; height: 18px; }
  .ds-ba__cap { padding: 22px 20px 18px; }
}

.ds-ba__counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 99px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
}
.ds-ba__counter-sep { opacity: 0.5; }

/* 9px dot, 24px tap target - same trick as .ds-testi-rail__dots. */
.ds-ba__dots {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 20px;
}
.ds-ba__dots button {
  box-sizing: content-box;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 0;
  background: #C9D2D1;
  background-clip: content-box;
  padding: 7.5px;
  cursor: pointer;
  transition: width .28s ease, background .28s ease, transform .2s ease;
}
.ds-ba__dots button:hover { background-color: var(--ds-teal-light); transform: scale(1.15); }
.ds-ba__dots button.is-active {
  background-color: var(--ds-teal);
  width: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .ds-ba__slide { transition: opacity 200ms ease, transform 200ms ease; }
  .ds-ba__nav, .ds-ba__dots button { transition: none; }
}

/* ─── Awards + Video (dark — mid-page grey break per PDF theme 4) ────────── */

.ds-awards {
  position: relative;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(127, 181, 176, 0.12), transparent 60%),
    var(--ds-charcoal);
  color: #fff;
  padding: 104px 0;
  overflow: hidden;
}
.ds-awards .ds-label { color: var(--ds-teal-light); }
.ds-awards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .ds-awards__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.ds-awards__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: #fff;
  margin: 10px 0 14px;
  line-height: 1.2;
  font-weight: 600;
}
.ds-awards__title .ds-italic { color: var(--ds-teal-light); font-style: italic; }
.ds-awards__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 28px;
}

.ds-awards__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 520px) { .ds-awards__badges { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .ds-awards__badges { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .ds-awards__badges { grid-template-columns: repeat(4, 1fr); } }

.ds-award-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ds-award-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 181, 176, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}
.ds-award-badge__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.28) 0%, rgba(127, 181, 176, 0.12) 100%);
  color: var(--ds-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-award-badge__icon svg { width: 20px; height: 20px; }
.ds-award-badge__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.ds-award-badge__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin: 3px 0 0;
  letter-spacing: 0.04em;
}

.ds-awards__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.ds-awards__stars { display: inline-flex; gap: 1px; color: var(--ds-gold); }
.ds-awards__rating strong {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 16px;
  color: #fff;
}
.ds-awards__rating span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Video card */
.ds-awards__video {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  background: linear-gradient(135deg, #1F3A38 0%, #2E4E4B 40%, #3B6360 100%);
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.4),
    0 10px 24px -10px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(127, 181, 176, 0.2);
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Vertical TikTok lecture clip — make the card 9/16 and drop decorative hover lift. */
.ds-awards__video--has-clip {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin-inline: auto;
  background: #0F172A;
  cursor: default;
}
.ds-awards__video--has-clip:hover { transform: none; }
.ds-awards__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0F172A;
  display: block;
  z-index: 1;
}
.ds-awards__video:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 72px -20px rgba(15, 23, 42, 0.5),
    0 14px 30px -10px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(127, 181, 176, 0.35);
}
.ds-awards__video:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 4px;
}
.ds-awards__video-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 260px at 30% 30%, rgba(127, 181, 176, 0.32), transparent 60%),
    radial-gradient(400px 260px at 80% 80%, rgba(232, 139, 122, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.55) 100%);
}

.ds-awards__tv-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ds-awards__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(127, 181, 176, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  box-shadow:
    0 0 0 8px rgba(127, 181, 176, 0.18),
    0 20px 36px -8px rgba(90, 154, 147, 0.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-awards__video:hover .ds-awards__play {
  transform: scale(1.06);
  box-shadow:
    0 0 0 14px rgba(127, 181, 176, 0.18),
    0 24px 44px -8px rgba(90, 154, 147, 0.6);
}
.ds-awards__play svg { width: 28px; height: 28px; margin-left: 4px; }

.ds-awards__video-meta {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.ds-awards__video-title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: #fff;
  line-height: 1.2;
}
.ds-awards__video-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}
.ds-awards__video-sub svg { color: var(--ds-teal-light); flex-shrink: 0; }

/* ─── Quiz Banner ────────────────────────────────────────────────────────── */

.ds-quiz-banner {
  position: relative;
  background: linear-gradient(135deg, #2E3E3C 0%, var(--ds-charcoal) 55%, #2A3836 100%);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.ds-quiz-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(127, 181, 176, 0.22), transparent 55%),
    radial-gradient(600px 300px at 100% 100%, rgba(127, 181, 176, 0.14), transparent 60%);
}
.ds-quiz-banner .ds-wrap { position: relative; z-index: 1; }
.ds-quiz-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .ds-quiz-banner__inner { flex-direction: row; justify-content: space-between; text-align: left; align-items: center; gap: 48px; }
}

.ds-quiz-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 900px) {
  .ds-quiz-banner__copy { align-items: flex-start; max-width: 620px; }
}

.ds-quiz-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(127, 181, 176, 0.18);
  border: 1px solid rgba(127, 181, 176, 0.4);
  color: var(--ds-teal-light);
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ds-quiz-banner__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  color: #fff;
  margin: 0;
  line-height: 1.25;
  font-weight: 600;
}
.ds-quiz-banner__title .ds-italic { color: var(--ds-teal-light); font-weight: 400; font-style: italic; }

.ds-quiz-banner__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}
@media (min-width: 900px) {
  .ds-quiz-banner__trust { justify-content: flex-start; }
}
.ds-quiz-banner__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}
.ds-quiz-banner__trust li svg { color: var(--ds-teal-light); }

.ds-quiz-banner__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ds-quiz-banner__primary { min-width: 220px; text-align: center; }
.ds-quiz-banner__or {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.ds-quiz-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.ds-quiz-banner__phone:hover { color: var(--ds-teal-light); border-color: var(--ds-teal-light); }
.ds-quiz-banner__phone svg { color: var(--ds-teal-light); }

/* ─── How It Works ───────────────────────────────────────────────────────── */

.ds-how {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #F8FBFA 100%);
  padding: 104px 0;
  overflow: hidden;
}
.ds-how__head {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-how__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  letter-spacing: 0.005em;
  line-height: 1.15;
}
.ds-how__sub {
  color: var(--ds-warm-gray);
  font-size: 15px;
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}
.ds-how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 1180px;
  margin-inline: auto;
  counter-reset: howstep;
  position: relative;
}
@media (min-width: 640px) { .ds-how__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ds-how__steps { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.ds-how-step {
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.18);
  border-radius: 18px;
  padding: 28px 22px 24px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.04);
  overflow: hidden;
}
.ds-how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px -18px rgba(58, 58, 58, 0.18);
  border-color: rgba(127, 181, 176, 0.4);
}

/* Rail dots between steps (desktop only) */
.ds-how-step__rail {
  position: absolute;
  top: 42px;
  right: -14px;
  width: 20px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(127, 181, 176, 0.55) 0 4px, transparent 4px 8px);
  z-index: 2;
  display: none;
}
@media (min-width: 1024px) {
  .ds-how-step:not(:last-child) .ds-how-step__rail { display: block; }
}

.ds-how-step__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.22) 0%, rgba(127, 181, 176, 0.08) 100%);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.ds-how-step__icon svg { width: 24px; height: 24px; }

.ds-how-step__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: var(--ds-teal-ink);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ds-how-step__label {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ds-charcoal);
  font-size: 18px;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
  line-height: 1.2;
}
.ds-how-step__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 4px 9px;
  background: rgba(127, 181, 176, 0.1);
  color: var(--ds-teal-ink);
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ds-how-step__desc {
  color: var(--ds-warm-gray);
  font-size: 13px;
  line-height: 1.55;
  margin: 2px 0 0;
}

.ds-how__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px dashed rgba(127, 181, 176, 0.35);
  text-align: center;
}
@media (min-width: 700px) {
  .ds-how__foot { flex-direction: row; justify-content: space-between; text-align: left; }
}
.ds-how__foot-stat {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--ds-warm-gray);
  max-width: 560px;
}
.ds-how__foot-stat strong { color: var(--ds-charcoal); font-weight: 700; }
.ds-how__foot-stat em { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }

/* ─── Meet Dr. Burns — canonical "Meet the Expert" card ──────────────── */

.ds-meet-card {
  position: relative;
  background:
    linear-gradient(180deg, #F6FAF9 0%, #EFF7F5 100%);
  padding: 104px 0 112px;
  overflow: hidden;
}
.ds-meet-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(127, 181, 176, 0.18), transparent 55%),
    radial-gradient(700px 400px at 100% 100%, rgba(127, 181, 176, 0.14), transparent 55%);
}
.ds-meet-card .ds-wrap { position: relative; z-index: 1; }

.ds-meet-card__head {
  text-align: center;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
}
.ds-meet-card__heading {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 600;
}
.ds-meet-card__heading em {
  font-style: italic;
  color: var(--ds-teal-dark);
}
.ds-meet-card__sub {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  color: var(--ds-warm-gray);
  font-size: 16px;
  margin: 0;
}

.ds-meet-card__body {
  max-width: 1040px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.18);
  border-radius: 22px;
  padding: 36px;
  box-shadow:
    0 32px 72px -24px rgba(58, 58, 58, 0.18),
    0 12px 28px -10px rgba(58, 58, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 820px) {
  .ds-meet-card__body {
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 44px;
  }
}

/* Media column with frame + photo + floating badge */
.ds-meet-card__media {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.ds-meet-card__frame {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%);
  z-index: 0;
  opacity: 0.18;
}
.ds-meet-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 24px 48px -16px rgba(58, 58, 58, 0.25),
    0 6px 14px rgba(58, 58, 58, 0.08);
  display: block;
}
.ds-meet-card__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 32px -8px rgba(90, 154, 147, 0.55),
    0 0 0 6px #fff;
  text-align: center;
}
.ds-meet-card__badge-num {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.ds-meet-card__badge-num sup { font-size: 14px; vertical-align: super; margin-left: 1px; }
.ds-meet-card__badge-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-top: 2px;
}

/* Text column */
.ds-meet-card__text { display: flex; flex-direction: column; gap: 16px; }

.ds-meet-card__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin: 0;
}
.ds-meet-card__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ds-charcoal);
  margin: -6px 0 0;
  line-height: 1.1;
  font-weight: 600;
}
.ds-meet-card__name-accent {
  font-style: italic;
  color: var(--ds-teal-dark);
}
.ds-meet-card__bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ds-dark-slate);
  margin: 0;
}
.ds-meet-card__bio strong {
  color: var(--ds-teal-dark);
  font-weight: 600;
}

.ds-meet-card__bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 600px) { .ds-meet-card__bullets { grid-template-columns: 1fr 1fr; gap: 8px 20px; } }
.ds-meet-card__bullets li {
  padding-left: 22px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ds-dark-slate);
}
.ds-meet-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: rgba(127, 181, 176, 0.2);
  box-shadow: inset 0 0 0 3px var(--ds-teal);
}

.ds-meet-card__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(127, 181, 176, 0.35);
}
.ds-meet-card__cred {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(127, 181, 176, 0.1);
  border: 1px solid rgba(127, 181, 176, 0.25);
  color: var(--ds-teal-dark);
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ds-meet-card__cred-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
}
.ds-meet-card__cred-icon svg { width: 14px; height: 14px; }

.ds-meet-card__signature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px dashed rgba(127, 181, 176, 0.35);
  flex-wrap: wrap;
}
.ds-meet-card__signature {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: var(--ds-teal-dark);
  line-height: 1;
}

/* Bottom testimonial quote */
.ds-meet-card__quote {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
  padding: 32px 28px 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(127, 181, 176, 0.18);
  box-shadow: 0 18px 40px -16px rgba(58, 58, 58, 0.12);
  text-align: center;
}
.ds-meet-card__quote-mark {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  padding-top: 14px;
  box-shadow: 0 12px 28px -8px rgba(90, 154, 147, 0.5);
}
.ds-meet-card__quote-body {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--ds-charcoal);
  margin: 8px 0 12px;
}
.ds-meet-card__quote-body em { color: var(--ds-teal-dark); font-weight: 500; }
.ds-meet-card__quote-cite {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ds-warm-gray);
  font-style: normal;
}

@media (max-width: 819px) {
  .ds-meet-card__body { padding: 28px; }
  .ds-meet-card__badge { width: 76px; height: 76px; bottom: -14px; left: -14px; box-shadow: 0 14px 28px -8px rgba(90, 154, 147, 0.5), 0 0 0 5px #fff; }
  .ds-meet-card__badge-num { font-size: 24px; }
}

/* ─── Financing ──────────────────────────────────────────────────────────── */

.ds-financing {
  position: relative;
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(127, 181, 176, 0.1), transparent 60%),
    #fff;
  padding: 96px 0 104px;
  overflow: hidden;
}
.ds-financing__head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-financing__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 600;
}
.ds-financing__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; }
.ds-financing__sub {
  color: var(--ds-warm-gray);
  font-style: normal;
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.ds-financing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 768px) { .ds-financing__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.ds-financing-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #FBFDFC 100%);
  border: 1px solid rgba(127, 181, 176, 0.16);
  border-radius: 18px;
  padding: 28px 26px 26px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.ds-financing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(58, 58, 58, 0.12);
  border-color: rgba(127, 181, 176, 0.35);
}

.ds-financing-card__logo {
  width: auto;
  height: 48px;
  margin: 0 0 4px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ds-financing-card__logo svg { width: auto; height: 38px; }

.ds-financing-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-warm-gray);
  margin: 0;
}
.ds-financing-card__desc {
  font-size: 14px;
  color: var(--ds-dark-slate);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.ds-financing-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--chip-accent, var(--ds-teal)) 12%, transparent);
  color: var(--chip-accent, var(--ds-teal-dark));
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--chip-accent, var(--ds-teal)) 25%, transparent);
}

.ds-financing__trust {
  margin: 64px auto 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px dashed rgba(127, 181, 176, 0.35);
}
@media (min-width: 768px) { .ds-financing__trust { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.ds-financing__trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ds-financing__trust-item svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 6px;
  background: rgba(127, 181, 176, 0.12);
  color: var(--ds-teal-dark);
  border-radius: 10px;
  box-sizing: border-box;
}
.ds-financing__trust-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-financing__trust-item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ds-charcoal);
  line-height: 1.3;
}
.ds-financing__trust-item span {
  font-size: 12.5px;
  color: var(--ds-warm-gray);
  line-height: 1.5;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.ds-faq { background: var(--ds-off-white); padding: 88px 0; }
.ds-faq__head { text-align: center; margin-bottom: 40px; }
.ds-faq__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  color: var(--ds-charcoal);
  margin: 12px 0 0;
}
.ds-faq__list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-faq-item {
  background: #fff;
  border: 1px solid #EEF2F1;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.ds-faq-item[open] { box-shadow: 0 8px 24px rgba(58, 58, 58, 0.08); }
.ds-faq-item__q {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ds-charcoal);
  list-style: none;
}
.ds-faq-item__q::-webkit-details-marker { display: none; }
.ds-faq-item__chev { color: var(--ds-teal); transition: transform .2s ease; display: flex; }
.ds-faq-item__chev svg { width: 20px; height: 20px; }
.ds-faq-item[open] .ds-faq-item__chev { transform: rotate(180deg); }
.ds-faq-item__a {
  padding: 0 24px 24px;
  color: var(--ds-warm-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── Final CTA band ─────────────────────────────────────────────────────── */

.ds-final-cta {
  position: relative;
  background: linear-gradient(135deg, #1E2B2A 0%, var(--ds-charcoal) 50%, #2A3836 100%);
  color: #fff;
  padding: 88px 0 80px;
  overflow: hidden;
}
.ds-final-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 340px at 10% 0%, rgba(127, 181, 176, 0.28), transparent 55%),
    radial-gradient(600px 280px at 100% 100%, rgba(127, 181, 176, 0.18), transparent 60%);
}
.ds-final-cta .ds-wrap { position: relative; z-index: 1; }

.ds-final-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.ds-final-cta__copy { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ds-final-cta__copy .ds-label { color: var(--ds-teal-light); }
.ds-final-cta__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 600;
}
.ds-final-cta__title .ds-italic { color: var(--ds-teal-light); font-style: italic; font-weight: 400; }
.ds-final-cta__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}

.ds-final-cta__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
@media (min-width: 640px) {
  .ds-final-cta__ctas { flex-direction: row; gap: 18px; justify-content: center; }
}

.ds-final-cta__primary {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 28px !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
}
.ds-final-cta__primary svg { transition: transform .2s ease; }
.ds-final-cta__primary:hover svg { transform: translateX(3px); }

.ds-final-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid rgba(127, 181, 176, 0.4);
  background: rgba(127, 181, 176, 0.08);
  border-radius: 99px;
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ds-final-cta__phone:hover {
  background: rgba(127, 181, 176, 0.18);
  border-color: var(--ds-teal);
  transform: translateY(-1px);
  color: #fff;
}
.ds-final-cta__phone-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: var(--ds-teal);
  color: #fff;
}
.ds-final-cta__phone-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.ds-final-cta__phone-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.ds-final-cta__phone-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #fff;
}

.ds-final-cta__trust {
  list-style: none;
  padding: 24px 0 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  width: 100%;
}
.ds-final-cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}
.ds-final-cta__trust li svg { color: var(--ds-teal-light); }
.ds-final-cta__serving {
  margin: 20px 0 0;
  max-width: 640px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.ds-final-cta__serving a {
  color: var(--ds-teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ds-final-cta__serving a:hover { color: #fff; }

/* ─── Locations grid ─────────────────────────────────────────────────────── */

.ds-locations { background: #fff; padding: 88px 0 96px; }
.ds-locations__head { text-align: center; margin-bottom: 56px; }
.ds-locations__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ds-charcoal);
  margin: 12px 0 12px;
  letter-spacing: 0.01em;
}
.ds-locations__sub { color: var(--ds-warm-gray); max-width: 560px; margin: 0 auto; }
.ds-locations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1180px;       /* 4 × 280 + 3 × 20 = 1180 — caps the lowest-res photo */
  margin-inline: auto;
  justify-items: center;
}
@media (min-width: 640px) { .ds-locations__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ds-locations__grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.ds-location-card {
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 280px;        /* Bridgewater (275×183) is the quality floor */
  box-shadow: 0 6px 16px rgba(58, 58, 58, 0.05);
}
.ds-location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -12px rgba(58, 58, 58, 0.18);
  border-color: rgba(127, 181, 176, 0.4);
}
.ds-location-card__media {
  flex-shrink: 0;
}
.ds-location-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ds-location-card__body {
  padding: 24px 22px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  gap: 4px;
}
.ds-location-card__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ds-charcoal);
  margin: 0 0 4px;
  line-height: 1.2;
}
.ds-location-card__addr {
  font-size: 13px;
  color: var(--ds-warm-gray);
  margin: 0 0 18px;
  line-height: 1.5;
  min-height: 2.5em;       /* reserve 2 lines so 1-line addresses don't ride high */
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ds-location-card__body .ds-btn {
  margin-top: auto;        /* pin CTA to bottom regardless of address length */
}

/* ─── Schedule modal (Book Your DreamSmile Visit) ─── DREAMSMILE-MODAL-POLISH-V2 */

.ds-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease;
}
.ds-modal[hidden] { display: none; }
.ds-modal.is-open { opacity: 1; pointer-events: auto; }

.ds-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.ds-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow:
    0 50px 100px -20px rgba(15, 23, 42, 0.5),
    0 18px 36px -10px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(127, 181, 176, 0.18);
  display: grid;
  grid-template-columns: 1fr;
  transform: translateY(16px) scale(0.98);
  transition: transform .32s cubic-bezier(.2,.9,.3,1);
}
.ds-modal.is-open .ds-modal__panel { transform: translateY(0) scale(1); }
@media (min-width: 760px) {
  .ds-modal__panel { grid-template-columns: 320px 1fr; }
}

.ds-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid rgba(58, 58, 58, 0.08);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ds-charcoal);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.18);
  transition: background .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.ds-modal__close:hover {
  background: var(--ds-teal);
  color: #fff;
  border-color: var(--ds-teal);
  transform: scale(1.06);
}
.ds-modal__close svg { width: 14px; height: 14px; }

.ds-modal__aside {
  display: none;
  position: relative;
  background:
    radial-gradient(360px 200px at 0% 0%, rgba(127, 181, 176, 0.45), transparent 65%),
    linear-gradient(160deg, var(--ds-teal-dark) 0%, #2A3836 100%);
  color: #fff;
  padding: 40px 32px 36px;
  overflow: hidden;
}
@media (min-width: 760px) { .ds-modal__aside { display: block; } }
.ds-modal__aside::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(127, 181, 176, 0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.ds-modal__aside-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}
.ds-modal__aside-label {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  margin-bottom: 28px;
}
.ds-modal__aside-quote {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 14px;
  position: relative;
}
.ds-modal__aside-quote::before {
  content: "\201C";
  display: block;
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--ds-teal-light);
  opacity: 0.6;
  margin-bottom: 8px;
}
.ds-modal__aside-sig {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-teal-light);
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ds-modal__form,
.ds-modal__success {
  padding: 38px 36px 32px;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ds-modal__form .ds-label { color: var(--ds-teal-ink); }

.ds-modal__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  line-height: 1.2;
  margin: 6px 0 0;
}
.ds-modal__title-accent {
  font-family: inherit;
  font-style: italic;
  font-weight: 700;
  color: var(--ds-teal-dark);
}
.ds-modal__sub {
  font-size: 14px;
  color: var(--ds-warm-gray);
  margin: 0 0 4px;
  line-height: 1.55;
}

.ds-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
}
.ds-modal__field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-warm-gray);
}
.ds-modal__field > span em {
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ds-warm-gray);
  opacity: 1;
}
.ds-modal__field:has(input[required]) > span::after,
.ds-modal__field:has(select[required]) > span::after,
.ds-modal__field:has(textarea[required]) > span::after {
  content: " *";
  color: var(--ds-teal);
  font-weight: 700;
}
.ds-modal__field input,
.ds-modal__field select,
.ds-modal__field textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--ds-charcoal);
  background: #fff;
  border: 1.5px solid rgba(58, 58, 58, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.ds-modal__field input::placeholder,
.ds-modal__field textarea::placeholder { color: rgba(58, 58, 58, 0.35); }
.ds-modal__field input:hover,
.ds-modal__field select:hover,
.ds-modal__field textarea:hover { border-color: rgba(127, 181, 176, 0.5); }
.ds-modal__field input:focus,
.ds-modal__field select:focus,
.ds-modal__field textarea:focus {
  border-color: var(--ds-teal);
  box-shadow: 0 0 0 4px rgba(127, 181, 176, 0.15);
}
.ds-modal__field textarea { resize: vertical; min-height: 84px; }
.ds-modal__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,2 6,7 11,2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.ds-modal__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 480px) { .ds-modal__row { grid-template-columns: 1fr 1fr; } }

.ds-modal__form .ds-btn--block {
  width: 100%;
  margin-top: 8px;
  padding: 14px 32px;
  text-align: center;
  justify-content: center;
}

.ds-modal__note {
  font-size: 12.5px;
  color: var(--ds-warm-gray);
  text-align: center;
  margin: 6px 0 0;
}
.ds-modal__note a {
  color: var(--ds-teal-ink);
  font-weight: 700;
  border-bottom: 1px dashed currentColor;
}
.ds-modal__note a:hover { color: var(--ds-charcoal); border-bottom-color: var(--ds-charcoal); }

.ds-modal__error {
  font-size: 13px;
  line-height: 1.5;
  color: #C0392B;
  background: rgba(217, 83, 79, 0.08);
  border: 1px solid rgba(217, 83, 79, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0 0;
  text-align: center;
}
.ds-modal__error a { color: #C0392B; font-weight: 700; border-bottom: 1px dashed currentColor; }

.ds-modal__success {
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  gap: 14px;
}
.ds-modal__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -10px rgba(90, 154, 147, 0.55);
  margin-bottom: 8px;
}
.ds-modal__success-icon svg { width: 32px; height: 32px; }
.ds-modal__success h2 {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-modal__success p {
  font-size: 14px;
  color: var(--ds-warm-gray);
  max-width: 380px;
  line-height: 1.6;
  margin: 0;
}
.ds-modal__success-close { margin-top: 8px; }

@media (max-width: 759px) {
  .ds-modal { padding: 12px; }
  .ds-modal__form,
  .ds-modal__success { padding: 56px 22px 28px; gap: 14px; }
  .ds-modal__panel { border-radius: 18px; }
  .ds-modal__title { font-size: 1.45rem; }
}

/* ─── Single Location Page (per-city) ──────────────────────────────────── */

/* Hero */
.ds-loc-hero {
  background:
    radial-gradient(900px 320px at 10% 0%, rgba(127, 181, 176, 0.14), transparent 55%),
    linear-gradient(180deg, #F6FAF9 0%, var(--ds-off-white) 100%);
  padding: 104px 0 48px;
}
@media (min-width: 768px) { .ds-loc-hero { padding: 120px 0 64px; } }
.ds-loc-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .ds-loc-hero__grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}
.ds-loc-hero__copy { display: flex; flex-direction: column; gap: 14px; }
.ds-loc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(245, 166, 35, 0.12);
  color: #B57615;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 99px;
  padding: 6px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ds-loc-hero__badge svg { width: 14px; height: 14px; color: var(--ds-gold-star, #F5A623); }
.ds-loc-hero__badge strong { font-weight: 800; color: var(--ds-charcoal); }
.ds-loc-hero__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  color: var(--ds-charcoal);
  font-weight: 700;
  line-height: 1.18;
  margin: 4px 0 4px;
}
.ds-loc-hero__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-loc-hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--ds-warm-gray);
  line-height: 1.6;
  margin: 0 0 4px;
  max-width: 520px;
}
.ds-loc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 4px 0 12px;
}
.ds-loc-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--ds-charcoal);
}
.ds-loc-hero__meta-item svg { width: 16px; height: 16px; color: var(--ds-teal-dark); flex-shrink: 0; }
.ds-loc-hero__meta-item a { color: var(--ds-teal-dark); text-decoration: none; font-weight: 600; }
.ds-loc-hero__meta-item a:hover { color: var(--ds-teal); text-decoration: underline; }
.ds-loc-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ds-loc-hero__media {
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 28px 56px -24px rgba(58, 58, 58, 0.28);
}
.ds-loc-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Why this location */
.ds-loc-why {
  background: #fff;
  padding: 64px 0;
}
@media (min-width: 768px) { .ds-loc-why { padding: 80px 0; } }
.ds-loc-why__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ds-loc-why__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.2;
}
.ds-loc-why__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-loc-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 640px)  { .ds-loc-why__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .ds-loc-why__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.ds-loc-why-card {
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-loc-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(58, 58, 58, 0.18);
}
.ds-loc-why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-loc-why-card__icon svg { width: 22px; height: 22px; }
.ds-loc-why-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-loc-why-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.5;
  margin: 0;
}

/* Dr. Burns blurb (dark) */
.ds-loc-doctor {
  background: var(--ds-charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 0;
}
@media (min-width: 768px) { .ds-loc-doctor { padding: 88px 0; } }
.ds-loc-doctor__sub {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 32px;
}
.ds-loc-doctor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
}
@media (min-width: 640px) { .ds-loc-doctor__grid { grid-template-columns: 220px 1fr; gap: 40px; } }
.ds-loc-doctor__media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.ds-loc-doctor__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-loc-doctor__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.ds-loc-doctor__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-loc-doctor__bullets li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.ds-loc-doctor__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--ds-teal);
}

/* Results (before/after) */
.ds-loc-results { background: #fff; padding: 72px 0; }
@media (min-width: 768px) { .ds-loc-results { padding: 88px 0; } }
.ds-loc-results__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--ds-charcoal);
  margin: 0 0 32px;
}
.ds-loc-results__media {
  max-width: 720px;
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 48px -20px rgba(58, 58, 58, 0.22);
  position: relative;
}
.ds-loc-results__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-loc-results__caption {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  text-align: center;
  color: var(--ds-warm-gray);
  margin: 12px 0 0;
  font-size: 13px;
}

/* Testimonials (dark) — vertical video centered with soft frame */
.ds-loc-testimonials {
  background: var(--ds-charcoal);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
@media (min-width: 768px) { .ds-loc-testimonials { padding: 88px 0; } }
.ds-loc-testimonials .ds-label { color: var(--ds-teal-light); display: inline-block; margin-bottom: 8px; }
.ds-loc-testimonials__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 auto 8px;
  max-width: 640px;
  line-height: 1.25;
}
.ds-loc-testimonials__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  margin: 0 auto 28px;
  max-width: 520px;
}
.ds-loc-testimonials__media {
  max-width: 340px;
  margin: 0 auto;
  background: #0F172A;
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(127, 181, 176, 0.18);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.ds-loc-testimonials__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0F172A;
  display: block;
}

/* Services Offered Here */
.ds-loc-services { background: var(--ds-off-white); padding: 64px 0; }
@media (min-width: 768px) { .ds-loc-services { padding: 80px 0; } }
.ds-loc-services__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ds-loc-services__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.2;
}
.ds-loc-services__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-loc-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 640px)  { .ds-loc-services__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .ds-loc-services__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.ds-loc-service-card {
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-loc-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(58, 58, 58, 0.18);
}
.ds-loc-service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-loc-service-card__icon svg { width: 22px; height: 22px; }
.ds-loc-service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-loc-service-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.5;
  margin: 0;
}

/* Map + Directions (dark) */
.ds-loc-map {
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(127, 181, 176, 0.2), transparent 60%),
    linear-gradient(160deg, var(--ds-charcoal) 0%, #2A2A2A 100%);
  color: #fff;
  padding: 72px 0;
}
@media (min-width: 768px) { .ds-loc-map { padding: 88px 0; } }
.ds-loc-map__head {
  text-align: center;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ds-loc-map__head .ds-label { color: var(--ds-teal-light); }
/* "Direct line to Dr. Burns" eyebrow above the phone number on the contact page. */
.ds-loc-map__phone-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-teal-light);
  margin: 4px 0 2px;
}
.ds-loc-map__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}
.ds-loc-map__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 720px) { .ds-loc-map__grid { grid-template-columns: 1fr 1.3fr; gap: 32px; } }
.ds-loc-map__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 4px 4px;
}
.ds-loc-map__city {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.ds-loc-map__addr {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 4px;
  line-height: 1.5;
}
.ds-loc-map__hours {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 20px;
}
.ds-loc-map__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ds-loc-map__ctas .ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ds-loc-map__ctas .ds-btn svg { width: 14px; height: 14px; }
/* justify-self:stretch because the grid stretches this cell to the row
   height, and with aspect-ratio set, a grid item then takes its width from
   that height (4/3 x height) instead of from its track. Next to a tall text
   column (/contact/ at ~768px) that came out wider than the track and the
   page scrolled sideways. */
.ds-loc-map__embed {
  aspect-ratio: 4 / 3;
  justify-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #2E3E3C, #1F2D2B);
  border: 1px solid rgba(127, 181, 176, 0.22);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.5);
}
.ds-loc-map__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(0.95);
}
/* /make-a-payment/ — the map slot holds the payment QR code instead. White
   card so the code has the quiet zone phone cameras need to read it. Hidden
   on phones: someone already on a phone taps the button, they can't scan
   their own screen. */
.ds-loc-map__embed--qr {
  aspect-ratio: auto;
  margin: 0;
  padding: 32px 28px 28px;
  background: #fff;
  color: var(--ds-dark-slate, #4A4A4A);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
@media (min-width: 720px) { .ds-loc-map__embed--qr { display: flex; } }
.ds-loc-map__embed--qr img {
  width: 220px;
  height: 220px;
  display: block;
}
.ds-loc-map__embed--qr figcaption {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  max-width: 30ch;
}
.ds-loc-map__embed--qr figcaption strong {
  display: block;
  color: var(--ds-charcoal, #3A3A3A);
  font-weight: 700;
  margin-bottom: 2px;
}

/* Footer CTA */
.ds-loc-cta {
  background: #fff;
  padding: 64px 0 72px;
  border-top: 1px solid rgba(127, 181, 176, 0.16);
}
@media (min-width: 768px) { .ds-loc-cta { padding: 80px 0 88px; } }
.ds-loc-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.ds-loc-cta__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ds-charcoal);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}
.ds-loc-cta__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--ds-warm-gray);
  margin: 0;
  letter-spacing: 0.02em;
}
.ds-loc-cta__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Location pages have a light hero — force navbar to solid scrolled state so
   the white logo/text doesn't become invisible against the light background. */
body:has(.ds-loc-hero) .ds-navbar {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
body:has(.ds-loc-hero) .ds-navbar__logo { color: var(--ds-charcoal); }
body:has(.ds-loc-hero) .ds-navbar__sub { color: var(--ds-warm-gray); }
body:has(.ds-loc-hero) .ds-navbar__logo-j { color: var(--ds-teal); }
/* Same outlined look as the scrolled navbar; the base CTA is a solid teal pill,
   so teal text alone would vanish into it. */
body:has(.ds-loc-hero) .ds-navbar__cta { background: transparent; color: var(--ds-teal-ink); border-color: var(--ds-teal); }
body:has(.ds-loc-hero) .ds-navbar__cta:hover { background: var(--ds-teal); color: var(--ds-charcoal); }
body:has(.ds-loc-hero) .ds-navbar__nav a { color: var(--ds-charcoal); }
body:has(.ds-loc-hero) .ds-navbar__nav a:hover { color: var(--ds-teal); }
body:has(.ds-loc-hero) .ds-navbar__toggle span { background: var(--ds-charcoal); }

/* ==========================================================================
   Dental-Implants Subpages (cost · procedures · faqs)
   ========================================================================== */

/* ─── Cost: "What determines cost?" — 2-col list + visual/inline CTA ──────── */
.ds-cost-factors {
  background:
    radial-gradient(900px 320px at 10% 0%, rgba(127, 181, 176, 0.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F8FBFA 100%);
  padding: 80px 0 88px;
}
@media (min-width: 768px) { .ds-cost-factors { padding: 96px 0 104px; } }

.ds-cost-factors__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-cost-factors__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-cost-factors__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-cost-factors__sub {
  color: var(--ds-warm-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ds-cost-factors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .ds-cost-factors__grid { grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
}

.ds-cost-factors__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ds-cost-factor-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ds-cost-factor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(58, 58, 58, 0.16);
  border-color: rgba(127, 181, 176, 0.4);
}
.ds-cost-factor-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-cost-factor-card__icon svg { width: 22px; height: 22px; }
.ds-cost-factor-card__body { display: flex; flex-direction: column; gap: 4px; }
.ds-cost-factor-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 18px;
  color: var(--ds-charcoal);
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}
.ds-cost-factor-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.55;
  margin: 0;
}

.ds-cost-factors__media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.ds-cost-factors__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(58, 58, 58, 0.22);
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
}
.ds-cost-factors__inline-cta {
  background: linear-gradient(160deg, var(--ds-teal-dark) 0%, #2A3836 100%);
  color: #fff;
  border-radius: 16px;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  box-shadow: 0 20px 40px -18px rgba(90, 154, 147, 0.45);
}
.ds-cost-factors__inline-cta h3 {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.ds-cost-factors__inline-cta p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin: 0 0 6px;
}
.ds-cost-factors__inline-cta .ds-btn {
  background: #fff;
  color: var(--ds-teal-dark);
  border-color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ds-cost-factors__inline-cta .ds-btn:hover {
  background: var(--ds-teal-light);
  border-color: var(--ds-teal-light);
  color: var(--ds-charcoal);
}
/* The arrow SVG carries no width/height, so without a size it grows to
   ~56px and squeezes "Take the Quiz" onto three lines. */
.ds-cost-factors__inline-cta .ds-btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
.ds-cost-factors__inline-cta .ds-btn span { white-space: nowrap; }
.ds-cost-factors__inline-cta .ds-btn:hover svg { transform: translateX(3px); }

/* ─── Cost: Financing (DARK — PDF theme fix: "more greys") ───────────────── */
.ds-cost-financing {
  background:
    radial-gradient(800px 280px at 10% 0%, rgba(127, 181, 176, 0.18), transparent 55%),
    linear-gradient(180deg, var(--ds-charcoal) 0%, #2A2A2A 100%);
  color: #fff;
  padding: 80px 0 88px;
}
@media (min-width: 768px) { .ds-cost-financing { padding: 96px 0 104px; } }

.ds-cost-financing__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-cost-financing__head .ds-label { color: var(--ds-teal-light); }
.ds-cost-financing__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-cost-financing__title .ds-italic { color: var(--ds-teal-light); font-style: italic; font-weight: 600; }
.ds-cost-financing__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ds-cost-financing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 720px) { .ds-cost-financing__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.ds-cost-financing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 16px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ds-cost-financing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 181, 176, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.ds-cost-financing-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.16);
  color: var(--ds-teal-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-cost-financing-card__icon svg { width: 24px; height: 24px; }
.ds-cost-financing-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 19px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-cost-financing-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}

.ds-cost-financing__foot {
  text-align: center;
  margin-top: 36px;
}
.ds-cost-financing__foot .ds-btn--solid {
  background: #fff;
  color: var(--ds-teal-dark);
  border-color: #fff;
}
.ds-cost-financing__foot .ds-btn--solid:hover {
  background: var(--ds-teal-light);
  color: var(--ds-charcoal);
  border-color: var(--ds-teal-light);
}

/* ─── Procedures: Types grid (6 cards with one featured) ─────────────────── */
.ds-proc-types {
  background: var(--ds-off-white);
  padding: 80px 0 88px;
}
@media (min-width: 768px) { .ds-proc-types { padding: 96px 0 104px; } }

.ds-proc-types__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-proc-types__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-proc-types__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-proc-types__sub {
  color: var(--ds-warm-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ds-proc-types__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 640px)  { .ds-proc-types__grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1024px) { .ds-proc-types__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.ds-proc-type-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ds-proc-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -16px rgba(58, 58, 58, 0.16);
  border-color: rgba(127, 181, 176, 0.45);
}

.ds-proc-type-card.is-featured {
  background: linear-gradient(175deg, #fff 0%, #E9F5F2 100%);
  border: 2px solid var(--ds-teal);
  box-shadow: 0 24px 56px -18px rgba(127, 181, 176, 0.5);
  padding: 32px 24px 26px;
}
.ds-proc-type-card.is-featured .ds-proc-type-card__icon {
  background: var(--ds-teal);
  color: #fff;
}
.ds-proc-type-card.is-featured .ds-proc-type-card__title { color: var(--ds-teal-dark); }
.ds-proc-type-card__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--ds-teal);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  box-shadow: 0 8px 18px -6px rgba(90, 154, 147, 0.45);
}

.ds-proc-type-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-proc-type-card__icon svg { width: 24px; height: 24px; }
.ds-proc-type-card__tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin: 2px 0 -2px;
}
.ds-proc-type-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 19px;
  color: var(--ds-charcoal);
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-proc-type-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.55;
  margin: 0;
}

.ds-proc-types__foot {
  margin-top: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ds-proc-types__note {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ds-warm-gray);
  max-width: 520px;
  margin: 0;
  line-height: 1.5;
}
.ds-proc-types__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ─── Procedures: Why Dr. Burns (image + bullets, 2-col) ─────────────────── */
.ds-proc-why {
  background: #fff;
  padding: 80px 0 88px;
}
@media (min-width: 768px) { .ds-proc-why { padding: 96px 0 104px; } }

.ds-proc-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1040px;
  margin-inline: auto;
  align-items: center;
}
@media (min-width: 800px) {
  .ds-proc-why__grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}
.ds-proc-why__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 28px 56px -24px rgba(58, 58, 58, 0.28);
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
}
.ds-proc-why__copy { display: flex; flex-direction: column; gap: 14px; }
.ds-proc-why__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-proc-why__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-proc-why__bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-proc-why__bullets li {
  position: relative;
  padding-left: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  color: var(--ds-warm-gray);
  line-height: 1.55;
}
.ds-proc-why__bullets li strong {
  color: var(--ds-charcoal);
  font-weight: 700;
}
.ds-proc-why__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background: rgba(127, 181, 176, 0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A9A93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── FAQs: Category tabs (chips) above the accordion ────────────────────── */
.ds-faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 32px;
  max-width: 840px;
}
.ds-faq-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ds-warm-gray);
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.28);
  border-radius: 99px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.ds-faq-cat:hover {
  border-color: var(--ds-teal);
  color: var(--ds-teal-dark);
}
.ds-faq-cat.is-active {
  background: var(--ds-teal);
  border-color: var(--ds-teal);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(127, 181, 176, 0.5);
}
.ds-faq-item.is-hidden { display: none; }

/* ─── FAQs: "Still have questions?" dark block ───────────────────────────── */
.ds-faq-help {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(127, 181, 176, 0.2), transparent 60%),
    linear-gradient(160deg, var(--ds-charcoal) 0%, #2A2A2A 100%);
  color: #fff;
  padding: 72px 0;
}
@media (min-width: 768px) { .ds-faq-help { padding: 88px 0; } }
.ds-faq-help__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ds-faq-help__inner .ds-label { color: var(--ds-teal-light); }
.ds-faq-help__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-faq-help__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}
.ds-faq-help__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}

/* ─── Implants Sub-Nav (3-card hub on /dental-implants/) ──────────────────── */
.ds-implants-nav {
  background: #fff;
  padding: 72px 0 88px;
}
@media (min-width: 768px) { .ds-implants-nav { padding: 88px 0 104px; } }
.ds-implants-nav__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-implants-nav__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  color: var(--ds-charcoal);
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-implants-nav__sub {
  color: var(--ds-warm-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.ds-implants-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 768px) { .ds-implants-nav__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.ds-implants-nav-card {
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 16px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ds-implants-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -16px rgba(58, 58, 58, 0.16);
  border-color: rgba(127, 181, 176, 0.45);
}
.ds-implants-nav-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-implants-nav-card__icon svg { width: 26px; height: 26px; display: block; }
.ds-implants-nav-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0;
  line-height: 1.25;
}
.ds-implants-nav-card__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.ds-implants-nav-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-teal-ink);
  margin-top: 4px;
}
.ds-implants-nav-card__cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ds-implants-nav-card:hover .ds-implants-nav-card__cta svg { transform: translateX(3px); }

/* ─── Service Detail: per-category visual differentiation ──────────────── */
/* Wrapper added in service-detail.php; per-category accents scope below. */
.ds-service { display: block; }

/* Context strip — category breadcrumb + tagline at top of every service page */
.ds-service__context {
  background: linear-gradient(180deg, #FAFAF8 0%, #fff 100%);
  border-bottom: 1px solid #ECEAE5;
  padding: 14px 0;
  font-family: 'Montserrat', sans-serif;
}
.ds-service__context .ds-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}
.ds-service__context-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ds-warm-gray);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color .15s ease, gap .18s ease;
}
.ds-service__context-link svg { transition: transform .18s ease; }
.ds-service__context-link:hover {
  color: var(--ds-teal-dark);
  gap: 10px;
}
.ds-service__context-link:hover svg { transform: translateX(-2px); }
.ds-service__context-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ds-service__context-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-charcoal);
  position: relative;
  padding-left: 14px;
}
.ds-service__context-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ds-teal);
  transition: background .2s ease, transform .2s ease;
}
.ds-service__context-tag {
  font-size: 12px;
  font-style: italic;
  color: var(--ds-warm-gray);
  letter-spacing: 0;
}

/* IMPLANTS — precision/premium. Teal-dark accent, sharper edges, metallic line. */
.ds-service--implants .ds-service__context {
  background: linear-gradient(180deg, #F2F7F6 0%, #fff 100%);
  border-bottom-color: rgba(127, 181, 176, 0.35);
}
.ds-service--implants .ds-service__context-label::before { background: var(--ds-teal-dark); border-radius: 0; height: 10px; width: 4px; }
.ds-service--implants .ds-np-welcome__title .ds-italic,
.ds-service--implants .ds-np-steps__title .ds-italic { color: var(--ds-teal-dark); }
.ds-service--implants .ds-np-step__num {
  color: var(--ds-teal-dark);
  font-weight: 700;
}
.ds-service--implants .ds-implants-nav-card { border-top: 2px solid var(--ds-teal-dark); }

/* GENERAL — comprehensive/comfort. Warmer tones, rounded soft cards. */
.ds-service--general .ds-service__context {
  background: linear-gradient(180deg, #FAF7F4 0%, #fff 100%);
  border-bottom-color: rgba(184, 159, 130, 0.25);
}
.ds-service--general .ds-service__context-label::before {
  background: #B89F82;
  border-radius: 50%;
}
.ds-service--general .ds-implants-nav-card {
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #FAF7F4 100%);
}

/* COSMETIC — refined/aesthetic. Gold accent + slight shimmer on labels. */
.ds-service--cosmetic .ds-service__context {
  background: linear-gradient(180deg, #FAF7F0 0%, #fff 100%);
  border-bottom-color: rgba(208, 178, 110, 0.35);
}
.ds-service--cosmetic .ds-service__context-label::before {
  background: linear-gradient(135deg, #D0B26E 0%, #E8D29A 100%);
  border-radius: 50%;
  width: 10px;
  height: 10px;
}
.ds-service--cosmetic .ds-np-welcome__title .ds-italic { color: #B8985A; font-style: italic; }
.ds-service--cosmetic .ds-implants-nav-card {
  border-radius: 14px;
  border-image: linear-gradient(135deg, rgba(208, 178, 110, 0.4), rgba(127, 181, 176, 0.2)) 1;
}

/* RESTORATIVE — earthy/foundational. Sienna brown accent. */
.ds-service--restore .ds-service__context {
  background: linear-gradient(180deg, #F8F5F1 0%, #fff 100%);
  border-bottom-color: rgba(155, 122, 95, 0.25);
}
.ds-service--restore .ds-service__context-label::before {
  background: #9B7A5F;
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
}
.ds-service--restore .ds-implants-nav-card {
  border-bottom: 2px solid rgba(155, 122, 95, 0.35);
}

/* PREVENTATIVE — calm/sage. Mint-sage accent, lighter. */
.ds-service--prevent .ds-service__context {
  background: linear-gradient(180deg, #F2F8F4 0%, #fff 100%);
  border-bottom-color: rgba(140, 175, 145, 0.30);
}
.ds-service--prevent .ds-service__context-label::before {
  background: #8CAF91;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(140, 175, 145, 0.15);
}
.ds-service--prevent .ds-np-step__num { color: #6E9876; }
.ds-service--prevent .ds-implants-nav-card {
  border-radius: 18px;
  background: rgba(242, 248, 244, 0.4);
}

/* RESOURCE — neutral/utilitarian. Warm gray accent. */
.ds-service--resource .ds-service__context-label::before {
  background: var(--ds-warm-gray);
  border-radius: 0;
  width: 12px;
  height: 2px;
  top: calc(50% - 1px);
  transform: none;
}

@media (max-width: 700px) {
  .ds-service__context .ds-wrap { gap: 10px; }
  .ds-service__context-tag { display: none; }
}

/* ─── Shared: Clinical References (subpages) ─────────────────────────── */
.ds-np-refs {
  padding-block: 64px;
  background: linear-gradient(180deg, var(--ds-off-white, #FAFAF8) 0%, #fff 100%);
  border-top: 1px solid #ECEAE5;
}
.ds-np-refs .ds-wrap { max-width: 880px; margin: 0 auto; padding-inline: 24px; }
.ds-np-refs__head { text-align: center; margin: 0 auto 28px; }
.ds-np-refs__head .ds-label {
  display: inline-block;
  font-family: var(--ds-font-body), "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ds-teal-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ds-np-refs__title {
  font-family: var(--ds-font-display), "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 0 0 14px;
}
.ds-np-refs__sub {
  color: var(--ds-warm-gray);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}
.ds-np-refs__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ds-np-refs__item a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid #E5E2DC;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: var(--ds-charcoal);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ds-np-refs__item a:hover {
  border-color: var(--ds-teal);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(127, 181, 176, 0.12);
}
.ds-np-refs__src-title { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.ds-np-refs__src-org {
  font-family: var(--ds-font-body), "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ds-warm-gray);
  text-transform: uppercase;
}
.ds-np-refs__disclaimer {
  margin: 22px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ds-warm-gray);
  text-align: center;
  font-style: italic;
}
@media (max-width: 600px) {
  .ds-np-refs { padding-block: 48px; }
  .ds-np-refs__item a { padding: 12px 14px; }
}

/* ─── Shared: Page-specific final CTA (subpages) ─────────────────────────── */
.ds-subpage-cta {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(127, 181, 176, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(127, 181, 176, 0.10) 0%, transparent 50%),
    var(--ds-charcoal);
  padding: 72px 0 88px;
  border-top: 1px solid rgba(127, 181, 176, 0.18);
  color: #fff;
}
.ds-subpage-cta .ds-label {
  color: #fff;
  background: rgba(127, 181, 176, 0.22);
  border: 1px solid rgba(127, 181, 176, 0.45);
  padding: 6px 12px;
  border-radius: 99px;
  letter-spacing: 0.18em;
}
@media (min-width: 768px) { .ds-subpage-cta { padding: 88px 0 104px; } }
.ds-subpage-cta__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ds-subpage-cta__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.ds-subpage-cta__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}
.ds-subpage-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* === Subpage hierarchy pass (overlay tweaks) === */

.ds-subhero__title {
  font-weight: 700 !important;
  font-size: clamp(2rem, 4.4vw, 3rem) !important;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ds-subhero__title .ds-italic { color: var(--ds-teal-dark); }

.ds-cost-factors__title::after,
.ds-cost-financing__title::after,
.ds-proc-types__title::after,
.ds-proc-why__title::after,
.ds-faq__title::after,
.ds-loc-why__title::after,
.ds-loc-services__title::after,
.ds-loc-map__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--ds-teal);
  border-radius: 999px;
}
.ds-loc-map__head .ds-loc-map__title::after { margin-left: 0; margin-right: auto; }
.ds-proc-why__title::after { margin-left: 0; margin-right: auto; }
.ds-cost-factors__head, .ds-cost-financing__head, .ds-proc-types__head, .ds-faq__head { text-align: center; }

.ds-cost-factor-card:first-child {
  background: linear-gradient(90deg, rgba(127, 181, 176, 0.06), transparent 60%);
}

.ds-subpage-cta .ds-btn--outlined {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}
.ds-subpage-cta .ds-btn--outlined:hover {
  background: #fff;
  color: var(--ds-charcoal);
  border-color: #fff;
}

/* DREAMSMILE-LOCATIONS-PINS-V2 */
.ds-location-card__media { position: relative; }
.ds-location-card__pin { position: absolute; top: 12px; left: 12px; background: var(--ds-teal); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 5px 12px; border-radius: var(--ds-pill-radius, 999px); box-shadow: 0 6px 14px -4px rgba(90, 154, 147, 0.5); z-index: 2; }
.ds-loc-map__travel { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; font-style: italic; margin: 8px 0 0; max-width: 56ch; }
/* /DREAMSMILE-LOCATIONS-PINS-V2 */

/* DREAMSMILE-MODAL-COMPACT-V3 */
.ds-modal { padding: 16px; }
.ds-modal__panel { max-height: min(680px, calc(100vh - 32px)); }
.ds-modal__form,
.ds-modal__success { padding: 26px 30px 22px; gap: 11px; }
.ds-modal__aside { padding: 28px 28px 22px; }
.ds-modal__aside-label { margin-bottom: 16px; }
.ds-modal__aside-quote { font-size: 1.05rem; line-height: 1.4; margin: 0 0 8px; }
.ds-modal__aside-quote::before { font-size: 2.2rem; margin-bottom: 2px; }
.ds-modal__aside-sig { padding-top: 14px; }
.ds-modal__title { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin: 0; }
.ds-modal__sub { font-size: 12.5px; margin: 0; line-height: 1.45; }
.ds-modal__field { gap: 4px; }
.ds-modal__field > span { font-size: 10.5px; }
.ds-modal__field input,
.ds-modal__field select,
.ds-modal__field textarea { padding: 9px 13px; font-size: 13.5px; }
.ds-modal__field textarea { min-height: 56px; }
.ds-modal__row { gap: 11px; }
.ds-modal__form .ds-btn--block { margin-top: 4px; padding: 11px 28px; font-size: 13.5px; }
.ds-modal__note { font-size: 11.5px; margin: 2px 0 0; }
.ds-modal__success { min-height: 0; gap: 10px; }
.ds-modal__success-icon { width: 56px; height: 56px; margin-bottom: 2px; }
.ds-modal__success-icon svg { width: 24px; height: 24px; }
.ds-modal__success h2 { font-size: 22px; }
.ds-modal__success p { font-size: 13px; }
@media (max-width: 759px) {
  .ds-modal { padding: 10px; }
  .ds-modal__form,
  .ds-modal__success { padding: 44px 18px 20px; gap: 10px; }
  .ds-modal__panel { max-height: calc(100vh - 20px); }
}
/* /DREAMSMILE-MODAL-COMPACT-V3 */

/* ─── Eligibility survey modal (GoHighLevel iframe, lead-embeds.js) ─── DREAMSMILE-SURVEY-MODAL-V1 */
/* One column, and taller than the schedule modal: the survey's contact step
   needs the room. The panel scrolls when the survey outgrows the screen. */
.ds-modal--survey .ds-modal__panel {
  max-width: 620px;
  max-height: calc(100vh - 32px);
  grid-template-columns: 1fr;
}
.ds-survey {
  padding: 28px 30px 20px;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-survey .ds-label { color: var(--ds-teal-dark); }
.ds-survey .ds-modal__title { padding-right: 40px; }
.ds-survey__frame {
  position: relative;
  min-height: 420px;
}
.ds-survey__frame::before {
  content: "Loading the quiz\2026";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--ds-warm-gray);
}
.ds-survey__frame.is-loaded::before { content: none; }
.ds-survey__frame iframe {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}
@media (max-width: 759px) {
  .ds-survey { padding: 44px 14px 18px; }
  .ds-modal--survey .ds-modal__panel,
  .ds-survey { max-height: calc(100vh - 20px); }
}
/* /DREAMSMILE-SURVEY-MODAL-V1 */
/* ─── New Patients Page ─── DREAMSMILE-NEW-PATIENTS-V1 ──────────────────── */

.ds-np-nav {
  background: #fff;
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
  padding: 14px 0;
  position: sticky;
  top: 80px;
  z-index: 10;
}
.ds-np-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.ds-np-nav__list a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ds-warm-gray);
  text-decoration: none;
  transition: color .2s ease;
}
.ds-np-nav__list a:hover { color: var(--ds-teal-dark); }
@media (max-width: 700px) {
  .ds-np-nav { position: static; padding: 12px 0; }
  .ds-np-nav__list { gap: 14px; }
  .ds-np-nav__list a { font-size: 10.5px; }
}

.ds-np-welcome {
  background: linear-gradient(180deg, var(--ds-off-white) 0%, #F4F8F7 100%);
  padding-block: 72px;
}
.ds-np-welcome__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ds-np-welcome__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 12px 0 14px;
  line-height: 1.2;
}
.ds-np-welcome__title .ds-italic { color: var(--ds-teal-dark); }
.ds-np-welcome__sub { color: var(--ds-warm-gray); font-size: 1rem; line-height: 1.6; margin: 0; }
.ds-np-welcome__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ds-np-welcome__pillars { grid-template-columns: repeat(3, 1fr); } }
.ds-np-pillar {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 22px -14px rgba(58, 58, 58, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(58, 58, 58, 0.04);
}
.ds-np-pillar strong {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ds-teal-dark);
}
.ds-np-pillar span { font-size: 13px; color: var(--ds-warm-gray); }

.ds-np-steps { padding-block: 80px; background: #fff; }
.ds-np-steps__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ds-np-steps__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 10px 0 12px;
  line-height: 1.25;
}
.ds-np-steps__title .ds-italic { color: var(--ds-teal-dark); }
.ds-np-steps__sub { color: var(--ds-warm-gray); margin: 0; line-height: 1.6; }
.ds-np-steps__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  display: flex;
  flex-direction: column;
}
.ds-np-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
  align-items: flex-start;
}
.ds-np-step:last-child { border-bottom: 0; }
.ds-np-step__num {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ds-teal-dark);
  line-height: 1;
  min-width: 64px;
  text-align: center;
}
.ds-np-step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 4px 0 6px;
}
.ds-np-step p {
  color: var(--ds-warm-gray);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.ds-np-before {
  background: linear-gradient(180deg, #F4F8F7 0%, var(--ds-off-white) 100%);
  padding-block: 80px;
}
.ds-np-before__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 768px) { .ds-np-before__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.ds-np-before__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 12px 0 14px;
  line-height: 1.25;
}
.ds-np-before__copy p { color: var(--ds-warm-gray); line-height: 1.6; margin: 0; }
.ds-np-before__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ds-np-before__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(127, 181, 176, 0.22);
  font-size: 13.5px;
  color: var(--ds-warm-gray);
  line-height: 1.45;
}
.ds-np-before__list strong {
  color: var(--ds-charcoal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.ds-np-comfort { padding-block: 80px; background: #fff; }
.ds-np-comfort__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ds-np-comfort__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 10px 0 14px;
  line-height: 1.25;
}
.ds-np-comfort__title .ds-italic { color: var(--ds-teal-dark); }
.ds-np-comfort__head p { color: var(--ds-warm-gray); line-height: 1.6; margin: 0; }
.ds-np-comfort__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ds-np-comfort__grid { grid-template-columns: repeat(3, 1fr); } }
.ds-np-comfort-card {
  background: linear-gradient(180deg, #fff 0%, #F4F8F7 100%);
  border: 1px solid rgba(58, 58, 58, 0.06);
  border-radius: 14px;
  padding: 26px 24px;
}
.ds-np-comfort-card h3 {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ds-teal-ink);
  margin: 0 0 10px;
}
.ds-np-comfort-card p { color: var(--ds-warm-gray); font-size: 14px; line-height: 1.55; margin: 0; }

.ds-np-payment { padding-block: 80px; background: var(--ds-off-white); }
.ds-np-payment__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ds-np-payment__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 10px 0 14px;
  line-height: 1.25;
}
.ds-np-payment__head p { color: var(--ds-warm-gray); line-height: 1.6; margin: 0; }
.ds-np-payment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ds-np-payment__grid { grid-template-columns: repeat(3, 1fr); } }
.ds-np-payment-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 8px 22px -14px rgba(58, 58, 58, 0.18);
}
.ds-np-payment-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin: 0 0 12px;
}
.ds-np-payment-card p { color: var(--ds-warm-gray); font-size: 14px; line-height: 1.55; margin: 0; }
.ds-np-payment__cta { text-align: center; margin-top: 32px; }

.ds-np-faqs { padding-block: 80px; background: #fff; }
.ds-np-faqs__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.ds-np-faqs__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 10px 0 0;
  line-height: 1.25;
}
.ds-np-faqs__list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ds-np-faq {
  border: 1px solid rgba(58, 58, 58, 0.08);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ds-np-faq[open] {
  border-color: var(--ds-teal);
  box-shadow: 0 8px 22px -14px rgba(90, 154, 147, 0.35);
}
.ds-np-faq summary {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ds-charcoal);
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ds-np-faq summary::-webkit-details-marker { display: none; }
.ds-np-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ds-teal);
  flex-shrink: 0;
  line-height: 1;
}
.ds-np-faq[open] summary::after { content: "−"; }
.ds-np-faq__a {
  padding: 0 22px 18px;
  color: var(--ds-warm-gray);
  font-size: 14px;
  line-height: 1.6;
}
.ds-np-faqs__cta { text-align: center; margin-top: 36px; }

.ds-np-cta {
  padding-block: 80px;
  background: var(--ds-charcoal);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ds-np-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(127, 181, 176, 0.18), transparent 60%);
  pointer-events: none;
}
.ds-np-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; }
.ds-np-cta__inner .ds-label { color: var(--ds-teal-light); }
.ds-np-cta__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 12px 0 14px;
  line-height: 1.2;
}
.ds-np-cta__sub { color: rgba(255, 255, 255, 0.78); font-size: 1rem; line-height: 1.6; margin: 0 0 32px; }
.ds-np-cta__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ds-np-cta .ds-btn--outlined { color: #fff; border-color: #fff; }
.ds-np-cta .ds-btn--outlined:hover { background: #fff; color: var(--ds-charcoal); }

/* /DREAMSMILE-NEW-PATIENTS-V1 */
/* DREAMSMILE-NP-NAV-V2 — make the new-patients sub-nav obviously clickable */
.ds-np-nav {
  background: linear-gradient(180deg, #FAFCFB 0%, #F2F7F6 100%);
  border-top: 1px solid rgba(127, 181, 176, 0.18);
  border-bottom: 1px solid rgba(127, 181, 176, 0.18);
  padding: 16px 0;
  box-shadow: 0 6px 16px -10px rgba(58, 58, 58, 0.14);
}
.ds-np-nav .ds-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.ds-np-nav__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ds-np-nav__label::after {
  content: "\2192";
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ds-teal);
}
.ds-np-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.ds-np-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ds-charcoal);
  text-decoration: none;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.35);
  border-radius: 999px;
  box-shadow: 0 2px 6px -3px rgba(58, 58, 58, 0.08);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.ds-np-nav__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-teal);
  flex-shrink: 0;
  transition: background-color .2s ease, transform .15s ease;
}
.ds-np-nav__list a:hover {
  background: var(--ds-teal-dark);
  color: #fff;
  border-color: var(--ds-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(90, 154, 147, 0.5);
}
.ds-np-nav__list a:hover .ds-np-nav__dot {
  background: #fff;
  transform: scale(1.3);
}
.ds-np-nav__list a:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .ds-np-nav { padding: 14px 0; position: static; }
  .ds-np-nav .ds-wrap { gap: 10px; }
  .ds-np-nav__label { font-size: 10px; letter-spacing: 0.18em; }
  .ds-np-nav__list { gap: 6px; }
  .ds-np-nav__list a { font-size: 11.5px; padding: 7px 12px; gap: 6px; }
}
/* /DREAMSMILE-NP-NAV-V2 */
/* DREAMSMILE-NP-IMAGES-V1 — image content for the New Patients page */

/* Welcome banner image (full-width below the pillars) */
.ds-np-welcome__banner {
  margin: 48px auto 0;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(58, 58, 58, 0.32), 0 8px 18px -8px rgba(58, 58, 58, 0.10);
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.18) 0%, rgba(127, 181, 176, 0.08) 100%);
}
.ds-np-welcome__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .ds-np-welcome__banner { aspect-ratio: 4/3; margin-top: 32px; border-radius: 14px; }
}

/* Your First Visit — split layout (image + steps) */
.ds-np-steps__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 900px) {
  .ds-np-steps__body { grid-template-columns: 0.85fr 1fr; gap: 56px; }
}
.ds-np-steps__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(58, 58, 58, 0.32), 0 8px 18px -8px rgba(58, 58, 58, 0.10);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.18) 0%, rgba(127, 181, 176, 0.08) 100%);
}
@media (min-width: 900px) {
  .ds-np-steps__media { position: sticky; top: 130px; }
}
.ds-np-steps__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ds-np-steps__media--missing img { display: none; }
/* When the steps body is split, drop the inner ol's max-width so it fills its column */
@media (min-width: 900px) {
  .ds-np-steps__body .ds-np-steps__list { max-width: none; margin: 0; }
}

/* Comfort & Sedation card icons */
.ds-np-comfort-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(127, 181, 176, 0.15);
  color: var(--ds-teal-dark);
  margin-bottom: 16px;
}
.ds-np-comfort-card__icon svg { width: 22px; height: 22px; }
/* /DREAMSMILE-NP-IMAGES-V1 */
/* DREAMSMILE-NP-NAV-NOSTICKY */
.ds-np-nav { position: static !important; top: auto !important; }
/* /DREAMSMILE-NP-NAV-NOSTICKY */

/* ─── Warranty + Patient Promise — bg-image + coded UI — DREAMSMILE-WARRANTY-PROMISE-V3 ─── */

.ds-warranty {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .ds-warranty { padding-block: 96px; } }
.ds-warranty__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.ds-warranty__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.7) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.ds-warranty__inner { position: relative; }
.ds-warranty__head { text-align: center; margin-bottom: 56px; max-width: 640px; margin-inline: auto; }
.ds-warranty__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  line-height: 1.15;
  margin: 0 0 12px;
}
.ds-warranty__sub {
  color: var(--ds-charcoal);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.ds-warranty__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .ds-warranty__grid { grid-template-columns: 1fr 1.06fr 1fr; gap: 20px; align-items: center; }
}
.ds-warranty-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(58, 58, 58, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 16px 40px -20px rgba(58, 58, 58, 0.22), 0 4px 10px -4px rgba(58, 58, 58, 0.08);
}
.ds-warranty-card--recommended {
  background: var(--ds-teal-ink);
  color: #fff;
  padding: 44px 28px;
  box-shadow: 0 28px 56px -20px rgba(90, 154, 147, 0.55), 0 8px 18px -8px rgba(58, 58, 58, 0.18);
  z-index: 1;
}
@media (min-width: 900px) {
  .ds-warranty-card--recommended { transform: translateY(-12px); }
}
.ds-warranty-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ds-teal-ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 7px 18px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 12px 24px -8px rgba(58, 58, 58, 0.25);
}
.ds-warranty-card__tier {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 22px;
  color: inherit;
}
.ds-warranty-card__terms {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.ds-warranty-term {
  padding: 16px 0;
  border-bottom: 1px solid rgba(58, 58, 58, 0.10);
}
.ds-warranty-term:last-child { border-bottom: 0; padding-bottom: 0; }
.ds-warranty-term:first-child { padding-top: 0; }
.ds-warranty-card--recommended .ds-warranty-term { border-color: rgba(255, 255, 255, 0.18); }
.ds-warranty-term__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ds-warm-gray);
  margin: 0;
}
.ds-warranty-card--recommended .ds-warranty-term__label { color: rgba(255, 255, 255, 0.92); }
.ds-warranty-term__value {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 4px 0 0;
  color: var(--ds-charcoal);
  line-height: 1.1;
}
.ds-warranty-card--recommended .ds-warranty-term__value { color: #fff; }
.ds-warranty__cta { text-align: center; margin-top: 56px; }

.ds-promise {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
@media (min-width: 768px) { .ds-promise { padding-block: 96px; } }
.ds-promise__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.ds-promise__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(58,58,58,0.85) 0%, rgba(58,58,58,0.7) 60%, rgba(58,58,58,0.5) 100%);
}
.ds-promise__inner { position: relative; max-width: 680px; }
.ds-promise__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 32px;
}
.ds-promise__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ds-promise__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ds-promise__check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ds-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.ds-promise__check svg { width: 14px; height: 14px; color: #fff; }
.ds-promise__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}
.ds-promise__cta { margin-top: 8px; }

/* What to Bring — image + (copy+list) split layout when extra.webp is provided */
.ds-np-before__grid--with-media {
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .ds-np-before__grid--with-media { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
}
.ds-np-before__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(58, 58, 58, 0.32), 0 8px 18px -8px rgba(58, 58, 58, 0.10);
  aspect-ratio: 4 / 5;
}
.ds-np-before__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-np-before__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* /DREAMSMILE-WARRANTY-PROMISE-V3 */
/* ─── DREAMSMILE-NP-DEPTH-V1 — visual depth across the New Patients page ─── */

/* Welcome pillars: gradient + top accent stripe + corner glow + hover lift */
.ds-np-pillar {
  position: relative !important;
  background: linear-gradient(180deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 16px !important;
  padding: 32px 26px 28px !important;
  box-shadow: 0 12px 30px -18px rgba(58, 58, 58, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
  overflow: hidden;
}
.ds-np-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 181, 176, 0.42) !important;
  box-shadow: 0 22px 44px -22px rgba(58, 58, 58, 0.22), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}
.ds-np-pillar > * { position: relative; }
.ds-np-pillar strong { font-size: 1.78rem !important; margin-top: 4px; line-height: 1.1; }
/* Three across on a tablet leaves ~177px of text width, narrower than
   "Recommendation" at 1.78rem, so the word ran out of its card. */
@media (min-width: 768px) and (max-width: 1023px) {
  .ds-np-pillar strong { font-size: 1.4rem !important; }
}
.ds-np-pillar span { font-size: 13.5px !important; line-height: 1.5; }

/* Your First Visit: subtle card per step + colored numbers */
.ds-np-step {
  position: relative;
  padding: 22px 22px 22px 18px !important;
  border-bottom: 0 !important;
  border-radius: 14px;
  border: 1px solid rgba(127, 181, 176, 0.14);
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.05) 0%, rgba(127, 181, 176, 0.01) 60%);
  margin-bottom: 12px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.ds-np-step:hover {
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.10) 0%, rgba(127, 181, 176, 0.02) 60%);
  border-color: rgba(127, 181, 176, 0.32);
}
.ds-np-step__num {
  color: var(--ds-teal-dark);
}

/* What to Bring: 2-col compact checklist + image as visual anchor */
@media (min-width: 700px) {
  .ds-np-before__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
}
.ds-np-before__list li {
  padding: 12px 16px !important;
  background: linear-gradient(135deg, #fff 0%, #FAFCFB 100%) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px -8px rgba(58, 58, 58, 0.10) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ds-np-before__list li:hover {
  transform: translateX(2px);
  border-color: rgba(127, 181, 176, 0.5) !important;
  box-shadow: 0 8px 18px -10px rgba(58, 58, 58, 0.20) !important;
}
.ds-np-before__list strong { font-size: 13px !important; line-height: 1.3; }
.ds-np-before__list span { font-size: 12.5px !important; line-height: 1.45; }
@media (min-width: 900px) {
  /* Image grows to match the (now-shorter) right column */
  .ds-np-before__grid--with-media { align-items: stretch !important; }
  .ds-np-before__media {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 100%;
    align-self: stretch;
  }
  .ds-np-before__media img { height: 100%; }
}

/* Comfort & Sedation: real cards with gradient icon tile + lift */
.ds-np-comfort-card {
  position: relative !important;
  background: #fff !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 16px !important;
  padding: 32px 26px 28px !important;
  box-shadow: 0 14px 36px -22px rgba(58, 58, 58, 0.18), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.ds-np-comfort-card > * { position: relative; }
.ds-np-comfort-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 181, 176, 0.42) !important;
  box-shadow: 0 24px 48px -22px rgba(90, 154, 147, 0.32), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}
.ds-np-comfort-card__icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px -10px rgba(90, 154, 147, 0.55);
  margin-bottom: 20px !important;
}
.ds-np-comfort-card__icon svg { width: 26px !important; height: 26px !important; }

/* Insurance & Financing: pricing-card style with numbered badge */
.ds-np-payment__grid { counter-reset: np-payment; }
.ds-np-payment-card {
  position: relative !important;
  background: linear-gradient(180deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 16px !important;
  padding: 36px 26px 28px !important;
  box-shadow: 0 14px 36px -22px rgba(58, 58, 58, 0.18), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.ds-np-payment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 181, 176, 0.42) !important;
  box-shadow: 0 24px 48px -22px rgba(90, 154, 147, 0.32), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}

/* /DREAMSMILE-NP-DEPTH-V1 */
/* ─── DREAMSMILE-IMPLANT-DEPTH-V1 — depth across the 3 implant subpages ─── */

/* COST: factor cards (5-up list, secondary cards) */
.ds-cost-factor-card {
  position: relative !important;
  background: linear-gradient(135deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  box-shadow: 0 6px 18px -10px rgba(58, 58, 58, 0.12) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.ds-cost-factor-card:hover {
  transform: translateX(3px);
  border-color: rgba(127, 181, 176, 0.5) !important;
  box-shadow: 0 12px 28px -14px rgba(58, 58, 58, 0.20) !important;
}
.ds-cost-factor-card__icon {
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%) !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 14px -6px rgba(90, 154, 147, 0.4);
}

/* COST: inline CTA card (next to implant image) */
.ds-cost-factors__inline-cta {
  position: relative;
  background: linear-gradient(165deg, var(--ds-teal-dark) 0%, #2A3836 100%) !important;
  color: #fff !important;
  padding: 28px 26px !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 48px -22px rgba(90, 154, 147, 0.45), 0 0 0 1px rgba(127, 181, 176, 0.25) !important;
  overflow: hidden;
}
.ds-cost-factors__inline-cta::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(127, 181, 176, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.ds-cost-factors__inline-cta > * { position: relative; }
.ds-cost-factors__inline-cta h3 { color: #fff !important; }
.ds-cost-factors__inline-cta p { color: rgba(255, 255, 255, 0.78) !important; }
.ds-cost-factors__inline-cta .ds-btn--solid {
  background: #fff !important;
  color: var(--ds-teal-dark) !important;
  border-color: #fff !important;
}
.ds-cost-factors__inline-cta .ds-btn--solid:hover {
  background: var(--ds-teal-light) !important;
  color: var(--ds-charcoal) !important;
  border-color: var(--ds-teal-light) !important;
}

/* COST: financing cards (3-up feature row) */
.ds-cost-financing-card {
  position: relative !important;
  background: linear-gradient(180deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 16px !important;
  padding: 32px 26px 28px !important;
  box-shadow: 0 14px 36px -22px rgba(58, 58, 58, 0.18), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
  overflow: hidden;
}
.ds-cost-financing-card > * { position: relative; }
.ds-cost-financing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 181, 176, 0.42) !important;
  box-shadow: 0 24px 48px -22px rgba(90, 154, 147, 0.35), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}
.ds-cost-financing-card__icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px -10px rgba(90, 154, 147, 0.5);
  margin-bottom: 18px;
}
.ds-cost-financing-card__icon svg { width: 26px !important; height: 26px !important; }

/* PROCEDURES: 6 type cards + featured "Most Popular" treatment */
.ds-proc-type-card {
  position: relative !important;
  background: linear-gradient(180deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.22) !important;
  border-radius: 16px !important;
  padding: 32px 26px 28px !important;
  box-shadow: 0 14px 36px -22px rgba(58, 58, 58, 0.18), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
  overflow: hidden;
}
.ds-proc-type-card > * { position: relative; }
.ds-proc-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 181, 176, 0.42) !important;
  box-shadow: 0 24px 48px -22px rgba(90, 154, 147, 0.32), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}
.ds-proc-type-card__icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--ds-teal) 0%, var(--ds-teal-dark) 100%) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px -8px rgba(90, 154, 147, 0.5);
}
.ds-proc-type-card__icon svg { width: 24px !important; height: 24px !important; }
.ds-proc-type-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ds-warm-gray);
  background: rgba(127, 181, 176, 0.12);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}
/* Featured "Most Popular" — dark teal pop card */
.ds-proc-type-card.is-featured {
  background: linear-gradient(165deg, var(--ds-teal-dark) 0%, #2A3836 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 28px 56px -22px rgba(90, 154, 147, 0.55), 0 0 0 1px rgba(127, 181, 176, 0.4) !important;
}
@media (min-width: 900px) {
  .ds-proc-type-card.is-featured { transform: translateY(-8px); }
  .ds-proc-type-card.is-featured:hover { transform: translateY(-12px); }
}
.ds-proc-type-card.is-featured .ds-proc-type-card__icon {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--ds-teal-light) !important;
}
.ds-proc-type-card.is-featured .ds-proc-type-card__tag {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ds-teal-light);
}
.ds-proc-type-card.is-featured h3,
.ds-proc-type-card.is-featured .ds-proc-type-card__title { color: #fff !important; }
.ds-proc-type-card.is-featured p,
.ds-proc-type-card.is-featured .ds-proc-type-card__desc { color: rgba(255, 255, 255, 0.78) !important; }
.ds-proc-type-card__badge {
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #fff !important;
  color: var(--ds-teal-dark) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  padding: 6px 16px !important;
  border-radius: 99px !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 24px -8px rgba(58, 58, 58, 0.25) !important;
}

/* PROCEDURES: "Why Dr. Burns" bullets — custom teal marker */
.ds-proc-why__bullets {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-proc-why__bullets li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: linear-gradient(135deg, rgba(127, 181, 176, 0.06) 0%, transparent 60%);
  border: 1px solid rgba(127, 181, 176, 0.18);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ds-warm-gray);
  line-height: 1.55;
  transition: background-color .2s ease;
}
.ds-proc-why__bullets li:hover { background: linear-gradient(135deg, rgba(127, 181, 176, 0.12) 0%, transparent 60%); }
.ds-proc-why__bullets li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ds-teal);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.ds-proc-why__bullets strong { color: var(--ds-charcoal); font-weight: 700; }

/* FAQ: category chips — clearer active/hover */
.ds-faq-cat {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  color: var(--ds-charcoal) !important;
  background: #fff !important;
  border: 1.5px solid rgba(127, 181, 176, 0.30) !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease !important;
  box-shadow: 0 2px 6px -3px rgba(58, 58, 58, 0.08);
}
.ds-faq-cat:hover {
  background: rgba(127, 181, 176, 0.10) !important;
  border-color: var(--ds-teal) !important;
  transform: translateY(-1px);
}
.ds-faq-cat.is-active {
  background: var(--ds-teal-ink) !important;
  color: #fff !important;
  border-color: var(--ds-teal-ink) !important;
  box-shadow: 0 8px 18px -8px rgba(90, 154, 147, 0.55) !important;
}

/* FAQ: accordion items — card style with hover + active border */
.ds-faq-item {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #FAFCFB 100%) !important;
  border: 1px solid rgba(127, 181, 176, 0.18) !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px -12px rgba(58, 58, 58, 0.10) !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease !important;
}
.ds-faq-item:hover {
  border-color: rgba(127, 181, 176, 0.4) !important;
  box-shadow: 0 12px 28px -16px rgba(58, 58, 58, 0.18) !important;
}
.ds-faq-item[open] {
  border-color: var(--ds-teal) !important;
  box-shadow: 0 16px 36px -18px rgba(90, 154, 147, 0.35) !important;
}
.ds-faq-item__q {
  padding: 18px 22px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--ds-charcoal) !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.ds-faq-item__q::-webkit-details-marker { display: none; }
.ds-faq-item__chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(127, 181, 176, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-teal-dark);
  flex-shrink: 0;
  transition: background-color .2s ease, transform .25s ease;
}
.ds-faq-item__chev svg { width: 14px; height: 14px; }
.ds-faq-item[open] .ds-faq-item__chev {
  background: var(--ds-teal);
  color: #fff;
  transform: rotate(180deg);
}
.ds-faq-item__a {
  padding: 0 22px 20px !important;
  color: var(--ds-warm-gray) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.ds-faq-item__video {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 14px 0 4px;
  border-radius: 10px;
  background: #0F172A;
}

/* FAQ: bottom help section — softer panel with teal touch */
.ds-faq-help {
  background: linear-gradient(180deg, #FAFCFB 0%, #F2F7F6 100%) !important;
  padding-block: 72px;
}
.ds-faq-help__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 18px 44px -22px rgba(58, 58, 58, 0.20), 0 0 0 1px rgba(127, 181, 176, 0.18);
  position: relative;
  overflow: hidden;
}
.ds-faq-help__inner > * { position: relative; }

/* Cost & Procedures: padding tweaks for the inline CTA & list hover affordance */
.ds-cost-factors__inline-cta h3 {
  font-family: 'Amiri', 'Playfair Display', serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

/* /DREAMSMILE-IMPLANT-DEPTH-V1 */
/* DREAMSMILE-IMPLANT-DEPTH-FIXES — text colors + Most Popular badge clipping */

/* COST: financing cards now have white bg (V1 override) — flip the originally
   white-on-dark text colors to dark-on-light so they don't disappear. */
.ds-cost-financing-card__title {
  color: var(--ds-charcoal) !important;
}
.ds-cost-financing-card__desc {
  color: var(--ds-warm-gray) !important;
}
/* Same for the section heading group on the now-darker section bg
   (kept light so it still pops on the section) — only the cards need flipping. */

/* FAQ help section — V1 override changed bg from charcoal to light gradient,
   but the inner text was originally white. Flip to dark on light. */
.ds-faq-help__title,
.ds-faq-help h2 {
  color: var(--ds-charcoal) !important;
}
.ds-faq-help__sub,
.ds-faq-help p {
  color: var(--ds-warm-gray) !important;
}
.ds-faq-help .ds-label {
  color: var(--ds-teal-ink) !important;
}
/* The "Take the Quiz" button was outlined-white (white border + white text) for
   the dark bg — on white bg we need teal-outlined instead. */
.ds-faq-help .ds-btn--outlined-white {
  color: var(--ds-teal-ink) !important;
  border-color: var(--ds-teal) !important;
  background: transparent !important;
}
.ds-faq-help .ds-btn--outlined-white:hover {
  background: var(--ds-teal) !important;
  color: var(--ds-charcoal) !important;
  border-color: var(--ds-teal) !important;
}

/* PROCEDURES: "Most Popular" badge was being clipped by the card's
   overflow: hidden (added so the corner glow stays contained).
   Allow the featured card to overflow so the badge can sit above the top edge. */
.ds-proc-type-card.is-featured {
  overflow: visible !important;
}
/* Re-clip the corner glow specifically on featured so it doesn't bleed —
   the glow is on ::after, mask it inside a 16px-radius rectangle. */
.ds-proc-type-card.is-featured::after {
  border-radius: 16px;
  /* corner glow is already mostly transparent; explicit mask keeps it clean */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 100%);
}
/* Bump the badge up slightly so it reads as a proper "above the card" tag. */
.ds-proc-type-card__badge {
  top: -14px !important;
  z-index: 2;
}

/* /DREAMSMILE-IMPLANT-DEPTH-FIXES */
/* DREAMSMILE-PROC-BADGE-V2 — Most Popular badge moved to top-right corner */
.ds-proc-type-card__badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  transform: none !important;
  background: #fff !important;
  color: var(--ds-teal-ink) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  padding: 5px 12px !important;
  border-radius: 99px !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(127, 181, 176, 0.25) !important;
  z-index: 2;
}
/* The featured card no longer needs to overflow now that the badge sits inside */
.ds-proc-type-card.is-featured { overflow: hidden !important; }
/* /DREAMSMILE-PROC-BADGE-V2 */

/* ==========================================================================
   DREAMSMILE-MOBILE-V1 — phone-only responsive fixes (≤767px)
   Sub-pages: FAQ accordion padding, sticky cost media, Meet Dr. Burns
   badge, schedule-modal form, before/after caption padding.
   ========================================================================== */

@media (max-width: 767px) {
  /* FAQ accordion — tight padding for narrow phones */
  .ds-faq-item__q { padding: 16px 18px; gap: 12px; font-size: 14px; }
  .ds-faq-item__a { padding: 0 18px 18px; }

  /* Cost factors media — sticky top:96px collides with mobile nav, drop to static */
  .ds-cost-factors__media { position: static; top: auto; }

  /* Meet Dr. Burns badge — shrink + reposition so it stays inside frame edge */
  .ds-meet-card__badge {
    bottom: -10px;
    left: -10px;
    width: 72px;
    height: 72px;
    box-shadow: 0 12px 24px -8px rgba(90, 154, 147, 0.5), 0 0 0 4px #fff;
  }
  .ds-meet-card__badge-num { font-size: 22px; }
  .ds-meet-card__badge-num sup { font-size: 11px; }
  .ds-meet-card__badge-label { font-size: 8px; letter-spacing: 0.18em; }

  /* Schedule modal — shrink form/success padding for small viewports */
  .ds-modal__form,
  .ds-modal__success {
    padding: 22px 18px 20px;
    gap: 12px;
  }

  /* Before/After carousel caption — reduce padding, smaller nav buttons */
  .ds-ba__cap { padding: 18px 18px 16px; gap: 4px; }
  .ds-ba__nav { width: 38px; height: 38px; }
  .ds-ba__nav svg { width: 16px; height: 16px; }
  .ds-ba__nav--prev { left: 8px; }
  .ds-ba__nav--next { right: 8px; }
}

/* Phones <480px — extra-tight spacing for the locations grid */
@media (max-width: 480px) {
  .ds-locations__grid { padding-inline: 0; gap: 18px; }
}
/* /DREAMSMILE-MOBILE-V1 */

/* ─────────────────────────────────────────────────────────────
   PHASE A NEW PAGES — minimal additions
   These pages reuse the existing theme components
   (.ds-implants-nav, .ds-loc-map, .ds-subpage-cta, .ds-np-welcome,
   .ds-np-before, .ds-np-steps). Below are just the modifiers and
   one bespoke component the new patterns need.
   ───────────────────────────────────────────────────────────── */

/* Italic-span color in the title contexts the new patterns use
   (each existing section already declared its own scoped .ds-italic
   rule; these add the same treatment for the contexts we now reuse). */
.ds-implants-nav__title .ds-italic,
.ds-loc-map__title .ds-italic,
.ds-np-welcome__title .ds-italic,
.ds-np-steps__title .ds-italic,
.ds-np-before__title .ds-italic,
.ds-cities-bar__title .ds-italic {
  color: var(--ds-teal-ink);
  font-style: italic;
  font-weight: 600;
}
.ds-subpage-cta__title .ds-italic {
  color: var(--ds-teal-light);
  font-style: italic;
  font-weight: 600;
}

/* Implants-nav grid modifiers — let the same card system render
   different shapes (3x3 wide grid for GD, 2x2 quad for Meet Dr. Burns). */
@media (min-width: 768px) {
  .ds-implants-nav--wide .ds-implants-nav__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
  }
  .ds-implants-nav--quad .ds-implants-nav__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
  }
}

/* Tag pill on cosmetic-hub featured card ("MOST REQUESTED").
   Sits in the top-right corner; uses the existing teal token. */
.ds-implants-nav-card { position: relative; }
.ds-implants-nav-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ds-teal);
  color: var(--ds-charcoal);
  padding: 5px 10px;
  border-radius: 99px;
  line-height: 1;
}

/* Cities bar — Contact-page only, preserves the legacy live-site
   "left-rail city links" UX in the DreamSmile design language.
   Sits between the .ds-loc-map block and the planning-tips grid. */
.ds-cities-bar {
  background: var(--ds-off-white);
  padding: 64px 0 56px;
  border-top: 1px solid rgba(127, 181, 176, 0.16);
}
@media (min-width: 768px) { .ds-cities-bar { padding: 88px 0 72px; } }
.ds-cities-bar .ds-wrap { max-width: var(--ds-max-width); margin: 0 auto; padding: 0 24px; }
.ds-cities-bar__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ds-cities-bar__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: var(--ds-charcoal);
  font-weight: 700;
  margin: 4px 0 0;
  line-height: 1.25;
}
.ds-cities-bar__sub {
  font-family: 'Montserrat', sans-serif;
  color: var(--ds-warm-gray);
  font-size: 14px;
  margin: 0;
}
.ds-cities-bar__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 720px;
}
@media (min-width: 600px) { .ds-cities-bar__list { grid-template-columns: repeat(4, 1fr); } }
.ds-cities-bar__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 99px;
  color: var(--ds-charcoal);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: left;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ds-cities-bar__list a:hover {
  background: var(--ds-teal);
  border-color: var(--ds-teal);
  color: #fff;
  transform: translateY(-1px);
}
.ds-cities-bar__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-teal-dark);
  flex-shrink: 0;
  transition: color .18s ease;
}
.ds-cities-bar__pin svg { width: 14px; height: 14px; }
.ds-cities-bar__list a:hover .ds-cities-bar__pin { color: #fff; }

/* Outlined-on-white-bg button — the dark .ds-btn--outlined-white
   doesn't exist on the white .ds-cta sections we reuse; map it back to
   the standard outlined treatment so calls don't render invisible. */
.ds-subpage-cta .ds-btn--outlined,
.ds-cities-bar .ds-btn--outlined { /* no-op marker: existing styles already handle this. */ }
/* /DREAMSMILE-PHASE-A-COMPONENT-REUSE */

/* ─────────────────────────────────────────────────────────────
   NEW PATIENT FORMS section (lives inside /new-patients/)
   2-column: download/print PDFs on the left, request-digital
   form on the right. Small bespoke styling — the section is
   too form-heavy to repurpose an existing component.
   ───────────────────────────────────────────────────────────── */
.ds-np-forms {
  background: var(--ds-off-white);
  padding-block: 80px;
}
.ds-np-forms .ds-wrap { max-width: var(--ds-max-width); margin: 0 auto; padding: 0 24px; }
.ds-np-forms__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ds-np-forms__head .ds-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-teal-ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.ds-np-forms__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: var(--ds-charcoal);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}
.ds-np-forms__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; font-weight: 600; }
.ds-np-forms__sub { color: var(--ds-warm-gray); font-size: 16px; line-height: 1.6; margin: 0; }

.ds-np-forms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ds-np-forms__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.ds-np-forms-card {
  background: #fff;
  border: 1px solid #ECECEA;
  border-radius: var(--ds-card-radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 24px -16px rgba(58, 58, 58, 0.16);
}
.ds-np-forms-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.14);
  color: var(--ds-teal-dark);
}
.ds-np-forms-card__icon svg { width: 24px; height: 24px; }
.ds-np-forms-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-np-forms-card__desc {
  font-size: 14px;
  color: var(--ds-warm-gray);
  line-height: 1.6;
  margin: 0;
}
.ds-np-forms-card__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-np-forms-card__list a,
.ds-np-forms-card__pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ds-teal-ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.ds-np-forms-card__pick {
  width: 100%;
  border: 1px solid transparent;
  background: none;
  text-align: left;
  cursor: pointer;
}
.ds-np-forms-card__list a:hover,
.ds-np-forms-card__pick:hover {
  background: rgba(127, 181, 176, 0.10);
  color: var(--ds-teal);
}
.ds-np-forms-card__pick.is-picked {
  background: rgba(127, 181, 176, 0.16);
  border-color: rgba(127, 181, 176, 0.55);
  color: var(--ds-teal-dark);
}
.ds-np-forms-card__list a svg,
.ds-np-forms-card__pick svg { color: var(--ds-teal-dark); flex: none; }
.ds-np-forms-card__hint {
  font-size: 12.5px;
  color: var(--ds-warm-gray);
  margin: 8px 0 0;
  line-height: 1.5;
}
.ds-np-forms-card__hint em { font-style: italic; }

.ds-np-forms-form { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; }
.ds-np-forms-field { display: flex; flex-direction: column; gap: 4px; }
.ds-np-forms-field span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ds-charcoal);
  font-weight: 600;
}
.ds-np-forms-field em { font-style: italic; font-weight: 400; color: var(--ds-warm-gray); }
.ds-np-forms-field input {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #DCDCDA;
  border-radius: 8px;
  background: #fff;
  color: var(--ds-charcoal);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ds-np-forms-field input:focus {
  outline: none;
  border-color: var(--ds-teal);
  box-shadow: 0 0 0 3px rgba(127, 181, 176, 0.16);
}
.ds-np-forms-form__note {
  font-size: 12px;
  color: var(--ds-warm-gray);
  margin: 6px 0 0;
  line-height: 1.5;
}
/* Flex children override the [hidden] UA rule — force it back for the AJAX swap. */
.ds-np-forms-form [hidden] { display: none !important; }
.ds-np-forms-form__error {
  font-size: 12.5px;
  line-height: 1.5;
  color: #C0392B;
  background: rgba(217, 83, 79, 0.08);
  border: 1px solid rgba(217, 83, 79, 0.28);
  border-radius: 8px;
  padding: 9px 11px;
  margin: 0;
}
.ds-np-forms-form__error a { color: #C0392B; font-weight: 700; border-bottom: 1px dashed currentColor; }
.ds-np-forms-form__success {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-teal-dark);
  background: rgba(127, 181, 176, 0.12);
  border: 1px solid rgba(127, 181, 176, 0.4);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
}
.ds-np-forms-form__success strong { color: var(--ds-charcoal); }

.ds-np-forms__assist {
  text-align: center;
  margin: 32px auto 0;
  max-width: 640px;
  font-size: 14px;
  color: var(--ds-warm-gray);
}
.ds-np-forms__assist a { color: var(--ds-teal-ink); font-weight: 600; }
.ds-np-forms__assist a:hover { color: var(--ds-charcoal); text-decoration: underline; }
/* /DREAMSMILE-NP-FORMS */

/* ==========================================================================
   DREAMSMILE — Patient Education / Blog Index
   Blog-style article cards on /patient-education/. Reuses the .ds-wrap and
   .ds-label tokens, adds editorial card styling distinct from the
   .ds-implants-nav-card service grid (no icon, type-led, read-time in the meta row).
   ========================================================================== */

.ds-pated-intro {
  background: var(--ds-off-white, #FAFAF8);
  padding: 80px 0 56px;
}
.ds-pated-intro__head { max-width: 780px; }
.ds-pated-intro__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--ds-charcoal);
  margin: 12px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ds-pated-intro__title .ds-italic { font-style: italic; font-weight: 500; }
.ds-pated-intro__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ds-dark-slate, #4A4A4A);
  margin: 0 0 28px;
}
.ds-pated-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ds-pated-intro__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #E5E5E3;
  border-radius: 999px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ds-warm-gray);
}
.ds-pated-intro__meta-item svg { color: var(--ds-teal-dark); }

.ds-pated-group {
  padding: 56px 0;
  border-top: 1px solid #ECECEA;
}
.ds-pated-group:first-of-type { border-top: 0; }
.ds-pated-group__head { max-width: 720px; margin-bottom: 32px; }
.ds-pated-group__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--ds-charcoal);
  margin: 8px 0 12px;
  line-height: 1.25;
}
.ds-pated-group__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ds-warm-gray);
  margin: 0;
}
.ds-pated-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ds-pated-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ECECEA;
  border-radius: 12px;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.ds-pated-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(58, 58, 58, 0.08);
  border-color: #DDDDD9;
}
/* "Restorative Care" didn't fit beside the read time in a 260px card and
   broke onto two lines; keep it whole and let the time drop below instead. */
.ds-pated-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}
.ds-pated-card__cat {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-teal-ink);
}
.ds-pated-card__cat--guide { color: var(--ds-charcoal); }
.ds-pated-card__dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ds-warm-gray);
  opacity: 0.45;
}
.ds-pated-card__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ds-warm-gray);
}
.ds-pated-card__time svg { opacity: 0.6; }
.ds-pated-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ds-charcoal);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.ds-pated-card__preview {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ds-dark-slate);
  margin: 0 0 18px;
  /* No flex:1 here. Stretching a line-clamped box past three lines lets
     Chrome paint line four under the "Read article" link. The CTA's
     margin-top:auto already pins it to the bottom of the card. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-pated-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ds-teal-ink);
  margin-top: auto;
}
.ds-pated-card__cta svg { transition: transform .18s ease; }
.ds-pated-card:hover .ds-pated-card__cta svg { transform: translateX(3px); }
.ds-pated-card:hover .ds-pated-card__cta { color: var(--ds-teal); }

.ds-pated-card--guide {
  background: linear-gradient(160deg, #F5F5F3 0%, #FAFAF8 100%);
  border-color: #DCDCD8;
}
.ds-pated-card--guide .ds-pated-card__title { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; }

.ds-pated-ask {
  background: var(--ds-charcoal);
  color: #fff;
  padding: 72px 0 80px;
  margin-top: 24px;
}
.ds-pated-ask__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.ds-pated-ask .ds-label { color: var(--ds-teal-light, #A8D5D0); }
.ds-pated-ask .ds-btn--outlined { color: var(--ds-teal); }
.ds-pated-ask__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  margin: 12px 0 14px;
}
.ds-pated-ask__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
}
.ds-pated-ask__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 720px) {
  .ds-pated-intro { padding: 56px 0 40px; }
  .ds-pated-group { padding: 40px 0; }
  .ds-pated-group__grid { grid-template-columns: 1fr; }
  .ds-pated-card { padding: 20px 20px 18px; }
  .ds-pated-ask { padding: 56px 0 64px; }
}
/* /DREAMSMILE-PATED */

/* ==========================================================================
   DREAMSMILE — Patient Education ARTICLE chrome (editorial layout)
   On the 8 patient-ed article slugs:
   • page-sub-hero returns early — the dark-overlay hero is skipped.
   • service-detail.php renders .ds-article-hero (white editorial block).
   • The standard service-page primitives (.ds-np-welcome pillars and
     .ds-implants-nav "why" cards) are suppressed; .ds-np-steps is
     restyled into long-form prose, no card backgrounds, no big numbers.
   ========================================================================== */

/* Top padding = the 81px fixed navbar + breathing room. At 56px the
   "Patient Education" back link sat under the navbar. */
.ds-article-hero {
  background: #FAFAF8;
  padding: 136px 0 48px;
  border-bottom: 1px solid #ECECEA;
}
.ds-article-hero .ds-wrap { max-width: 760px; }
.ds-article-hero__crumbs { margin-bottom: 24px; }
.ds-article-hero__crumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ds-teal-ink);
  text-decoration: none;
  transition: color .15s ease;
}
.ds-article-hero__crumb:hover { color: var(--ds-teal); }
.ds-article-hero__cat {
  display: inline-block;
  margin-bottom: 18px;
}
.ds-article-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 0 0 18px;
}
.ds-article-hero__lede {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ds-dark-slate, #4A4A4A);
  margin: 0 0 24px;
}
.ds-article-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--ds-warm-gray, #6B6B6B);
}
.ds-article-hero__byline {
  font-weight: 600;
  color: var(--ds-charcoal, #3A3A3A);
}
.ds-article-hero__dot {
  opacity: 0.4;
}
.ds-article-hero__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.ds-article-hero__time svg { opacity: 0.6; }
.ds-article-hero__reviewed {
  font-style: italic;
  font-size: 13px;
}

/* Featured image — sits between the editorial hero and the body. Wider
   than the reading column for that magazine "full-bleed" feel. */
.ds-article-figure {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.ds-article-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Drop cap on the first paragraph of the first article section. */
.ds-service--article .ds-np-steps__list .ds-np-step:first-of-type .ds-np-step__body p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 0.9;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--ds-charcoal, #3A3A3A);
}

/* Article pages skip the dark sub-hero, so the navbar's default white-text
   state vanishes against the editorial white background. Force the
   navbar into its solid-light scrolled treatment from page-load. */
body:has(.ds-article-hero) .ds-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
}
body:has(.ds-article-hero) .ds-navbar__nav a,
body:has(.ds-article-hero) .ds-navbar__dropdown-trigger,
body:has(.ds-article-hero) .ds-navbar__logo-j,
body:has(.ds-article-hero) .ds-navbar__logo-name { color: var(--ds-charcoal, #3A3A3A); }
body:has(.ds-article-hero) .ds-navbar__sub { color: var(--ds-warm-gray, #6B6B6B); }
body:has(.ds-article-hero) .ds-navbar__nav a:hover,
body:has(.ds-article-hero) .ds-navbar__dropdown-trigger:hover { color: var(--ds-teal-dark, #5A9A93); }
body:has(.ds-article-hero) .ds-navbar__toggle span { background: var(--ds-charcoal, #3A3A3A); }

/* Generic pages — anything without a hero of its own: the /contact-us/ town
   pages, /disclaimer/, /blog/, a privacy policy. page-sub-hero renders a
   .ds-page-head here instead of the old dental-implants banner (which gave
   these pages a second, off-topic H1 — SEO tracker R16). The head reuses the
   article header above; --bare is the version for content that already
   starts with its own H1, so it only clears the 80px fixed navbar. */
.ds-article-hero.ds-page-head { padding: 136px 0 40px; }
.ds-article-hero.ds-page-head--bare {
  padding: 80px 0 0;
  background: transparent;
  border-bottom: 0;
}
.ds-page-head .ds-article-hero__title { margin: 0; }

body:has(.ds-page-head) .ds-main > .wp-block-post-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 88px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ds-dark-slate, #4A4A4A);
}
body:has(.ds-page-head) .wp-block-post-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 0 0 28px;
}
body:has(.ds-page-head) .wp-block-post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 48px 0 16px;
}
body:has(.ds-page-head) .wp-block-post-content h3,
body:has(.ds-page-head) .wp-block-post-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 32px 0 12px;
}
body:has(.ds-page-head) .wp-block-post-content p,
body:has(.ds-page-head) .wp-block-post-content ul,
body:has(.ds-page-head) .wp-block-post-content ol { margin: 0 0 20px; }
body:has(.ds-page-head) .wp-block-post-content li { margin-bottom: 8px; }
body:has(.ds-page-head) .wp-block-post-content a:not(.wp-element-button):not(.wp-block-button__link) {
  color: var(--ds-teal-dark, #5A9A93);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body:has(.ds-page-head) .wp-block-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
body:has(.ds-page-head) .wp-block-post-content .wp-block-button__link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ds-teal-dark, #5A9A93);
  color: #fff;
  border-radius: 999px !important;
  padding: 14px 28px;
}

/* Blog: single.html, home.html, archive.html, patterns/blog-query.php.
   Posts reuse the generic-page head and reading column above; the index
   and archives get cards in the .ds-pated-card style. */
.ds-post-head .ds-article-hero__title { margin-bottom: 14px; }
.ds-post-head .ds-article-hero__meta { display: block; }
.ds-blog-head .ds-article-hero__lede { margin: 16px 0 0; font-size: 20px; }
.ds-blog-head .ds-article-hero__lede:empty { display: none; }
.ds-blog-head .ds-label { margin: 0 0 14px; }
.ds-main > .ds-article-figure { margin-top: 0; margin-bottom: 0; }

.ds-blog-query {
  max-width: var(--ds-max-width, 1200px);
  margin: 0 auto;
  padding: 48px 24px 88px;
}
.ds-blog-query .ds-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ds-blog-grid > li { margin: 0; }
.ds-blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ECECEA;
  border-radius: 12px;
  padding: 24px 24px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ds-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(58, 58, 58, 0.08);
  border-color: #DDDDD9;
}
.ds-blog-card > * { margin: 0; }
.ds-blog-card .ds-blog-card__media { margin: -8px -8px 18px; }
.ds-blog-card__media img { border-radius: 8px; display: block; width: 100%; }
.ds-blog-card__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin-bottom: 10px;
}
.ds-blog-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin-bottom: 10px;
}
.ds-blog-card__title a { color: var(--ds-charcoal); text-decoration: none; }
.ds-blog-card__title a:hover { color: var(--ds-teal-dark); }
.ds-blog-card__excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ds-dark-slate);
  margin-bottom: 18px;
}
.ds-blog-card__excerpt p { margin: 0; }
/* The theme's own "Read article" link below replaces core's "…" more link. */
.ds-blog-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.ds-blog-card .ds-blog-card__more {
  margin-top: auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ds-teal-dark);
  text-decoration: none;
}
.ds-blog-card__more::after { content: " \2192"; }
.ds-blog-card__more:hover { color: var(--ds-teal); }

.ds-blog-pagination {
  margin-top: 40px;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.ds-blog-pagination a,
.ds-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ds-teal-dark);
  text-decoration: none;
}
.ds-blog-pagination .page-numbers.current { background: var(--ds-teal-dark); color: #fff; }
.ds-blog-pagination a:hover { background: #F0F5F4; }
.ds-blog-empty { text-align: center; color: var(--ds-warm-gray); }

@media (max-width: 720px) {
  .ds-blog-query { padding: 32px 20px 64px; }
  .ds-blog-query .ds-blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .ds-blog-card { padding: 20px 20px 18px; }
  .ds-blog-head .ds-article-hero__lede { font-size: 18px; }
}

/* Editorial body — narrower reading column, no numbered cards, no pillar
   chips. Steps become flowing subsections; references are right-aligned
   below the prose. */
.ds-service--article .ds-np-steps {
  padding: 48px 0 64px;
  background: #fff;
}
.ds-service--article .ds-np-steps__head {
  max-width: 720px;
  margin: 0 auto 28px;
}
.ds-service--article .ds-np-steps__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 500;
}
.ds-service--article .ds-np-steps__sub {
  font-size: 16px;
  line-height: 1.7;
}
.ds-service--article .ds-np-steps__list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
  counter-reset: none;
}
.ds-service--article .ds-np-step {
  display: block;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 36px;
}
.ds-service--article .ds-np-step::before { display: none !important; }
.ds-service--article .ds-np-step__num {
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--ds-teal-ink);
}
.ds-service--article .ds-np-step__body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ds-charcoal, #3A3A3A);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.ds-service--article .ds-np-step__body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ds-dark-slate, #4A4A4A);
  margin: 0;
}

.ds-service--article .ds-np-refs {
  padding: 16px 0 56px;
  background: #fff;
}
.ds-service--article .ds-np-refs__head,
.ds-service--article .ds-np-refs__list,
.ds-service--article .ds-np-refs__disclaimer {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.ds-service--article .ds-np-refs__head .ds-label { color: var(--ds-warm-gray, #6B6B6B); }
.ds-service--article .ds-np-refs__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .ds-article-hero { padding: 116px 0 36px; }
  .ds-article-hero__lede { font-size: 18px; }
  .ds-service--article .ds-np-steps { padding: 32px 0 48px; }
  .ds-service--article .ds-np-step__body p { font-size: 16px; }
}

.ds-article-related {
  background: #FAFAF8;
  padding: 64px 0 72px;
  border-top: 1px solid #ECECEA;
}
.ds-article-related__head { margin-bottom: 28px; max-width: 720px; }
.ds-article-related__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--ds-charcoal);
  margin: 8px 0 0;
}
/* auto-fit, not auto-fill: there are only ever three related cards, and
   auto-fill left an empty fourth column at desktop widths. */
.ds-article-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.ds-article-related__index {
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 720px) {
  .ds-article-header .ds-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ds-article-related { padding: 48px 0 56px; }
  .ds-article-related__grid { grid-template-columns: 1fr; }
}
/* /DREAMSMILE-ARTICLE */

/* (homepage patient-ed tease removed per client review) */

/* ════════════════════════════════════════════════════════════════════════
   BURNS-NOTES PASS — service-detail prose / comparison / results sections
   (single implants "traditional vs implant", fillings "what is a filling",
   before-after + social-proof scaffold). Backgrounds alternate white /
   light-gray to keep rhythm; the dark final CTA closes the run.
   ════════════════════════════════════════════════════════════════════════ */

/* Prose */
.ds-np-prose { background: #fff; padding-block: 52px; }
@media (min-width: 768px) { .ds-np-prose { padding-block: 64px; } }
/* For a prose band that lands between two white sections. */
.ds-np-prose--grey { background: var(--ds-light-gray); }
.ds-np-prose__wrap { max-width: 760px; }
.ds-np-prose__head { margin-bottom: 14px; }
.ds-np-prose__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: var(--ds-charcoal);
  margin: 8px 0 0;
}
.ds-np-prose__h {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 26px 0 8px;
}
.ds-np-prose__p {
  color: var(--ds-dark-slate);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.ds-np-prose__list {
  color: var(--ds-dark-slate);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
  padding-left: 1.25em;
}
.ds-np-prose__list li { margin-bottom: 6px; }
.ds-np-prose__list li::marker { color: var(--ds-teal-dark); }
.ds-np-prose__p a,
.ds-np-prose__list a {
  color: var(--ds-charcoal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ds-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ds-np-prose__p a:hover,
.ds-np-prose__list a:hover { color: var(--ds-teal-dark); }

/* Explanatory diagram (inline SVG schematic — used in place of clinical photos) */
.ds-np-figure { background: #fff; padding-block: 52px; }
@media (min-width: 768px) { .ds-np-figure { padding-block: 64px; } }
.ds-np-figure__wrap { max-width: 820px; text-align: center; }
.ds-np-figure__head { margin-bottom: 28px; }
.ds-np-figure__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: var(--ds-charcoal);
  margin: 8px 0 0;
}
.ds-np-figure__title .ds-italic { color: var(--ds-teal-dark); font-style: italic; }
.ds-np-figure__fig { margin: 0; }
.ds-np-figure__media {
  background: linear-gradient(160deg, #FAFAF8, #F1F6F5);
  border: 1px solid #E7E2D8;
  border-radius: 18px;
  padding: 26px 22px;
  max-width: 560px;
  margin: 0 auto;
}
.ds-diagram { display: block; width: 100%; height: auto; }
.ds-np-figure__cap {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--ds-warm-gray);
  font-size: 15px;
  line-height: 1.66;
}
.ds-np-figure__cap strong { color: var(--ds-teal-ink); font-weight: 700; }

/* Comparison (text, 3 columns) */
.ds-np-compare { background: var(--ds-light-gray); padding-block: 52px; }
@media (min-width: 768px) { .ds-np-compare { padding-block: 64px; } }
.ds-np-compare__head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.ds-np-compare__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: var(--ds-charcoal);
  margin: 8px 0 8px;
}
.ds-np-compare__sub { color: var(--ds-warm-gray); font-size: 15px; line-height: 1.6; margin: 0; }
.ds-np-compare__grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 860px) {
  .ds-np-compare__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  /* Subgrid keeps title/tagline/points rows aligned across the three cards; row-gap 0 because child margins already space the rows. Non-subgrid browsers keep the stacked flow. */
  .ds-np-compare__card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
}
.ds-np-compare__card {
  position: relative;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 28px 22px 24px;
}
.ds-np-compare__card.is-best {
  border: 2px solid var(--ds-teal);
  box-shadow: 0 24px 50px -24px rgba(90, 154, 147, 0.45);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF9 100%);
}
.ds-np-compare__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ds-teal);
  color: var(--ds-charcoal);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--ds-pill-radius);
  white-space: nowrap;
}
.ds-np-compare__card-title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ds-charcoal);
  margin: 4px 0 2px;
}
.ds-np-compare__card.is-best .ds-np-compare__card-title { color: var(--ds-teal-dark); }
.ds-np-compare__tagline { color: var(--ds-warm-gray); font-size: 13px; margin: 0 0 16px; }
.ds-np-compare__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ds-np-compare__point { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ds-dark-slate); line-height: 1.45; }
.ds-np-compare__mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ds-np-compare__mark svg { width: 12px; height: 12px; color: #fff; }
.ds-np-compare__point--pro .ds-np-compare__mark { background: var(--ds-teal); }
.ds-np-compare__point--con .ds-np-compare__mark { background: var(--ds-red); }

/* Results: before/after placeholders + social-proof quote */
.ds-np-results { background: #fff; padding-block: 52px; }
@media (min-width: 768px) { .ds-np-results { padding-block: 64px; } }
.ds-np-results__head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.ds-np-results__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: var(--ds-charcoal);
  margin: 8px 0 8px;
}
.ds-np-results__sub { color: var(--ds-warm-gray); font-size: 15px; margin: 0; }
/* Both callers currently pass a single figure (single-dental-implants' one
   placeholder pair, fillings' one combined image), and a hard `repeat(2, 1fr)`
   parked it in the left column while the heading, sub and quote around it were
   all centred. auto-fit collapses the empty track so one figure centres and two
   still sit side by side; the 560px cap keeps a lone figure from stretching the
   full 1200px wrap. */
.ds-np-results__grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 760px) {
  .ds-np-results__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 560px));
    justify-content: center;
  }
}
.ds-np-ba { margin: 0; }
.ds-np-results__quote { max-width: 720px; margin: 32px auto 0; text-align: center; position: relative; }
.ds-np-results__quote-mark { font-family: 'Amiri', serif; font-size: 3rem; color: var(--ds-teal); line-height: 0.1; display: inline-block; }
.ds-np-results__quote-text {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ds-charcoal);
  margin: 12px 0 8px;
  line-height: 1.5;
}
.ds-np-results__quote-cite { color: var(--ds-warm-gray); font-size: 14px; font-style: normal; }
.ds-np-results__more { text-align: center; margin: 24px 0 0; }

/* ════════════════════════════════════════════════════════════════════════
   NAV IA v2 (client doc, 2026-08-13)
   The single "Services" mega menu splits into three top-level dropdowns
   (Dental Implants / General Dentistry / Cosmetic Dentistry), so the bar now
   carries six items instead of four. Home is deliberately absent — the logo
   is the home link, per the doc.

   Sizing was measured against real Montserrat metrics, not eyeballed. The six
   labels alone run ~795px at 12.5px/500. Against the 1200px content container
   (1152px usable) that leaves no room for the logo, the phone number and the
   Schedule pill together, so the header chrome — and only the header — runs to
   1320px. Remaining budget is spent in this order, because the client doc
   opens with "we can just have the phone number at the top, it should be
   direct response oriented":
     ≥1340px  logo + nav + phone + Schedule   (89px slack)
     ≥1200px  logo + nav + Schedule           (126px slack, phone drops)
     <1200px  hamburger drawer
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Single-column service panel ────────────────────────────────────────── */
/* Reuses the mega primitives; --single just collapses the grid to one column
   and anchors the panel to its own trigger instead of the bar centre. */
.ds-navbar__dropdown--mega .ds-navbar__dropdown-menu.ds-navbar__mega--single {
  min-width: 278px;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 18px 16px 14px;
  /* Left-anchored: a 278px panel centred on its trigger clips off-canvas at
     the leftmost item, and the inherited right-anchoring clips it too. */
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-6px);
}
.ds-navbar__dropdown--mega:hover > .ds-navbar__dropdown-menu.ds-navbar__mega--single,
.ds-navbar__dropdown--mega:focus-within > .ds-navbar__dropdown-menu.ds-navbar__mega--single,
.ds-navbar__dropdown--mega.is-open > .ds-navbar__dropdown-menu.ds-navbar__mega--single,
.ds-navbar__dropdown--mega[data-open="true"] > .ds-navbar__dropdown-menu.ds-navbar__mega--single {
  transform: translateX(0) translateY(0);
}

/* ─── Header chrome runs wider than the 1200px content column ────────────── */
.ds-navbar__inner { max-width: 1320px; }

/* ─── Six top-level items need a wider bar than four did ─────────────────── */
@media (max-width: 1199px) {
  .ds-navbar__nav { display: none; }
  .ds-navbar__toggle { display: flex; }
}
@media (min-width: 1200px) {
  .ds-navbar__nav { display: inline-flex; gap: 15px; }
  .ds-navbar__toggle { display: none; }
  .ds-navbar__nav a,
  .ds-navbar__dropdown-trigger { font-size: 12.5px; }
  .ds-navbar__logo-img { height: 40px !important; }
  .ds-navbar__actions { gap: 14px; }
  .ds-navbar__cta { display: inline-block; padding-inline: 22px; }
}
@media (min-width: 1340px) {
  .ds-navbar__nav { gap: 16px; }
  .ds-navbar__logo-img { height: 42px !important; }
}

/* The phone is the doc's headline direct-response element, so it is the last
   thing dropped — but below 1340px the six items leave it no room. */
@media (max-width: 1339px) {
  .ds-navbar__phone { display: none; }
}
@media (min-width: 1340px) {
  .ds-navbar__phone { display: inline-flex; }
}

/* ════════════════════════════════════════════════════════════════════════
   QUIZ PEEK — no entrance animation (bugfix, 2026-08-14)
   The quiz row "peeks" above the fold (the hero leaves room for it: see THE
   QUIZ PEEK in sections.css) — client ask 1.1: visitors should think "wait,
   what's this down here?" and get pulled down.

   All three columns were carrying .ds-reveal, which sets opacity:0 up front and
   waits for the IntersectionObserver in animations.js to add .is-visible. On a
   first visit, before any scroll, that painted the peeking card at opacity 0 —
   there was nothing to peek at, only the section's grey background. Worse, it
   could not always self-correct: the observer needs 12% of a 480px card
   intersecting and its rootMargin trims another 40px off the bottom of the
   root, so when the hero fills the viewport the few dozen pixels that peek
   never reach the threshold and the card stays hidden until the user scrolls
   it into view. The reveal was hiding the exact thing meant to cause the scroll.

   Fix is the absence of a mechanism, not a new one: the three peek-row elements
   (.ds-quiz-card, .ds-quiz-ipad, .ds-guide-card) carry no reveal class and no
   entrance animation, so they paint with the first frame. Above-the-fold
   content should not be scroll-revealed. Nothing here depends on JS — which is
   the point. Don't re-add .ds-reveal to this row.
   ════════════════════════════════════════════════════════════════════════ */

/* ─── "INTRODUCING THE" banner logo — scaled up (client, 2026-08-14) ─────── */
/* Was a hard inline max-height:72px. Now fluid and ~1.4x larger at desktop so
   the wordmark carries the section the way the kicker above it implies. */
.ds-intro-section__logo {
  /* A set height (not max-height) keeps its box while the lazy image loads. */
  height: clamp(88px, 8.5vw, 104px);
  width: auto;
  display: inline-block;
  margin-inline: auto;
}

.ds-guide-card__note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--ds-dark-slate); font-family: 'Montserrat', sans-serif; }

/* ─── Town pages (/contact-us/…, town-page.php) ───────────────────────────
   The old site's town-page copy in the location-page components above. */

/* Sections sit flush on every page. WordPress's flow layout puts 1.2rem
   above each top-level block, which showed as a pale 19px stripe between
   bands - most visibly between two dark ones (Patient Promise ->
   Frustrations, any dark CTA -> Meet Dr. Burns). Editor content inside
   post-content keeps its spacing; only whole sections are reset. */
.wp-block-group.ds-main > *,
.wp-block-group.ds-main > .wp-block-post-content > section,
.wp-block-group.ds-main > .wp-block-post-content > .wp-block-group { margin-block-start: 0; }
/* Same 1.2rem gap one level up, between <main> and the footer. The header and
   footer parts are plain divs: the <header> and <footer> inside them are the
   page's only banner and contentinfo landmarks. */
.wp-site-blocks > .wp-block-template-part { margin-block-start: 0; }

/* Headings balance their lines. Twenty Twenty-Five sets text-wrap:pretty,
   which only protects the last line, so two-line headings split mid-phrase
   ("you on a great / day", "we'll help / you pick.", "AACD- / Award"). */
.ds-main :is(h1, h2, h3) { text-wrap: balance; }

/* Hero: a wider copy column so the long "Schedule Your DreamSmile™
   Assessment" button and "Call Now" share one row. */
@media (min-width: 1024px) {
  .ds-loc-hero--town .ds-loc-hero__grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 639px) {
  .ds-loc-hero--town .ds-loc-hero__ctas .ds-btn { flex: 1 1 100%; }
}
.ds-loc-hero--town .ds-loc-hero__title { text-wrap: balance; }

/* Inline eligibility survey on charcoal, at the old #see-if-you-qualify
   anchor. The survey draws its own white card, which the dark band frames. */
.ds-loc-survey {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(127, 181, 176, 0.16), transparent 60%),
    var(--ds-charcoal);
  padding: 56px 0 48px;
  scroll-margin-top: 72px;
}
@media (min-width: 768px) { .ds-loc-survey { padding: 72px 0 56px; } }
.ds-loc-survey .ds-loc-why__head { max-width: 760px; margin-bottom: 16px; }
.ds-loc-survey .ds-label { color: var(--ds-teal-light); }
.ds-loc-survey .ds-loc-why__title { color: #fff; }
.ds-loc-survey .ds-loc-why__title .ds-italic { color: var(--ds-teal-light); }
.ds-loc-survey__card { max-width: 640px; margin: 0 auto; }
.ds-loc-survey .ds-survey__frame::before { color: rgba(255, 255, 255, 0.7); }
/* The 420px floor only covers loading. Once the survey's script sizes the
   iframe, follow it, so a short step doesn't leave a gap above the note. */
.ds-loc-survey .ds-survey__frame:has(iframe[style*="height"]),
.ds-loc-survey .ds-survey__frame iframe[style*="height"] { min-height: 0; }
.ds-loc-survey__note {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 16px 0 0;
}
.ds-loc-survey__note a { color: #fff; font-weight: 700; text-decoration: none; }
.ds-loc-survey__note a:hover { color: var(--ds-teal-light); }

/* Links inside the old copy ("Dr. Jeffrey Burns" → home). Charcoal with a
   teal underline: teal text on white is under 4.5:1. */
.ds-loc-hero__sub a,
.ds-loc-intro__body a,
.ds-loc-point__text a,
.ds-loc-cta__body a,
.ds-loc-list a {
  color: var(--ds-charcoal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ds-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ds-loc-hero__sub a:hover,
.ds-loc-intro__body a:hover,
.ds-loc-point__text a:hover,
.ds-loc-cta__body a:hover { color: var(--ds-teal-dark); }

/* Old section 1: its heading beside its two paragraphs. */
.ds-loc-intro { background: #fff; padding: 56px 0; }
@media (min-width: 768px) { .ds-loc-intro { padding: 72px 0; } }
.ds-loc-intro__grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .ds-loc-intro__grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; max-width: 1080px; }
}
.ds-loc-intro__head { display: flex; flex-direction: column; gap: 8px; }
.ds-loc-intro__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ds-charcoal);
  margin: 0;
  text-wrap: balance;
}
.ds-loc-intro__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 16px;
  background: var(--ds-teal);
  border-radius: 999px;
}
.ds-loc-intro__body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ds-dark-slate);
  margin: 0 0 14px;
  max-width: 64ch;
}
.ds-loc-intro__body p:last-child { margin-bottom: 0; }
/* Middle sections of town text pasted in wp-admin, when there aren't three. */
.ds-loc-intro--grey { background: var(--ds-light-gray); }

/* Lists and H3s in town text pasted in wp-admin (ds_town_editor_copy()). */
.ds-loc-list {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-dark-slate);
  margin: 0 0 14px;
  padding-left: 1.25em;
  max-width: 64ch;
}
.ds-loc-list li { margin-bottom: 6px; }
.ds-loc-list li::marker { color: var(--ds-teal-dark); }
.ds-loc-list:last-child { margin-bottom: 0; }
.ds-loc-subhead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ds-charcoal);
  margin: 20px 0 6px;
}

/* Old sections 2–4: three columns on grey, split by hairlines, not boxed. */
.ds-loc-points { background: var(--ds-light-gray); padding: 56px 0; }
@media (min-width: 768px) { .ds-loc-points { padding: 72px 0; } }
.ds-loc-points__grid { display: grid; gap: 0; max-width: 1080px; }
@media (min-width: 1024px) { .ds-loc-points__grid { grid-template-columns: repeat(3, 1fr); } }
.ds-loc-point { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; }
.ds-loc-point:first-child { padding-top: 0; }
.ds-loc-point:last-child { padding-bottom: 0; }
.ds-loc-point + .ds-loc-point { border-top: 1px solid rgba(58, 58, 58, 0.12); }
@media (min-width: 1024px) {
  .ds-loc-point { padding: 0 32px; }
  .ds-loc-point:first-child { padding-left: 0; }
  .ds-loc-point:last-child { padding-right: 0; }
  .ds-loc-point + .ds-loc-point { border-top: 0; border-left: 1px solid rgba(58, 58, 58, 0.12); }
}
.ds-loc-point__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.18);
  color: var(--ds-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-loc-point__icon svg { width: 22px; height: 22px; }
.ds-loc-point__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ds-charcoal);
  margin: 4px 0 2px;
  text-wrap: balance;
}
.ds-loc-point__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-dark-slate);
  margin: 0;
}

/* Meet Dr. Jeffrey Burns — the shared old-site blurb in .ds-loc-doctor. */
.ds-loc-doctor .ds-label { color: var(--ds-teal-light); display: inline-block; margin-bottom: 8px; }
.ds-loc-doctor__bio {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 22px;
}

/* The DreamSmile blurb, beside the patient-stories video. */
.ds-loc-dreamsmile { background: var(--ds-off-white); padding: 64px 0; }
@media (min-width: 768px) { .ds-loc-dreamsmile { padding: 80px 0; } }
.ds-loc-dreamsmile__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 768px) {
  .ds-loc-dreamsmile__grid { grid-template-columns: 1.5fr 1fr; gap: 56px; max-width: 1040px; }
}
.ds-loc-dreamsmile__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
/* The logo file has transparent margins (45px of 700 on the left); pull the
   artwork back onto the text's left edge. */
.ds-loc-dreamsmile__logo { display: block; width: 240px; height: auto; margin-left: -15px; }
.ds-loc-dreamsmile__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-dark-slate);
  margin: 0;
  max-width: 60ch;
}
.ds-loc-dreamsmile__media { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ds-loc-dreamsmile__media .ds-loc-testimonials__media { width: 100%; max-width: 250px; margin: 0; }
.ds-loc-dreamsmile__media figcaption {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ds-warm-gray);
  text-align: center;
}

/* Closing section of the old copy (and the payment page's questions block). */
.ds-loc-cta__body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ds-warm-gray);
  margin: 0;
  max-width: 62ch;
}
.ds-loc-cta__body--note { font-size: 13.5px; margin-top: 8px; }

/* ─── Town pages, Rev 2 copy (theme 1.9.0) ───────────────────────────────
   The SEO team's Rev 2 docs add lists inside the cards, a full-width section
   with a table or steps after them, a longer "Visit us" text with the
   service-area line, and an FAQ. They reuse .ds-loc-intro's type, .ds-loc-list
   and the .ds-faq accordion. */
.ds-loc-point .ds-loc-list { margin: 0; }
.ds-loc-list a:hover { color: var(--ds-teal-dark); }
/* Body copy is Montserrat 300, where plain <strong> only reaches 400. The
   bold lead-ins ("Insurance:", "3D scan and virtual planning:") need 700. */
.ds-loc-intro__body strong,
.ds-loc-point strong { font-weight: 700; color: var(--ds-charcoal); }

/* A heading over its text, full width so a 4-column table has room. */
.ds-loc-details { max-width: 1080px; }
.ds-loc-detail { display: flex; flex-direction: column; gap: 22px; }
.ds-loc-detail + .ds-loc-detail {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(58, 58, 58, 0.12);
}

.ds-loc-table-wrap {
  margin: 4px 0 22px;
  border: 1px solid rgba(58, 58, 58, 0.12);
  border-radius: 12px;
  overflow-x: auto;
  background: #fff;
}
.ds-loc-table-wrap:last-child { margin-bottom: 0; }
.ds-loc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ds-dark-slate);
}
.ds-loc-table th,
.ds-loc-table td { padding: 13px 18px; text-align: left; vertical-align: top; }
.ds-loc-table thead > tr > * {
  background: var(--ds-charcoal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ds-loc-table thead .is-em { background: var(--ds-teal); color: var(--ds-charcoal); }
.ds-loc-table tbody tr + tr > * { border-top: 1px solid rgba(58, 58, 58, 0.1); }
.ds-loc-table tbody th { width: 26%; font-weight: 700; color: var(--ds-charcoal); }
/* The option the copy argues for (the implant), tinted like a recommendation. */
.ds-loc-table tbody .is-em,
.ds-loc-table tbody tr.is-em > * { background: rgba(127, 181, 176, 0.14); }
.ds-loc-table tbody tr.is-em > td { color: var(--ds-charcoal); font-weight: 600; }

/* Phones: each row becomes a card, every value under its column name. */
@media (max-width: 639px) {
  .ds-loc-table-wrap { border: 0; border-radius: 0; background: none; overflow: visible; }
  .ds-loc-table,
  .ds-loc-table tbody,
  .ds-loc-table tr,
  .ds-loc-table th,
  .ds-loc-table td { display: block; width: auto; }
  .ds-loc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .ds-loc-table tbody tr {
    background: #fff;
    border: 1px solid rgba(58, 58, 58, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
  }
  .ds-loc-table tbody tr + tr { margin-top: 10px; }
  .ds-loc-table tbody tr + tr > * { border-top: 0; }
  .ds-loc-table tbody th { width: auto; padding: 0 0 4px; font-size: 15px; }
  .ds-loc-table tbody td { padding: 6px 0 0; }
  .ds-loc-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ds-teal-ink);
  }
  .ds-loc-table tbody tr.is-em { border-color: var(--ds-teal); background: rgba(127, 181, 176, 0.1); }
  .ds-loc-table tbody tr.is-em > * { background: none; }
  .ds-loc-table tbody td.is-em { margin: 6px -10px 0; padding: 6px 10px; border-radius: 8px; }
}

/* "Visit us": the Rev 2 docs give it a short paragraph or two, so it reads
   as body text (not the one-line italic caption), then the service area. */
.ds-loc-map__travel--long { font-style: normal; font-size: 15px; line-height: 1.6; max-width: 62ch; }
.ds-loc-map__areas {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  max-width: 72ch;
  margin: 10px 0 0;
}

/* FAQ after the map. Questions are H3s (as in the docs) styled as the
   accordion's question line. */
.ds-loc-faq { padding: 56px 0; }
@media (min-width: 768px) { .ds-loc-faq { padding: 80px 0; } }
.ds-loc-faq .ds-faq__title { font-weight: 700; }
.ds-faq-item__h {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

/* Light .ds-loc-map, for a page whose hero is already dark (Make a Payment):
   two charcoal bands back to back read as one heavy block. */
.ds-loc-map--light { background: var(--ds-light-gray); color: var(--ds-dark-slate); }
.ds-loc-map--light .ds-loc-map__head .ds-label { color: var(--ds-teal-ink); }
.ds-loc-map--light .ds-loc-map__title { color: var(--ds-charcoal); }
.ds-loc-map--light .ds-loc-map__addr { color: var(--ds-dark-slate); }
.ds-loc-map--light .ds-loc-doctor__bullets li { color: var(--ds-dark-slate); }
.ds-loc-map--light .ds-loc-map__embed--qr { box-shadow: 0 18px 40px -22px rgba(58, 58, 58, 0.28); }

/* ─── Meet Dr. Burns team section (theme 1.8.2) ───
   Reuses .ds-np-before with a landscape group photo: kept at 3:2 so the
   stretch-to-column rule above never crops people off the edges. */
.ds-np-before__media--wide { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .ds-np-before__grid--wide-media { grid-template-columns: 1.1fr 0.9fr; align-items: center !important; }
  .ds-np-before__grid--wide-media .ds-np-before__media {
    aspect-ratio: 3 / 2 !important;
    min-height: 0;
    align-self: center;
  }
}
.ds-np-before__grid--wide-media .ds-np-before__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ds-np-before__list a,
.ds-implants-nav-card__desc a {
  color: var(--ds-charcoal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ds-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ds-np-before__list a:hover,
.ds-implants-nav-card__desc a:hover { color: var(--ds-teal-ink); }

/* ── /meet-the-team/ (patterns/meet-the-team.php) ─────────────────────────
   Head and cards follow .ds-np-comfort: Amiri titles, warm-gray body, white
   cards with a faint teal border. The 3:4 headshots show square, framed on
   the face. */
.ds-np-before__cta { margin-top: 18px !important; }

.ds-team { padding-block: 80px; background: #fff; }
.ds-team__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ds-team__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 10px 0 14px;
  line-height: 1.25;
}
.ds-team__title .ds-italic { color: var(--ds-teal-dark); }
.ds-team__head p { color: var(--ds-warm-gray); line-height: 1.6; margin: 0; }

.ds-team__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .ds-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ds-team__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.ds-team-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #F4F8F7 100%);
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 14px;
  overflow: hidden;
}
.ds-team-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
  background: #EEF4F3;
}
.ds-team-card__body { padding: 20px 22px 24px; }
.ds-team-card__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0;
  line-height: 1.2;
}
.ds-team-card__cred {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ds-warm-gray);
}
.ds-team-card__role {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-teal-ink);
  margin: 6px 0 12px;
  line-height: 1.4;
}
.ds-team-card__bio { color: var(--ds-warm-gray); font-size: 14px; line-height: 1.6; margin: 0; }
