
:root {
  --blue: #3E6F97;
  --slate: #23384A;
  --sage: #7E9687;
  --ivory: #F7F4EE;
  --sand: #D8C6A1;
  --charcoal: #22292B;
  --white: #FFFFFF;
  --line: #E5E0D6;
  --muted: #66716F;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(35,56,74,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.topbar {
  background: var(--slate);
  color: white;
  font-size: 13px;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.topbar-group { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.topbar a { color: white; text-decoration:none; }
.topbar .appt {
  align-self: stretch;
  background: var(--sand);
  color: var(--slate);
  display:flex;
  align-items:center;
  padding:0 22px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.site-header {
  position: sticky; top:0; z-index:30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  min-width: 280px;
}
.brand-mark {
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--blue);
  border:2px solid #dce5eb;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
  color:var(--ivory);
  display:grid;
  place-items:center;
  font: 500 42px/1 Georgia, "Times New Roman", serif;
}
.brand-copy {
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-copy strong {
  color:var(--blue);
  font: 500 27px/1 Georgia, "Times New Roman", serif;
  letter-spacing:-.025em;
}
.brand-copy span {
  margin-top:8px;
  color:var(--sage);
  font-size:11px;
  font-weight:800;
  letter-spacing:.28em;
  text-transform:uppercase;
}
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a {
  text-decoration:none;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.07em;
  font-weight:750;
}
.nav-links a:hover { color:var(--blue); }
.nav-links a.active {
  color:var(--blue);
  padding-bottom:8px;
  border-bottom:2px solid var(--blue);
}
.menu-btn { display:none; border:0; background:none; font-size:26px; color:var(--slate); }

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:0;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:850;
  border:1px solid var(--blue);
  transition:.2s ease;
}
.btn-primary { background:var(--blue); color:white; }
.btn-primary:hover { background:var(--slate); border-color:var(--slate); }
.btn-outline { background:transparent; color:var(--slate); }
.btn-outline:hover { background:var(--ivory); }

.hero {
  background:
    linear-gradient(90deg, rgba(247,244,238,.98) 0%, rgba(247,244,238,.95) 47%, rgba(255,255,255,.25) 68%),
    var(--ivory);
  border-bottom:1px solid var(--line);
}
.hero-grid {
  min-height:600px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:stretch;
}
.hero-copy {
  padding:90px 54px 80px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.kicker {
  color:var(--sage);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:850;
  margin:0 0 14px;
}
h1,h2,h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight:500;
  letter-spacing:-.035em;
  color:var(--slate);
  line-height:1.05;
}
h1 { margin:0; font-size:clamp(52px,6vw,78px); }
h1 em { font-style:italic; color:var(--blue); font-weight:400; }
h2 { margin:0 0 16px; font-size:clamp(36px,4.2vw,55px); }
h3 { margin:0 0 8px; font-size:26px; }
.hero-rule, .section-rule {
  width:52px; height:2px; background:var(--sand); margin:26px 0;
}
.hero-copy .lead {
  max-width:560px;
  font-size:18px;
  color:#465154;
  margin:0;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }

.hero-media {
  position:relative;
  overflow:hidden;
  min-height:600px;
}
.hero-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 8%;
  background:white;
}
.hero-media:after {
  content:"";
  position:absolute;
  inset:0;
  box-shadow: inset 28px 0 50px rgba(247,244,238,.28);
  pointer-events:none;
}
.hero-badge {
  position:absolute;
  right:22px;
  bottom:22px;
  z-index:2;
  background:rgba(35,56,74,.94);
  color:white;
  padding:18px 20px;
  width:min(300px, calc(100% - 44px));
  border-left:3px solid var(--sand);
}
.hero-badge strong {
  display:block;
  font-family:Georgia,serif;
  font-size:20px;
  font-weight:500;
}
.hero-badge span { font-size:12px; color:#dde7e5; }

.section { padding:82px 0; }
.section-ivory { background:var(--ivory); }
.section-head { max-width:760px; margin:0 auto 48px; text-align:center; }
.section-head p { color:var(--muted); font-size:17px; margin:0; }

.services {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
}
.service {
  text-align:center;
  padding:10px 24px 6px;
  border-right:1px solid var(--line);
}
.service:last-child { border-right:0; }
.service-icon {
  width:58px; height:58px; margin:0 auto 17px;
  border:1.5px solid var(--sage);
  color:var(--sage);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:25px;
  font-family:Georgia,serif;
}
.service h3 { font-size:19px; }
.service p { font-size:13px; color:var(--muted); margin:0; }

.about-split {
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  min-height:520px;
}
.about-copy {
  background:var(--slate);
  color:white;
  padding:70px max(42px, calc((100vw - var(--max))/2)) 65px max(40px, calc((100vw - var(--max))/2));
  padding-right:60px;
}
.about-copy h2 { color:white; max-width:520px; }
.about-copy p { color:#d9e0e1; max-width:530px; }
.about-copy .kicker { color:var(--sand); }
.about-photo { min-height:520px; overflow:hidden; background:var(--ivory); }
.about-photo img {
  width:100%; height:100%; object-fit:cover; object-position:50% 10%;
}

.features {
  background:#4F7188;
  color:white;
}
.features-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
}
.feature {
  padding:30px 28px;
  border-right:1px solid rgba(255,255,255,.28);
}
.feature:last-child { border-right:0; }
.feature strong {
  display:block;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:12px;
  margin-bottom:5px;
}
.feature span { font-size:13px; color:#f2f5f2; }

.visit {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:start;
}
.visit-card {
  border:1px solid var(--line);
  padding:38px;
  background:white;
}
.visit-card dl { margin:0; }
.visit-card dt {
  margin-top:18px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:11px;
  color:var(--sage);
}
.visit-card dd { margin:5px 0 0; color:var(--muted); }
.visit-card a { color:var(--blue); }

.footer {
  background:#192A38;
  color:white;
  padding:48px 0 28px;
}
.footer-grid { display:grid; grid-template-columns:1.4fr .8fr .8fr; gap:40px; }
.footer .brand-copy strong { color:white; }
.footer p,.footer a { color:#cbd4d5; font-size:14px; text-decoration:none; }
.footer a { display:block; margin:7px 0; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:34px;
  padding-top:20px;
  color:#aebabc;
  font-size:12px;
}

.page-hero {
  background:var(--ivory);
  border-bottom:1px solid var(--line);
  padding:75px 0 65px;
}
.page-hero h1 { font-size:clamp(44px,5vw,67px); max-width:850px; }
.page-hero p { max-width:760px; color:var(--muted); font-size:18px; }

.bio-grid {
  display:grid; grid-template-columns:.85fr 1.15fr; gap:65px; align-items:center;
}
.bio-photo img {
  border:1px solid var(--line);
  width:100%;
  max-height:650px;
  object-fit:cover;
  object-position:50% 8%;
}
.bio-copy p { color:var(--muted); }

.service-list { display:grid; gap:0; }
.service-row {
  display:grid; grid-template-columns:85px 1fr; gap:25px;
  border-bottom:1px solid var(--line); padding:30px 0;
}
.service-row b { color:var(--sage); letter-spacing:.12em; }
.service-row p { color:var(--muted); }

.note {
  padding:16px 18px;
  border-left:3px solid var(--sand);
  background:#fbf7ef;
  color:#625941;
  font-size:14px;
}

@media (max-width: 980px) {
  .nav-links { gap:18px; }
  .services { grid-template-columns:repeat(2,1fr); }
  .service { border-bottom:1px solid var(--line); }
  .service:nth-child(even) { border-right:0; }
  .service:last-child { grid-column:1/-1; border-right:0; }
  .about-split { grid-template-columns:1fr; }
  .about-copy { padding:65px 40px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .feature:nth-child(2) { border-right:0; }
  .feature:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.28); }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .topbar-inner { padding:8px 0; }
  .topbar-group { gap:10px; }
  .topbar .appt { display:none; }
  .nav { min-height:76px; }
  .brand { min-width:0; }
  .brand-mark { width:45px; height:45px; font-size:33px; }
  .brand-copy strong { font-size:21px; }
  .brand-copy span { font-size:9px; }
  .menu-btn { display:block; }
  .nav-links {
    display:none; position:absolute; top:76px; left:0; right:0;
    background:white; flex-direction:column; align-items:stretch;
    padding:20px 24px 28px; border-bottom:1px solid var(--line);
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:7px 0; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { padding:65px 0 48px; }
  .hero-media { min-height:500px; }
  .hero-media img { min-height:500px; }
  .section { padding:64px 0; }
  .services { grid-template-columns:1fr; }
  .service { border-right:0; border-bottom:1px solid var(--line); padding:28px 12px; }
  .service:last-child { grid-column:auto; border-bottom:0; }
  .features-grid { grid-template-columns:1fr; }
  .feature { border-right:0; border-bottom:1px solid rgba(255,255,255,.28); }
  .feature:last-child { border-bottom:0; }
  .visit,.bio-grid,.footer-grid { grid-template-columns:1fr; }
  .service-row { grid-template-columns:1fr; gap:5px; }
}

@media (max-width: 760px) {
  .brand-logo { height: 58px; }
  .footer-brand-logo { height: 54px; }
}

/* v0.5 tuned logo sizing + placement */
.site-header .nav {
  min-height: 96px;
}

.brand.brand-image {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 2px 0;
  flex: 0 0 auto;
  margin-right: 28px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 78px;
  max-width: 320px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.98);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.footer-brand-logo {
  display: block;
  width: auto;
  height: 74px;
  max-width: 280px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-header .nav {
    min-height: 90px;
  }
  .brand.brand-image {
    margin-right: 18px;
  }
  .brand-logo {
    height: 70px;
    max-width: 285px;
  }
}

@media (max-width: 760px) {
  .site-header .nav {
    min-height: 80px;
  }
  .brand.brand-image {
    margin-right: 10px;
  }
  .brand-logo {
    height: 56px;
    max-width: 220px;
  }
  .footer-brand-plaque {
    padding: 10px 12px;
  }
  .footer-brand-logo {
    height: 58px;
    max-width: 210px;
  }
}

/* Horizontal 6A-4 logo treatment for homepage header */
.brand-logo-horizontal {
  height: 68px;
  width: auto;
  max-width: 430px;
  object-fit: contain;
  object-position: left center;
}

.site-header .brand-image {
  flex: 0 0 auto;
  width: auto;
  max-width: 460px;
  margin-right: 18px;
}

@media (max-width: 1100px) {
  .brand-logo-horizontal {
    height: 62px;
    max-width: 360px;
  }
  .site-header .brand-image {
    max-width: 385px;
    margin-right: 12px;
  }
}

@media (max-width: 900px) {
  .brand-logo-horizontal {
    height: 56px;
    max-width: 300px;
  }
  .site-header .brand-image {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  .brand-logo-horizontal {
    height: 47px;
    max-width: 235px;
  }
  .site-header .brand-image {
    max-width: 250px;
    margin-right: 8px;
  }
}

/* Hero balance refinement — fill previously empty upper-left space */
.hero-copy {
  justify-content: flex-start;
  padding-top: 62px;
  padding-bottom: 64px;
}

.heritage-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  margin-bottom: 34px;
  padding: 11px 17px 11px 0;
  border-bottom: 1px solid rgba(216,198,161,.85);
}

.heritage-year {
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
  padding-right: 16px;
  border-right: 1px solid var(--sand);
}

.heritage-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.heritage-text span {
  color: var(--slate);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.heritage-text small {
  color: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .hero-copy {
    padding-top: 52px;
  }
  .heritage-mark {
    margin-bottom: 28px;
  }
}

@media (max-width: 760px) {
  .hero-copy {
    padding-top: 44px;
    padding-bottom: 46px;
  }
  .heritage-mark {
    margin-bottom: 24px;
  }
  .heritage-year {
    font-size: 29px;
  }
}

/* Header / footer / nav tuning based on user review */
.site-header .nav {
  min-height: 104px;
  gap: 28px;
}

.site-header .brand-image {
  flex: 0 0 auto;
  width: auto;
  max-width: 560px;
  margin-right: 18px;
  padding: 2px 0;
}

.brand-logo-horizontal {
  display: block;
  height: 82px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  gap: 34px;
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  letter-spacing: .07em;
  font-weight: 800;
}

.nav-links a.active {
  padding-bottom: 10px;
  border-bottom-width: 3px;
}

/* Footer logo visibility */
.footer-grid {
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.98);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.footer-brand-logo {
  display: block;
  height: 76px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1100px) {
  .site-header .brand-image {
    max-width: 470px;
    margin-right: 10px;
  }
  .brand-logo-horizontal {
    height: 74px;
    max-width: 430px;
  }
  .nav-links {
    gap: 24px;
  }
  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .site-header .nav {
    min-height: 92px;
  }
  .site-header .brand-image {
    max-width: 380px;
  }
  .brand-logo-horizontal {
    height: 64px;
    max-width: 350px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .site-header .nav {
    min-height: 82px;
  }
  .site-header .brand-image {
    max-width: 275px;
    margin-right: 8px;
  }
  .brand-logo-horizontal {
    height: 52px;
    max-width: 255px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .footer-brand-logo {
    height: 60px;
    max-width: 260px;
  }
}

/* Embedded Google Maps section */
.map-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.map-heading {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 58px 0 28px;
  text-align: center;
}

.map-heading .kicker {
  margin-bottom: 10px;
}

.map-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 48px);
}

.google-map-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #e8ecef;
}

.google-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(.88) contrast(.98);
}

@media (max-width: 760px) {
  .map-heading {
    width: min(calc(100% - 28px), var(--max));
    padding: 44px 0 22px;
  }
  .google-map-wrap {
    height: 340px;
  }
}

/* Meet the Doctor section */
.meet-doctor-section { background: var(--white); }
.meet-doctor-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 68px;
  align-items: start;
}
.meet-doctor-photo { position: sticky; top: 130px; }
.meet-doctor-photo img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: 50% 8%;
  background: #fafafa;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.meet-doctor-copy { max-width: 760px; }
.meet-doctor-copy h2 { margin-bottom: 0; }
.meet-doctor-copy .section-rule {
  width: 58px;
  height: 2px;
  background: var(--sand);
  margin: 24px 0 30px;
}
.meet-doctor-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 24px;
}
.meet-doctor-copy p:first-of-type {
  color: #465154;
  font-size: 18px;
}
@media (max-width: 980px) {
  .meet-doctor-grid { grid-template-columns: 1fr; gap: 42px; }
  .meet-doctor-photo { position: static; max-width: 620px; }
  .meet-doctor-photo img { max-height: none; }
}
@media (max-width: 760px) {
  .meet-doctor-grid { gap: 30px; }
  .meet-doctor-copy p { font-size: 16px; line-height: 1.7; }
  .meet-doctor-copy p:first-of-type { font-size: 17px; }
}

/* What Makes Us Different section */
.what-makes-us-different {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.what-different-head {
  margin-bottom: 46px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 38px 34px;
  min-height: 300px;
  box-shadow: 0 12px 34px rgba(35,56,74,.06);
}

.philosophy-label {
  display: inline-block;
  color: var(--sage);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.philosophy-card h3,
.values-heading h3 {
  color: var(--slate);
  font-size: 28px;
  margin-bottom: 14px;
}

.philosophy-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.values-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

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

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 28px 30px;
  min-height: 260px;
}

.value-number {
  color: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .philosophy-card {
    padding: 28px 24px;
    min-height: 0;
  }

  .core-values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }
}

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

  .cred-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 18px 20px;
  }

  .cred-item:last-child {
    border-bottom: 0;
  }

  .cred-item strong {
    font-size: 21px;
  }
}



/* Refined affiliation logo strip */
.cred-banner-refined {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cred-banner-refined .cred-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.cred-banner-refined .cred-item {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-right: 1px solid rgba(35,56,74,.10);
  background: transparent;
}

.cred-banner-refined .cred-item:last-child {
  border-right: 0;
}

.cred-banner-refined .cred-logo-card img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 92px;
  object-fit: contain;
  object-position: center;
  opacity: .92;
}

@media (max-width: 980px) {
  .cred-banner-refined .cred-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cred-banner-refined .cred-item:nth-child(2n) {
    border-right: 0;
  }

  .cred-banner-refined .cred-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(35,56,74,.10);
  }
}

@media (max-width: 760px) {
  .cred-banner-refined {
    padding: 6px 0;
  }

  .cred-banner-refined .cred-banner-grid {
    grid-template-columns: 1fr;
  }

  .cred-banner-refined .cred-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(35,56,74,.10);
    padding: 12px 18px;
  }

  .cred-banner-refined .cred-item:last-child {
    border-bottom: 0;
  }

  .cred-banner-refined .cred-logo-card img {
    height: 76px;
    max-width: 245px;
  }
}


/* Hero full-width ivory background */
.hero {
  background: var(--ivory);
}

.hero-media {
  background: var(--ivory);
}

.hero-media img {
  background: var(--ivory);
}

.hero-media:after {
  box-shadow: none;
}


/* Live homepage video hero */
.hero-video {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  filter: saturate(.78) contrast(.95) brightness(1.02);
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(247,244,238,.96) 0%,
      rgba(247,244,238,.91) 28%,
      rgba(247,244,238,.72) 48%,
      rgba(247,244,238,.34) 70%,
      rgba(247,244,238,.16) 100%
    );
}

.hero-video-content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: flex;
  align-items: center;
}

.hero-video .hero-copy {
  width: min(610px, 58%);
  padding: 60px 0 62px;
  justify-content: center;
}

.hero-video .heritage-mark {
  background: rgba(247,244,238,.42);
  backdrop-filter: blur(2px);
}

.hero-video .lead {
  color: #3f4b4e;
}

@media (max-width: 980px) {
  .hero-video,
  .hero-video-content {
    min-height: 620px;
  }

  .hero-video-bg {
    object-position: 57% 48%;
  }

  .hero-video .hero-copy {
    width: 66%;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(247,244,238,.97) 0%,
        rgba(247,244,238,.92) 35%,
        rgba(247,244,238,.70) 63%,
        rgba(247,244,238,.34) 100%
      );
  }
}

@media (max-width: 760px) {
  .hero-video,
  .hero-video-content {
    min-height: 650px;
  }

  .hero-video-bg {
    object-position: 48% 50%;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(247,244,238,.92) 0%,
        rgba(247,244,238,.82) 45%,
        rgba(247,244,238,.66) 100%
      );
  }

  .hero-video .hero-copy {
    width: 100%;
    max-width: 560px;
    padding: 48px 0 54px;
  }
}

/* Accessibility: keep the hero static when motion reduction is requested */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg {
    display: none;
  }

  .hero-video {
    background:
      linear-gradient(90deg, rgba(247,244,238,.94), rgba(247,244,238,.70)),
      url("assets/hero-dr-milosavljevic-poster.jpg") center / cover no-repeat;
  }
}




/* Services page hero with animated vertical photo pan */
.services-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 88px 0 78px;
  background: var(--ivory);
}

.services-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(247,244,238,.97) 0%,
      rgba(247,244,238,.93) 26%,
      rgba(247,244,238,.78) 47%,
      rgba(247,244,238,.50) 68%,
      rgba(247,244,238,.34) 100%
    ),
    url("assets/services-hero-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 78% 6%;
  animation: servicesPhotoPan 13s ease-in-out infinite alternate;
  will-change: background-position;
  z-index: 0;
}

@keyframes servicesPhotoPan {
  0% {
    background-position: 78% 4%;
  }
  100% {
    background-position: 78% 92%;
  }
}

.services-page-hero .service-hero-inner {
  position: relative;
  z-index: 1;
}

.services-page-hero h1 {
  max-width: 760px;
}

.services-page-hero p {
  max-width: 650px;
  color: #4c585b;
}

@media (max-width: 900px) {
  .services-page-hero {
    min-height: 400px;
    padding: 78px 0 68px;
  }

  .services-page-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(247,244,238,.96) 0%,
        rgba(247,244,238,.88) 34%,
        rgba(247,244,238,.72) 65%,
        rgba(247,244,238,.52) 100%
      ),
      url("assets/services-hero-bg.jpg");
    background-position: 70% 5%;
    animation-duration: 14s;
  }

  @keyframes servicesPhotoPan {
    0% {
      background-position: 70% 4%;
    }
    100% {
      background-position: 70% 92%;
    }
  }
}

@media (max-width: 760px) {
  .services-page-hero {
    min-height: 370px;
    padding: 68px 0 58px;
  }

  .services-page-hero::before {
    background-position: 66% 5%;
  }

  .services-page-hero h1 {
    font-size: clamp(38px, 8vw, 54px);
  }

  .services-page-hero p {
    font-size: 17px;
  }
}

/* Keep the banner static for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .services-page-hero::before {
    animation: none;
    background-position: 78% 18%;
  }
}

/* Patient Info page */

.patient-first-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:72px;align-items:start}
.patient-first-intro{position:sticky;top:135px}
.patient-first-copy{max-width:760px}
.patient-first-copy p{color:var(--muted);font-size:17px;line-height:1.8;margin:0 0 24px}
.patient-first-copy p:first-child{color:#465154;font-size:18px}
.patient-first-copy strong{color:var(--slate)}
.first-visit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.first-visit-card{background:var(--white);border:1px solid var(--line);padding:30px;min-height:250px;box-shadow:0 12px 34px rgba(35,56,74,.05)}
.first-visit-card span{display:block;color:var(--sand);font-family:Georgia,"Times New Roman",serif;font-size:30px;margin-bottom:18px}
.first-visit-card p{color:var(--muted);font-size:15px;line-height:1.65;margin:0}
@media(max-width:980px){.patient-first-grid{grid-template-columns:1fr;gap:38px}.patient-first-intro{position:static}.first-visit-grid{grid-template-columns:1fr}}


/* Patient Info dropdown navigation */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-trigger::after {
  content: "⌄";
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 210px;
  padding: 18px 10px 10px;
  background: rgba(255,255,255,.99);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(35,56,74,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 13px;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: .01em;
  font-size: 14px;
  font-weight: 650;
  color: var(--slate);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus,
.nav-dropdown-menu a.active-sub {
  background: var(--ivory);
  color: var(--blue);
}

/* New Patient Forms */
.forms-coming-soon {
  background: var(--white);
}

.coming-soon-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 46px;
  border: 1px solid var(--line);
  background: var(--ivory);
  box-shadow: 0 18px 45px rgba(35,56,74,.06);
}

.coming-soon-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.coming-soon-card a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 760px) {
  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 6px;
    padding: 4px 0 2px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .coming-soon-card {
    padding: 48px 24px;
  }
}


/* About navigation refinements */
.about-nav-dropdown .nav-dropdown-trigger.active {
  color: var(--blue);
}

/* Dr. Milosavljevic quote banner */
.doctor-quote-banner {
  background: #2F5068;
  color: white;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.doctor-quote-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 28px 54px;
  text-align: center;
}

.doctor-quote-inner blockquote {
  margin: 0 auto;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.32;
  font-weight: 400;
  color: white;
}

.doctor-quote-inner p {
  margin: 22px 0 0;
  color: #DDE6EB;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .doctor-quote-inner {
    padding: 46px 22px 42px;
  }

  .doctor-quote-inner blockquote {
    font-size: clamp(25px, 7vw, 34px);
  }
}


/* About page hero background image */
.about-practice-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(35,56,74,.74) 0%, rgba(35,56,74,.58) 42%, rgba(247,244,238,.14) 100%),
    linear-gradient(180deg, rgba(16,22,28,.08), rgba(16,22,28,.16)),
    url("assets/about-hero-balboa-park.jpg") center 62% / cover no-repeat;
}

.about-practice-hero .container {
  position: relative;
  z-index: 1;
}

.about-practice-hero .kicker {
  color: rgba(255,255,255,.82);
}

.about-practice-hero h1 {
  color: white;
  max-width: 780px;
}

.about-practice-hero p {
  color: rgba(255,255,255,.90);
  max-width: 760px;
}

@media (max-width: 760px) {
  .about-practice-hero {
    background:
      linear-gradient(180deg, rgba(35,56,74,.76) 0%, rgba(35,56,74,.56) 55%, rgba(35,56,74,.42) 100%),
      url("assets/about-hero-balboa-park.jpg") center 62% / cover no-repeat;
  }
}


/* Dropdown hover bridge: prevents menus from disappearing while moving the cursor down */
@media (min-width: 761px) {
  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 18px;
    z-index: 59;
  }

  .nav-dropdown-menu {
    z-index: 60;
  }
}


/* Expandable service section */
.service-row-expandable {
  align-items: start;
}

.service-accordion {
  border: 0;
}

.service-accordion summary {
  list-style: none;
  cursor: pointer;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.service-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--blue);
  background: #fff;
  flex: 0 0 auto;
  margin-top: 3px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.service-accordion[open] .service-toggle {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.service-accordion-panel {
  margin-top: 20px;
  padding: 22px 24px;
  background: #fbf7ef;
  border: 1px solid #ece4d4;
}

.service-accordion-panel p {
  margin: 0 0 14px;
}

.service-accordion-panel p:last-child {
  margin-bottom: 0;
}

.service-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
  margin-top: 22px;
}

.service-diagram-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(35,56,74,.05);
  overflow: hidden;
}

.service-diagram-card img {
  display: block;
  width: 100%;
  height: auto;
}

.service-diagram-card figcaption {
  padding: 14px 18px 16px;
  font-weight: 700;
  color: var(--slate);
  background: #fff;
}

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

  .service-accordion-panel {
    padding: 18px 16px;
  }

  .service-toggle {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
}


/* Services illustration refinement */
.service-diagram-card img {
  background: #f7f4ee;
  object-fit: cover;
}


/* Keep crown and bridge illustrations visually even */
.service-diagram-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 760px) {
  .service-diagram-card img {
    height: 240px;
  }
}

/* Homepage transparent navigation over hero video */
.home-page .site-header {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.home-page .site-header .nav { min-height: 104px; }
.home-page .brand-logo-horizontal {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.14));
}
.home-page .nav-links > a,
.home-page .nav-dropdown-trigger {
  color: #23384A;
  text-shadow: 0 1px 10px rgba(247,244,238,.7);
}
.home-page .nav-links > a:hover,
.home-page .nav-links > a:focus,
.home-page .nav-dropdown-trigger:hover,
.home-page .nav-dropdown-trigger:focus {
  color: #3E6F97;
}
.home-page .hero-video { padding-top: 104px; }
.home-page .hero-video-content { min-height: 690px; }

@media (max-width: 760px) {
  .home-page .site-header {
    position: relative;
    top: auto;
    background: rgba(247,244,238,.96);
  }
  .home-page .hero-video { padding-top: 0; }
  .home-page .nav-links > a,
  .home-page .nav-dropdown-trigger { text-shadow: none; }
}


/* Homepage transparent-header refinements */
.home-page .topbar .appt {
  justify-content: center;
  text-align: center;
  min-width: 205px;
  line-height: 1.2;
}

.home-page .site-header {
  top: 42px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Clean navigation directly over the video — no glow/blur */
.home-page .nav-links > a,
.home-page .nav-dropdown-trigger {
  position: relative;
  padding: 9px 11px;
  color: #23384A;
  text-shadow: none;
  border: 0;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

/* Override the original active underline/padding treatment */
.home-page .nav-links > a.active,
.home-page .nav-dropdown-trigger.active {
  color: #23384A;
  padding: 9px 11px;
  border-bottom: 0;
  background: rgba(247,244,238,.72);
  box-shadow: inset 0 0 0 1px rgba(216,198,161,.92);
}

/* Hover is restrained and does not move the link */
.home-page .nav-links > a:hover,
.home-page .nav-links > a:focus,
.home-page .nav-dropdown-trigger:hover,
.home-page .nav-dropdown-trigger:focus {
  color: #3E6F97;
  background: rgba(247,244,238,.52);
  border-bottom: 0;
  transform: none;
}

@media (max-width: 760px) {
  .home-page .site-header {
    top: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-page .nav-links > a,
  .home-page .nav-dropdown-trigger,
  .home-page .nav-links > a.active,
  .home-page .nav-dropdown-trigger.active {
    padding: 9px 10px;
  }
}


/* Homepage navigation — tighter, lighter, SmileStyle-inspired active state */
.home-page .nav-links {
  gap: 17px;
}

.home-page .nav-links > a,
.home-page .nav-dropdown-trigger {
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .045em;
  background: transparent;
  box-shadow: none;
  border: 0;
  transform: none;
}

.home-page .nav-dropdown-trigger {
  gap: 5px;
}

.home-page .nav-dropdown-trigger::after {
  font-size: 11px;
}

/* Selected item: color change only — no underline, box, or movement */
.home-page .nav-links > a.active,
.home-page .nav-dropdown-trigger.active {
  color: #B39A67;
  padding: 7px 6px;
  background: transparent;
  box-shadow: none;
  border: 0;
  transform: none;
}

/* Subtle hover without shifting */
.home-page .nav-links > a:hover,
.home-page .nav-links > a:focus,
.home-page .nav-dropdown-trigger:hover,
.home-page .nav-dropdown-trigger:focus {
  color: #3E6F97;
  background: transparent;
  box-shadow: none;
  border: 0;
  transform: none;
}

@media (max-width: 980px) and (min-width: 761px) {
  .home-page .nav-links {
    gap: 12px;
  }

  .home-page .nav-links > a,
  .home-page .nav-dropdown-trigger,
  .home-page .nav-links > a.active,
  .home-page .nav-dropdown-trigger.active {
    padding: 7px 4px;
    font-size: 11px;
  }
}


/* Consistent navigation styling across all pages */
.nav-links {
  gap: 17px;
}

.nav-links > a,
.nav-dropdown-trigger {
  position: relative;
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .045em;
  background: transparent;
  box-shadow: none;
  border: 0;
  transform: none;
  transition: color .18s ease;
}

.nav-dropdown-trigger {
  gap: 5px;
}

.nav-dropdown-trigger::after {
  font-size: 11px;
}

/* Selected item: simple warm-sand text color only */
.nav-links > a.active,
.nav-dropdown-trigger.active {
  color: #B39A67;
  padding: 7px 6px;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-bottom: 0;
  transform: none;
}

/* Consistent hover behavior */
.nav-links > a:hover,
.nav-links > a:focus,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus {
  color: #3E6F97;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-bottom: 0;
  transform: none;
}

@media (max-width: 980px) and (min-width: 761px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links > a,
  .nav-dropdown-trigger,
  .nav-links > a.active,
  .nav-dropdown-trigger.active {
    padding: 7px 4px;
    font-size: 11px;
  }
}


/* Final unified navigation override
   Keeps dropdown triggers visually identical to regular navigation links. */
.nav-links > a,
.nav-links .nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 6px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .045em !important;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  transform: none !important;
  transition: color .18s ease;
}

.nav-links {
  gap: 17px !important;
}

.nav-links .nav-dropdown-trigger {
  gap: 5px;
}

.nav-links .nav-dropdown-trigger::after {
  font-size: 11px;
}

/* Same selected state for every navigation item */
.nav-links > a.active,
.nav-links .nav-dropdown-trigger.active,
.about-nav-dropdown .nav-dropdown-trigger.active {
  color: #B39A67 !important;
  padding: 7px 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  transform: none !important;
}

/* Same hover state for every navigation item */
.nav-links > a:hover,
.nav-links > a:focus,
.nav-links .nav-dropdown-trigger:hover,
.nav-links .nav-dropdown-trigger:focus {
  color: #3E6F97 !important;
  padding: 7px 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  transform: none !important;
}

@media (max-width: 980px) and (min-width: 761px) {
  .nav-links {
    gap: 12px !important;
  }

  .nav-links > a,
  .nav-links .nav-dropdown-trigger,
  .nav-links > a.active,
  .nav-links .nav-dropdown-trigger.active {
    padding: 7px 4px !important;
    font-size: 11px !important;
  }
}


/* Homepage first-screen fit: keep the full hero experience visible on load */
@media (min-width: 761px) {
  .home-page .topbar-inner {
    min-height: 36px;
  }

  .home-page .site-header {
    top: 36px;
  }

  .home-page .site-header .nav {
    min-height: 88px;
  }

  .home-page .hero-video,
  .home-page .hero-video-content {
    height: clamp(560px, calc(100svh - 36px), 700px);
    min-height: 560px;
  }

  .home-page .hero-video-content {
    align-items: flex-start;
  }

  .home-page .hero-video .hero-copy {
    padding: 102px 0 28px;
    justify-content: flex-start;
  }

  .home-page .heritage-mark {
    margin-bottom: 20px;
  }

  .home-page .kicker {
    margin-bottom: 10px;
  }

  .home-page .hero-video h1 {
    font-size: clamp(48px, 5.3vw, 68px);
  }

  .home-page .hero-rule {
    margin: 18px 0;
  }

  .home-page .hero-copy .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .home-page .hero-actions {
    margin-top: 22px;
  }
}

/* Short desktop/laptop screens: compact the hero a little more */
@media (min-width: 761px) and (max-height: 700px) {
  .home-page .hero-video .hero-copy {
    padding-top: 88px;
  }

  .home-page .heritage-mark {
    margin-bottom: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .home-page .heritage-year {
    font-size: 30px;
  }

  .home-page .hero-video h1 {
    font-size: clamp(44px, 4.8vw, 60px);
  }

  .home-page .hero-rule {
    margin: 14px 0;
  }

  .home-page .hero-actions {
    margin-top: 17px;
  }
}


/* Homepage hero alignment refinement */
@media (min-width: 761px) {
  .home-page .hero-video .hero-copy {
    position: relative;
    padding-top: 72px;
    padding-bottom: 28px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Heritage mark higher, with no blurred/frosted panel behind it */
  .home-page .heritage-mark {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  /* Center the main text group vertically around the visual centerline */
  .home-page .hero-video .kicker {
    margin-top: auto;
  }

  .home-page .hero-video .lead {
    margin-bottom: 0;
  }

  /* Keep the CTA buttons where they currently sit */
  .home-page .hero-actions {
    margin-top: 22px;
    margin-bottom: auto;
  }
}

@media (min-width: 761px) and (max-height: 700px) {
  .home-page .hero-video .hero-copy {
    padding-top: 58px;
  }

  .home-page .hero-actions {
    margin-top: 17px;
  }
}

/* Move heritage and primary hero copy higher without moving CTA buttons */
@media (min-width: 761px) {
  .home-page .heritage-mark {
    transform: translateY(-34px);
  }

  .home-page .hero-video .kicker,
  .home-page .hero-video h1,
  .home-page .hero-rule,
  .home-page .hero-video .lead {
    transform: translateY(-24px);
  }

  .home-page .hero-actions {
    transform: none;
  }
}

@media (min-width: 761px) and (max-height: 700px) {
  .home-page .heritage-mark {
    transform: translateY(-26px);
  }

  .home-page .hero-video .kicker,
  .home-page .hero-video h1,
  .home-page .hero-rule,
  .home-page .hero-video .lead {
    transform: translateY(-18px);
  }
}


/* Refined About Us / Patient Info dropdown panels */
@media (min-width: 761px) {
  .nav-dropdown-menu {
    top: 100%;
    left: 50%;
    min-width: 238px;
    padding: 16px 18px 14px;
    background: rgba(250,248,244,.985);
    border: 0;
    border-top: 2px solid #D8C6A1;
    border-radius: 0;
    box-shadow:
      0 18px 40px rgba(35,56,74,.12),
      0 3px 10px rgba(35,56,74,.05);
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-menu a {
    position: relative;
    display: block;
    padding: 13px 8px 13px 17px;
    color: #23384A;
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease, background .16s ease;
  }

  .nav-dropdown-menu a + a {
    border-top: 1px solid rgba(35,56,74,.09);
  }

  .nav-dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    width: 7px;
    height: 1px;
    background: #B39A67;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .16s ease;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus,
  .nav-dropdown-menu a.active-sub {
    color: #B39A67;
    background: transparent;
  }

  .nav-dropdown-menu a:hover::before,
  .nav-dropdown-menu a:focus::before,
  .nav-dropdown-menu a.active-sub::before {
    opacity: 1;
  }

  /* Maintain a seamless hover bridge between trigger and menu */
  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 100%;
    height: 18px;
    z-index: 59;
  }
}


/* Compact dropdown panels */
@media (min-width: 761px) {
  .nav-dropdown-menu {
    min-width: 178px;
    padding: 10px 12px 8px;
  }

  .nav-dropdown-menu a {
    padding: 10px 6px 10px 14px;
    font-size: 10.5px;
  }

  .nav-dropdown-menu a::before {
    width: 6px;
  }
}


/* Dark luxury blue-gray + gold palette preview */
:root {
  --blue: #7F9BB2;      /* softened steel blue accent */
  --slate: #31424D;     /* deep blue-gray */
  --sage: #6E808C;      /* muted supporting blue-gray */
  --ivory: #F6F3EE;     /* warm light neutral */
  --sand: #C7A96B;      /* elegant gold accent */
  --charcoal: #1F2B33;  /* dark luxury base */
  --white: #FFFFFF;
  --line: #DDD7CD;
  --muted: #687782;
  --shadow: 0 24px 64px rgba(22,31,38,.18);
}

/* Structural tones */
.topbar {
  background: #24323B;
}

.footer {
  background: #1F2A31;
}

.features {
  background: #405560;
}

.doctor-quote-banner {
  background: #31424D;
}

.page-hero,
.section-ivory,
.patient-info-hero {
  background-color: #F6F3EE;
}

/* Buttons */
.btn-primary {
  background: #C7A96B;
  border-color: #C7A96B;
  color: #1F2B33;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #B59456;
  border-color: #B59456;
  color: #1F2B33;
}

.btn-outline {
  color: #31424D;
  border-color: #C7A96B;
}

.btn-outline:hover,
.btn-outline:focus {
  color: #1F2B33;
  border-color: #B59456;
  background: rgba(246,243,238,.72);
}

/* Navigation */
.nav-links > a.active,
.nav-links .nav-dropdown-trigger.active,
.about-nav-dropdown .nav-dropdown-trigger.active,
.home-page .nav-links > a.active,
.home-page .nav-dropdown-trigger.active {
  color: #C7A96B !important;
}

.nav-links > a:hover,
.nav-links > a:focus,
.nav-links .nav-dropdown-trigger:hover,
.nav-links .nav-dropdown-trigger:focus,
.home-page .nav-links > a:hover,
.home-page .nav-links > a:focus,
.home-page .nav-dropdown-trigger:hover,
.home-page .nav-dropdown-trigger:focus {
  color: #A88445 !important;
}

.nav-dropdown-menu {
  background: rgba(248,246,242,.99);
  border-top-color: #C7A96B;
  box-shadow: 0 20px 42px rgba(22,31,38,.16), 0 4px 12px rgba(22,31,38,.07);
}

.nav-dropdown-menu a::before {
  background: #C7A96B;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus,
.nav-dropdown-menu a.active-sub {
  color: #B08E52 !important;
}

/* Hero overlay: darker and more luxurious */
.hero-video-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(246,243,238,.96) 0%,
      rgba(246,243,238,.92) 24%,
      rgba(246,243,238,.74) 45%,
      rgba(38,53,62,.22) 72%,
      rgba(31,43,51,.10) 100%
    );
}

.hero-copy .lead,
.home-page .hero-video .lead {
  color: #5D6C76;
}

/* Interior panels */
.service-accordion-panel,
.note {
  background: #FBF9F5;
  border-color: #E7DECf;
}

/* About hero */
.about-practice-hero {
  background:
    linear-gradient(90deg, rgba(31,43,51,.74) 0%, rgba(49,66,77,.56) 42%, rgba(246,243,238,.10) 100%),
    linear-gradient(180deg, rgba(15,19,22,.10), rgba(15,19,22,.18)),
    url("assets/about-hero-balboa-park.jpg") center 62% / cover no-repeat;
}

/* Accents */
.hero-rule,
.section-rule {
  background: #C7A96B;
}

.service-row b,
.philosophy-label,
.value-number,
.kicker {
  color: #B9985D;
}

a,
.visit-card a,
.coming-soon-card a {
  color: #7F9BB2;
}

/* Updated patient info hero background */

.patient-info-hero{
  position: relative;
  background-image:
    linear-gradient(rgba(26, 38, 47, 0.54), rgba(26, 38, 47, 0.54)),
    url("assets/patient-info-night-sd-banner.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  color: #FFFFFF;
}
.patient-info-hero .kicker,
.patient-info-hero h1,
.patient-info-hero p{
  color: #FFFFFF;
}
.patient-info-hero .container{
  position: relative;
  z-index: 2;
}


/* Homepage heading emphasis */
.about-copy .you-underline{
  display:inline;
  border-bottom:0;
  padding-bottom:0;
  text-decoration-line: underline;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
  text-decoration-skip-ink: none;
}

/* The word itself is the accent here, so avoid a second gold line below it. */
.about-copy h2 + .hero-rule{
  display:none;
}


/* Homepage logo: 50% larger than the current logo at each breakpoint */
.home-page .brand-logo-horizontal {
  height: 123px;
}

@media (max-width: 1100px) {
  .home-page .brand-logo-horizontal {
    height: 111px;
  }
}

@media (max-width: 900px) {
  .home-page .brand-logo-horizontal {
    height: 96px;
  }
}

@media (max-width: 760px) {
  .home-page .brand-logo-horizontal {
    height: 78px;
  }
}


/* Homepage logo visual alignment:
   compensate for transparent padding inside the PNG so the visible logo
   aligns with the same left edge as the hero text below. */
@media (min-width: 1101px) {
  .home-page .brand-logo-horizontal {
    transform: translateX(-11px);
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .brand-logo-horizontal {
    transform: translateX(-10px);
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .home-page .brand-logo-horizontal {
    transform: translateX(-9px);
  }
}
@media (max-width: 760px) {
  .home-page .brand-logo-horizontal {
    transform: translateX(-7px);
  }
}


/* Homepage navigation vertical alignment with enlarged logo */
@media (min-width: 761px) {
  .home-page .nav-links {
    position: relative;
    top: 16px;
  }
}


/* Balance homepage hero text vertically between the enlarged logo and CTA row */
@media (min-width: 761px) {
  .home-page .hero-video .kicker,
  .home-page .hero-video h1,
  .home-page .hero-rule,
  .home-page .hero-video .lead {
    transform: translateY(-60px);
  }

  .home-page .hero-actions {
    transform: none;
  }
}

@media (min-width: 761px) and (max-height: 700px) {
  .home-page .hero-video .kicker,
  .home-page .hero-video h1,
  .home-page .hero-rule,
  .home-page .hero-video .lead {
    transform: translateY(-50px);
  }
}


/* Homepage hero: fill the available browser viewport on desktop.
   Removes the old 700px maximum that caused a white strip on taller screens. */
@media (min-width: 761px) {
  .home-page .hero-video,
  .home-page .hero-video-content {
    height: calc(100vh - 36px);
    height: calc(100dvh - 36px);
    min-height: 560px;
    max-height: none;
  }
}


/* Crocodile feature card on services page */
.service-row-crocodile p a {
  font-weight: 700;
}
.crocodile-card {
  max-width: 520px;
  margin-top: 22px;
}
.crocodile-card img {
  height: 420px;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 760px) {
  .crocodile-card {
    max-width: 100%;
  }
  .crocodile-card img {
    height: 320px;
  }
}


/* Crocodile accordion: show the complete portrait without cropping */
.crocodile-panel p a {
  font-weight: 700;
}
.crocodile-card {
  width: min(100%, 650px);
  max-width: 650px;
  margin: 24px 0 0;
}
.crocodile-card img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
}
@media (max-width: 760px) {
  .crocodile-card {
    width: 100%;
    max-width: 100%;
  }
  .crocodile-card img {
    height: auto !important;
  }
}


/* Fifth affiliation card: Crocodile Dental Association */
@media (min-width: 981px) {
  .cred-banner-refined .cred-banner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.cred-banner-refined .cred-logo-link {
  text-decoration: none;
  color: inherit;
  transition: background .18s ease, transform .18s ease;
}

.cred-banner-refined .cred-logo-link:hover,
.cred-banner-refined .cred-logo-link:focus-visible {
  background: rgba(199, 169, 107, .08);
}

.cred-banner-refined .crocodile-association-card img {
  height: 108px;
  max-width: 230px;
  object-fit: contain;
}

@media (min-width: 761px) and (max-width: 980px) {
  .cred-banner-refined .crocodile-association-card {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 1px solid rgba(35,56,74,.10);
  }
}

@media (max-width: 760px) {
  .cred-banner-refined .crocodile-association-card img {
    height: 92px;
    max-width: 220px;
  }
}

/* Crocodile anchor landing position: keep the section title clearly visible below the header */
/* Transparent Crocodile Dental Association logo */
.cred-banner-refined .crocodile-association-card {
  background: transparent;
}
.cred-banner-refined .crocodile-association-card img {
  background: transparent;
}


/* Crocodile Dental Association logo — slightly smaller */
.cred-banner-refined .crocodile-association-card img {
  height: 92px !important;
  max-width: 205px !important;
}

@media (max-width: 760px) {
  .cred-banner-refined .crocodile-association-card img {
    height: 80px !important;
    max-width: 190px !important;
  }
}

/* Preserve the exact Crocodile Teeth Health landing composition:
   heading visible below the interior-page navigation, matching the approved screenshot. */

/* Crocodile link target — exact positioning is handled in script.js */
#crocodile-teeth-health {
  scroll-margin-top: 0;
}


/* Homepage navigation aligned to the vertical midpoint of the logo */
@media (min-width: 761px) {
  .home-page .nav-links {
    position: relative;
    top: 0 !important;
    align-self: center;
  }
}


/* Nested subsection inside expandable service panels */
.service-subsection {
  margin: 24px 0 20px;
  padding: 22px 24px;
  background: rgba(255,255,255,.62);
  border-left: 3px solid var(--sand);
}
.service-subsection h4 {
  margin: 0 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--slate);
}
.service-subsection p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .service-subsection {
    padding: 18px 16px;
  }
}


/* Educational images within the Teeth Cleaning subsection */
.cleaning-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.cleaning-image-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(31,43,51,.06);
}
.cleaning-image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0e2639;
}
@media (max-width: 760px) {
  .cleaning-image-grid {
    grid-template-columns: 1fr;
  }
}


/* Equal-size Teeth Cleaning educational images */
.cleaning-image-grid {
  align-items: stretch;
}
.cleaning-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: #0e2639;
}
.cleaning-image-card img {
  width: 100%;
  height: 520px !important;
  max-height: 520px;
  object-fit: contain !important;
  object-position: center;
  background: #0e2639;
}

/* Optically center the + inside every expandable-service circle */
.service-toggle {
  position: relative;
  font-size: 0 !important;
  line-height: 0 !important;
}
.service-toggle::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .cleaning-image-card {
    min-height: 420px;
  }
  .cleaning-image-card img {
    height: 420px !important;
    max-height: 420px;
  }
  .service-toggle::before {
    font-size: 22px;
  }
}


/* FINAL expandable-service icon alignment */
.service-toggle {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  display: block !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  margin-top: 3px !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #fff;
}
.service-toggle::before,
.service-toggle::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 16px !important;
  height: 2px !important;
  margin: 0 !important;
  background: var(--blue) !important;
  border-radius: 2px;
  transform-origin: center center !important;
}
.service-toggle::before {
  transform: translate(-50%, -50%) !important;
}
.service-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}
.service-accordion[open] .service-toggle {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  transform: none !important;
}
.service-accordion[open] .service-toggle::before {
  background: #fff !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
.service-accordion[open] .service-toggle::after {
  background: #fff !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* FINAL teeth-cleaning captions */
.cleaning-image-card {
  display: flex;
  flex-direction: column;
}
.cleaning-image-card figcaption {
  width: 100%;
  padding: 14px 18px 16px;
  font-weight: 700;
  color: var(--slate);
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .service-toggle {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }
  .service-toggle::before,
  .service-toggle::after {
    width: 14px !important;
  }
}


/* Privacy and HIPAA notice pages */
.legal-hero h1 { max-width: 900px; }
.legal-section { background: #fff; }
.legal-layout { max-width: 920px; }
.legal-content {
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.78;
}
.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}
.legal-content p { margin: 0 0 18px; }
.legal-content a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.legal-updated {
  color: var(--muted);
  margin-bottom: 28px !important;
}
.legal-callout {
  margin: 0 0 34px;
  padding: 22px 24px;
  border-left: 3px solid var(--sand);
  background: var(--ivory);
}
.legal-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
}
.legal-callout p { margin: 0; }
.legal-content address {
  font-style: normal;
  padding: 20px 0 0;
}
.legal-inline-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .legal-content { font-size: 15px; }
  .legal-callout { padding: 18px; }
}


/* HIPAA Notice */
.legal-warning {
  margin: 0 0 34px;
  padding: 24px;
  background: var(--slate);
  color: #fff;
  border-left: 4px solid var(--sand);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .02em;
}
.legal-content h3 {
  margin: 28px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.25;
  color: var(--slate);
}
.legal-list {
  margin: 8px 0 22px;
  padding-left: 22px;
}
.legal-list li {
  margin: 0 0 10px;
}
.hipaa-footer-note {
  margin-top: 46px;
}


/* Accessibility widget */
.a11y-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10000;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.a11y-launcher {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31,43,51,.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.a11y-launcher:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(31,43,51,.34);
}

.a11y-launcher:focus-visible,
.a11y-close:focus-visible,
.a11y-control:focus-visible,
.a11y-reset:focus-visible,
.a11y-panel a:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

.a11y-launcher svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a11y-launcher svg circle {
  fill: currentColor;
  stroke: none;
}

.a11y-panel {
  position: absolute;
  left: 0;
  bottom: 66px;
  width: min(340px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 100px));
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(31,43,51,.14);
  box-shadow: 0 18px 50px rgba(31,43,51,.24);
  border-radius: 14px;
  color: var(--charcoal);
}

.a11y-panel[hidden] {
  display: none !important;
}

.a11y-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 18px 15px;
  background: var(--slate);
  color: #fff;
  border-radius: 13px 13px 0 0;
}

.a11y-panel-head strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 500;
}

.a11y-panel-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: .82;
}

.a11y-close {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 50%;
  font: 300 27px/1 Arial, sans-serif;
  cursor: pointer;
}

.a11y-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e9e6df;
  border-bottom: 1px solid #e9e6df;
}

.a11y-control {
  min-height: 88px;
  border: 0;
  background: #fff;
  color: var(--slate);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.a11y-control:hover,
.a11y-control[aria-pressed="true"] {
  background: var(--ivory);
}

.a11y-control[aria-pressed="true"] {
  box-shadow: inset 0 -3px 0 var(--sand);
}

.a11y-control-icon {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
}

.a11y-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}

.a11y-reset {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}

.a11y-panel-foot a {
  text-align: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Accessibility preferences */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }

html.a11y-readable-font body,
html.a11y-readable-font button,
html.a11y-readable-font input,
html.a11y-readable-font textarea,
html.a11y-readable-font select {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font h4,
html.a11y-readable-font .a11y-panel-head strong {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}

html.a11y-highlight-links a:not(.btn):not(.brand):not(.appt):not(.a11y-launcher) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
  outline: 2px solid transparent;
}

html.a11y-high-contrast {
  --blue: #004b76;
  --slate: #001d2b;
  --ivory: #fff;
  --sand: #ffd24a;
  --charcoal: #000;
  --line: #3d3d3d;
  --muted: #222;
}

html.a11y-high-contrast body {
  background: #fff !important;
  color: #000 !important;
}

html.a11y-high-contrast .topbar,
html.a11y-high-contrast .footer,
html.a11y-high-contrast .features,
html.a11y-high-contrast .quote-band,
html.a11y-high-contrast .legal-warning {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-high-contrast a {
  text-decoration-thickness: 2px;
}

html.a11y-grayscale {
  filter: grayscale(1);
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}

@media (max-width: 760px) {
  .a11y-widget {
    left: 12px;
    bottom: 12px;
  }
  .a11y-launcher {
    width: 48px;
    height: 48px;
  }
  .a11y-launcher svg {
    width: 26px;
    height: 26px;
  }
  .a11y-panel {
    bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a11y-launcher {
    transition: none;
  }
}


/* =========================================================
   SERVICES PAGE — Pacific Smile Design inspired editorial flow
   ========================================================= */
.services-redesign {
  overflow: hidden;
}

.services-redesign-hero {
  min-height: 560px;
  padding: 110px 0 96px;
}

.services-redesign-hero::before {
  background-image:
    linear-gradient(
      90deg,
      rgba(246,243,238,.98) 0%,
      rgba(246,243,238,.96) 30%,
      rgba(246,243,238,.84) 52%,
      rgba(246,243,238,.42) 74%,
      rgba(246,243,238,.18) 100%
    ),
    url("assets/services-hero-bg.jpg");
}

.services-redesign-hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 6.3vw, 84px);
}

.services-redesign-hero p {
  max-width: 670px;
  font-size: 18px;
  line-height: 1.75;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.services-philosophy {
  padding: 92px 0;
  background: #fff;
}

.services-philosophy-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 74px;
  align-items: start;
}

.services-philosophy-copy h2,
.services-section-heading h2,
.service-feature-heading h2,
.service-split-copy h2,
.services-cta-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.04;
}

.services-philosophy-copy > p:last-child,
.services-section-heading > p:last-child,
.service-feature-intro,
.service-split-copy > p,
.services-cta-inner p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.services-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-pillar {
  min-height: 190px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.service-pillar span,
.service-option > span {
  display: block;
  color: var(--sand);
  font: 500 14px/1 Georgia, "Times New Roman", serif;
  margin-bottom: 22px;
}

.service-pillar strong {
  display: block;
  color: var(--slate);
  font: 500 27px/1.1 Georgia, "Times New Roman", serif;
  margin-bottom: 9px;
}

.service-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.services-index-section {
  padding: 102px 0 112px;
  background: var(--slate);
  color: #fff;
}

.services-section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.services-index-section .kicker {
  color: var(--sand);
}

.services-index-section .services-section-heading h2 {
  color: #fff;
}

.services-index-section .services-section-heading > p:last-child {
  color: rgba(255,255,255,.72);
}

.services-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}

.service-index-card {
  position: relative;
  min-height: 310px;
  padding: 28px 26px 30px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.025);
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}

.service-index-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: var(--sand);
  transition: width .25s ease;
}

.service-index-card:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}

.service-index-card:hover::after {
  width: 100%;
}

.service-index-number {
  display: block;
  color: var(--sand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.service-index-icon {
  width: 46px;
  height: 46px;
  margin: 42px 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font: 400 20px/1 Georgia, "Times New Roman", serif;
  color: var(--sand);
}

.service-index-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 25px;
  line-height: 1.08;
}

.service-index-card p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.6;
}

.service-index-link {
  display: inline-block;
  margin-top: auto;
  color: var(--sand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.service-feature {
  padding: 104px 0;
  scroll-margin-top: 110px;
}

.service-feature-white {
  background: #fff;
}

.service-feature-ivory {
  background: var(--ivory);
}

.service-feature-dark {
  background: var(--slate);
  color: #fff;
}

.service-feature-croc {
  padding: 72px 0 108px;
  background: #fff;
}

.service-feature-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 820px);
  gap: 30px;
  align-items: start;
  margin-bottom: 50px;
}

.service-feature-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--sand);
  font: 500 23px/1 Georgia, "Times New Roman", serif;
}

.service-feature-number-small {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  font-size: 18px;
}

.service-feature-heading h2 {
  color: var(--slate);
}

.service-feature-dark .service-feature-heading h2,
.service-feature-dark .service-split-copy h2 {
  color: #fff;
}

.service-feature-dark .service-feature-intro,
.service-feature-dark .service-split-copy > p {
  color: rgba(255,255,255,.72);
}

.service-option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 42px;
}

.service-option {
  min-height: 218px;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.58);
}

.service-option h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.service-option p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.service-option-grid-dark {
  border-color: rgba(255,255,255,.17);
}

.service-option-grid-dark .service-option {
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.025);
}

.service-option-grid-dark .service-option h3 {
  color: #fff;
}

.service-option-grid-dark .service-option p {
  color: rgba(255,255,255,.68);
}

.service-deep-dive {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.service-deep-dive > summary {
  list-style: none;
  cursor: pointer;
  min-height: 102px;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-deep-dive > summary::-webkit-details-marker {
  display: none;
}

.service-deep-label {
  display: block;
  margin-bottom: 4px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.service-deep-dive > summary strong {
  color: var(--slate);
  font: 500 31px/1.1 Georgia, "Times New Roman", serif;
}

.service-deep-dive .service-accordion-panel {
  margin: 0 0 28px;
}

.service-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 42px;
}

.service-editorial-card {
  min-height: 250px;
  padding: 34px 34px 38px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.service-card-eyebrow {
  display: block;
  margin-bottom: 24px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.service-editorial-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.service-editorial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-split-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}

.service-split-copy > p {
  margin: 0 0 18px;
}

.service-split-copy .btn {
  margin-top: 12px;
}

.service-split-panel {
  min-height: 410px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-split-panel-dark {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
}

.service-feature-dark .service-split-panel-dark .service-card-eyebrow {
  color: var(--sand);
}

.service-check-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-check-list span {
  position: relative;
  display: block;
  padding: 15px 10px 15px 29px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-weight: 650;
}

.service-check-list span::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--sand);
}

.service-feature-dark .service-check-list {
  border-color: rgba(255,255,255,.18);
}

.service-feature-dark .service-check-list span {
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.service-panel-note,
.service-scope-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-feature-dark .service-panel-note {
  color: rgba(255,255,255,.62);
}

.service-scope-note {
  margin: -12px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--sand);
}

.veneer-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--slate);
  border-color: var(--slate);
}

.veneer-shape {
  position: absolute;
  border: 1px solid rgba(199,169,107,.62);
  border-radius: 50% 50% 46% 46%;
  transform: rotate(7deg);
}

.veneer-shape-one {
  width: 230px;
  height: 330px;
  left: 18%;
  top: 18%;
}

.veneer-shape-two {
  width: 190px;
  height: 280px;
  right: 8%;
  bottom: -35px;
  opacity: .55;
  transform: rotate(-11deg);
}

.veneer-panel-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: #fff;
}

.veneer-panel-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.veneer-panel-copy strong {
  font: 500 34px/1.15 Georgia, "Times New Roman", serif;
}

.emergency-panel {
  background: var(--slate);
  border-color: var(--slate);
}

.emergency-panel .service-card-eyebrow {
  color: var(--sand);
}

.emergency-panel .service-check-list {
  border-color: rgba(255,255,255,.18);
}

.emergency-panel .service-check-list span {
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.services-cta-band {
  padding: 74px 0;
  background: #405560;
  color: #fff;
}

.services-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 46px;
}

.services-cta-inner .kicker {
  color: var(--sand);
}

.services-cta-inner h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
}

.services-cta-inner p {
  max-width: 700px;
  color: rgba(255,255,255,.76);
  margin-bottom: 0;
}

.crocodile-deep-dive {
  max-width: 950px;
  margin: 0 auto;
}

#crocodile-teeth-health {
  scroll-margin-top: 0;
}

@media (max-width: 1080px) {
  .services-index-grid,
  .service-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-philosophy-grid,
  .service-split-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .services-philosophy-copy {
    max-width: 760px;
  }

  .service-split-panel {
    min-height: 330px;
  }
}

@media (max-width: 760px) {
  .services-redesign-hero {
    min-height: 500px;
    padding: 82px 0 68px;
  }

  .services-redesign-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(246,243,238,.97) 0%,
        rgba(246,243,238,.93) 50%,
        rgba(246,243,238,.68) 100%
      ),
      url("assets/services-hero-bg.jpg");
  }

  .services-redesign-hero h1 {
    font-size: clamp(43px, 12vw, 59px);
  }

  .services-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-philosophy,
  .services-index-section,
  .service-feature {
    padding: 72px 0;
  }

  .services-pillars,
  .services-index-grid,
  .service-option-grid,
  .service-editorial-grid {
    grid-template-columns: 1fr;
  }

  .service-index-card {
    min-height: 250px;
  }

  .service-index-icon {
    margin: 30px 0 20px;
  }

  .service-feature-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-feature-number {
    width: 58px;
    height: 58px;
    font-size: 18px;
  }

  .service-option {
    min-height: 0;
  }

  .service-deep-dive > summary {
    min-height: 90px;
  }

  .service-deep-dive > summary strong {
    font-size: 24px;
  }

  .service-editorial-card,
  .service-split-panel {
    padding: 28px 24px;
  }

  .services-cta-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-cta-inner .btn {
    width: 100%;
  }

  .veneer-panel {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-index-card {
    transition: none;
  }
}


/* Services redesign v2 adjustments */
@media (min-width: 761px) {
  .services-index-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.crocodile-index-card {
  background: linear-gradient(180deg, rgba(199,169,107,.08), rgba(255,255,255,.025));
}
.service-feature-heading-croc {
  margin-bottom: 26px;
}
.crocodile-deep-dive {
  max-width: 860px;
}
.crocodile-panel {
  text-align: center;
}
.crocodile-card {
  max-width: 440px;
  margin: 26px auto 0;
}
.crocodile-card img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
}
.crocodile-card figcaption {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}


/* Service category cards without numbering */
.service-index-number { display: none !important; }
.service-index-icon { margin-top: 8px; }


/* Services navigation dropdown */
.services-nav-menu {
  min-width: 235px;
}

@media (min-width: 761px) {
  .services-nav-menu {
    min-width: 245px;
    max-height: min(520px, calc(100vh - 135px));
    overflow-y: auto;
  }

  .services-nav-menu a {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .services-nav-menu a {
    white-space: normal;
  }
}



/* =========================================================
   NEW PATIENT FORMS / RESOURCES PAGE
   ========================================================= */
.new-patient-resource-hero {
  padding-top: 88px;
  padding-bottom: 82px;
}
.new-patient-resource-hero .container {
  position: relative;
  z-index: 2;
}
.new-patient-resource-hero h1 {
  max-width: 820px;
}
.new-patient-resource-hero p {
  max-width: 670px;
}
.new-patient-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.new-patient-resource-hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.new-patient-resource-hero .btn-outline:hover {
  color: var(--slate);
  background: #fff;
}

.new-patient-form-feature {
  background: #fff;
  padding: 104px 0;
}
.new-patient-form-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 76px;
  align-items: center;
}
.new-patient-form-copy h2,
.new-patient-section-heading h2,
.new-patient-faq-intro h2,
.new-patient-contact-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.05;
}
.new-patient-form-copy > p:not(.kicker) {
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}
.new-patient-form-actions {
  display: grid;
  gap: 12px;
  margin: 32px 0 26px;
}
.new-patient-action-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.new-patient-action-card:hover {
  transform: translateY(-2px);
  border-color: var(--sand);
  box-shadow: 0 12px 30px rgba(31,43,51,.08);
}
.new-patient-action-card.primary {
  background: var(--slate);
  border-color: var(--slate);
  color: #fff;
}
.new-patient-action-card.primary small {
  color: rgba(255,255,255,.72);
}
.new-patient-action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--sand);
  font-size: 19px;
}
.new-patient-action-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.new-patient-action-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.new-patient-form-note {
  padding: 19px 21px;
  border-left: 3px solid var(--sand);
  background: var(--ivory);
}
.new-patient-form-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--slate);
}
.new-patient-form-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.new-patient-form-preview-card {
  border: 1px solid var(--line);
  background: var(--ivory);
  box-shadow: 0 24px 60px rgba(31,43,51,.12);
}
.new-patient-form-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 17px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.new-patient-form-preview-card > a {
  display: block;
  background: #e9e6df;
  padding: 16px;
}
.new-patient-form-preview-card img {
  width: 100%;
  max-height: 585px;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 6px 22px rgba(31,43,51,.10);
}

.new-patient-prep-section {
  padding: 102px 0;
  background: var(--slate);
  color: #fff;
}
.new-patient-section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}
.new-patient-prep-section .kicker {
  color: var(--sand);
}
.new-patient-prep-section .new-patient-section-heading h2 {
  color: #fff;
}
.new-patient-section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.new-patient-prep-section .new-patient-section-heading > p:last-child {
  color: rgba(255,255,255,.7);
}
.new-patient-prep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}
.new-patient-prep-card {
  min-height: 255px;
  padding: 28px 25px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.new-patient-prep-card > span {
  display: block;
  margin-bottom: 50px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
}
.new-patient-prep-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 25px;
}
.new-patient-prep-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.65;
}

.new-patient-expect-section {
  padding: 104px 0;
  background: var(--ivory);
}
.new-patient-expect-grid {
  border-top: 1px solid var(--line);
}
.new-patient-expect-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.new-patient-step-number {
  color: var(--sand);
  font: 500 20px/1 Georgia, "Times New Roman", serif;
}
.new-patient-expect-step h3 {
  margin: 0 0 8px;
  font-size: 28px;
}
.new-patient-expect-step p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}
.new-patient-first-visit-link {
  margin: 28px 0 0;
}
.new-patient-first-visit-link a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-underline-offset: 4px;
}

.new-patient-faq-section {
  padding: 104px 0;
  background: #fff;
}
.new-patient-faq-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 78px;
  align-items: start;
}
.new-patient-faq-list {
  border-top: 1px solid var(--line);
}
.new-patient-faq-list details {
  border-bottom: 1px solid var(--line);
}
.new-patient-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--slate);
  font-weight: 750;
}
.new-patient-faq-list summary::-webkit-details-marker {
  display: none;
}
.new-patient-faq-list summary span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-size: 19px;
  line-height: 1;
}
.new-patient-faq-list details[open] summary span {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.new-patient-faq-list details p {
  margin: -5px 50px 24px 4px;
  color: var(--muted);
  line-height: 1.75;
}

.new-patient-contact-band {
  padding: 72px 0;
  background: #405560;
  color: #fff;
}
.new-patient-contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: center;
}
.new-patient-contact-inner .kicker {
  color: var(--sand);
}
.new-patient-contact-inner h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
}
.new-patient-contact-inner p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.76);
}
.new-patient-contact-actions {
  display: flex;
  flex-direction: column;
  min-width: 235px;
  gap: 10px;
}
.new-patient-contact-band .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.new-patient-contact-band .btn-outline:hover {
  color: var(--slate);
  background: #fff;
}

@media (max-width: 1050px) {
  .new-patient-form-grid,
  .new-patient-faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .new-patient-form-preview-card {
    max-width: 650px;
  }
  .new-patient-prep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .new-patient-contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .new-patient-contact-actions {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .new-patient-resource-hero {
    padding-top: 64px;
    padding-bottom: 62px;
  }
  .new-patient-hero-actions {
    flex-direction: column;
  }
  .new-patient-hero-actions .btn {
    width: 100%;
  }
  .new-patient-form-feature,
  .new-patient-prep-section,
  .new-patient-expect-section,
  .new-patient-faq-section {
    padding: 72px 0;
  }
  .new-patient-prep-grid {
    grid-template-columns: 1fr;
  }
  .new-patient-prep-card {
    min-height: 0;
  }
  .new-patient-prep-card > span {
    margin-bottom: 28px;
  }
  .new-patient-form-preview-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .new-patient-expect-step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .new-patient-contact-actions {
    flex-direction: column;
  }
  .new-patient-contact-actions .btn {
    width: 100%;
  }
}



/* =========================================================
   ONLINE NEW PATIENT ONBOARDING
   ========================================================= */
.online-onboarding-page {
  background: #f7f5f0;
}
.onboarding-intro {
  padding: 72px 0 56px;
  background: var(--slate);
  color: #fff;
}
.onboarding-intro-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: end;
}
.onboarding-intro .kicker { color: var(--sand); }
.onboarding-intro h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(48px, 6vw, 74px);
}
.onboarding-intro p {
  max-width: 700px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}
.onboarding-security-note {
  padding: 22px 24px;
  border-left: 3px solid var(--sand);
  background: rgba(255,255,255,.07);
}
.onboarding-security-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.onboarding-security-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.onboarding-section {
  padding: 56px 0 110px;
}
.onboarding-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.onboarding-progress {
  position: sticky;
  top: 120px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.onboarding-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.onboarding-progress-head strong {
  color: var(--slate);
}
.onboarding-progress ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.onboarding-progress li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  color: #8a949a;
}
.onboarding-progress li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #ccd2d5;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.onboarding-progress li strong {
  display: block;
  padding-top: 2px;
  color: inherit;
  font-size: 12px;
}
.onboarding-progress li small {
  display: block;
  margin-top: 2px;
  color: #a1a9ae;
  font-size: 10px;
}
.onboarding-progress li.active {
  color: var(--slate);
}
.onboarding-progress li.active > span,
.onboarding-progress li.complete > span {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--slate);
}
.onboarding-progress li.complete {
  color: var(--blue);
}
.onboarding-pdf-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-underline-offset: 3px;
}

.onboarding-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(31,43,51,.08);
}
#new-patient-online-form {
  min-height: 760px;
}
.onboarding-step {
  display: none;
  padding: 44px 48px 30px;
}
.onboarding-step.active {
  display: block;
}
.onboarding-step-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.onboarding-step-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.onboarding-step-head h2 {
  margin: 0 0 12px;
  font-size: clamp(35px, 4vw, 48px);
}
.onboarding-step-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form-field.full { grid-column: 1 / -1; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field > span,
.field-question {
  color: var(--slate);
  font-size: 12px;
  font-weight: 750;
}
.form-field em,
.acknowledgment-list em {
  color: #a6503f;
  font-style: normal;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8d8d3;
  background: #fff;
  padding: 10px 12px;
  color: var(--charcoal);
  font: inherit;
  border-radius: 0;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(127,155,178,.28);
  border-color: var(--blue);
}
.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #b44d3b;
  background: #fff9f7;
}
.form-field small {
  color: var(--muted);
  font-size: 10px;
}
.form-field-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.sensitive-field small {
  color: #986b31;
}
.form-fieldset {
  margin: 26px 0;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  background: #fbfaf7;
}
.form-fieldset legend {
  padding: 0 8px;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px 14px;
}
.choice-grid.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.choice-grid label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.45;
}
.choice-grid input {
  margin-top: 2px;
  accent-color: var(--blue);
}
.medical-condition-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.additional-insurance-block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.additional-insurance-block h3 {
  margin: 0 0 18px;
  font-size: 26px;
}
.medical-intro-callout {
  margin-bottom: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--sand);
  background: var(--ivory);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.medical-question-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.medical-question {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.medical-question > span {
  display: block;
  margin-bottom: 10px;
  color: var(--slate);
  font-weight: 750;
  font-size: 13px;
}
.medical-question .form-field {
  margin-top: 12px;
}
.rating-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.rating-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.rating-row label {
  cursor: pointer;
}
.rating-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rating-row span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.rating-row input:checked + span {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}
.rating-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.review-summary {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
}
.review-section {
  border: 1px solid var(--line);
  background: #fbfaf7;
}
.review-section h3 {
  margin: 0;
  padding: 14px 17px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.review-item {
  padding: 11px 16px;
  border-bottom: 1px solid #ece9e1;
}
.review-item:nth-child(odd) {
  border-right: 1px solid #ece9e1;
}
.review-item small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.review-item strong {
  display: block;
  margin-top: 3px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.consent-block {
  padding: 24px;
  background: var(--ivory);
  border-left: 3px solid var(--sand);
}
.consent-block h3 {
  margin: 0 0 14px;
  font-size: 25px;
}
.consent-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}
.consent-block p:last-child { margin-bottom: 0; }
.acknowledgment-list {
  display: grid;
  gap: 12px;
  margin: 25px 0;
}
.acknowledgment-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
}
.acknowledgment-list input {
  margin-top: 3px;
  accent-color: var(--blue);
}
.acknowledgment-list a {
  color: var(--blue);
}
.signature-block {
  margin: 25px 0;
  padding: 22px;
  border: 1px solid var(--line);
}
.signature-block legend {
  padding: 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--slate);
  font-size: 18px;
}
.signature-block > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.preview-only-callout {
  padding: 18px 20px;
  border: 1px solid #d7c7a6;
  background: #fffaf0;
}
.preview-only-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #7d5d28;
}
.preview-only-callout p {
  margin: 0;
  color: #766a55;
  font-size: 12px;
}
.onboarding-finish-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.onboarding-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-top: 1px solid var(--line);
  background: #fcfbf8;
}
.onboarding-back,
.onboarding-next {
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid var(--slate);
  background: #fff;
  color: var(--slate);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.onboarding-next {
  background: var(--slate);
  color: #fff;
}
.onboarding-back:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.onboarding-form-error {
  margin: 0 0 20px;
  padding: 12px 15px;
  border-left: 3px solid #b44d3b;
  background: #fff4f1;
  color: #74352b;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .onboarding-intro-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .onboarding-shell {
    grid-template-columns: 1fr;
  }
  .onboarding-progress {
    position: static;
  }
  .onboarding-progress ol {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  .onboarding-progress li {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
    justify-items: center;
  }
  .onboarding-progress li small {
    display: none;
  }
}

@media (max-width: 760px) {
  .onboarding-intro {
    padding: 56px 0 42px;
  }
  .onboarding-section {
    padding: 28px 0 72px;
  }
  .onboarding-progress {
    padding: 16px 14px;
  }
  .onboarding-progress-head {
    display: none;
  }
  .onboarding-progress ol {
    margin-top: 0;
    grid-template-columns: repeat(6, 1fr);
  }
  .onboarding-progress li strong {
    display: none;
  }
  .onboarding-progress li > span {
    width: 28px;
    height: 28px;
  }
  .onboarding-step {
    padding: 30px 20px 22px;
  }
  .onboarding-navigation {
    padding: 18px 20px;
  }
  .form-grid.two,
  .form-grid.three,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-item:nth-child(odd) {
    border-right: 0;
  }
  .choice-grid,
  .medical-condition-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rating-row {
    grid-template-columns: repeat(5, 1fr);
  }
  .onboarding-finish-actions {
    flex-direction: column;
  }
  .onboarding-finish-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .choice-grid,
  .medical-condition-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .site-header,
  .footer,
  .a11y-widget,
  .onboarding-intro,
  .onboarding-progress,
  .onboarding-navigation,
  .preview-only-callout,
  .onboarding-finish-actions {
    display: none !important;
  }
  body,
  .online-onboarding-page,
  .onboarding-section {
    background: #fff !important;
  }
  .onboarding-section {
    padding: 0 !important;
  }
  .onboarding-shell {
    display: block !important;
    width: 100% !important;
  }
  .onboarding-card {
    border: 0 !important;
    box-shadow: none !important;
  }
  .onboarding-step {
    display: none !important;
    padding: 0 !important;
  }
  .onboarding-step[data-step="6"] {
    display: block !important;
  }
  .onboarding-step-head {
    margin-bottom: 18px;
  }
  .review-section,
  .consent-block,
  .signature-block {
    break-inside: avoid;
  }
}


/* Mobile homepage hero: reduce empty space below logo/header */
@media (max-width: 760px) {
  .home-page .hero-video,
  .home-page .hero-video-content {
    min-height: 0 !important;
  }

  .home-page .hero-video-content {
    justify-content: flex-start !important;
    padding-top: 92px !important;
    padding-bottom: 40px !important;
  }

  .home-page .hero-video .kicker {
    margin-top: 0 !important;
  }
}


/* Mobile homepage hero v2: pull content up directly below header */
@media (max-width: 760px) {
  .home-page .hero-video-content {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 42px !important;
    padding-bottom: 38px !important;
  }

  .home-page .hero-video .hero-copy {
    padding-top: 0 !important;
    padding-bottom: 36px !important;
  }

  .home-page .hero-video .kicker {
    margin-top: 0 !important;
  }
}


/* =========================================================
   HOMEPAGE REQUEST APPOINTMENT MODAL — SLEEK
   ========================================================= */
.appointment-open-button {
  font-family: inherit;
  cursor: pointer;
}
.topbar .appointment-open-button.appt {
  border: 0;
}
body.appointment-modal-open {
  overflow: hidden;
}
.appointment-modal[hidden] {
  display: none !important;
}
.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
}
.appointment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 41, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.appointment-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 44px 48px 38px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 24, 30, .28);
  border: 1px solid rgba(199,169,107,.55);
}
.appointment-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  width: 74px;
  height: 3px;
  background: var(--sand);
}
.appointment-dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--slate);
  font: 300 30px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.appointment-dialog-close:hover,
.appointment-dialog-close:focus-visible {
  color: var(--sand);
}
.appointment-dialog-intro {
  margin-bottom: 28px;
  padding-right: 38px;
}
.appointment-dialog-intro .kicker {
  margin: 0 0 9px;
  color: var(--sand);
  font-size: 10px;
  letter-spacing: .18em;
}
.appointment-dialog-intro h2 {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: clamp(36px, 4.7vw, 50px);
  line-height: 1.02;
}
.appointment-dialog-intro p:last-child {
  margin: 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.appointment-request-form {
  border-top: 1px solid #e9e5dc;
  padding-top: 24px;
}
.appointment-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.appointment-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.appointment-field-full {
  grid-column: 1 / -1;
}
.appointment-field span {
  color: var(--slate);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.appointment-field em {
  color: #9b5d49;
  font-style: normal;
}
.appointment-field input,
.appointment-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfc9be;
  background: transparent;
  color: var(--charcoal);
  padding: 9px 1px 11px;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  box-shadow: none;
}
.appointment-field input {
  min-height: 43px;
}
.appointment-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.55;
}
.appointment-field input::placeholder,
.appointment-field textarea::placeholder {
  color: #a6a29a;
}
.appointment-field input:focus,
.appointment-field textarea:focus {
  outline: none;
  border-bottom-color: var(--sand);
  box-shadow: inset 0 -1px 0 var(--sand);
}
.appointment-field input.appointment-invalid,
.appointment-field textarea.appointment-invalid {
  border-bottom-color: #a54d3e;
  background: #fffaf8;
}
.appointment-field small {
  margin-top: 1px;
  color: #8a857c;
  font-size: 9.5px;
  line-height: 1.5;
}
.appointment-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.appointment-form-note {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a857c;
  font-size: 10.5px;
  line-height: 1.55;
}
.appointment-form-note a {
  color: var(--slate);
  font-weight: 800;
}
.appointment-form-status {
  min-height: 0;
  margin-top: 10px;
  color: #8b4337;
  font-size: 11px;
  font-weight: 650;
}
.appointment-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.appointment-submit {
  min-width: 176px;
  min-height: 48px;
  padding-left: 24px;
  padding-right: 24px;
}
.appointment-submit[disabled] {
  opacity: .62;
  cursor: wait;
}
.appointment-cancel {
  border: 0;
  background: transparent;
  color: #7f7a72;
  padding: 10px 2px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.appointment-cancel:hover {
  color: var(--slate);
}

/* Success state — intentionally only the confirmation content */
.appointment-modal.is-success .appointment-dialog {
  width: min(520px, 100%);
  padding: 48px 42px 42px;
}
.appointment-modal.is-success .appointment-dialog::before,
.appointment-modal.is-success .appointment-dialog-intro,
.appointment-modal.is-success .appointment-dialog-close {
  display: none !important;
}
.appointment-success {
  text-align: center;
  padding: 0;
}
.appointment-success-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--sand);
  font-size: 25px;
}
.appointment-success h3 {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 39px;
  line-height: 1.08;
}
.appointment-success p {
  max-width: 430px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.appointment-success .btn {
  min-width: 112px;
}

@media (max-width: 760px) {
  .appointment-modal {
    padding: 12px;
    align-items: end;
  }
  .appointment-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 38px 22px 26px;
  }
  .appointment-dialog::before {
    left: 22px;
    width: 62px;
  }
  .appointment-dialog-close {
    top: 8px;
    right: 9px;
  }
  .appointment-dialog-intro {
    margin-bottom: 22px;
    padding-right: 30px;
  }
  .appointment-dialog-intro h2 {
    font-size: 37px;
  }
  .appointment-request-form {
    padding-top: 20px;
  }
  .appointment-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .appointment-field-full {
    grid-column: auto;
  }
  .appointment-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }
  .appointment-form-actions .btn,
  .appointment-cancel {
    width: 100%;
  }
  .appointment-modal.is-success {
    align-items: center;
  }
  .appointment-modal.is-success .appointment-dialog {
    width: calc(100% - 10px);
    padding: 42px 24px 34px;
  }
  .appointment-success h3 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .appointment-modal:not([hidden]) .appointment-dialog {
    animation: appointmentModalIn .22s ease-out both;
  }
  @keyframes appointmentModalIn {
    from { opacity: 0; transform: translateY(14px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}


/* Practice contact details added to patient forms */
.new-patient-contact-details,
.onboarding-practice-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}
.new-patient-contact-details a,
.onboarding-practice-contact a {
  color: inherit;
  text-underline-offset: 3px;
}
.onboarding-practice-contact {
  margin: 14px 0 0;
  color: rgba(255,255,255,.78);
}


/* Footer contact links: compact email + website spacing */
.footer .footer-contact-links {
  margin-top: 0;
  margin-bottom: 0;
}
.footer .footer-contact-links a {
  display: block;
  margin: 1px 0 !important;
  line-height: 1.45;
}

/* Header appointment button should visually match existing topbar appointment link */
.topbar button.appt {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}



/* Contact page hero with animated consultation photo */
.contact-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 92px 0 82px;
  background: var(--ivory);
}

.contact-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(247,244,238,.96) 0%,
      rgba(247,244,238,.92) 24%,
      rgba(247,244,238,.78) 44%,
      rgba(247,244,238,.54) 66%,
      rgba(247,244,238,.30) 100%
    ),
    url("assets/contact-hero-consultation.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 82% 38%;
  animation: contactPhotoPan 12s ease-in-out infinite alternate;
  will-change: background-position;
  z-index: 0;
}

@keyframes contactPhotoPan {
  0% {
    background-position: 82% 38%;
  }
  100% {
    background-position: 76% 54%;
  }
}

.contact-page-hero .contact-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-page-hero h1 {
  max-width: 760px;
}

.contact-page-hero p {
  max-width: 650px;
  color: #4c585b;
}

@media (max-width: 900px) {
  .contact-page-hero {
    min-height: 420px;
    padding: 76px 0 64px;
  }

  .contact-page-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(247,244,238,.96) 0%,
        rgba(247,244,238,.88) 34%,
        rgba(247,244,238,.72) 65%,
        rgba(247,244,238,.50) 100%
      ),
      url("assets/contact-hero-consultation.jpg");
    background-position: 64% 28%;
    animation-duration: 13s;
  }

  @keyframes contactPhotoPan {
    0% {
      background-position: 64% 28%;
    }
    100% {
      background-position: 58% 42%;
    }
  }
}

@media (max-width: 640px) {
  .contact-page-hero {
    min-height: 460px;
    padding: 70px 0 58px;
    align-items: flex-end;
  }

  .contact-page-hero::before {
    background-position: 63% 23%;
  }

  @keyframes contactPhotoPan {
    0% {
      background-position: 63% 23%;
    }
    100% {
      background-position: 56% 37%;
    }
  }
}

/* Contact page appointment actions */
.contact-appointment-panel {
  padding-top: 4px;
}
.contact-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.contact-appointment-actions .btn {
  min-width: 150px;
}
@media (max-width: 760px) {
  .contact-appointment-actions {
    flex-direction: column;
  }
  .contact-appointment-actions .btn {
    width: 100%;
  }
}


/* Contact page: tighter contact information spacing */
.contact-page-hero + .section .visit-card dl {
  row-gap: 4px !important;
}
.contact-page-hero + .section .visit-card dt,
.contact-page-hero + .section .visit-card dd {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.35 !important;
}
.contact-page-hero + .section .visit-card dd + dt {
  margin-top: 6px !important;
}

/* Keep Request Appointment bold in the header on every page */
.topbar .appointment-open-button.appt {
  font-weight: 800 !important;
}


/* Contact page: contact details and office hours in two columns */
.contact-info-card {
  padding-top: 32px;
  padding-bottom: 30px;
}
.contact-info-card > h2 {
  margin-bottom: 24px;
}
.contact-info-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: start;
}
.contact-info-column h3 {
  margin: 0 0 12px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.contact-info-column dl {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 14px;
  row-gap: 7px;
}
.contact-info-column dt,
.contact-info-column dd {
  margin: 0 !important;
  line-height: 1.35 !important;
}
.contact-info-column dt {
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}
.contact-info-column dd {
  color: var(--muted);
  font-size: 13px;
}
.contact-info-column dd a {
  color: inherit;
}
.contact-info-card .hero-actions {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .contact-info-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .contact-info-column dl {
    grid-template-columns: 84px 1fr;
    column-gap: 12px;
  }
}


/* Header: slightly smaller Request Appointment text */
.topbar .appointment-open-button.appt {
  font-size: 11px !important;
  letter-spacing: .055em !important;
}

/* Contact page: widen the information card and prevent column overlap */
.contact-page-hero + .section .visit {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr) !important;
  gap: 44px !important;
}

.contact-info-card {
  width: 100%;
  max-width: none !important;
  padding-left: 34px !important;
  padding-right: 34px !important;
}

.contact-info-columns {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr) !important;
  gap: 48px !important;
}

.contact-info-column {
  min-width: 0;
}

.contact-info-column dl {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  column-gap: 12px !important;
}

.contact-info-column dd {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-info-column dd a {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .contact-page-hero + .section .visit {
    grid-template-columns: 1fr !important;
  }

  .contact-info-columns {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr) !important;
  }
}

@media (max-width: 760px) {
  .topbar .appointment-open-button.appt {
    font-size: 10px !important;
  }

  .contact-info-card {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .contact-info-columns {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}


/* Contact page final alignment + button text fix */
.contact-info-card .contact-info-column dl {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  column-gap: 16px !important;
  row-gap: 9px !important;
  align-items: baseline !important;
}

.contact-info-card .contact-info-column dt,
.contact-info-card .contact-info-column dd,
.contact-info-card .contact-info-column dd + dt {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  align-self: baseline !important;
}

.contact-info-card .contact-info-column dt {
  white-space: nowrap;
}

.contact-info-card .contact-info-column dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Prevent the generic visit-card link color from overriding button text */
.contact-info-card .hero-actions .btn {
  font-weight: 850 !important;
}

.contact-info-card .hero-actions .btn-primary,
.contact-info-card .hero-actions .btn-primary:visited,
.contact-info-card .hero-actions .btn-primary:hover,
.contact-info-card .hero-actions .btn-primary:focus {
  color: #1F2B33 !important;
}

.contact-info-card .hero-actions .btn-outline,
.contact-info-card .hero-actions .btn-outline:visited {
  color: #31424D !important;
}

.contact-info-card .hero-actions .btn-outline:hover,
.contact-info-card .hero-actions .btn-outline:focus {
  color: #1F2B33 !important;
}

@media (min-width: 1101px) {
  .contact-page-hero + .section .visit {
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .45fr) !important;
  }

  .contact-info-columns {
    grid-template-columns: minmax(0, 1.25fr) minmax(255px, .75fr) !important;
    gap: 54px !important;
  }
}

@media (max-width: 760px) {
  .contact-info-card .contact-info-column dl {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }
}


/* First Visit onboarding link */
.first-visit-onboarding-link {
  color: var(--slate);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
}
.first-visit-onboarding-link:hover,
.first-visit-onboarding-link:focus {
  color: var(--sand);
}


/* Required Patient Information fields */
.form-fieldset legend em {
  color: #9b5d49;
  font-style: normal;
}
.emergency-contact-group + .emergency-contact-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(49,66,77,.12);
}
.emergency-contact-group h3 {
  margin: 0 0 13px;
  color: var(--slate);
  font-family: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}
@media (max-width: 760px) {
  .emergency-contact-row {
    grid-template-columns: 1fr !important;
  }
}


/* Conditional insurance required markers */
.form-field span em[data-primary-insurance-required],
.form-field span em[data-additional-insurance-required],
.form-fieldset legend em[data-additional-question-required] {
  color: #9b5d49;
  font-style: normal;
}


/* Medical History required fields + prominent N/A */
.medical-question > span em,
.form-fieldset legend em,
.form-field span em {
  color: #9b5d49;
  font-style: normal;
}
.medical-condition-grid .medical-na-prominent {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(199,169,107,.72);
  background: rgba(199,169,107,.11);
  color: var(--slate);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}
.medical-condition-grid .medical-na-prominent strong {
  font-size: 19px;
  font-weight: 900;
}
.medical-condition-grid .medical-na-prominent input {
  width: 19px;
  height: 19px;
  margin-right: 9px;
}


/* Dental History smile N/A */
input[name="smile_changes"][value="N/A"] + span {
  font-weight: 800;
}


/* Financial Policy step */
.financial-policy-panel {
  display: grid;
  border: 1px solid rgba(49,66,77,.13);
  background: #fff;
}
.financial-policy-section {
  padding: 22px 24px;
}
.financial-policy-section + .financial-policy-section {
  border-top: 1px solid rgba(49,66,77,.10);
}
.financial-policy-section h3 {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: 16px;
}
.financial-policy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.financial-policy-acknowledgment {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(199,169,107,.65);
  background: rgba(199,169,107,.09);
}
.financial-policy-acknowledgment label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}
.financial-policy-acknowledgment input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.financial-policy-acknowledgment em {
  color: #9b5d49;
  font-style: normal;
}
@media (max-width: 760px) {
  .financial-policy-section { padding: 19px 18px; }
}


/* Combined Patient Information + Responsible Party step */
.combined-step-divider {
  height: 1px;
  margin: 34px 0 28px;
  background: linear-gradient(90deg, rgba(199,169,107,.85), rgba(49,66,77,.10));
}
.combined-step-subhead {
  margin-bottom: 22px;
}
.combined-step-subhead .onboarding-step-kicker {
  display: block;
  margin-bottom: 7px;
}
.combined-step-subhead h3 {
  margin: 0 0 7px;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.15;
}
.combined-step-subhead p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}


/* Responsible Party: truly hide conditional fields unless "No" is selected */
[data-responsible-fields][hidden] {
  display: none !important;
}


/* Policies & Authorizations */
.financial-policy-section .policy-inline-field {
  margin-top: 16px;
  max-width: 520px;
}



/* Additional dental-history questions */
.dental-question-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.dental-topic-other-field[hidden] {
  display: none !important;
}
.dental-topic-other-field {
  margin-top: 16px;
  max-width: 560px;
}

/* Expanded office financial policy */
.financial-policy-list {
  margin: 12px 0 15px 24px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.financial-policy-list li {
  padding-left: 5px;
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .insurance-card-upload-grid {
    grid-template-columns: 1fr;
  }
}



/* Conditional dental-history detail */
[data-dental-complications-details][hidden] {
  display: none !important;
}
.conditional-dental-detail {
  margin-top: 14px;
}

/* Individual policy acknowledgments */
.policy-specific-acknowledgment {
  margin-top: 17px;
  padding: 14px 16px;
  border: 1px solid rgba(199,169,107,.55);
  background: rgba(199,169,107,.08);
}
.policy-specific-acknowledgment label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  cursor: pointer;
}
.policy-specific-acknowledgment input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.policy-specific-acknowledgment em {
  color: #9b5d49;
  font-style: normal;
}
.photo-authorization-choice {
  display: grid;
  gap: 10px;
}


/* Mobile homepage: keep the next section fully below the initial viewport */
@media (max-width: 760px) {
  .home-page .hero-video-content {
    padding-bottom: 96px !important;
  }
}


/* Medical History: show explanation fields only when Yes is selected */
[data-medical-conditional-wrap][hidden] {
  display: none !important;
}


/* Footer practice icons */
.footer-practice-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.footer-practice-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.footer-practice-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9a85b;
  margin-top: 2px;
}
.footer-practice-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.footer-practice-item span:last-child,
.footer-practice-item a {
  line-height: 1.45;
}
.footer-practice-item a {
  display: inline-block;
  margin: 0 !important;
}
.footer .footer-contact-links {
  margin-top: 0;
  margin-bottom: 0;
}


/* Online patient onboarding submission */
.onboarding-submit-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(199,169,107,.55);
  background: rgba(199,169,107,.08);
}
.onboarding-submit-callout h3 {
  margin: 0 0 7px;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.25;
}
.onboarding-submit-callout p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}
.onboarding-submit-callout p strong {
  display: inline;
  margin: 0;
  color: var(--slate);
  font-weight: 800;
}
.onboarding-submit-button:disabled {
  opacity: .65;
  cursor: wait;
}
.onboarding-submit-status {
  min-height: 22px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.onboarding-submit-status.is-error {
  color: #9b4d3d;
  font-weight: 700;
}
.onboarding-submit-success {
  margin: 18px 0 8px;
  padding: 42px 32px;
  border: 1px solid rgba(49,66,77,.12);
  background: #fff;
  text-align: center;
}
.onboarding-submit-success[hidden],
.onboarding-step[hidden],
.onboarding-navigation[hidden] {
  display: none !important;
}
.onboarding-success-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 26px;
  font-weight: 800;
}
.onboarding-submit-success h2 {
  margin: 6px 0 10px;
}
.onboarding-submit-success > p:not(.kicker) {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.onboarding-success-id {
  margin-top: 16px !important;
  color: var(--slate) !important;
  font-weight: 700;
}
@media (max-width: 760px) {
  .onboarding-finish-actions {
    align-items: stretch;
  }
  .onboarding-finish-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .onboarding-submit-success {
    padding: 34px 20px;
  }
}

/* Homepage desktop doctor/about split: shorter section with an upper-body crop */
@media (min-width: 981px) {
  .home-page .about-split {
    height: 640px;
    min-height: 0;
  }

  .home-page .about-copy {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .home-page .about-photo {
    height: 640px;
    min-height: 0;
  }

  .home-page .about-photo img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 9%;
  }
}


/* Patient Resources - returning patient medical history */
.medical-history-resources-page .new-patient-form-note a {
  color: var(--slate);
  font-weight: 800;
}
.medical-history-update-shell {
  align-items: start;
}
.medical-history-update-aside p {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.medical-history-single-step {
  display: block !important;
}
.medical-history-identity-grid {
  margin-bottom: 4px;
}
.medical-history-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.medical-history-submit-callout {
  margin-top: 30px;
}
.medical-history-update-page .onboarding-card {
  min-width: 0;
}
@media (max-width: 900px) {
  .medical-history-update-shell {
    grid-template-columns: 1fr !important;
  }
}


/* Returning-patient Medical History success state */
.medical-history-update-page .onboarding-intro[hidden],
.medical-history-update-aside[hidden] {
  display: none !important;
}
.medical-history-update-shell.is-success {
  display: block !important;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 34px;
  padding-bottom: 54px;
}
.medical-history-update-shell.is-success .onboarding-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.medical-history-success-panel {
  margin: 0;
  padding: 64px 54px 58px;
  border: 1px solid rgba(49,66,77,.13);
  background: #fff;
  box-shadow: 0 18px 52px rgba(31,43,51,.08);
}
.medical-history-success-panel .onboarding-success-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-width: 1.5px;
  font-size: 28px;
}
.medical-history-success-panel .kicker {
  margin: 0 0 9px;
  color: var(--gold);
  text-align: center;
}
.medical-history-success-panel h2 {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.02;
  text-align: center;
}
.medical-history-success-panel > p:not(.kicker) {
  max-width: 610px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.medical-history-success-panel > p:first-of-type:not(.kicker) {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.65;
}
.medical-history-success-note {
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-size: 14px;
  line-height: 1.65;
}
.medical-history-success-panel .onboarding-success-id {
  margin-top: 20px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(49,66,77,.10);
  font-size: 13px;
  letter-spacing: .025em;
}
.medical-history-success-button {
  display: inline-flex !important;
  width: auto;
  margin: 24px auto 0 !important;
}
.medical-history-success-panel {
  text-align: center;
}
@media (max-width: 760px) {
  .medical-history-update-shell.is-success {
    padding-top: 22px;
    padding-bottom: 34px;
  }
  .medical-history-success-panel {
    padding: 44px 22px 40px;
  }
  .medical-history-success-panel h2 {
    font-size: 44px;
  }
  .medical-history-success-button {
    width: 100%;
    justify-content: center;
  }
}


/* Compact Request Appointment modal */
.appointment-modal {
  padding: 14px;
}
.appointment-dialog {
  width: min(690px, 100%);
  max-height: calc(100vh - 28px);
  padding: 28px 34px 24px;
}
.appointment-dialog::before {
  left: 34px;
  width: 62px;
}
.appointment-dialog-close {
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  font-size: 26px;
}
.appointment-dialog-intro {
  margin-bottom: 14px;
  padding-right: 34px;
}
.appointment-dialog-intro .kicker {
  margin-bottom: 5px;
  font-size: 9px;
}
.appointment-dialog-intro h2 {
  margin-bottom: 6px;
  font-size: clamp(30px, 3.8vw, 40px);
  line-height: 1.02;
}
.appointment-dialog-intro p:last-child {
  max-width: 580px;
  font-size: 12px;
  line-height: 1.45;
}
.appointment-request-form {
  padding-top: 14px;
}
.appointment-form-grid {
  gap: 11px 18px;
}
.appointment-field {
  gap: 4px;
}
.appointment-field span {
  font-size: 9px;
}
.appointment-field input,
.appointment-field textarea {
  padding: 5px 1px 7px;
  font-size: 14px;
}
.appointment-field input {
  min-height: 34px;
}
.appointment-field textarea {
  min-height: 58px;
  height: 58px;
  line-height: 1.35;
}
.appointment-field small {
  font-size: 8.5px;
  line-height: 1.35;
}
.appointment-form-note {
  margin-top: 11px;
  font-size: 9.5px;
  line-height: 1.4;
}
.appointment-form-status {
  margin-top: 6px;
  font-size: 10px;
}
.appointment-form-actions {
  gap: 14px;
  margin-top: 13px;
}
.appointment-submit {
  min-width: 160px;
  min-height: 40px;
  padding: 10px 20px;
}
.appointment-cancel {
  padding: 8px 2px;
  font-size: 9px;
}

@media (max-width: 760px) {
  .appointment-modal {
    padding: 8px;
    align-items: center;
  }
  .appointment-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 22px 17px 16px;
  }
  .appointment-dialog::before {
    left: 17px;
    width: 52px;
  }
  .appointment-dialog-close {
    top: 4px;
    right: 5px;
  }
  .appointment-dialog-intro {
    margin-bottom: 10px;
    padding-right: 28px;
  }
  .appointment-dialog-intro .kicker {
    margin-bottom: 3px;
    font-size: 8px;
  }
  .appointment-dialog-intro h2 {
    margin-bottom: 4px;
    font-size: 29px;
  }
  .appointment-dialog-intro p:last-child {
    font-size: 10.5px;
    line-height: 1.35;
  }
  .appointment-request-form {
    padding-top: 10px;
  }
  .appointment-form-grid {
    gap: 8px;
  }
  .appointment-field {
    gap: 2px;
  }
  .appointment-field span {
    font-size: 8.5px;
  }
  .appointment-field input,
  .appointment-field textarea {
    padding: 4px 1px 5px;
    font-size: 13px;
  }
  .appointment-field input {
    min-height: 31px;
  }
  .appointment-field textarea {
    min-height: 48px;
    height: 48px;
  }
  .appointment-field small {
    font-size: 8px;
    line-height: 1.25;
  }
  .appointment-form-note {
    margin-top: 7px;
    font-size: 8.5px;
  }
  .appointment-form-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
  }
  .appointment-form-actions .btn {
    width: auto;
    flex: 1 1 auto;
  }
  .appointment-cancel {
    width: auto;
    flex: 0 0 auto;
    padding: 8px 4px;
  }
  .appointment-submit {
    min-height: 38px;
    min-width: 0;
    padding: 9px 14px;
  }
}


/* Patient Resources expansion */
.patient-resources-nav-menu {
  width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  padding: 12px;
}
.patient-resources-nav-menu a { margin: 0 !important; padding: 10px 12px; }

.resource-page { background: #fff; }
.resource-hero {
  background: linear-gradient(135deg, #233540 0%, #314b5c 100%);
  color: #fff;
  padding: 74px 0 70px;
}
.resource-hero-inner { max-width: 850px; }
.resource-hero .kicker { color: #d4bd82; }
.resource-hero h1 { margin: 8px 0 14px; color: #fff; font-size: clamp(42px, 6vw, 68px); line-height: 1.02; }
.resource-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
.resource-hero-actions, .resource-inline-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:25px; }
.resource-hero .btn-outline { color:#fff; border-color:rgba(255,255,255,.62); }
.resource-section { padding: 72px 0; }
.resource-section-ivory { background:#f6f3ee; }
.resource-two-col { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.7fr); gap:64px; align-items:start; }
.resource-two-col h2, .resource-section-heading h2 { margin:7px 0 18px; font-size:clamp(32px,4vw,48px); line-height:1.08; color:#31424d; }
.resource-two-col > div > p:not(.kicker), .resource-section-heading > p:not(.kicker) { color:#61727c; line-height:1.8; }
.resource-callout-card { padding:30px; background:#f6f3ee; border:1px solid rgba(49,66,77,.11); box-shadow:0 18px 45px rgba(31,43,51,.07); }
.resource-callout-card h3 { margin:8px 0 16px; color:#31424d; font-family:Georgia,'Times New Roman',serif; font-size:25px; line-height:1.3; }
.resource-callout-card p, .resource-callout-card a { color:#61727c; line-height:1.7; }
.resource-hours { display:grid; gap:7px; margin-top:20px; padding-top:17px; border-top:1px solid rgba(49,66,77,.12); color:#61727c; font-size:14px; }
.resource-hours span { display:flex; justify-content:space-between; gap:20px; }
.resource-check-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:26px; }
.resource-check-cards article { padding:20px; border:1px solid rgba(49,66,77,.12); background:#fff; }
.resource-check-cards strong { display:block; color:#31424d; margin-bottom:6px; }
.resource-check-cards span { color:#6e808c; font-size:13px; line-height:1.55; }
.resource-three-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.resource-card { padding:27px; background:#fff; border:1px solid rgba(49,66,77,.11); box-shadow:0 14px 36px rgba(31,43,51,.05); }
.resource-card-number { display:block; color:#c7a96b; font-size:11px; font-weight:800; letter-spacing:.12em; margin-bottom:18px; }
.resource-card h3 { color:#31424d; font-family:Georgia,'Times New Roman',serif; font-size:23px; line-height:1.2; margin:0 0 12px; }
.resource-card p { color:#6e808c; font-size:14px; line-height:1.7; }
.resource-card a { color:#8b713e; text-decoration:none; font-weight:700; font-size:13px; }
.resource-note { margin-top:25px; padding:18px 20px; border-left:3px solid #c7a96b; background:#f8f6f2; }
.resource-note strong { display:block; color:#31424d; margin-bottom:4px; }
.resource-note p { margin:0; color:#647782; line-height:1.65; }
.resource-note-prominent { margin:0 0 28px; }
.resource-map-section { padding:70px 0 80px; background:#f6f3ee; }
.resource-map-frame { margin-top:28px; height:390px; overflow:hidden; border:1px solid rgba(49,66,77,.11); box-shadow:0 18px 45px rgba(31,43,51,.07); }
.resource-map-frame iframe { width:100%; height:100%; border:0; }
.policy-summary-card { max-width:900px; padding:34px; border:1px solid rgba(49,66,77,.12); background:#fff; }
.policy-summary-card p { color:#61727c; line-height:1.75; }
.instruction-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.instruction-grid details, .faq-list details { border:1px solid rgba(49,66,77,.12); background:#fff; }
.instruction-grid summary, .faq-list summary { list-style:none; cursor:pointer; padding:18px 20px; color:#31424d; font-weight:750; }
.instruction-grid summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display:none; }
.instruction-grid summary::after, .faq-list summary::after { content:'+'; float:right; color:#c7a96b; font-size:20px; font-weight:400; }
.instruction-grid details[open] summary::after, .faq-list details[open] summary::after { content:'–'; }
.instruction-grid details div, .faq-list details p { padding:0 20px 18px; color:#677985; line-height:1.7; font-size:14px; }
.instruction-grid details div p { margin:0 0 9px; }
.faq-layout { max-width:980px; }
.faq-list { display:grid; gap:10px; margin-top:30px; }
.faq-list details p { margin:0; }
.emergency-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; margin-top:28px; }
.emergency-grid article { padding:25px; border:1px solid rgba(49,66,77,.12); background:#fff; }
.emergency-grid h3 { margin:0 0 10px; color:#31424d; font-family:Georgia,'Times New Roman',serif; font-size:22px; }
.emergency-grid p { margin:0; color:#697b85; line-height:1.7; font-size:14px; }
.emergency-alert { border-left-color:#b66c56; background:#fbf4f1; }
.resource-form-card { padding:28px; background:#fff; border:1px solid rgba(49,66,77,.12); box-shadow:0 18px 45px rgba(31,43,51,.07); }
.resource-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.resource-form-grid .full { grid-column:1/-1; }
.resource-form-privacy { color:#778791; font-size:11px; line-height:1.5; margin:14px 0; }
.resource-form-status { min-height:18px; color:#6e808c; font-size:12px; margin-bottom:8px; }
.resource-form-success { text-align:center; padding:34px 20px; }
.resource-success-mark { width:54px; height:54px; margin:0 auto 16px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#31424d; color:#fff; font-size:26px; }
.resource-form-success h3 { margin:6px 0 10px; color:#31424d; font-family:Georgia,'Times New Roman',serif; font-size:34px; }
.resource-form-success p:not(.kicker) { color:#697b85; line-height:1.65; }

@media (max-width: 900px) {
  .patient-resources-nav-menu { width:auto; grid-template-columns:1fr; padding:0; }
  .resource-two-col, .resource-three-cards, .emergency-grid { grid-template-columns:1fr; gap:22px; }
  .instruction-grid { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .resource-hero { padding:52px 0 48px; }
  .resource-hero h1 { font-size:40px; }
  .resource-hero p { font-size:15px; }
  .resource-section { padding:50px 0; }
  .resource-check-cards { grid-template-columns:1fr; }
  .resource-map-frame { height:300px; }
  .resource-form-grid { grid-template-columns:1fr; }
  .resource-form-grid .full { grid-column:auto; }
  .resource-form-card { padding:20px; }
}


/* Patient Resources refinements: single-column menu, merged visit page, wider accommodation form */
.patient-resources-nav-menu {
  width: 288px;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px;
}
.patient-resources-nav-menu a {
  margin: 0 !important;
  padding: 9px 10px;
}
.resource-parking-note {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(49,66,77,.12);
}
.resource-parking-note strong { color:#31424d; font-size:14px; }
.resource-parking-note span { color:#61727c; font-size:13px; line-height:1.6; }
.first-visit-resource-grid { grid-template-columns:minmax(240px,.72fr) minmax(0,1.45fr); gap:58px; }
.first-visit-resource-copy p { margin:0 0 16px; color:#61727c; line-height:1.8; }
.first-visit-resource-copy p:last-child { margin-bottom:0; }
.first-visit-resource-copy a { color:#8b713e; font-weight:700; text-decoration:none; }
.accommodation-layout {
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.55fr);
  gap: 42px;
}
.accommodation-layout .resource-form-card { padding: 28px 30px; }
.accommodation-layout .resource-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 18px; }
.accommodation-layout .resource-form-grid .full { grid-column:1 / -1; }
.accommodation-layout textarea { min-height:110px; }
@media (max-width: 900px) {
  .patient-resources-nav-menu { width:auto; }
  .first-visit-resource-grid,
  .accommodation-layout { grid-template-columns:1fr; gap:32px; }
}
@media (max-width: 640px) {
  .accommodation-layout .resource-form-card { padding:22px 18px; }
  .accommodation-layout .resource-form-grid { grid-template-columns:1fr; }
  .accommodation-layout .resource-form-grid .full { grid-column:auto; }
}


/* Compact office-hours alignment on Plan Your Visit */
.resource-hours {
  max-width: 235px;
}
.resource-hours span {
  display: grid;
  grid-template-columns: 54px max-content;
  column-gap: 12px;
  justify-content: start;
  align-items: baseline;
}


/* Post-Treatment FAQs — independent single-column accordion */
.post-treatment-page .resource-section .container {
  max-width: 1040px;
}
.post-treatment-page .resource-note-prominent {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.post-treatment-faq-list {
  max-width: 880px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.post-treatment-faq-list details {
  border: 1px solid rgba(49,66,77,.13);
  border-left: 3px solid rgba(199,169,107,.72);
  background: #fff;
  box-shadow: 0 8px 24px rgba(31,43,51,.035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post-treatment-faq-list details:hover {
  border-color: rgba(49,66,77,.22);
}
.post-treatment-faq-list details[open] {
  border-left-color: #c7a96b;
  box-shadow: 0 14px 34px rgba(31,43,51,.07);
}
.post-treatment-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 22px 1fr 30px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px 12px 16px;
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 600;
}
.post-treatment-faq-list summary::-webkit-details-marker {
  display: none;
}
.post-treatment-faq-list summary::before {
  content: '';
  width: 10px;
  height: 10px;
  display: inline-block;
  justify-self: center;
  background: #c7a96b;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px #f6f3ee;
}
.post-treatment-faq-list summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  background: #f6f3ee;
  color: #9a7c42;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.post-treatment-faq-list details[open] summary::after {
  content: '–';
  background: #31424d;
  color: #fff;
}
.post-treatment-faq-list details > div {
  margin: 0 18px 0 68px;
  padding: 0 30px 18px 0;
  color: #667984;
  font-size: 14px;
  line-height: 1.72;
  border-top: 1px solid rgba(49,66,77,.08);
}
.post-treatment-faq-list details > div p {
  margin: 15px 0 0;
}
.post-treatment-faq-list details > div p + p {
  margin-top: 9px;
}

@media (max-width: 760px) {
  .post-treatment-faq-list {
    gap: 9px;
  }
  .post-treatment-faq-list summary {
    grid-template-columns: 18px 1fr 28px;
    gap: 10px;
    min-height: 58px;
    padding: 10px 12px;
    font-size: 17px;
  }
  .post-treatment-faq-list summary::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px #f6f3ee;
  }
  .post-treatment-faq-list details > div {
    margin-left: 54px;
    margin-right: 12px;
    padding-right: 8px;
    padding-bottom: 15px;
    font-size: 13.5px;
  }
}


.faq-list details p a {
  color: #31424d;
  font-weight: 700;
  text-decoration-color: #c7a96b;
  text-underline-offset: 3px;
}
.faq-list details p a:hover {
  color: #9a7c42;
}


/* Homepage Visit Us practice photo */
.visit-with-practice-photo {
  align-items: stretch;
}
.visit-practice-photo-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #31424d;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(31,43,51,.08);
}
.visit-practice-photo-card > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 43%;
}
.visit-practice-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,31,39,.08) 12%, rgba(20,31,39,.28) 48%, rgba(20,31,39,.82) 100%);
  pointer-events: none;
}
.visit-practice-photo-overlay {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
  color: #fff;
}
.visit-practice-photo-overlay .kicker {
  color: #d7bd84;
  margin-bottom: 7px;
}
.visit-practice-photo-overlay h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.03;
}
.visit-practice-photo-overlay > p:not(.kicker) {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.55;
}
.visit-practice-photo-overlay .hero-actions {
  margin-top: 18px;
}
.visit-practice-photo-overlay .visit-photo-directions {
  color: #fff;
  border-color: rgba(255,255,255,.72);
}
.visit-practice-photo-overlay .visit-photo-directions:hover {
  border-color: #fff;
}
.visit-with-practice-photo .visit-card {
  display: flex;
  align-items: center;
  padding: 34px 38px;
}
.visit-with-practice-photo .visit-card dl {
  width: 100%;
}

@media (max-width: 900px) {
  .visit-with-practice-photo {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .visit-practice-photo-card,
  .visit-practice-photo-card > img {
    min-height: 410px;
  }
}
@media (max-width: 620px) {
  .visit-practice-photo-card,
  .visit-practice-photo-card > img {
    min-height: 360px;
  }
  .visit-practice-photo-overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .visit-practice-photo-overlay h2 {
    font-size: 34px;
  }
  .visit-practice-photo-overlay > p:not(.kicker) {
    font-size: 14px;
  }
  .visit-practice-photo-overlay .hero-actions {
    gap: 9px;
  }
}




/* Corrected Request Appointment field alignment */
.appointment-dialog .appointment-field input,
.appointment-dialog .appointment-field textarea {
  box-sizing: border-box;
}

/* Make the Reason field begin at the same text baseline as Best Date/Time.
   It can still grow when the patient types more. */
.appointment-dialog .appointment-field textarea {
  min-height: 43px !important;
  height: 43px !important;
  padding: 9px 1px 11px !important;
  line-height: 22px !important;
  resize: vertical;
  overflow-y: hidden;
}
.appointment-dialog .appointment-field textarea:focus,
.appointment-dialog .appointment-field textarea:not(:placeholder-shown) {
  min-height: 58px !important;
  height: 58px !important;
  overflow-y: auto;
}

/* The privacy notice and urgent-care notice should look identical. */
.appointment-dialog .appointment-field small,
.appointment-dialog .appointment-form-note {
  color: #8a857c !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.appointment-dialog .appointment-field small {
  display: block;
  margin-top: 2px !important;
}
.appointment-dialog .appointment-form-note {
  margin-top: 9px !important;
}

/* Do not reserve extra blank height for an empty status message. */
.appointment-dialog .appointment-form-status:empty {
  display: none;
}

@media (max-width: 760px) {
  .appointment-dialog .appointment-field textarea {
    min-height: 39px !important;
    height: 39px !important;
    padding: 7px 1px 8px !important;
    line-height: 22px !important;
  }
  .appointment-dialog .appointment-field textarea:focus,
  .appointment-dialog .appointment-field textarea:not(:placeholder-shown) {
    min-height: 54px !important;
    height: 54px !important;
  }
  .appointment-dialog .appointment-field small,
  .appointment-dialog .appointment-form-note {
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
}


/* Detailed post-extraction care sheet */
.post-treatment-faq-list details > div.post-extraction-sheet {
  padding-bottom: 22px;
}
.post-extraction-intro {
  margin: 16px 0 18px !important;
  padding: 14px 16px;
  background: #f8f6f2;
  border-left: 3px solid #c7a96b;
  color: #5f717c;
}
.post-extraction-intro strong {
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}
.post-extraction-columns {
  columns: 2;
  column-gap: 28px;
}
.post-extraction-block {
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(49,66,77,.10);
}
.post-extraction-block h4 {
  margin: 0 0 8px;
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.25;
}
.post-extraction-block ul {
  margin: 0;
  padding-left: 18px;
}
.post-extraction-block li {
  margin: 0 0 6px;
  color: #667984;
  line-height: 1.58;
}
.post-extraction-block p {
  margin: 0 0 8px !important;
}
.post-extraction-callout {
  padding: 14px 15px 12px;
  border: 1px solid rgba(199,169,107,.45);
  background: #fbfaf6;
}
.post-extraction-callout h4 {
  color: #765f34;
}
.post-extraction-callout a {
  color: #31424d;
  font-weight: 750;
}
.post-extraction-emergency {
  padding: 14px 15px 12px;
  border: 1px solid rgba(182,108,86,.28);
  background: #fbf4f1;
}
.post-extraction-emergency h4 {
  color: #8d4d3d;
}

@media (max-width: 760px) {
  .post-extraction-columns {
    columns: 1;
  }
  .post-treatment-faq-list details > div.post-extraction-sheet {
    margin-left: 54px;
  }
}


/* Post-treatment hero illustration */
.resource-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 360px);
  gap: 34px;
  align-items: center;
}
.resource-hero-copy {
  max-width: 850px;
}
.resource-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.post-treatment-hero .resource-hero-visual img {
  width: min(100%, 320px);
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .resource-hero-split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .resource-hero-visual {
    justify-content: flex-start;
  }
  .post-treatment-hero .resource-hero-visual img {
    width: min(100%, 220px);
  }
}

/* Selected Post-Treatment FAQ tooth illustration */
.post-treatment-hero .resource-hero-visual img {
  border-radius: 28px;
  mix-blend-mode: screen;
}


/* Expanded crown/bridge and periodontal aftercare */
.post-treatment-faq-list details > div.restoration-care-sheet,
.post-treatment-faq-list details > div.perio-care-sheet {
  padding-bottom: 22px;
}
.restoration-care-intro,
.perio-care-intro {
  margin: 16px 0 18px !important;
  padding: 14px 16px;
  background: #f8f6f2;
  border-left: 3px solid #c7a96b;
  color: #5f717c;
}
.restoration-care-intro strong,
.perio-care-intro strong {
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}
.restoration-care-grid,
.perio-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.restoration-care-grid section,
.perio-care-grid section {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(49,66,77,.10);
}
.restoration-care-grid h4,
.perio-care-grid h4 {
  margin: 0 0 8px;
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.25;
}
.restoration-care-grid ul,
.perio-care-grid ul {
  margin: 0;
  padding-left: 18px;
}
.restoration-care-grid li,
.perio-care-grid li {
  margin: 0 0 6px;
  line-height: 1.58;
}
.restoration-care-grid p,
.perio-care-grid p {
  margin: 0 0 9px !important;
}
.bridge-cleaning-block {
  grid-column: 1 / -1;
  padding: 16px 18px 14px !important;
  background: #fbfaf6;
  border: 1px solid rgba(199,169,107,.35) !important;
}
.perio-callout {
  grid-column: 1 / -1;
  padding: 16px 18px 14px !important;
  background: #fbfaf6;
  border: 1px solid rgba(199,169,107,.35) !important;
}
@media (max-width: 760px) {
  .restoration-care-grid,
  .perio-care-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bridge-cleaning-block,
  .perio-callout {
    grid-column: auto;
  }
}


/* Detailed root canal, whitening, and clear aligner aftercare */
.post-treatment-faq-list details > div.aftercare-sheet {
  padding-bottom: 22px;
}
.aftercare-intro {
  margin: 16px 0 20px !important;
  padding: 15px 17px;
  background: #f8f6f2;
  border-left: 3px solid #c7a96b;
  color: #5f717c;
}
.aftercare-intro strong {
  color: #31424d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}
.aftercare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  align-items: start;
}
.aftercare-grid section {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(49, 66, 77, .11);
}
.aftercare-grid h4 {
  margin: 0 0 9px;
  font-family: Georgia, 'Times New Roman', serif;
  color: #31424d;
  font-size: 17px;
  line-height: 1.3;
}
.aftercare-grid ul { margin: 0; padding-left: 18px; }
.aftercare-grid li { margin: 0 0 8px; line-height: 1.58; }
.aftercare-grid li:last-child { margin-bottom: 0; }
.aftercare-grid p { margin: 12px 0 0 !important; }
.aftercare-grid .aftercare-alert {
  grid-column: 1 / -1;
  border: 1px solid rgba(199, 169, 107, .42);
  background: #fbfaf6;
  padding: 18px 20px;
}
.aftercare-grid .aftercare-alert h4 { color: #806336; }
.aftercare-grid .aftercare-alert a {
  color: #31424d;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #c7a96b;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .aftercare-grid { grid-template-columns: 1fr; gap: 16px; }
  .aftercare-grid .aftercare-alert { grid-column: auto; padding: 16px; }
  .aftercare-intro { padding: 13px 14px; }
  .aftercare-grid h4 { font-size: 16px; }
}

/* Records request page */
.records-layout{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(0,1.4fr);gap:42px;align-items:start}.records-intro h2{font-family:Georgia,serif;color:#31424d;font-size:35px;line-height:1.15}.records-intro>p{color:#61727c;line-height:1.75}.records-form-card{width:100%;max-width:none}.records-form-card h3{font-family:Georgia,serif;color:#31424d;font-size:23px;margin:8px 0 17px;border-bottom:1px solid #d7bc83;padding-bottom:10px}.records-form-card h3:not(:first-child){margin-top:30px}.records-label{display:block;font-weight:750;color:#31424d;margin-bottom:10px}.records-form-group{margin:18px 0}.records-choices{display:flex;flex-wrap:wrap;gap:14px 24px}.records-choices label{display:flex;align-items:center;gap:8px;color:#4c606d;font-size:14px}.records-choices input,.records-consent input{accent-color:#31424d;width:16px;height:16px}.records-legal{font-size:13px;color:#526673;line-height:1.7;background:#f7f5f0;padding:15px;border-left:3px solid #c7a96b}.records-consent{display:flex;align-items:flex-start;gap:11px;margin:18px 0;color:#31424d;font-size:13px}.records-consent input{flex:none}.records-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:900px){.records-layout{grid-template-columns:1fr}.records-checks{grid-template-columns:1fr}}

/* Mobile playback and navigation refinements */
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  .home-page .site-header { position: sticky; top: 0; z-index: 100; }
  .nav-links {
    top: 100%;
    max-height: var(--mobile-nav-max-height, calc(100vh - 96px));
    max-height: var(--mobile-nav-max-height, calc(100dvh - 96px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 120;
  }
}


/* Dr. Rauvola’s transition message */
.transition-letter-section { padding-top: 44px; padding-bottom: 76px; }
.transition-letter-card {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(35,56,74,.08);
}
.transition-letter-masthead { text-align: center; margin: 0 0 42px; }
.transition-letter-brand { margin: 0; color: var(--slate); font: 600 19px/1.3 Georgia, "Times New Roman", serif; letter-spacing: .1em; text-transform: uppercase; }
.transition-letter-location { margin: 8px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.transition-letter-rule { display: block; width: 60px; height: 2px; margin: 22px auto 0; background: var(--sand); }
.transition-letter-copy { color: #343c3d; font: 17px/1.85 Georgia, "Times New Roman", serif; }
.transition-letter-copy p { margin: 0 0 19px; }
.transition-letter-salutation { color: var(--slate); font-size: 19px; }
.transition-letter-copy h2 { margin: 34px 0 16px; color: var(--slate); font: 600 clamp(25px, 3vw, 32px)/1.2 Georgia, "Times New Roman", serif; }
.transition-letter-signoff { margin-top: 30px; }
.transition-letter-signoff p { margin-bottom: 5px; }
.transition-letter-signature { color: var(--slate); font-weight: 700; }
.transition-letter-contact { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; }
.transition-letter-contact a { color: var(--slate); text-decoration-color: var(--sand); text-underline-offset: 3px; }

.transition-notice[hidden] { display: none !important; }
.transition-notice { position: fixed; inset: 0; z-index: 10100; display: grid; place-items: center; padding: 22px; }
.transition-notice-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(24,34,41,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); cursor: pointer; }
.transition-notice-dialog { position: relative; z-index: 1; width: min(560px, 100%); padding: clamp(30px, 6vw, 52px); background: var(--white); border: 1px solid rgba(199,169,107,.7); box-shadow: 0 28px 80px rgba(15,24,30,.28); }
.transition-notice-dialog::before { position: absolute; top: 0; left: clamp(30px, 6vw, 52px); width: 74px; height: 3px; background: var(--sand); content: ""; }
.transition-notice-close { position: absolute; top: 13px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; color: var(--slate); font: 300 30px/1 Georgia, "Times New Roman", serif; cursor: pointer; }
.transition-notice-close:hover, .transition-notice-close:focus-visible { color: var(--blue); }
.transition-notice-dialog .kicker { margin: 0 0 10px; color: var(--blue); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.transition-notice-dialog h2 { max-width: 430px; margin: 0 0 14px; color: var(--slate); font: 500 clamp(32px, 5vw, 42px)/1.08 Georgia, "Times New Roman", serif; }
.transition-notice-dialog > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.transition-notice-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 27px; }
.transition-notice-actions .btn { text-align: center; }
.transition-notice-continue { padding: 7px 0; border: 0; background: transparent; color: var(--slate); font: inherit; font-size: 14px; text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 4px; cursor: pointer; }
body.transition-notice-open { overflow: hidden; }
@media (max-width: 600px) {
  .transition-letter-section { padding-top: 24px; padding-bottom: 52px; }
  .transition-letter-card { width: min(100% - 28px, 850px); padding: 28px 22px; }
  .transition-letter-copy { font-size: 16px; line-height: 1.78; }
  .transition-letter-masthead { margin-bottom: 30px; }
  .transition-letter-contact { overflow-wrap: anywhere; }
  .transition-notice-dialog { padding: 42px 26px 32px; }
}


/* Transition message: photo flows directly into the letter */
.transition-photo-feature { width: min(calc(100% - 40px), 1120px); margin: 30px auto 0; overflow: hidden; border: 1px solid rgba(216,198,161,.65); background: var(--slate); box-shadow: 0 16px 42px rgba(35,56,74,.14); }
.transition-photo-feature img { display: block; width: 100%; height: auto; }
.transition-letter-section { padding-top: 34px; }
.transition-letter-card { border-top: 3px solid var(--sand); }
@media (max-width: 700px) {
  .transition-photo-feature { width: calc(100% - 28px); margin-top: 18px; }
}


/* Grouped patient FAQ topics */
.faq-topic-group { margin-top: 38px; }
.faq-topic-heading { margin: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 27px; }
.faq-topic-group .faq-list { margin-top: 16px; }
.faq-contact-note { margin: 38px 0 0; padding: 20px 22px; border-left: 3px solid var(--sand); background: var(--ivory); color: var(--muted); }
.faq-contact-note a { color: var(--slate); text-decoration-color: var(--sand); text-underline-offset: 3px; }


/* Patient education articles */
.dental-articles-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.dental-feature-article { max-width:900px; margin:0 auto 44px; padding:clamp(24px,4vw,48px); background:#fff; border:1px solid rgba(49,66,77,.11); box-shadow:0 14px 36px rgba(31,43,51,.05); color:var(--slate); }
.dental-feature-article h2 { max-width:760px; margin:0 0 18px; color:var(--slate); font:500 clamp(30px,4vw,42px)/1.14 Georgia,"Times New Roman",serif; }
.dental-feature-article h3 { margin:28px 0 8px; color:var(--slate); font:600 22px/1.25 Georgia,"Times New Roman",serif; }
.dental-feature-article p { max-width:780px; color:#52636e; font-size:16px; line-height:1.8; }
.dental-feature-article .dental-article-lede { color:#31424d; font-size:19px; line-height:1.7; }
.dental-case-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:940px; margin:28px auto 36px; }
.dental-case-photo { margin:0; padding:10px; border:1px solid rgba(35,56,74,.16); border-radius:12px; background:#fff; box-shadow:0 12px 30px rgba(35,56,74,.08); }
.dental-case-photo-visual { width:100%; aspect-ratio:var(--photo-ratio); overflow:hidden; background:#f4f1eb; }
.dental-case-photo-visual img { display:block; width:100%; height:100%; object-fit:cover; object-position:top center; }
.dental-case-photo figcaption { position:relative; display:flex; min-height:64px; align-items:center; justify-content:center; gap:14px; padding:10px 14px; color:#fff; background:#0b2e4a; font:italic 18px/1.25 Georgia,"Times New Roman",serif; text-align:center; }
.dental-case-photo figcaption::before, .dental-case-photo figcaption::after { content:""; flex:1 1 18%; max-width:90px; border-top:2px solid #c3a66b; }
.dental-case-photo img:focus-visible { outline:3px solid #c3a66b; outline-offset:3px; }
.dental-feature-article .dental-article-takeaway { margin-top:24px; padding:18px 20px; border-left:4px solid #c7a96b; background:#f6f3ee; }
.dental-feature-article .dental-article-source { margin-top:24px; font-size:14px; }
.dental-feature-article a { color:#725c30; font-weight:700; text-underline-offset:3px; }
.dental-article-card h2 { color:var(--slate); font:500 27px/1.18 Georgia,"Times New Roman",serif; margin:0 0 12px; }
.dental-article-card p { min-height:72px; }
.dental-article-card > a, .dental-article-links a { display:inline-flex; align-items:center; gap:8px; }
.dental-article-links { display:flex; gap:22px; }
.dental-articles-note { margin:28px auto 0; max-width:780px; color:var(--muted); text-align:center; line-height:1.7; }
@media(max-width:760px){
  .dental-case-photo-grid { grid-template-columns:1fr; }
  .dental-case-photo figcaption { min-height:60px; font-size:16px; }
}
/* Consistent service summaries and expandable details */
.services-category-section { padding:74px 0 78px; background:#fff; }
.services-category-section h2 { color:var(--slate); font:500 clamp(32px,4vw,48px)/1.1 Georgia,"Times New Roman",serif; margin:0 0 28px; }
.services-category-nav { display:flex; flex-wrap:wrap; gap:10px 24px; border-top:1px solid var(--line); padding-top:22px; }
.services-category-nav a { color:var(--slate); text-decoration:none; font-weight:650; padding:7px 0; border-bottom:1px solid transparent; }
.services-category-nav a:hover, .services-category-nav a:focus-visible { border-bottom-color:var(--sand); }
.services-pillars-text { border-top:1px solid var(--line); border-left:0; }
.services-pillars-text .service-pillar { min-height:0; padding:22px 20px 22px 0; border:0; border-bottom:1px solid var(--line); background:transparent; }
.services-pillars-text .service-pillar strong { margin-bottom:7px; }
.service-feature-heading { grid-template-columns:1fr; margin-bottom:32px; }
.service-accordion-list { border-bottom:1px solid var(--line); }
.service-accord { margin:0; border-top:1px solid var(--line); border-bottom:0; }
.service-accord > summary { min-height:0; padding:23px 4px; align-items:center; }
.service-accord > summary > div { flex:1; }
.service-accord > summary strong { display:block; font-size:25px; }
.service-accord > summary p { max-width:780px; margin:9px 0 0; color:var(--muted); font-size:15px; line-height:1.55; }
.service-toggle { flex:0 0 36px; width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--sand); border-radius:50%; color:var(--slate); font:300 25px/1 Arial,sans-serif; transition:transform .2s ease,background .2s ease; }
.service-accord[open] .service-toggle { transform:rotate(45deg); background:rgba(216,198,161,.16); }
.service-accord .service-accordion-panel { max-width:850px; margin:0 0 26px; padding:0 52px 0 4px; color:#3f494b; font-size:15px; line-height:1.75; }
.service-accord .service-accordion-panel p { margin:0 0 15px; }
.service-feature-dark .service-accord { border-color:rgba(255,255,255,.22); }
.service-feature-dark .service-accord > summary strong { color:#fff; }
.service-feature-dark .service-accord > summary p { color:rgba(255,255,255,.72); }
.service-feature-dark .service-accord .service-accordion-panel { color:rgba(255,255,255,.84); }
.service-feature-dark .service-accord .service-accordion-panel a { color:#f0dca5; }
.service-feature-dark .service-toggle { color:#fff; border-color:rgba(216,198,161,.75); }
@media(max-width:760px){
  .dental-articles-grid { grid-template-columns:1fr; }
  .dental-article-card p { min-height:0; }
  .services-category-nav { gap:8px 16px; }
  .service-accord > summary { gap:14px; padding:20px 2px; }
  .service-accord > summary strong { font-size:22px; }
  .service-accord > summary p { font-size:14px; }
  .service-accord .service-accordion-panel { padding-right:4px; font-size:14px; }
  .service-toggle { flex-basis:32px; width:32px; height:32px; }
}


/* Refinements to the Services page visual hierarchy */
.services-philosophy { background:linear-gradient(135deg,#fff 0%,#f7f4ee 100%); }
.services-pillars { border-color:rgba(216,198,161,.58); }
.service-pillar { background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(247,244,238,.96)); }
.services-index-section { background:linear-gradient(135deg,#23384a 0%,#30495b 55%,#243948 100%); }
.services-index-grid { border-color:rgba(216,198,161,.25); }
.service-index-card { background:linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.012)); }
.service-index-card:nth-child(3n+2) .service-index-icon { border-color:rgba(216,198,161,.72); background:rgba(216,198,161,.08); }
.service-index-card:hover { box-shadow:inset 0 0 0 1px rgba(216,198,161,.25); }
.service-feature-ivory { background:linear-gradient(180deg,#f7f4ee 0%,#f3efe7 100%); }
.service-feature-white { background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%); }
.service-feature-dark { background:linear-gradient(135deg,#23384a 0%,#31495a 100%); }
.service-feature-heading .kicker { display:flex; align-items:center; gap:12px; }
.service-feature-heading .kicker::after { content:""; width:42px; height:1px; background:var(--sand); opacity:.9; }
.service-accord { border-color:rgba(49,66,77,.16); transition:border-color .2s ease; }
.service-accord > summary { padding:22px 18px; border-left:3px solid transparent; background:rgba(255,255,255,.42); transition:background .2s ease,border-color .2s ease; }
.service-accord > summary:hover { background:rgba(255,255,255,.82); border-left-color:var(--sand); }
.service-accord > summary:focus-visible { outline:2px solid var(--sand); outline-offset:2px; }
.service-accord[open] > summary { background:rgba(216,198,161,.13); border-left-color:var(--sand); }
.service-accord > summary p { margin-top:8px; }
.service-accord .service-accordion-panel { padding:6px 66px 0 21px; }
.service-toggle { box-shadow:0 3px 10px rgba(35,56,74,.07); }
.service-accord[open] .service-toggle { transform:none; font-size:0; }
.service-accord[open] .service-toggle::after { content:"−"; font-size:25px; line-height:1; }
.service-feature-dark .service-accord > summary { background:rgba(255,255,255,.035); }
.service-feature-dark .service-accord > summary:hover { background:rgba(255,255,255,.085); }
.service-feature-dark .service-accord[open] > summary { background:rgba(216,198,161,.12); }
.service-feature-dark .service-accord { border-color:rgba(216,198,161,.25); }
@media(max-width:760px){
  .service-accord > summary { padding:19px 12px; }
  .service-accord .service-accordion-panel { padding:4px 12px 0; }
}

/* Improve readability inside expanded items on the blue cosmetic section. */
.service-feature-dark .service-accord[open] .service-accordion-panel {
  margin:0 0 24px;
  padding:22px 24px;
  color:#22292b;
  background:#f7f4ee;
  border:1px solid rgba(216,198,161,.62);
  border-radius:0 0 10px 10px;
}
.service-feature-dark .service-accord[open] .service-accordion-panel p { color:#343c3d; }
.service-feature-dark .service-accord[open] .service-accordion-panel strong { color:#23384a; }
.service-feature-dark .service-accord[open] .service-accordion-panel a { color:#23384a; text-decoration-color:#b49a62; text-underline-offset:3px; }
@media(max-width:760px){
  .service-feature-dark .service-accord[open] .service-accordion-panel { padding:18px 16px; }
}

/* Photos inside expandable service descriptions */
.service-photo-feature { max-width:620px; margin-top:22px; }
.service-photo-feature img { height:340px; object-fit:cover; }
.service-denture-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-denture-grid .service-diagram-card {
  border:1px solid rgba(35,56,74,.16);
  border-radius:12px;
  background:#f4f1eb;
  box-shadow:0 12px 30px rgba(35,56,74,.09);
}
.service-denture-grid img {
  display:block;
  width:100%;
  height:260px;
  padding:10px;
  background:#f4f1eb;
}
.service-denture-grid .flipper-product-shot {
  object-fit:cover;
  object-position:center 62%;
}
.service-denture-grid .flipper-fit-illustration { object-fit:contain; }
.service-denture-grid figcaption {
  min-height:56px;
  border-top:1px solid rgba(35,56,74,.10);
  border-left:3px solid #c3a66b;
  background:#fff;
}
@media(max-width:900px){
  .service-denture-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px){
  .service-photo-feature img { height:240px; }
  .service-denture-grid { grid-template-columns:1fr; }
  .service-denture-grid img { height:auto; max-height:320px; }
  .service-denture-grid .flipper-product-shot { object-fit:contain; }
}

/* Keep treatment images fully visible within the service cards. */
.service-photo-feature.sealant-photo-feature { max-width:460px; }
.service-photo-feature.sealant-photo-feature img {
  width:100%;
  height:auto;
  object-fit:contain;
}
.service-photo-feature.root-canal-process-feature { max-width:880px; }
.service-photo-feature.root-canal-process-feature img {
  width:100%;
  height:auto;
  object-fit:contain;
}
.service-denture-grid .full-partial-denture-photo {
  object-fit:contain;
  background:#f4f1eb;
}


/* Night guard photo pair */
.night-guard-photo-grid {
  gap: 20px;
  margin-top: 24px;
}

.night-guard-photo-grid .service-diagram-card {
  border: 1px solid rgba(35,56,74,.16);
  border-radius: 12px;
  background: #f4f1eb;
  box-shadow: 0 12px 30px rgba(35,56,74,.10);
}

.night-guard-photo-grid .service-diagram-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 12px;
  background: #f4f1eb;
}

.night-guard-photo-grid .service-diagram-card figcaption {
  min-height: 54px;
  padding: 14px 18px;
  border-top: 1px solid rgba(35,56,74,.10);
  border-left: 3px solid #c3a66b;
  color: var(--slate);
  background: #fff;
}

@media (max-width: 760px) {
  .night-guard-photo-grid .service-diagram-card img {
    height: auto;
    max-height: 300px;
  }
}


/* Full-screen viewing for recently added service photos */
.patient-photo-zoom { cursor:zoom-in; }
.patient-photo-zoom:focus-visible { outline:3px solid #c3a66b; outline-offset:3px; }
.patient-photo-lightbox {
  position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center;
  padding:5vh 5vw; color:#fff; background:rgba(13,22,30,.96); opacity:0; visibility:hidden;
  pointer-events:none; transition:opacity .18s ease, visibility .18s ease;
}
.patient-photo-lightbox.is-open { opacity:1; visibility:visible; pointer-events:auto; }
body.patient-photo-lightbox-open { overflow:hidden; }
.patient-photo-lightbox-content {
  display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:0;
  max-width:90vw; max-height:90vh; margin:0; overflow:hidden;
}
.patient-photo-lightbox-content > img {
  display:block; flex:0 1 auto; width:auto; height:auto; max-width:90vw; max-height:calc(90vh - 100px);
  object-fit:contain; object-position:center; background:#f4f1eb;
  box-shadow:0 16px 48px rgba(0,0,0,.32);
}
.patient-photo-lightbox-content figcaption {
  display:flex; min-height:64px; align-items:center; justify-content:center; gap:14px; padding:10px 14px;
  color:#fff; background:#0b2e4a; font:italic 18px/1.25 Georgia,"Times New Roman",serif; text-align:center;
}
.patient-photo-lightbox-content figcaption::before, .patient-photo-lightbox-content figcaption::after { content:""; flex:1 1 18%; max-width:90px; border-top:2px solid #c3a66b; }
.patient-photo-lightbox-close {
  position:absolute; top:18px; right:22px; display:grid; width:48px; height:48px; place-items:center;
  padding:0 0 4px; border:1px solid rgba(247,244,238,.65); border-radius:50%; color:#fff;
  background:#23384a; font:400 34px/1 Arial,sans-serif; cursor:pointer;
}
.patient-photo-lightbox-close:hover, .patient-photo-lightbox-close:focus-visible {
  color:#23384a; background:#d8c6a1; outline:2px solid #fff; outline-offset:2px;
}
@media(max-width:760px) {
  .patient-photo-lightbox { padding:64px 14px 24px; }
  .patient-photo-lightbox-content > img { max-width:calc(100vw - 28px); max-height:calc(100dvh - 160px); }
  .patient-photo-lightbox-content figcaption { min-height:60px; font-size:16px; }
  .patient-photo-lightbox-close { top:10px; right:12px; width:42px; height:42px; }
}


/* Invisalign section: use strong navy text on the light ivory surface. */
.invisalign-feature {
  margin-top:104px;
  color:#23384a;
  background:#f4f1eb;
}
.invisalign-feature .service-feature-heading .kicker { color:#8a7041; }
.invisalign-feature .service-feature-heading h2 { color:#23384a; }
.invisalign-feature .service-feature-intro { color:#3f494b; }
/* Invisalign uses the same full section hierarchy as other service categories. */
.invisalign-photo-feature {
  max-width:460px;
  margin:26px auto 0;
  overflow:hidden;
  border:1px solid rgba(35,56,74,.16);
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 30px rgba(35,56,74,.10);
}
.invisalign-photo-feature img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#fff;
}
.invisalign-photo-feature figcaption {
  padding:13px 18px 15px;
  border-top:1px solid rgba(35,56,74,.10);
  border-left:3px solid #c3a66b;
  color:#23384a;
  background:#fff;
  font-weight:700;
}
.invisalign-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
}
.invisalign-detail-card {
  padding:24px 26px;
  border:1px solid rgba(35,56,74,.14);
  border-left:3px solid #c3a66b;
  border-radius:10px;
  background:rgba(255,255,255,.88);
  box-shadow:0 10px 28px rgba(35,56,74,.06);
}
.invisalign-detail-card h3 {
  margin:0 0 10px;
  color:#23384a;
  font-size:20px;
}
.invisalign-detail-card p {
  margin:0;
  color:#3f494b;
  font-size:15px;
  line-height:1.75;
}
@media(max-width:760px) {
  .invisalign-detail-grid { grid-template-columns:1fr; gap:14px; margin-top:22px; }
  .invisalign-detail-card { padding:20px; }
}
#veneers { scroll-margin-top: 110px; }

/* Implant versus bridge article image */
.dental-implant-bridge-figure { max-width:940px; margin:28px auto 36px; padding:10px; border:1px solid rgba(35,56,74,.16); border-radius:12px; background:#fff; box-shadow:0 12px 30px rgba(35,56,74,.08); }
.dental-implant-bridge-photo { display:block; width:100%; height:auto; border-radius:5px; object-fit:contain; }
.dental-implant-bridge-figure figcaption { margin-top:10px; color:#52636e; font-size:14px; line-height:1.55; text-align:center; }


/* Online bill payment page */
.online-bill-payment-container { max-width:900px; }
.online-bill-payment-card { padding:clamp(28px,5vw,54px); border:1px solid rgba(35,56,74,.13); border-radius:14px; background:#fff; box-shadow:0 14px 36px rgba(31,43,51,.07); text-align:center; }
.online-bill-payment-card h2 { margin:0 0 14px; color:var(--slate); font:500 clamp(28px,3.5vw,38px)/1.15 Georgia,"Times New Roman",serif; }
.online-bill-payment-card > p:not(.kicker) { max-width:680px; margin:0 auto 24px; color:#52636e; font-size:16px; line-height:1.75; }
.online-bill-payment-card .kicker { margin-bottom:12px; }
.online-bill-payment-card a:not(.online-bill-payment-button) { color:#725c30; font-weight:700; text-underline-offset:3px; }
.online-bill-payment-button { display:inline-flex; align-items:center; justify-content:center; width:156px; height:48px; vertical-align:middle; }
.online-bill-payment-button img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.online-bill-payment-card .online-bill-payment-fallback { margin:18px auto 0; font-size:14px; }
