:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-2: #f7f9fc;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  z-index: -1;
  opacity: .25;
}
.orb-1 { width: 220px; height: 220px; background: #93c5fd; top: 5%; left: -60px; }
.orb-2 { width: 260px; height: 260px; background: #bfdbfe; top: 40%; right: -80px; }
.orb-3 { width: 180px; height: 180px; background: #e0f2fe; bottom: 10%; left: 20%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(226,232,240,.7);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(37,99,235,.28);
}
.brand-text strong { display: block; font-size: .95rem; }
.brand-text small { color: var(--muted); font-size: .75rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: .65rem .85rem;
  border-radius: 10px;
  transition: .2s ease;
}
.main-nav a:hover { background: #f1f5f9; color: var(--accent); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .2s ease;
}

.hero { padding: 3rem 0 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.25rem;
  align-items: stretch;
}
.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.95));
  border: 1px solid rgba(226,232,240,.8);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 .35rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.1;
}
.hero-subtitle {
  margin: .65rem 0 .55rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #1e293b;
}
.hero-text { margin: 0; color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { background: #f8fafc; }
.btn.large { padding: .95rem 1.1rem; }

.hero-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-tags span {
  font-size: .82rem;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight: 600;
}

.hero-card {
  border-radius: 24px;
  border: 1px solid rgba(226,232,240,.9);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
}
.hero-card-inner { height: 100%; position: relative; padding: 1rem; display: grid; align-content: space-between; }
.shine {
  position: absolute;
  inset: -30% auto auto -10%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(14,165,233,.15), transparent 70%);
}
.smile-graphic {
  position: relative;
  margin-top: .75rem;
  height: 160px;
  display: grid;
  place-items: center;
}
.tooth {
  position: absolute;
  width: 52px;
  height: 70px;
  background: #fff;
  border: 2px solid #bfdbfe;
  border-radius: 20px 20px 16px 16px;
  box-shadow: 0 8px 20px rgba(37,99,235,.08);
}
.tooth:before, .tooth:after {
  content: '';
  position: absolute;
  bottom: -12px;
  width: 14px;
  height: 16px;
  border: 2px solid #bfdbfe;
  background: #fff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.tooth:before { left: 8px; }
.tooth:after { right: 8px; }
.tooth-1 { transform: translateX(-46px); }
.tooth-2 { transform: translateX(0); z-index: 2; }
.tooth-3 { transform: translateX(46px); }
.arc {
  position: absolute;
  width: 180px;
  height: 80px;
  border-bottom: 3px solid #93c5fd;
  border-radius: 0 0 120px 120px;
  transform: translateY(38px);
}
.card-caption {
  border-top: 1px solid var(--line);
  padding-top: .8rem;
}
.card-caption h3 { margin: 0; font-size: 1rem; }
.card-caption p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }

.section { padding: 1.5rem 0; }
.section.alt { background: linear-gradient(180deg, #ffffff, #f8fafc); border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.section-head { margin-bottom: .9rem; }
.section-head.left { text-align: left; }
.section-head h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 2rem); }
.section-text { margin: .35rem 0 0; color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
}
.card.soft { box-shadow: 0 10px 30px rgba(15,23,42,.04); }
.card h3 { margin: 0 0 .35rem; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
  align-items: start;
}
.lead { margin: 0; color: var(--muted); }
.feature-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .5rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem;
}
.icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: #eff6ff; color: #1d4ed8; font-weight: 700;
}
.feature-list h4 { margin: 0; font-size: .95rem; }
.feature-list p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-top {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 .75rem;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; }
.panel-body { padding: .85rem; display: grid; gap: .65rem; }
.metric {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .65rem .75rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.metric-label { display: block; color: var(--muted); font-size: .8rem; }
.metric strong { display: block; margin-top: .1rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.gallery-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  min-height: 170px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.04);
}
.gallery-card.placeholder {
  display: grid;
  place-items: center;
  color: #64748b;
  background-image: linear-gradient(135deg, rgba(239,246,255,.8), rgba(255,255,255,.95));
  position: relative;
  overflow: hidden;
}
.gallery-card.placeholder::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed #bfdbfe;
  border-radius: 12px;
}
.gallery-card span { position: relative; z-index: 1; font-weight: 600; font-size: .9rem; }

.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
.map-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .6;
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 15px 28px rgba(37,99,235,.28);
}

.cta { padding: 1rem 0 2rem; }
.cta-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(239,246,255,.95));
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .85rem;
}
.cta-box h2 { margin: 0; font-size: clamp(1.1rem, 2.3vw, 1.6rem); }
.cta-box p { margin: .25rem 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
  background: #fff;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.footer-wrap p { margin: .15rem 0 0; color: var(--muted); }
.copy { white-space: nowrap; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: .45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .gallery-grid,
  .location-wrap,
  .cta-box,
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .45rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }

  .hero-grid,
  .split,
  .location-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 1rem; }
  .hero-card { min-height: 280px; }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .copy { white-space: normal; }
}
