:root {
  --navy: #061b39;
  --navy-2: #092c55;
  --teal: #079ba5;
  --teal-2: #16c4c7;
  --aqua: #e8fbfc;
  --ink: #0c1a34;
  --muted: #627084;
  --line: #dce8ef;
  --soft: #f5f9fc;
  --gold: #f6a800;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7fbfd;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container-page {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: white;
  font-size: 12px;
}
.topbar .container-page {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.country-list, .top-actions { display: flex; align-items: center; gap: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
}
.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 15px 15px 20px 20px;
  color: var(--teal);
  font-size: 24px;
}
.logo strong { display: block; font-size: 27px; line-height: 1; }
.logo span:last-child { display: block; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 12px;
  font-weight: 800;
  color: #273850;
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--navy);
}

.btn-primary, .btn-outline, .btn-dark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 14px 28px rgba(7,155,165,.2);
}
.btn-outline {
  color: var(--navy);
  border: 1px solid #c7d8e2;
  background: white;
}
.btn-dark { color: white; background: var(--navy); }
.btn-primary:hover, .btn-outline:hover, .btn-dark:hover { transform: translateY(-2px); }

.hero {
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(247,252,255,.96) 0 52%, rgba(247,252,255,.62) 52%),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1400&q=85") center right / cover;
}
.hero-grid {
  min-height: 530px;
  display: grid;
  grid-template-columns: .86fr .72fr;
  align-items: center;
  gap: 30px;
  padding: 56px 0;
}
.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: var(--aqua);
  padding: 8px 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.05em;
}
h1 span, .teal { color: var(--teal); }
h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
h3 { margin-bottom: 8px; font-size: 18px; }
.lead { max-width: 610px; color: var(--muted); font-size: 17px; line-height: 1.75; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
}
.feature {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.icon-disc {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--aqua);
  color: var(--teal);
  font-weight: 900;
}

.grid-main {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  padding: 28px 0 34px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 45px rgba(11,42,73,.07);
}
.panel-pad { padding: 24px; }
.dark-panel {
  color: white;
  background:
    radial-gradient(circle at 78% 42%, rgba(20,196,199,.32), transparent 28%),
    linear-gradient(135deg, #061b39, #092c55);
}
.ai-card {
  min-height: 240px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: center;
  gap: 20px;
  padding: 28px;
}
.ai-tooth {
  display: grid;
  min-height: 190px;
  place-items: center;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(22,196,199,.3), transparent 60%);
  font-size: 78px;
  font-weight: 900;
  color: #9ef9ff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.muted { color: var(--muted); }
.tiny { font-size: 12px; line-height: 1.6; }
.link-accent { color: var(--teal); font-size: 12px; font-weight: 900; }

.treatment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.treatment-card {
  min-height: 155px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 18px 14px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.treatment-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(11,42,73,.08); }
.treatment-icon { margin: 0 auto 13px; font-size: 42px; }

.analysis-panel { padding: 24px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  background: #f4f7fb;
}
.step { display: flex; gap: 10px; align-items: center; padding: 16px; font-size: 12px; font-weight: 900; }
.step span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: white; color: var(--navy); }
.step.active { color: var(--teal); border-bottom: 3px solid var(--teal); }
.step.active span { background: var(--teal); color: white; }
.mouth-scan {
  position: relative;
  overflow: hidden;
  height: 235px;
  margin-top: 18px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(6,27,57,.08), rgba(6,27,57,.08)),
    url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=1000&q=85") center / cover;
}
.scan-dot {
  position: absolute;
  border: 2px dashed rgba(6,27,57,.62);
  border-radius: 50%;
}
.scan-dot.one { width: 70px; height: 58px; left: 16%; top: 42%; }
.scan-dot.two { width: 82px; height: 66px; right: 18%; top: 24%; }
.scan-dot.three { width: 56px; height: 50px; left: 48%; bottom: 17%; }
.upload-box {
  margin-top: 18px;
  border: 2px dashed #c8dbe6;
  border-radius: 12px;
  background: #fbfdff;
  padding: 24px;
  text-align: center;
}
.sample-row { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.sample-row img { width: 70px; height: 50px; object-fit: cover; border-radius: 8px; border: 2px solid #f0b6a8; cursor: pointer; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.finding {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.badge {
  align-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff2d6;
  color: #b46f00;
  font-size: 10px;
  font-weight: 900;
}
.badge.high { background: #ffe7e5; color: #d23b31; }
.badge.low { background: #ddf8f0; color: #087f6f; }

.side-stack { display: grid; gap: 20px; }
.dentist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doctor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.doctor-card img { width: 100%; height: 170px; object-fit: cover; object-position: top; background: #eef4f8; }
.stars { color: var(--gold); letter-spacing: 1px; }

.booking-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  padding: 24px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
}
.field:focus { outline: 3px solid rgba(7,155,165,.12); border-color: var(--teal); }
.benefit { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 17px; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.insurance-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
  color: var(--teal);
  font-size: 22px;
  font-weight: 900;
}
.preview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  background: linear-gradient(135deg, #f3fbff, #dbf8f9);
}
.preview-card img { height: 230px; width: 100%; object-fit: cover; object-position: top; }
.before-after {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 12px;
  background: url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=900&q=85") center / cover;
}
.before-after:before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: rgba(6,27,57,.2);
  border-right: 3px solid white;
}

.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 18px; text-align: center; }
.page-hero {
  background: radial-gradient(circle at 82% 20%, rgba(22,196,199,.18), transparent 26%), linear-gradient(135deg, #ffffff, #edf9fb);
  padding: 64px 0;
}
.content-section { padding: 54px 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 22px; box-shadow: 0 16px 34px rgba(11,42,73,.055); }
.price-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 13px 0; }

.site-footer {
  color: #d7e6f4;
  background:
    radial-gradient(circle at 90% 50%, rgba(22,196,199,.25), transparent 23%),
    linear-gradient(135deg, #061b39, #08284c);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 34px;
  padding: 42px 0;
}
.site-footer b, .site-footer .logo { color: white; }
.site-footer a, .site-footer p { color: #b9cadb; }
.footer-links { display: grid; gap: 10px; margin-top: 14px; font-size: 13px; }
.newsletter { display: flex; gap: 0; margin-top: 16px; }
.newsletter .field { border-radius: 8px 0 0 8px; }
.newsletter .btn-primary { border-radius: 0 8px 8px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: #9bb2c8; font-size: 12px; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  transform: translateY(18px);
  opacity: 0;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1080px) {
  .grid-main, .hero-grid, .booking-panel, .preview-card { grid-template-columns: 1fr; }
  .dentist-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-grid, .why-grid, .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar .container-page, .country-list, .top-actions { flex-wrap: wrap; justify-content: center; }
  .menu-button { display: grid; place-items: center; }
  .nav {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    padding: 14px;
    box-shadow: 0 22px 50px rgba(11,42,73,.15);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 10px; }
  .header-inner > .btn-primary { display: none; }
  .hero { background-position: center; }
  .hero-grid { min-height: auto; padding: 42px 0; }
  .ai-card, .result-grid, .mini-grid, .form-grid, .steps, .dentist-grid, .treatment-grid, .why-grid, .feature-strip, .card-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-head { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 46px; }
}
