:root {
  --black: #16213e;
  --ink: #242426;
  --muted: #5f6773;
  --line: #dbe3ef;
  --soft: #f3f7fd;
  --white: #ffffff;
  --accent: #14489f;
  --accent-deep: #0e3675;
  --red: #d8342c;
  --red-deep: #b21f18;
  --brand-blue: #123f8c;
  --brand-red: #ed0928;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.mdg-monogram {
  display: inline-flex;
  align-items: baseline;
  font-size: 58px;
  font-weight: 900;
  line-height: .82;
  letter-spacing: 3px;
}

.mdg-monogram span:nth-child(1),
.mdg-monogram span:nth-child(3) {
  color: var(--brand-blue);
}

.mdg-monogram span:nth-child(2) {
  color: var(--brand-red);
}

.mdg-clinic-name {
  color: #111;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.5px;
}

.mobile-menu {
  display: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 34px;
  height: 22px;
}

.brand-icon {
  height: 104px;
  max-width: min(300px, 48vw);
  width: auto;
  display: block;
  padding: 0;
  background: transparent;
}

.header-clinic-name {
  display: flex;
  flex-direction: column;
  color: #282c69;
  line-height: 1.02;
  text-transform: uppercase;
}

.header-clinic-name strong {
  color: #16213e;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.035em;
}

.header-clinic-name .ascend-blue {
  color: #195ca8;
}

.header-clinic-name .dental-red {
  color: #d43b35;
}

#doctors > div > p:not(.eyebrow) {
  text-align: justify;
  text-justify: inter-word;
}

.doctor-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.doctor-roster > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(40, 44, 105, .07);
}

.doctor-roster span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.doctor-roster strong {
  color: var(--black);
  font-size: 15px;
}

@media (max-width: 560px) {
  .doctor-roster {
    grid-template-columns: 1fr;
  }
}

.header-clinic-name > span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.brand-word {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1;
  color: var(--black);
}

.brand-word span {
  color: var(--accent);
}

.foot-logo {
  height: 60px;
  width: auto;
  margin-bottom: 8px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 22px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.3px;
}

.brand-text span:first-child {
  color: var(--accent);
}

.brand-text span:last-child {
  color: var(--black);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Keep the primary links above and center the two appointment actions below. */
nav:has(.nav-phone) {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
}

nav:has(.nav-phone) > a:not(.nav-phone):not(.nav-cta) {
  grid-row: 1;
  align-self: center;
  justify-self: center;
  font-size: 15px;
  line-height: 1.1;
}

nav:has(.nav-phone) .nav-phone {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}

nav:has(.nav-phone) .nav-cta {
  grid-column: 4;
  grid-row: 2;
  justify-self: start;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  border-color: var(--line);
  background: var(--white);
}

nav a.nav-cta {
  border-color: var(--brand-blue);
  color: var(--white);
  background: var(--brand-blue);
}

nav a.nav-cta:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

nav a.nav-login {
  border-color: var(--line);
}

nav a.nav-login:hover {
  border-color: var(--black);
  background: var(--white);
}

nav a.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #08285a;
  opacity: 1;
  font-weight: 900;
}

nav a.nav-phone svg {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex: 0 0 auto;
}

nav a.nav-phone:hover {
  border-color: transparent;
  background: transparent;
  color: var(--black);
}

.hero {
  display: grid;
  min-height: calc(100vh - 73px);
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: 0;
}

.hero-image-wrap {
  position: relative;
  min-height: clamp(440px, 65vw, 780px);
  overflow: hidden;
  background: var(--black);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: clamp(440px, 65vw, 780px);
  object-fit: cover;
  object-position: center;
  filter: brightness(1.18) contrast(0.96) saturate(1.04);
}

.hero-tagline {
  position: absolute;
  right: clamp(18px, 5vw, 80px);
  bottom: clamp(18px, 5vw, 70px);
  z-index: 1;
  max-width: 660px;
  color: #ffffff;
  text-align: right;
  text-shadow: none;
}

.hero-tagline span {
  display: block;
  font-size: clamp(38px, 6.6vw, 98px);
  font-weight: 900;
  line-height: 0.94;
}

.hero-tagline p {
  margin: 16px 0 0;
  color: #ffffff;
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: 700;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  border-bottom: 1px solid var(--black);
  padding: clamp(36px, 6vw, 86px) clamp(18px, 5vw, 80px);
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent-deep);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(46px, 7.4vw, 104px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.5px;
}

h2 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.5px;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-summary p,
.section-heading p,
.image-story p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-summary {
  display: grid;
  gap: 24px;
}

.hero-summary p {
  margin: 0;
}

.hero-summary .heritage-note {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn-secondary {
  color: var(--black);
  background: var(--white);
}

.statement {
  border-bottom: 1px solid var(--black);
  padding: clamp(46px, 7vw, 96px) clamp(18px, 5vw, 80px);
  background: var(--black);
}

.statement p {
  max-width: 1180px;
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
}

.statement p .accent {
  color: #ff6f6a;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

/* ---- treatments grid ---- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tx-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tx-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.tx-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tx-body {
  padding: 18px 20px 22px;
}

.tx-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}

.tx-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .treatments-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- services carousel (reuses platform-carousel bones) ---- */
.services-carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-columns: minmax(82%, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 18px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.service-slide {
  display: grid;
  min-height: clamp(300px, 34vw, 380px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  scroll-snap-align: start;
}

.service-slide .slide-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3.2vw, 40px);
}

.service-slide span {
  display: inline-flex;
  width: max-content;
  margin-bottom: auto;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
}

.service-slide h3 {
  margin: clamp(40px, 6vw, 90px) 0 12px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.service-slide p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.35;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.carousel-btn {
  min-width: 92px;
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.carousel-btn:hover {
  color: var(--white);
  background: var(--black);
}

.carousel-dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
}

.services-carousel[data-active="0"] .carousel-dots span:nth-child(1),
.services-carousel[data-active="1"] .carousel-dots span:nth-child(2),
.services-carousel[data-active="2"] .carousel-dots span:nth-child(3),
.services-carousel[data-active="3"] .carousel-dots span:nth-child(4),
.services-carousel[data-active="4"] .carousel-dots span:nth-child(5),
.services-carousel[data-active="5"] .carousel-dots span:nth-child(6) {
  background: var(--black);
}

/* ---- doctor / image story ---- */
.image-story {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--black);
  padding: clamp(48px, 7vw, 100px) clamp(18px, 5vw, 80px);
}

.image-story > div {
  padding-top: 8px;
}

.image-story figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.image-story img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: none;
}

.image-story .doctor-gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  height: 100%;
}

.image-story .doctor-gallery img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 6px;
}

#doctor {
  align-items: stretch;
}

@media (max-width: 760px) {
  .image-story .doctor-gallery img {
    height: 230px;
  }

  .image-story .doctor-gallery {
    grid-template-rows: none;
    height: auto;
  }
}

.image-story .credential-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.image-story .credential-list li {
  position: relative;
  display: block;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.image-story .credential-list li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

/* ---- visit: hours + location ---- */
.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.visit-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.visit-card h3 {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent-deep);
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list li span:last-child {
  color: var(--muted);
}

.hours-list li.closed span:last-child {
  color: var(--accent);
}

.visit-detail {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.5;
}

.visit-detail a {
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

/* ---- SMS consent band ---- */
.sms-band {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: clamp(40px, 6vw, 84px) clamp(18px, 5vw, 80px);
  background: var(--white);
}

.sms-band h2 {
  margin-bottom: 6px;
}

.sms-band p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
}

.sms-band .fineprint {
  font-size: 13px;
  color: var(--muted);
}

.sms-band a {
  color: var(--accent-deep);
  font-weight: 900;
}

/* ---- online booking embed ---- */
.book-section {
  border-top: 1px solid var(--black);
  background: var(--soft);
}

.book-embed {
  width: 100%;
  height: 820px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: block;
}

@media (max-width: 700px) {
  .book-embed {
    height: 900px;
  }
}

/* ---- contact ---- */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.direct-line {
  display: inline-flex;
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  text-decoration: none;
  color: var(--accent-deep);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--black);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input {
  min-height: 46px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.wide,
.hidden-field,
.form-status,
.contact-form .btn {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

/* ---- footer ---- */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px 40px;
  align-items: start;
  border-top: 1px solid var(--black);
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 80px) 0;
  background: var(--white);
}

.footer-col .foot-brand {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 12px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.footer-col p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

.footer-hours {
  display: grid;
  gap: 8px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.footer-hours div span:last-child {
  color: var(--ink);
}

.footer-staff-access {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.footer-staff-access span {
  margin-right: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-staff-access a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8fb;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-staff-access a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.footer-bottom a:hover {
  color: var(--accent-deep);
}

/* ---- smiles gallery ---- */
.legacy-section {
  border-top: 1px solid var(--line);
  background: #f5f7ff;
}

.legacy-card {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1.62fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #cbd8f3;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #eef3ff 100%);
  box-shadow: 0 12px 36px rgba(40, 44, 105, .09);
}

.legacy-mark {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #282c69, #4e6bb8);
  color: #fff;
  text-align: center;
}

.legacy-mark strong {
  font-size: clamp(58px, 8vw, 92px);
  line-height: .9;
}

.legacy-mark span {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legacy-copy h2 {
  margin: 8px 0 16px;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.08;
}

.legacy-copy > p:not(.eyebrow) {
  margin: 0 0 13px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.72;
}

@media (max-width: 720px) {
  .legacy-card {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .legacy-mark {
    min-height: 135px;
  }
}

.smiles-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.smiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.smiles-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  aspect-ratio: 1 / 1;
}

.smiles-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.smiles-grid figure:hover img {
  transform: scale(1.04);
}

/* ---- pricing / promises band ---- */
.insurance-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.insurance-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid #cbd8f3;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f8ff 0%, #fff 72%);
  box-shadow: 0 10px 32px rgba(40, 44, 105, .08);
}

.insurance-free {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #d8342c;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.insurance-copy h3 {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.15;
}

.insurance-copy > p:not(.insurance-free) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.insurance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.insurance-types {
  display: grid;
  gap: 11px;
}

.insurance-types > div {
  padding: 17px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(40, 44, 105, .07);
}

.insurance-types strong,
.insurance-types span {
  display: block;
}

.insurance-types strong {
  margin-bottom: 4px;
  color: var(--accent-deep);
  font-size: 16px;
}

.insurance-types span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .insurance-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 27px 21px;
  }

  .insurance-actions .btn {
    width: 100%;
  }
}

.pricing-band {
  border-top: 1px solid var(--line);
  background: var(--soft);
}
.pricing-group-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(135deg,#282c69,#4e6bb8)}.pricing-group-head h3{margin:0;color:#fff;font-size:20px}.pricing-group-head>div{display:flex;gap:8px}.pricing-group-head a{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:7px;background:#fff;color:#282c69;font-size:12px;font-weight:900;text-decoration:none}.pricing-group-head a:last-child{background:#dce6ff}.pricing-group details summary{position:relative;padding:14px 46px 14px 20px;color:var(--accent-deep);font-size:14px;font-weight:900;cursor:pointer;list-style:none}.pricing-group details summary::-webkit-details-marker{display:none}.pricing-group details summary::after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:23px}.pricing-group details[open] summary::after{content:'−'}.pricing-group details[open] summary{border-bottom:1px solid var(--line)}@media(max-width:560px){.pricing-group-head{align-items:flex-start;flex-direction:column}.pricing-group-head>div{width:100%}.pricing-group-head a{flex:1}}
.pricing-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1180px;margin:0 auto}.pricing-group{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(40,44,105,.06)}.pricing-group>h3{margin:0;padding:20px 22px;background:linear-gradient(135deg,#282c69,#4e6bb8);color:#fff;font-size:21px}.pricing-group-featured{grid-column:1/-1}.price-list{padding:0 20px}.price-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:17px 2px;border-bottom:1px solid var(--line)}.price-row:last-child{border-bottom:0}.price-row strong{display:block;color:var(--black);font-size:15px}.price-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:600;line-height:1.45}.price-row b{max-width:210px;color:var(--accent-deep);font-size:16px;text-align:right}.price-row>a{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:9px 11px;border-radius:7px;background:var(--accent);color:#fff;font-size:12px;font-weight:900;text-decoration:none}.price-row>a:hover{background:var(--accent-deep)}.pricing-disclaimer{max-width:1000px;margin:28px auto 0;padding:20px 24px;border-left:5px solid var(--accent);border-radius:10px;background:#fff;color:var(--muted);font-size:13px;line-height:1.65}.pricing-disclaimer strong{color:var(--black)}@media(max-width:900px){.pricing-groups{grid-template-columns:1fr}.pricing-group-featured{grid-column:auto}}@media(max-width:560px){.pricing-group>h3{padding:17px 18px}.price-list{padding:0 15px}.price-row{grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:15px 0}.price-row b{font-size:15px}.price-row>a{grid-column:1/-1;width:100%}}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promise {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
}

.promise-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.promise-ico svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.promise h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}

.promise p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .promise-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- pay your bill ---- */
.price-row>a[href="#book"]{display:none}.pricing-financing{max-width:1180px;margin:28px auto 0;padding:32px;border-radius:18px;background:linear-gradient(135deg,#282c69 0%,#4e6bb8 100%);color:#fff}.pricing-financing-copy{max-width:760px}.pricing-financing .eyebrow{color:#f4c95d}.pricing-financing h3{margin:4px 0 10px;color:#fff;font-size:clamp(24px,3vw,36px)}.pricing-financing-copy>p:last-child{margin:0;color:#e8edff;line-height:1.6}.financing-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.financing-options>div{padding:17px 18px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.1)}.financing-options strong,.financing-options span{display:block}.financing-options strong{margin-bottom:5px;font-size:16px}.financing-options span{color:#edf1ff;font-size:13px;line-height:1.45}.pricing-financing .btn{background:#fff;color:#282c69}@media(max-width:650px){.pricing-financing{padding:26px 20px}.financing-options{grid-template-columns:1fr}}
.financing-options>div:nth-child(1){background:#fff0f4;border-color:#ffc1d1;color:#8f2144}
.financing-options>div:nth-child(2){background:#ebfaf1;border-color:#a9e3bf;color:#176b3c}
.financing-options>div:nth-child(3){background:#eef5ff;border-color:#b8d3fb;color:#195ca8}
.financing-options>div:nth-child(4){background:#fff7df;border-color:#f4d47a;color:#765511}
.financing-options>div:nth-child(n) span{color:#4d5263}

/* ---- pay your bill ---- */
.pay-section {
  border-top: 1px solid var(--black);
  background: var(--white);
}

.pay-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--soft);
}

.pay-card h2 {
  margin-bottom: 12px;
}

.pay-card > div p {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
}

.pay-note {
  margin-top: 12px;
  font-size: 14px;
}

.pay-note a {
  color: var(--accent-deep);
  font-weight: 900;
}

.pay-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--black);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
}

.pay-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 14px;
}

.pay-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pay-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.pay-list li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 900px) {
  .pay-card {
    grid-template-columns: 1fr;
  }
}

/* ---- responsive ---- */
@media (max-width: 1050px) {
  .hero-copy,
  .visit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: 88%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .image-story {
    grid-template-columns: 1fr;
  }

  .image-story > div {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  p {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
  }

  .site-header {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 6px 10px 7px;
  }

  .brand {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 9px;
  }

  .mobile-menu {
    display: block;
    grid-column: 1;
    width: 100%;
  }

  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--brand-blue);
    border-radius: 999px;
    color: #fff;
    background: var(--brand-blue);
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary::before {
    content: "☰";
    margin-right: 6px;
    color: #fff;
    font-size: 15px;
  }

  .mobile-menu-links {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 28px rgba(22, 33, 62, .16);
  }

  .mobile-menu-links a {
    padding: 8px;
    border-radius: 8px;
    color: var(--black);
    background: var(--soft);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
  }

  .mdg-monogram {
    font-size: 38px;
    letter-spacing: 2px;
  }

  .mdg-clinic-name {
    font-size: 16px;
  }

  .brand-icon {
    height: 54px;
    max-width: 42vw;
  }

  .header-clinic-name strong {
    font-size: 18px;
    line-height: 1;
  }

  .header-clinic-name > span {
    font-size: 10px;
  }

  nav,
  nav:has(.nav-phone) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    justify-content: stretch;
    align-items: center;
    overflow: hidden;
    grid-column: 2 / -1;
  }

  nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 28px;
    padding: 3px 5px;
    font-size: 12.5px;
    line-height: 1.15;
    text-align: center;
    grid-column: span 2;
  }

  nav:has(.nav-phone) > a:not(.nav-phone):not(.nav-cta) {
    display: none;
  }

  nav a.nav-contact {
    grid-column: auto;
  }

  nav:has(.nav-phone) a.nav-phone {
    grid-column: 1;
    grid-row: 1;
    height: 34px;
    gap: 2px;
    white-space: nowrap;
    justify-self: stretch;
    justify-content: center;
    padding: 3px 1px;
    border: 1px solid var(--brand-red);
    border-radius: 999px;
    color: #fff;
    background: var(--brand-red);
    font-size: 11.5px;
    font-weight: 800;
  }

  nav:has(.nav-phone) a.nav-phone:hover {
    color: #fff;
    background: #a91d2d;
    border-color: #a91d2d;
  }

  nav:has(.nav-phone) a.nav-phone svg {
    width: 11px;
    height: 11px;
  }

  nav:has(.nav-phone) a.nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    justify-content: center;
    height: 34px;
    padding: 3px 4px;
    font-size: 11.5px;
    margin-left: 0;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 360px;
    height: 360px;
  }

  .hero-image-wrap img {
    object-position: 29% center;
  }

  .hero-tagline {
    right: 18px;
    bottom: 22px;
    left: 18px;
    max-width: none;
    text-align: left;
  }

  .hero-tagline span {
    font-size: 38px;
  }

  h1 {
    font-size: 44px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-staff-access {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .footer-staff-access span {
    grid-column: 1 / -1;
  }

  .footer-staff-access a {
    width: 100%;
  }

  .smiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

body .pq-chat-bubble {
  background: #d8342c !important;
}

body .pq-chat-bubble:hover {
  background: #b21f18 !important;
}

/* ---- floating Google buttons (all pages) ---- */
.gfab-stack{position:fixed;right:18px;bottom:104px;z-index:9999;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.gfab{display:inline-flex;align-items:center;gap:9px;background:#fff;color:#3c4043;border:1px solid #dadce0;border-radius:30px;padding:11px 17px;box-shadow:0 4px 18px rgba(0,0,0,.18);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;transition:box-shadow .18s ease,transform .18s ease}
.gfab:hover{box-shadow:0 8px 26px rgba(0,0,0,.26);transform:translateY(-1px)}
.gfab svg{width:20px;height:20px;flex:none;display:block}
@media (max-width:560px){.gfab-stack{right:12px;bottom:84px;gap:8px}.gfab{padding:9px 14px;font-size:12.5px;gap:7px}.gfab svg{width:17px;height:17px}}

/* Ascend Dental brand */
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50% 50% 46% 46%;background:linear-gradient(145deg,#282c69,#4e6bb8);color:#fff;font-size:23px;font-weight:900;box-shadow:0 5px 16px rgba(40,44,105,.24)}
.foot-brand{display:flex;flex-direction:column;line-height:1.05;margin-bottom:14px;color:#282c69;text-transform:uppercase;letter-spacing:.08em}.foot-brand strong{font-size:28px}.foot-brand span{font-size:15px;font-weight:800;letter-spacing:.19em}

.booking-link-card{max-width:720px;margin:0 auto;padding:42px;text-align:center;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 35px rgba(40,44,105,.08)}.booking-link-card p{margin:0 0 22px;color:var(--muted);font-weight:700}

.employment-section{padding-top:18px}.employment-card{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:44px;padding:42px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#f5f7ff 0%,#fff 65%);box-shadow:0 10px 35px rgba(40,44,105,.08)}.employment-heading h2{margin:8px 0 14px;font-size:clamp(30px,4vw,48px)}.employment-heading p{color:var(--muted);font-weight:700;line-height:1.6}.employment-copy h3{margin:0 0 8px;font-size:18px}.employment-copy h3:not(:first-child){margin-top:22px}.employment-copy p{margin:0;color:var(--muted);line-height:1.72}.employment-apply{margin-top:24px!important;padding:18px 20px;border-left:4px solid var(--accent);border-radius:8px;background:#fff;color:var(--black)!important}.employment-apply a{color:var(--accent-deep);font-weight:900;overflow-wrap:anywhere}@media (max-width:760px){.employment-card{grid-template-columns:1fr;gap:26px;padding:28px 22px}}

