:root {
  --blue-950: #042b57;
  --blue-900: #063c78;
  --blue-800: #0755a5;
  --blue-700: #0b6bc6;
  --blue-500: #2b8ee6;
  --blue-100: #dcefff;
  --blue-50: #f3f9ff;
  --white: #ffffff;
  --text: #18324d;
  --muted: #66788a;
  --line: #dce7f1;
  --shadow: 0 18px 50px rgba(4, 43, 87, .12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* { 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(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: #fff; color: var(--blue-900); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,231,241,.85);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, var(--blue-700), var(--blue-950)); box-shadow: 0 10px 25px rgba(7,85,165,.25); flex: 0 0 auto; }
.brand-mark svg { width: 28px; fill: #fff; }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 1rem; color: var(--blue-950); }
.brand small { margin-top: 4px; font-size: .82rem; color: var(--blue-700); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: .93rem; }
.main-nav a:not(.nav-call) { position: relative; }
.main-nav a:not(.nav-call)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px; background: var(--blue-700); transition: .25s ease; }
.main-nav a:hover::after { right: 0; }
.nav-call { padding: 11px 18px; color: #fff; background: var(--blue-800); border-radius: 999px; box-shadow: 0 8px 20px rgba(7,85,165,.2); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; border-radius: 4px; background: var(--blue-950); transition: .25s ease; }

.hero { min-height: 670px; position: relative; display: grid; align-items: center; padding: 90px 0 80px; background: radial-gradient(circle at 78% 30%, rgba(43,142,230,.18), transparent 30%), linear-gradient(130deg, #fff 0%, #f5faff 48%, #eaf5ff 100%); overflow: hidden; }
.hero-shape { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .7; }
.hero-shape-one { width: 340px; height: 340px; right: -120px; top: -120px; border: 58px solid rgba(11,107,198,.1); }
.hero-shape-two { width: 180px; height: 180px; left: -90px; bottom: 40px; background: rgba(43,142,230,.08); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--blue-700); font-size: .79rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(2.7rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.055em; color: var(--blue-950); }
.hero h1 span { display: block; color: var(--blue-700); }
.hero-copy > p { max-width: 680px; margin: 28px 0 34px; font-size: clamp(1.05rem, 2vw, 1.23rem); color: #4f6579; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); box-shadow: 0 12px 28px rgba(7,85,165,.24); }
.button-secondary { color: var(--blue-900); background: rgba(255,255,255,.84); border-color: #c8deef; box-shadow: 0 8px 22px rgba(4,43,87,.08); }
.button-light { background: #fff; color: var(--blue-900); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }

.hero-visual { min-height: 480px; display: grid; place-items: center; }
.visual-card { position: relative; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(223,240,255,.75)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 40px 80px rgba(4,43,87,.14); }
.hero-tooth { width: 43%; fill: #fff; filter: drop-shadow(0 28px 32px rgba(4,43,87,.24)); }
.visual-card::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: linear-gradient(160deg, var(--blue-500), var(--blue-900)); box-shadow: 0 24px 50px rgba(7,85,165,.28); }
.tooth-orbit { position: absolute; border: 1px dashed rgba(7,85,165,.32); border-radius: 50%; }
.orbit-one { inset: 5%; animation: spin 30s linear infinite; }
.orbit-two { inset: 12%; animation: spin 22s linear reverse infinite; }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 8px rgba(43,142,230,.14); }
.orbit-one::after { top: 11%; right: 9%; }
.orbit-two::after { bottom: 4%; left: 19%; }
.mini-info { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.mini-info strong { font-size: 1.1rem; color: var(--blue-800); }
.mini-info span { font-size: .78rem; color: var(--muted); }
.mini-info-top { top: 12%; left: -3%; }
.mini-info-bottom { right: -2%; bottom: 15%; }
@keyframes spin { to { transform: rotate(360deg); } }

.quick-info { position: relative; z-index: 3; margin-top: -40px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; }
.quick-grid article { display: flex; align-items: center; gap: 15px; min-height: 112px; padding: 24px 30px; }
.quick-grid article + article { border-left: 1px solid var(--line); }
.quick-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--blue-700); background: var(--blue-50); font-size: 1.3rem; }
.quick-grid small, .quick-grid strong { display: block; }
.quick-grid small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.quick-grid strong { color: var(--blue-950); }

.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .visual-copy h2, .location-copy h2, .attention-inner h2, .contact-main h2 { margin: 0 0 14px; color: var(--blue-950); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p, .visual-copy p, .location-copy p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(180deg, #fff, #fbfdff); overflow: hidden; transition: .3s ease; }
.service-card:hover { transform: translateY(-8px); border-color: #a9cee9; box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--blue-50); }
.service-number { position: absolute; top: 20px; right: 24px; color: #d3e6f7; font-weight: 900; font-size: 2.2rem; }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 46px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, var(--blue-500), var(--blue-900)); font-size: 1.7rem; box-shadow: 0 14px 25px rgba(7,85,165,.2); }
.service-card h3 { position: relative; z-index: 1; margin: 0 0 10px; color: var(--blue-950); font-size: 1.35rem; line-height: 1.2; }
.service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); }

.attention-band { padding: 72px 0; background: linear-gradient(125deg, var(--blue-950), var(--blue-700)); color: #fff; }
.attention-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.eyebrow.light, .attention-inner h2, .contact-main h2 { color: #fff; }
.attention-inner h2 { max-width: 720px; }
.attention-inner p { margin: 0; color: rgba(255,255,255,.76); }

.visual-services { background: var(--blue-50); }
.visual-services-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--blue-700); font-weight: 900; }
.text-link span { transition: .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.service-wheel { position: relative; width: min(620px, 100%); aspect-ratio: 1.35; margin-inline: auto; }
.wheel-center { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(145deg, var(--blue-500), var(--blue-950)); box-shadow: 0 24px 45px rgba(7,85,165,.25); }
.wheel-center svg { width: 76px; fill: #fff; }
.wheel-item { position: absolute; width: 190px; min-height: 86px; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--blue-950); font-weight: 850; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(4,43,87,.09); }
.item-one { top: 2%; left: 10%; }
.item-two { top: 2%; right: 2%; }
.item-three { bottom: 2%; left: 3%; }
.item-four { bottom: 2%; right: 10%; }

.gallery { background: #fff; }
.photo-frame { margin: 0; padding: 14px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; max-height: 690px; object-fit: contain; border-radius: 18px; background: #eef5fb; }
.photo-frame figcaption { padding: 16px 8px 4px; color: var(--muted); text-align: center; font-weight: 700; }

.location { background: linear-gradient(180deg, #f8fbff, #eef7ff); }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 46px; }
.location-data { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--blue-700); background: rgba(255,255,255,.72); border-radius: 0 14px 14px 0; }
.location-data span, .location-data strong { display: block; }
.location-data span { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.location-data strong { margin-top: 4px; overflow-wrap: anywhere; color: var(--blue-950); }
.map-card { padding: 10px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; height: 500px; border: 0; border-radius: 20px; }

.contact { background: #fff; }
.contact-card { display: grid; grid-template-columns: 1.35fr .65fr; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(130deg, var(--blue-950), var(--blue-700)); box-shadow: 0 30px 70px rgba(4,43,87,.22); }
.contact-main { padding: 58px; color: #fff; }
.contact-main p { max-width: 680px; margin: 0 0 28px; color: rgba(255,255,255,.78); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.social-panel { padding: 58px 42px; color: var(--blue-950); background: #fff; }
.social-panel h3 { margin: 0 0 8px; font-size: 1.5rem; }
.social-panel p { margin: 0 0 22px; color: var(--muted); }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.social-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--blue-800); background: var(--blue-50); border: 1px solid #d6e8f6; }
.social-icon svg { width: 24px; height: 24px; fill: currentColor; }
.social-icon.threads { font-size: 1.55rem; font-weight: 900; }
.social-panel small { color: var(--muted); }

.site-footer { padding: 64px 0 24px; color: rgba(255,255,255,.72); background: #031f3d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 50px; align-items: start; }
.footer-brand strong, .footer-brand small { color: #fff; }
.footer-brand .brand-mark { background: rgba(255,255,255,.12); box-shadow: none; }
.footer-grid p { margin: 18px 0 0; }
.footer-links { display: grid; gap: 12px; }
.footer-links a:hover { color: #fff; }
.footer-contact span, .footer-contact a { display: block; }
.footer-contact span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-contact a { margin-top: 8px; color: #fff; font-size: 1.2rem; font-weight: 900; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.floating-call { position: fixed; z-index: 900; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-700); box-shadow: 0 12px 30px rgba(4,43,87,.3); font-size: 1.35rem; transition: .2s ease; }
.floating-call:hover { transform: scale(1.06); }

.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a:not(.nav-call)::after { display: none; }
  .nav-call { margin-top: 8px; text-align: center; }
  .hero { padding-top: 70px; }
  .hero-grid, .visual-services-grid, .location-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { min-height: 390px; }
  .visual-card { width: min(380px, 88vw); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .attention-inner { align-items: flex-start; flex-direction: column; }
  .visual-services-grid { gap: 40px; }
  .visual-copy { text-align: center; }
  .visual-copy .eyebrow { justify-content: center; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .7rem; }
  .hero { min-height: auto; padding: 64px 0 92px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 320px; }
  .mini-info { padding: 9px 11px; }
  .quick-info { margin-top: -48px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid article { min-height: 88px; padding: 18px 20px; }
  .quick-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .service-icon { margin-bottom: 32px; }
  .service-wheel { aspect-ratio: auto; min-height: 550px; display: grid; align-content: center; gap: 14px; }
  .wheel-center { position: relative; left: auto; top: auto; width: 130px; height: 130px; transform: none; margin: 0 auto 8px; }
  .wheel-item { position: relative; inset: auto !important; width: 100%; min-height: 64px; }
  .photo-frame { padding: 8px; border-radius: 20px; }
  .photo-frame img { border-radius: 14px; }
  .map-card iframe { height: 390px; }
  .contact-main, .social-panel { padding: 38px 24px; }
  .contact-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .floating-call { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

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