:root {
  --ink: #13313c;
  --muted: #667d85;
  --brand: #0b6f8d;
  --brand-2: #3ba6bd;
  --accent: #7ad2dd;
  --pale: #eaf7f9;
  --paper: #ffffff;
  --line: rgba(17, 94, 117, .14);
  --shadow: 0 24px 65px rgba(19, 65, 79, .13);
  --radius: 28px;
}

* { 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:
    radial-gradient(circle at 0% 0%, rgba(122,210,221,.2), transparent 28rem),
    #f8fcfd;
  line-height: 1.6;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 100px 0; }
.page-shell { min-height: 100vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,252,253,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 35px rgba(19,65,79,.06); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(11,111,141,.25);
}
.brand-mark svg { width: 29px; fill: white; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .76rem; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; color: #36535e; font-weight: 650; font-size: .92rem; transition: .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: rgba(11,111,141,.08); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 4px; transition: .25s; }

.hero { padding-top: 72px; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(86,184,202,.14), transparent 67%); z-index: -1; transform: translate(15%,-20%);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .55; }
.eyebrow.light { color: rgba(255,255,255,.8); }
.hero h1 { margin: 0; font-size: clamp(3.5rem, 8vw, 7.2rem); line-height: .88; letter-spacing: -.07em; max-width: 760px; }
.hero h1 span { display: block; color: var(--brand); }
.hero-services { margin: 30px 0 15px; color: #36535e; font-size: clamp(1rem, 2vw, 1.18rem); font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-services i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); }
.hero-place { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-place svg { width: 20px; fill: var(--brand); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border-radius: 16px; font-weight: 800; font-size: .92rem; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--brand), #188cac); box-shadow: 0 15px 28px rgba(11,111,141,.22); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.62); color: var(--brand); }
.btn-light { background: white; color: var(--brand); box-shadow: 0 16px 32px rgba(1,34,45,.15); }

.hero-visual { min-height: 540px; position: relative; display: grid; place-items: center; }
.visual-card {
  position: relative; width: min(460px, 100%); aspect-ratio: .92; border-radius: 44px;
  background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(229,247,250,.9));
  border: 1px solid rgba(70,164,184,.16); box-shadow: var(--shadow); overflow: hidden;
}
.visual-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(11,111,141,.08); border-radius: 34px; }
.tooth-illustration { position: absolute; width: 48%; left: 26%; top: 21%; filter: drop-shadow(0 24px 28px rgba(26,118,144,.16)); animation: float 5.5s ease-in-out infinite; }
.tooth-illustration svg { width: 100%; }
.visual-badge { position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border: 1px solid rgba(31,120,143,.14); border-radius: 999px; padding: 10px 14px; font-weight: 800; font-size: .78rem; box-shadow: 0 12px 28px rgba(18,75,91,.1); }
.badge-a { left: 7%; top: 14%; }
.badge-b { right: 5%; top: 25%; }
.badge-c { left: 8%; bottom: 18%; }
.badge-d { right: 5%; bottom: 8%; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 120px; height: 120px; background: rgba(122,210,221,.25); left: 0; top: 3%; }
.orb-two { width: 80px; height: 80px; border: 16px solid rgba(11,111,141,.09); right: -3%; bottom: 4%; }
@keyframes float { 50% { transform: translateY(-12px) rotate(1deg); } }

.services { background: #fff; border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .location h2, .feature-panel h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  min-height: 285px; position: relative; padding: 26px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(155deg, #fff, #f5fbfc); overflow: hidden; transition: .28s ease;
}
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -85px; bottom: -85px; background: rgba(84,188,205,.08); transition: .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(25,81,97,.12); border-color: rgba(59,166,189,.28); }
.service-card:hover::after { transform: scale(1.35); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--brand); background: var(--pale); }
.service-icon svg { width: 31px; max-height: 31px; fill: currentColor; }
.service-number { position: absolute; top: 28px; right: 26px; font-size: .76rem; color: #8ba0a7; font-weight: 800; }
.service-card h3 { position: absolute; left: 26px; bottom: 25px; margin: 0; font-size: 1.35rem; line-height: 1.15; max-width: 90%; }

.feature-strip { background: #fff; padding-top: 0; }
.feature-panel { min-height: 300px; border-radius: 34px; background: linear-gradient(135deg, #0b6f8d, #17566a); color: white; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; position: relative; box-shadow: 0 25px 70px rgba(10,82,102,.18); }
.feature-panel > div:first-child { max-width: 760px; position: relative; z-index: 2; }
.feature-panel h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
.rings { width: 260px; height: 260px; position: relative; flex: 0 0 auto; opacity: .45; }
.rings span { position: absolute; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; inset: 0; }
.rings span:nth-child(2) { inset: 38px; }
.rings span:nth-child(3) { inset: 76px; background: rgba(255,255,255,.08); }

.location { position: relative; }
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.location-copy h2 { margin-bottom: 34px; }
.address-card { display: flex; align-items: flex-start; gap: 18px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 24px; box-shadow: 0 16px 38px rgba(26,83,98,.08); }
.pin-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 17px; background: var(--pale); display: grid; place-items: center; }
.pin-icon svg { width: 25px; fill: var(--brand); }
.address-card span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.address-card strong { display: block; margin-top: 4px; font-size: 1.08rem; }
.address-card p { margin: 2px 0 0; color: var(--muted); }
.location-art { min-height: 430px; display: grid; place-items: center; }
.map-card { width: min(540px,100%); aspect-ratio: 1.18; position: relative; overflow: hidden; border-radius: 36px; border: 1px solid var(--line); background: linear-gradient(145deg, #e5f5f7, #f8fcfc); box-shadow: var(--shadow); }
.map-card::before, .map-card::after { content: ""; position: absolute; width: 170%; height: 38px; left: -30%; background: rgba(255,255,255,.8); transform: rotate(20deg); box-shadow: 0 0 0 1px rgba(11,111,141,.06); }
.map-card::before { top: 26%; }
.map-card::after { top: 68%; transform: rotate(-16deg); }
.map-line { position: absolute; height: 2px; background: rgba(11,111,141,.13); transform-origin: left; }
.l1 { width: 80%; left: 4%; top: 23%; transform: rotate(-24deg); }
.l2 { width: 68%; right: -5%; top: 40%; transform: rotate(48deg); }
.l3 { width: 77%; left: 5%; bottom: 21%; transform: rotate(13deg); }
.l4 { width: 55%; left: 37%; bottom: 11%; transform: rotate(-51deg); }
.map-pin { position: absolute; left: 54%; top: 46%; width: 62px; height: 62px; border-radius: 50% 50% 50% 8px; background: linear-gradient(145deg, var(--brand), var(--brand-2)); transform: rotate(-45deg); box-shadow: 0 18px 35px rgba(11,111,141,.3); display: grid; place-items: center; z-index: 3; }
.map-pin span { width: 22px; height: 22px; background: #fff; border-radius: 50%; }
.map-card p { position: absolute; left: 54%; top: calc(46% + 85px); transform: translateX(-40%); margin: 0; font-weight: 900; color: var(--brand); z-index: 3; }

.site-footer { padding: 34px 0 45px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-inner > div { display: grid; }
.footer-inner strong { font-size: 1rem; }
.footer-inner span { color: var(--muted); font-size: .84rem; margin-top: 4px; }
.footer-inner nav { display: flex; gap: 18px; color: #4f6972; font-size: .88rem; font-weight: 650; }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.reveal-pending.visible { opacity: 1; transform: none; }

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

@media (max-width: 980px) {
  .hero-grid, .location-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .location-copy { max-width: 680px; }
  .location-art { min-height: 380px; }
  .feature-panel { align-items: flex-start; }
  .rings { position: absolute; right: -55px; bottom: -70px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 74px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; left: 14px; right: 14px; top: 82px; display: grid; gap: 6px; padding: 14px;
    border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 24px 55px rgba(19,65,79,.15);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 13px 15px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 52px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.3rem); }
  .hero-services { display: block; }
  .hero-services i { display: inline-block; margin: 0 8px 2px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-visual { min-height: 390px; }
  .visual-card { max-width: 390px; border-radius: 34px; }
  .visual-badge { font-size: .7rem; padding: 8px 10px; }
  .section-heading h2, .location h2, .feature-panel h2 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .feature-panel { padding: 38px 28px; min-height: 320px; }
  .address-card { padding: 18px; }
  .location-art { min-height: 300px; }
  .map-card { border-radius: 28px; }
  .map-pin { width: 48px; height: 48px; }
  .map-pin span { width: 17px; height: 17px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-copy strong { font-size: .94rem; }
  .hero-visual { min-height: 340px; }
  .visual-badge { font-size: .64rem; }
  .badge-a { left: 4%; }
  .badge-b { right: 3%; }
  .badge-c { left: 4%; }
  .badge-d { right: 3%; }
}
