:root {
  --ink: #18262e;
  --navy: #102631;
  --navy2: #173746;
  --blue: #76afd0;
  --blue2: #4e9fc5;
  --teal: #16979d;
  --teal-dark: #0e777c;
  --white: #fff;
  --paper: #f6f7f5;
  --paper-blue: #eef7fa;
  --line: rgba(24, 38, 46, .12);
  --shadow: 0 24px 60px rgba(16, 38, 49, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 9999;
  padding: 10px 14px; color: #fff; background: var(--navy);
  border-radius: 10px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(24,38,46,.08);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; width: 285px; text-decoration: none; }
.brand img { width: 100%; height: 72px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #30414b; text-decoration: none; font-size: .94rem; letter-spacing: .02em; }
.nav-cta { padding: 12px 18px; color: #fff !important; background: var(--navy); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - 84px); display: flex; align-items: center;
  background: radial-gradient(circle at 12% 4%, rgba(118,175,208,.24), transparent 30%), linear-gradient(135deg, #fbfcfb, #f4f9fb 55%, #edf7f8);
}
.hero-grid { position: relative; z-index: 2; min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; padding: 70px 0 100px; }
.eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-size: .78rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: #91dfe0; }
.hero h1 { margin: 0; max-width: 760px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.25rem, 7vw, 6.65rem); font-weight: 400; line-height: .92; letter-spacing: -.055em; }
.hero h1 span { display: block; color: var(--blue2); font-style: italic; }
.hero-doctor { margin: 30px 0 0; color: #41535f; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 14px 28px rgba(16,38,49,.16); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--teal-dark); }
.btn-secondary { color: var(--navy); background: rgba(255,255,255,.78); border-color: rgba(16,38,49,.17); }
.hero-info { max-width: 650px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 48px; }
.hero-info > div { padding: 18px 20px; background: rgba(255,255,255,.7); border: 1px solid rgba(16,38,49,.08); border-radius: 18px; }
.hero-info span { display: block; margin-bottom: 4px; color: #71808a; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-info strong { font-size: .92rem; line-height: 1.35; }
.hero-visual { display: grid; place-items: center; }
.tooth-stage { position: relative; width: min(100%,490px); aspect-ratio: 1/1.04; display: grid; place-items: center; background: linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.55)); border: 1px solid rgba(22,151,157,.18); border-radius: 42% 58% 54% 46%/43% 43% 57% 57%; box-shadow: 0 35px 80px rgba(16,38,49,.10); transform: rotate(-3deg); animation: floatStage 7s ease-in-out infinite; }
.hero-tooth { position: relative; z-index: 3; width: 58%; fill: none; stroke: var(--teal); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 18px 25px rgba(22,151,157,.14)); transform: rotate(3deg); }
.tooth-detail { stroke: var(--navy); stroke-width: 4; opacity: .68; }
.ring { position: absolute; border: 1px solid rgba(118,175,208,.38); border-radius: 50%; }
.ring-a { width: 72%; height: 72%; }
.ring-b { width: 92%; height: 92%; border-style: dashed; opacity: .7; animation: spin 24s linear infinite; }
.visual-card { position: absolute; right: -20px; bottom: 14%; z-index: 5; min-width: 155px; padding: 15px 18px; color: #fff; background: var(--navy); border-radius: 16px; box-shadow: var(--shadow); transform: rotate(3deg); }
.visual-card small, .visual-card strong { display: block; }
.visual-card small { color: #9ac7d6; text-transform: uppercase; letter-spacing: .11em; font-size: .68rem; }
.visual-card strong { margin-top: 2px; font-size: 1rem; }
.decor { position: absolute; border-radius: 50%; pointer-events: none; }
.decor-one { width: 300px; height: 300px; right: -90px; top: 4%; background: rgba(22,151,157,.09); }
.decor-two { width: 220px; height: 220px; left: -110px; bottom: 12%; background: rgba(118,175,208,.16); }
.hero-wave { position: absolute; inset: auto 0 -1px; height: 64px; background: #fff; clip-path: polygon(0 65%,12% 51%,25% 62%,37% 44%,52% 57%,67% 41%,82% 55%,100% 39%,100% 100%,0 100%); }

.section { padding: 105px 0; }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2, .membership-intro h2, .doctor-copy h2, .contact-heading h2 { margin: 0; font-family: Georgia,'Times New Roman',serif; font-size: clamp(2.4rem,5vw,4.4rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.specialty-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.service-card { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ''; position: absolute; width: 90px; height: 90px; right: -35px; bottom: -35px; border: 16px solid rgba(118,175,208,.18); border-radius: 50%; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(22,151,157,.26); box-shadow: 0 16px 35px rgba(16,38,49,.08); }
.service-card:hover::after { transform: scale(1.18); }
.service-card span { color: var(--teal-dark); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.service-card h3 { position: relative; z-index: 2; margin: 0; max-width: 90%; color: var(--navy); font-size: clamp(1.12rem,2vw,1.42rem); font-weight: 500; }

.membership { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 10% 10%,rgba(22,151,157,.18),transparent 26%), radial-gradient(circle at 94% 0%,rgba(118,175,208,.17),transparent 26%), var(--navy); }
.membership::before { content: ''; position: absolute; width: 420px; height: 420px; right: -240px; top: 35%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.membership-intro { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: end; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.membership-intro > p { margin: 0; color: #c8d8df; font-size: 1.04rem; }
.membership-features { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.feature { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; padding: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; transition: transform .2s ease, background-color .2s ease; }
.feature:hover { transform: translateY(-3px); background: rgba(255,255,255,.075); }
.feature-mark { width: 48px; height: 48px; display: grid; place-items: center; color: var(--navy); background: #92d7dc; border-radius: 50%; font-size: .72rem; font-weight: 800; }
.feature h3 { margin: 0 0 8px; color: #8ed0d6; font-size: 1.18rem; font-weight: 500; }
.feature p { margin: 0; color: #e0ebef; }
.plans-wrap { position: relative; z-index: 2; margin-top: 70px; }
.plans-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.plan-card { min-height: 300px; padding: 34px; color: var(--navy); background: #f8fbfc; border-radius: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.10); }
.plan-highlight { background: #dff4f4; border: 1px solid rgba(97,198,199,.38); }
.plan-label { margin: 0; color: var(--blue2); font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 30px; }
.price span { font-family: Georgia,'Times New Roman',serif; font-size: clamp(3.7rem,8vw,6.2rem); line-height: .88; letter-spacing: -.05em; }
.price small { font-size: .82rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.plan-line { width: 64px; height: 3px; margin: 34px 0 18px; background: var(--teal); border-radius: 999px; }
.family-detail { margin: 0; color: #536771; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.doctor { background: linear-gradient(180deg,#fff,#f7fbfc); }
.doctor-card { display: grid; grid-template-columns: 160px 1fr auto; gap: 36px; align-items: center; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow); }
.doctor-emblem { width: 150px; height: 150px; display: grid; place-items: center; background: var(--paper-blue); border-radius: 36px; }
.doctor-emblem svg { width: 74px; fill: none; stroke: var(--teal); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.doctor-copy h2 { font-size: clamp(2.1rem,4vw,3.65rem); }
.doctor-copy > p:last-child { margin: 12px 0 0; color: var(--blue2); font-size: 1.08rem; }

.contact { position: relative; overflow: hidden; color: #fff; background: var(--navy2); }
.contact::after { content: ''; position: absolute; width: 520px; height: 520px; left: -310px; bottom: -250px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.02),0 0 0 160px rgba(255,255,255,.014); }
.contact .container { position: relative; z-index: 2; }
.contact-heading { color: #fff; }
.contact-heading > p:last-child { margin: 14px 0 0; color: #b9ced6; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-card { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 22px; transition: background .2s ease, transform .2s ease; }
.contact-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.contact-card-wide { grid-column: span 2; min-height: 220px; background: linear-gradient(90deg,rgba(22,151,157,.14),transparent),rgba(255,255,255,.045); }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; color: var(--navy); background: #93d9dd; border-radius: 50%; font-weight: 700; }
.contact-label { margin: 0 0 8px; color: #8dc3d5; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { margin: 0; font-size: clamp(1.5rem,4vw,2.4rem); font-weight: 500; }
.contact-card > p:last-child { margin: 9px 0 0; color: #c9d9df; }
.contact-card a { width: fit-content; color: #fff; font-size: clamp(1.15rem,3vw,1.55rem); font-weight: 500; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 5px; overflow-wrap: anywhere; }
.closing-message { margin-top: 90px; padding-top: 52px; border-top: 1px solid rgba(255,255,255,.12); }
.closing-message p, .closing-message strong, .closing-message span { display: block; }
.closing-message p { margin: 0; font-family: Georgia,'Times New Roman',serif; font-size: clamp(3rem,7vw,6.5rem); line-height: .9; letter-spacing: -.05em; }
.closing-message strong { margin-top: 8px; color: #83c7dc; font-family: Georgia,'Times New Roman',serif; font-size: clamp(3rem,7vw,6.5rem); font-style: italic; font-weight: 400; line-height: .9; letter-spacing: -.05em; }
.closing-message span { margin-top: 24px; color: #bad0d9; }

.site-footer { padding: 52px 0 24px; color: #314550; background: #f1f5f5; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand img { max-width: 280px; height: 92px; object-fit: contain; object-position: left center; }
.footer-grid p { margin: 3px 0; font-size: .9rem; }
.footer-title { margin-bottom: 10px !important; color: var(--navy); font-weight: 700; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-contact a { font-size: .9rem; text-decoration-color: rgba(49,69,80,.35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(23,37,46,.1); font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
.mobile-callbar { display: none; }

@keyframes floatStage { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand { width: 225px; }
  .brand img { height: 62px; }
  .menu-toggle { display: none; }
  .main-nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .main-nav a { font-size: .86rem; }
  .js-enabled .menu-toggle { display: block; }
  .js-enabled .main-nav { position: fixed; inset: 76px 16px auto 16px; display: grid; gap: 0; padding: 12px; background: rgba(255,255,255,.99); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 45px rgba(16,38,49,.14); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s ease,transform .2s ease,visibility .2s ease; }
  .js-enabled .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .js-enabled .main-nav a { padding: 13px 12px; }
  .js-enabled .nav-cta { margin-top: 6px; text-align: center; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 54px; padding: 72px 0 110px; }
  .hero-visual { order: -1; }
  .tooth-stage { width: min(82vw,420px); }
  .specialty-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .membership-intro { grid-template-columns: 1fr; gap: 26px; }
  .doctor-card { grid-template-columns: 130px 1fr; }
  .doctor-card > .btn { grid-column: 2; width: fit-content; }
  .doctor-emblem { width: 120px; height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  body { padding-bottom: 58px; }
  .section { padding: 78px 0; }
  .brand { width: 205px; }
  .hero-grid { padding: 46px 0 88px; }
  .hero h1 { font-size: clamp(3rem,16vw,4.8rem); }
  .hero-info { grid-template-columns: 1fr; margin-top: 34px; }
  .tooth-stage { width: min(88vw,380px); border-radius: 34% 66% 50% 50%/38% 42% 58% 62%; }
  .visual-card { right: 8px; bottom: 8%; }
  .specialty-grid, .membership-features, .plans-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 150px; }
  .contact-card-wide { grid-column: auto; }
  .feature { grid-template-columns: 48px 1fr; padding: 22px; }
  .feature-mark { width: 42px; height: 42px; }
  .plans-wrap { margin-top: 58px; }
  .plan-card { min-height: 250px; padding: 26px; }
  .doctor-card { grid-template-columns: 1fr; padding: 26px; }
  .doctor-card > .btn { grid-column: auto; }
  .doctor-emblem { width: 105px; height: 105px; border-radius: 28px; }
  .closing-message { margin-top: 64px; }
  .footer-grid, .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 30px; gap: 10px; }
  .mobile-callbar { position: fixed; z-index: 1200; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); }
  .mobile-callbar a { min-height: 56px; display: grid; place-items: center; color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; }
  .mobile-callbar a + a { border-left: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 420px) {
  .brand { width: 190px; }
  .brand img { height: 58px; }
  .hero-actions .btn { width: 100%; }
  .price { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-card { min-height: 170px; padding: 22px; }
}
