:root {
  --blue-950: #052a5f;
  --blue-900: #063b7c;
  --blue-800: #0a4f9f;
  --blue-700: #0d66c9;
  --teal-600: #00a99d;
  --teal-500: #13c2b5;
  --teal-100: #daf8f5;
  --sky-100: #eaf6ff;
  --white: #ffffff;
  --ink: #14253f;
  --muted: #5d6f88;
  --line: rgba(7, 57, 120, 0.14);
  --shadow: 0 24px 70px rgba(5, 42, 95, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --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(--ink);
  background: linear-gradient(180deg, #f7fcff 0%, #ffffff 45%, #f5fbff 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 12px 16px; background: var(--blue-950); color: white; z-index: 99; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(5, 42, 95, 0.08);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.brand img { width: min(315px, 58vw); height: auto; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.email-link { font-weight: 700; color: var(--blue-900); font-size: 0.95rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  box-shadow: 0 14px 32px rgba(10, 79, 159, 0.24);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(10, 79, 159, 0.32); }
.btn-small { min-height: 42px; padding-inline: 18px; font-size: .92rem; }
.btn-secondary {
  background: rgba(255,255,255,0.82);
  color: var(--blue-900);
  border-color: rgba(13, 102, 201, 0.2);
  box-shadow: none;
}
.btn-secondary:hover { box-shadow: 0 14px 28px rgba(5, 42, 95, 0.12); }

.hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
  overflow: hidden;
}
.section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(19,194,181,.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(13,102,201,.13), transparent 24%),
    linear-gradient(115deg, rgba(234,246,255,.9) 0%, rgba(255,255,255,.93) 44%, rgba(218,248,245,.45) 100%);
  z-index: -3;
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -160px;
  height: 280px;
  background: linear-gradient(135deg, var(--blue-900), var(--teal-600));
  transform: rotate(-3deg);
  border-radius: 50% 50% 0 0;
  opacity: .95;
  z-index: -2;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .65; }
.orb-one { width: 480px; height: 480px; left: -160px; top: 110px; background: radial-gradient(circle, rgba(19,194,181,.22), transparent 68%); }
.orb-two { width: 560px; height: 560px; right: -220px; top: 120px; background: radial-gradient(circle, rgba(13,102,201,.18), transparent 70%); }
.grid-fade {
  position: absolute;
  inset: 0;
  opacity: .33;
  background-image: linear-gradient(rgba(7,57,120,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(7,57,120,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 65%);
}
.tooth-line, .medical-cross {
  position: absolute;
  width: 150px;
  height: 150px;
  fill: none;
  stroke: rgba(6, 59, 124, .13);
  stroke-width: 5;
}
.tooth-line { right: 7%; top: 110px; }
.medical-cross { left: 7%; top: 165px; }
.medical-cross .pulse { stroke: rgba(0,169,157,.18); stroke-linecap: round; stroke-linejoin: round; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .85fr);
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-600);
  font-size: .88rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: 18px;
}
.eyebrow span { width: 44px; height: 2px; border-radius: 4px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: .92;
  letter-spacing: -0.065em;
  color: var(--blue-950);
  margin-bottom: 24px;
  max-width: 840px;
}
.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: #274363;
  max-width: 700px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 34px;
}
.trust-row div {
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(5,42,95,.06);
}
.trust-row strong { display: block; color: var(--blue-900); font-size: 1.2rem; }
.trust-row span { color: var(--muted); font-weight: 650; font-size: .92rem; }

.hero-card {
  border-radius: var(--radius-xl);
  padding: 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(13,102,201,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(19,194,181,.65), rgba(13,102,201,.18), transparent);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(234,246,255,.95), rgba(255,255,255,.95));
  border: 1px solid rgba(5,42,95,.08);
}
.avatar {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-800), var(--teal-600));
  color: white; font-weight: 900;
}
.agent-card strong, .agent-card span { display: block; }
.agent-card strong { color: var(--blue-950); }
.agent-card span { color: var(--muted); font-size: .92rem; }
.agent-card small {
  margin-left: auto;
  color: var(--teal-600);
  font-weight: 900;
  background: var(--teal-100);
  padding: 6px 10px;
  border-radius: 999px;
}
.dashboard-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(5,42,95,.08);
}
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-header span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.panel-header strong { display: block; color: var(--blue-950); font-size: 1.2rem; }
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 8px rgba(19,194,181,.12); }
.schedule-list { display: grid; gap: 10px; }
.schedule-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(5,42,95,.07);
}
.schedule-item span { color: var(--blue-700); font-weight: 900; }
.schedule-item strong { color: var(--blue-950); }
.schedule-item em { color: var(--teal-600); font-style: normal; font-weight: 850; font-size: .88rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.metric-row div { padding: 16px 10px; text-align: center; border-radius: 18px; background: rgba(6,59,124,.05); }
.metric-row strong { display: block; color: var(--blue-900); font-size: 1.15rem; }
.metric-row span { color: var(--muted); font-size: .82rem; font-weight: 700; }

.services { padding: 108px 0 80px; background: white; }
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-heading span, .small-label {
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: .82rem;
}
.section-heading h2, .process-card h2, .cta h2 {
  color: var(--blue-950);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 12px 0 14px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(234,246,255,.72), rgba(255,255,255,1) 46%);
  box-shadow: 0 16px 44px rgba(5,42,95,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 24px 58px rgba(5,42,95,.12); border-color: rgba(19,194,181,.36); }
.icon-wrap {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-800), var(--teal-600));
  margin-bottom: 22px;
  box-shadow: 0 12px 24px rgba(0,169,157,.18);
}
.icon-wrap svg { width: 30px; height: 30px; fill: currentColor; }
.service-card h3 { color: var(--blue-950); line-height: 1.2; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.service-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.process { padding: 62px 0 100px; background: linear-gradient(180deg, white 0%, #f3fbff 100%); }
.process-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 5% 0%, rgba(19,194,181,.18), transparent 30%),
    linear-gradient(135deg, var(--blue-950), #064891 70%, #006f93);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.process-card::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  right: -150px; bottom: -170px;
  background: rgba(19,194,181,.2);
}
.process-card .small-label { color: #8af0e8; }
.process-card h2 { color: white; font-size: clamp(2rem, 4vw, 3.1rem); margin: 14px 0 0; }
.process-steps { display: grid; gap: 16px; position: relative; z-index: 1; }
.process-steps div {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.process-steps span { color: #8af0e8; font-weight: 900; }
.process-steps strong { display: block; font-size: 1.18rem; margin: 5px 0; }
.process-steps p { color: rgba(255,255,255,.78); margin: 0; line-height: 1.6; }

.cta { padding: 92px 0; background: white; }
.cta-inner {
  text-align: center;
  max-width: 820px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f4fbff, #fff);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(5,42,95,.08);
}
.cta-inner img { width: 84px; margin: 0 auto 14px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 12px; }
.cta p { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; }
.site-footer { padding: 30px 0; border-top: 1px solid rgba(5,42,95,.08); background: #f8fcff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-weight: 700; }
.footer-inner a { color: var(--blue-900); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .08s; }
.delay-two { transition-delay: .16s; }
.delay-three { transition-delay: .24s; }

@media (max-width: 980px) {
  .email-link { display: none; }
  .hero { min-height: auto; padding: 68px 0 92px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-shell { min-height: 74px; }
  .brand img { width: min(246px, 64vw); }
  .btn-small { display: none; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-actions .btn { width: 100%; }
  .trust-row, .metric-row { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 50px 1fr; }
  .schedule-item em { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .tooth-line, .medical-cross { opacity: .35; width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.nav-link {
  color: var(--blue-900);
  font-weight: 800;
  font-size: .94rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover, .nav-link.active {
  background: rgba(13, 102, 201, 0.08);
  color: var(--blue-950);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a { color: var(--blue-900); }
.footer-links a:hover { color: var(--teal-600); }

.legal-main { background: linear-gradient(180deg, #f7fcff 0%, #ffffff 100%); }
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 56px;
  border-bottom: 1px solid rgba(5,42,95,.08);
}
.legal-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(19,194,181,.18), transparent 68%);
  pointer-events: none;
}
.legal-hero-inner { max-width: 900px; }
.legal-hero h1 {
  color: var(--blue-950);
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: .96;
  letter-spacing: -0.06em;
  margin: 12px 0 14px;
}
.legal-hero p {
  color: var(--muted);
  font-weight: 800;
  font-size: 1.05rem;
}
.legal-content { padding: 54px 0 92px; }
.legal-card {
  max-width: 980px;
  padding: clamp(26px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(5,42,95,.08);
}
.legal-card h2 {
  color: var(--blue-950);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
  margin: 32px 0 12px;
}
.legal-card p {
  color: #2a405f;
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 16px;
}
.legal-card a {
  color: var(--blue-800);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.notice-box {
  margin: 28px 0 34px;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(19,194,181,.17), transparent 38%),
    linear-gradient(135deg, rgba(234,246,255,.9), rgba(255,255,255,.94));
  border: 1px solid rgba(19,194,181,.28);
  box-shadow: 0 14px 36px rgba(5,42,95,.06);
}
.notice-box h2 { margin-top: 0; }
.notice-box p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .top-actions { gap: 8px; }
  .nav-link { font-size: .9rem; padding-inline: 10px; }
  .footer-links { justify-content: center; }
}
@media (max-width: 720px) {
  .top-actions .nav-link { display: none; }
  .top-actions .nav-link.active { display: inline-flex; }
  .legal-hero { padding: 58px 0 42px; }
  .legal-content { padding: 36px 0 70px; }
  .legal-card { border-radius: 24px; }
}
