:root {
  --bg: #f4fbfa;
  --bg-soft: #eaf4f2;
  --surface: #ffffff;
  --text: #20343f;
  --muted: #455a64;
  --primary: #11695c;
  --primary-strong: #0c4f45;
  --line: #d5e5df;
  --accent: #2a8d7e;
  --shadow: 0 16px 36px rgba(17, 105, 92, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 0%, #d9f0eb 0, transparent 27%),
              radial-gradient(circle at 92% 10%, #e1f5ef 0, transparent 23%),
              linear-gradient(180deg, #f9fcfb 0%, #f1f8f6 100%);
  line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section-tight { padding: 3.2rem 0; }
.section-soft { background: var(--bg-soft); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.8rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); }

p { margin: 0 0 1rem; color: var(--muted); }
.lead { font-size: 1.1rem; max-width: 68ch; }
.kicker {
  margin-bottom: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.77rem;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-small { padding: 0.55rem 1rem; font-size: 0.86rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 8px 18px rgba(12, 79, 69, 0.26);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #13806f, var(--primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(12, 79, 69, 0.32);
}
.btn-outline {
  border-color: #9fc0e4;
  color: var(--text);
  padding: 0.75rem 1.2rem;
  background: #fff;
  box-shadow: 0 6px 14px rgba(26, 66, 99, 0.08);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(6px); }
.top-message-bar { background: linear-gradient(90deg, #0c4f45, #11695c); color: #ecf7f4; }
.top-message-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.86rem;
}
.top-message-inner a { color: #fff; font-weight: 700; }
.brand-compact { color: #fff; font-weight: 800; font-size: 0.97rem; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.brand-compact-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.top-message-bar nav ul { gap: 1.4rem; }
.top-message-bar nav a,
.top-message-bar .nav-dropdown-toggle { color: rgba(255,255,255,0.88); font-size: 0.88rem; }
.top-message-bar nav a:hover,
.top-message-bar nav a.active,
.top-message-bar .nav-dropdown-toggle:hover { color: #fff; }
.top-message-bar .nav-dropdown-menu a {
  color: var(--text);
  font-size: 0.9rem;
}
.top-message-bar .nav-dropdown-menu a:hover,
.top-message-bar .nav-dropdown-menu a.active {
  color: var(--primary);
}
.top-message-bar .btn {
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.top-message-bar .btn-primary {
  background: #ffffff;
  color: #0d5b50;
  border-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}
.top-message-bar .btn-primary:hover {
  background: #f2fffb;
  color: #0b4a41;
  border-color: #f2fffb;
}
.top-message-bar .btn-outline {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.top-message-bar .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.16); color: #fff; }

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}
.brand { display: inline-flex; flex-direction: column; }
.brand-logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin-bottom: 0.2rem;
}
.brand-title { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.brand-sub { font-size: 0.77rem; color: var(--muted); }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0; padding: 0; }
nav a { color: var(--text); font-weight: 600; font-size: 0.94rem; }
nav a.active, nav a:hover { color: var(--primary); }

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.4rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
  display: block;
  width: 100%;
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(17, 105, 92, 0.12);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 160px;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

.nav-cta { display: flex; gap: 0.65rem; }
.nav-cta .btn { min-width: 128px; }

.hero {
  padding-top: 4.2rem;
  background: linear-gradient(180deg, rgba(243, 249, 255, 0.8) 0%, rgba(245, 251, 255, 0) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.2rem;
  align-items: start;
}
.hero-welcome {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}
.hero-welcome h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}
.hero-welcome .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0.7rem; }
.hero-actions-centered { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 1.6rem; }
.appt-form-wrap { max-width: 560px; margin-inline: auto; text-align: center; }
.appt-form-sub { color: var(--muted); margin-bottom: 1.4rem; }
.appt-form-card { padding: 2rem; text-align: left; }
.appt-form-card form { display: grid; gap: 0.65rem; }
.hero-note { font-size: 0.92rem; }
.smile-note {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  color: var(--primary-strong);
  font-weight: 600;
}
.smiley {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #d8efe9;
  color: var(--primary);
  margin-left: 0.35rem;
  font-size: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.service-card p { min-height: 72px; }
.service-card a { font-weight: 700; }

.hero-form h2 { font-size: 1.3rem; margin-bottom: 0.85rem; }
.hero-form form { display: grid; gap: 0.65rem; }
.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.2rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.form-status-success { color: #0b7e52; }
.form-status-error { color: #a12b2b; }
label { font-size: 0.83rem; font-weight: 700; color: var(--text); }
input, select, textarea {
  width: 100%;
  font: inherit;
  border-radius: 10px;
  border: 1px solid #b5cee9;
  padding: 0.66rem 0.7rem;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(31, 102, 209, 0.24);
  border-color: var(--primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.trust-item h3 { color: var(--primary-strong); margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.94rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}
.feature-list { margin: 0; padding-left: 1.1rem; }
.feature-list li { margin-bottom: 0.72rem; color: var(--muted); }

.emergency {
  border-color: #9fcfbe;
  background: linear-gradient(180deg, #ffffff 0%, #edf8f4 100%);
}

.quote p {
  font-size: 1.04rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.quote cite { color: var(--muted); font-style: normal; font-weight: 600; }


.smile-gallery-section {
  padding-left: 0;
  padding-right: 0;
}

.smile-marquee {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 1.1rem 0;
  background: linear-gradient(180deg, #eff8f5 0%, #f9fcfb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.smile-marquee::before,
.smile-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(38px, 6vw, 96px);
  z-index: 2;
  pointer-events: none;
}

.smile-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f2faf7 0%, rgba(242, 250, 247, 0) 100%);
}

.smile-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f2faf7 0%, rgba(242, 250, 247, 0) 100%);
}

.smile-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
  animation: smile-marquee-move 44s linear infinite;
  padding: 0 0.7rem;
}

.smile-photo-card {
  margin: 0;
  flex: 0 0 clamp(220px, 19vw, 330px);
  height: clamp(170px, 18vw, 255px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 105, 92, 0.2);
  background: #fff;
  box-shadow: 0 14px 26px rgba(12, 79, 69, 0.14);
}

.smile-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

@keyframes smile-marquee-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .smile-marquee-track {
    animation: none;
    transform: translateX(0);
  }
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}
details summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { margin-top: 0.55rem; margin-bottom: 0; }

.cta-band {
  background: linear-gradient(90deg, #0c4f45, #11695c 60%, #2a8d7e 100%);
  color: #f5fbff;
}
.cta-band p, .cta-band h2 { color: #f5fbff; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: center;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.page-hero { padding-top: 3rem; }
.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.55rem; color: var(--muted); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.staff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.staff-card img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.staff-card-body {
  padding: 1rem;
}

.staff-card-body h3 {
  margin: 0;
  color: var(--primary-strong);
}

.staff-role {
  margin: 0.3rem 0 0.65rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

.staff-card-body p {
  margin: 0;
  color: var(--muted);
}

.doctor-profile {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.doctor-header {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fcfb 0%, #eaf4f2 100%);
}

.doctor-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
}

.doctor-info h2 {
  margin: 0 0 0.4rem;
  color: var(--primary-strong);
}

.doctor-title {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.02rem;
}

.doctor-philosophy {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}

.doctor-section {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line);
}

.doctor-section h3 {
  margin: 0 0 0.85rem;
  color: var(--primary-strong);
}

.doctor-section p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.doctor-section p:last-child {
  margin-bottom: 0;
}

.doctor-cta {
  padding: 2rem;
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
  color: #fff;
  text-align: center;
  border-top: 1px solid var(--line);
}

.doctor-cta h3 {
  margin: 0 0 0.85rem;
  color: #fff;
}

.doctor-cta p {
  margin: 0 0 1.2rem;
  color: #ecf7f4;
}

/* ===== ABOUT PAGE STYLES ===== */

.about-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 1rem 0;
}

.about-intro h1 {
  color: var(--primary-strong);
  margin-bottom: 0.5rem;
}

.intro-tagline {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.about-intro + h2 {
  color: var(--primary-strong);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
}

/* Core Values Section */
.about-intro ~ ul {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 2rem;
  margin: 2rem 0;
  list-style: none;
}

.about-intro ~ ul li {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.65;
  padding-left: 1.8rem;
  position: relative;
}

.about-intro ~ ul li:last-child {
  margin-bottom: 0;
}

.about-intro ~ ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.about-intro ~ h2 {
  color: var(--primary-strong);
  margin-top: 2.8rem;
  margin-bottom: 1.2rem;
}

.about-intro ~ h2 + p {
  max-width: 72ch;
  margin-left: 0;
  margin-right: 0;
}

/* Section for Dr. Chan link */
.about-intro ~ p + .btn-secondary {
  display: inline-block;
  margin-top: 0.2rem;
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(17, 105, 92, 0.2);
}

/* "What Sets Us Apart" section */
.about-intro ~ h2:nth-of-type(4) ~ h3 {
  color: var(--primary-strong);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.about-intro ~ h3 + p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* About CTA section */
.about-cta {
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.about-cta h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1.8rem;
}

.about-cta p {
  margin: 0 0 1.5rem;
  color: #d9f0eb;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-intro h2 {
  color: var(--primary-strong);
  margin-bottom: 0.8rem;
}

.testimonials-intro p {
  color: var(--muted);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 4px 12px rgba(17, 105, 92, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial-stars {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.4rem;
}

.star {
  color: #f59e0b;
  font-size: 1.1rem;
}

.testimonial-text {
  flex-grow: 1;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  margin: 0 0 0.3rem;
  font-weight: 700;
  color: var(--primary-strong);
  font-size: 0.96rem;
}

.testimonial-service {
  margin: 0;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fcfb 0%, #eaf4f2 100%);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-strong);
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonials-cta {
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
}

.testimonials-cta h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1.6rem;
}

.testimonials-cta p {
  margin: 0 0 1.5rem;
  color: #d9f0eb;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.location-map-section h2 {
  margin-bottom: 1.2rem;
}

.location-map-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.location-map-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 105, 92, 0.09);
  min-height: 360px;
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.location-info-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 105, 92, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-info-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-strong);
}

.location-info-card p {
  margin: 0 0 0.9rem;
}

.location-info-card .btn {
  align-self: flex-start;
}

.services-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.services-intro h2 {
  color: var(--primary-strong);
  margin-bottom: 0.8rem;
}

.services-intro p {
  color: var(--muted);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(17, 105, 92, 0.06);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: var(--primary);
}

.service-card-header {
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  color: var(--primary-strong);
  font-size: 1.25rem;
}

.service-badge {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-description {
  flex-grow: 1;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--primary-strong);
}

.services-promise {
  margin-bottom: 3rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f9fcfb 0%, #eaf4f2 100%);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.services-promise h3 {
  text-align: center;
  color: var(--primary-strong);
  margin: 0 0 2rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.promise-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
}

.promise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.promise-item h4 {
  margin: 0 0 0.6rem;
  color: var(--primary-strong);
  font-size: 1rem;
}

.promise-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.services-cta {
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
}

.services-cta h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1.6rem;
}

.services-cta p {
  margin: 0 0 1.5rem;
  color: #d9f0eb;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

.implant-hub-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.implant-fact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(17, 105, 92, 0.07);
}

.implant-fact-card h3 {
  margin: 0 0 0.45rem;
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.implant-fact-card p {
  margin: 0;
  font-size: 0.95rem;
}

.implant-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 2rem;
}

.implant-step {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
  border-radius: 12px;
  padding: 0.9rem;
}

.implant-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.implant-step h4 {
  margin: 0 0 0.35rem;
  color: var(--primary-strong);
  font-size: 0.98rem;
}

.implant-step p {
  margin: 0;
  font-size: 0.9rem;
}

.implant-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1rem 0 2rem;
  background: #fff;
}

.implant-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.implant-compare-table th,
.implant-compare-table td {
  border-bottom: 1px solid #e3efeb;
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.implant-compare-table th {
  background: #eff8f5;
  color: var(--primary-strong);
  font-weight: 700;
}

.implant-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.new-patients-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.new-patients-hero h1 {
  color: var(--primary-strong);
  margin-bottom: 0.8rem;
}

.new-patients-lead {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.new-patients-callout {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 8px 20px rgba(17, 105, 92, 0.08);
  margin-bottom: 2rem;
}

.new-patients-callout h2 {
  color: var(--primary-strong);
  margin-bottom: 0.7rem;
}

.new-patients-callout ul {
  margin: 0.7rem 0 0.8rem 1.2rem;
}

.new-patients-forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.8rem 0 2.4rem;
}

.new-form-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfb 100%);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(17, 105, 92, 0.08);
}

.new-form-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f5f53;
  background: #e0f2ee;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.new-form-card h3 {
  margin-bottom: 0.55rem;
  color: var(--primary-strong);
}

.new-form-card p {
  margin-bottom: 1rem;
}

.new-patients-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
  text-align: center;
}

.new-patients-cta h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.new-patients-cta p {
  color: #ddf2ee;
  margin: 0 0 1.2rem;
}

.payments-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.payments-hero h1 {
  color: var(--primary-strong);
  margin-bottom: 0.7rem;
}

.payments-lead {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.payments-image-placeholder {
  margin: 1.2rem 0 2rem;
}

.payments-placeholder-box {
  border: 2px dashed #8dbab0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fcfb 0%, #eef7f5 100%);
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #3a5d66;
}

.payments-placeholder-box p {
  margin: 0;
  font-weight: 700;
  color: var(--primary-strong);
}

.payments-hero-image {
  width: 100%;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 105, 92, 0.1);
  max-height: 360px;
  object-fit: cover;
}

.payments-finance-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 105, 92, 0.08);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  padding: 1.2rem;
  margin: 1rem 0 1.2rem;
}

.payments-finance-image {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.8rem;
}

.payments-finance-image p {
  margin: 0;
  font-weight: 700;
  color: var(--primary-strong);
}

.payments-finance-photo {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.payments-finance-logo {
  object-fit: contain;
  background: #fff;
}

.payments-disclaimer {
  font-size: 0.88rem;
  color: #546e7a;
  margin-top: 0.5rem;
}

.payments-cta {
  margin-top: 2.2rem;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
}

.payments-cta h2 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.payments-cta p {
  color: #dbefea;
  margin: 0 0 1.2rem;
}

.insurance-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.insurance-hero h1 {
  color: var(--primary-strong);
  margin-bottom: 0.7rem;
}

.insurance-lead {
  max-width: 66ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.insurance-intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: start;
  margin: 0.7rem 0 1.8rem;
}

.insurance-intro-media {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 105, 92, 0.08);
  padding: 0.7rem;
}

.insurance-side-image {
  width: 100%;
  max-width: 240px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: contain;
}

.insurance-intro-copy p {
  margin: 0 0 0.85rem;
}

.insurance-intro-copy p:last-child {
  margin-bottom: 0;
}

.insurance-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.insurance-highlight-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(17, 105, 92, 0.07);
}

.insurance-highlight-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.insurance-highlight-card p {
  margin: 0;
  font-size: 0.95rem;
}

.insurance-callout {
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: #f3faf8;
  padding: 1rem 1rem 1rem 1.1rem;
  margin: 1rem 0 1.8rem;
}

.insurance-callout h3 {
  margin: 0 0 0.45rem;
  color: var(--primary-strong);
}

.insurance-callout p {
  margin: 0;
}

.insurance-cta {
  margin-top: 2.3rem;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #11695c 0%, #0c4f45 100%);
}

.insurance-cta h2 {
  color: #fff;
  margin-bottom: 0.65rem;
}

.insurance-cta p {
  color: #dcf0eb;
  margin: 0 0 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f0f6ff;
  margin-top: 3rem;
  padding: 2.6rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
  gap: 1rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: transform 0.18s;
}
.social-btn:hover { transform: translateY(-3px); }
.social-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
}
.social-btn-label {
  font-size: 0.7rem;
  color: #5c7590;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.social-btn--facebook .social-btn-icon  { background: #1877F2; }
.social-btn--instagram .social-btn-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn--yelp .social-btn-icon      { background: #D32323; }
.social-btn--google .social-btn-icon    { background: #4285F4; }
.social-btn--nextdoor .social-btn-icon  { background: #00B551; }
.footer-grid h3 { margin-bottom: 0.7rem; font-size: 1.02rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.legal {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #cfe0f1;
  color: #5c7590;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.legal-managed { color: #7a95b0; }
.legal-managed a { color: #4a7fa8; text-decoration: none; font-weight: 600; }
.legal-managed a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smile-photo-card {
    flex-basis: clamp(210px, 26vw, 290px);
    height: clamp(160px, 22vw, 225px);
  }
}

@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.9rem 0;
  }
  nav ul { justify-content: center; flex-direction: row; align-items: center; gap: 0.65rem; }
  nav ul li { width: auto; text-align: center; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    margin: 0.4rem 0 0;
    box-shadow: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-toggle {
    width: 100%;
    padding: 0.4rem;
  }
  .nav-dropdown-menu a {
    padding: 0.4rem;
    font-size: 0.85rem;
  }
  .brand { text-align: center; }
  .nav-cta { justify-content: center; }
  .hero-grid, .split, .cta-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.4rem 0; }
}

@media (max-width: 620px) {
  .card-grid, .trust-grid, .staff-grid, .testimonials-grid, .testimonials-stats, .promise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .implant-hub-facts { grid-template-columns: 1fr; }
  .implant-timeline { grid-template-columns: 1fr; }
  .location-map-grid { grid-template-columns: 1fr; }
  .location-map-frame,
  .location-map-frame iframe { min-height: 300px; }
  .new-patients-forms-grid { grid-template-columns: 1fr; }
  .payments-finance-card { grid-template-columns: 1fr; }
  .insurance-intro { grid-template-columns: 1fr; }
  .insurance-highlight-grid { grid-template-columns: 1fr; }
  .doctor-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .smile-marquee-track {
    gap: 0.7rem;
    animation-duration: 34s;
  }
  .smile-photo-card {
    flex-basis: clamp(170px, 54vw, 240px);
    height: clamp(135px, 42vw, 180px);
    border-radius: 14px;
  }
  .hero { padding-top: 2.8rem; }
  .top-message-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
  }
  .brand-compact {
    justify-self: start;
    font-size: 0.84rem;
  }
  .brand-compact-logo {
    width: 22px;
    height: 22px;
  }
  .top-message-inner nav {
    grid-column: 1 / -1;
    width: 100%;
  }
  .top-message-inner nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    gap: 0.85rem;
  }
  .top-message-inner nav ul li {
    flex: 0 0 auto;
  }
  .top-message-bar nav a,
  .top-message-bar .nav-dropdown-toggle {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .nav-cta {
    justify-self: end;
    gap: 0.45rem;
  }
  .nav-cta .btn {
    min-width: 0;
    padding: 0.48rem 0.68rem;
    font-size: 0.78rem;
  }
  .nav-cta .btn-outline {
    display: none;
  }
}
