:root {
  --milk: #f7f4ee;
  --paper: #fffdf9;
  --ink: #15202b;
  --muted: #667482;
  --line: #dfe6ea;
  --blue: #0b3568;
  --blue-deep: #071f3e;
  --teal: #15b7ad;
  --teal-soft: #dff8f4;
  --gray: #eef3f5;
  --shadow: 0 24px 70px rgba(25, 48, 72, 0.12);
  --soft-shadow: 0 12px 34px rgba(25, 48, 72, 0.08);
  --radius-lg: 32px;
  --radius-md: 24px;
  --container: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(21, 183, 173, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, var(--milk) 42%, #f8faf9 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.section-shell { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: var(--container);
  min-height: 72px;
  margin: 16px auto 0;
  padding: 12px 12px 12px 18px;
  border: 1px solid rgba(223, 230, 234, 0.76);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 18px 60px rgba(18, 42, 66, 0.08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; color: var(--blue-deep); }
.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), #0d5f8d);
  color: white;
  font-size: 13px;
}
.nav { display: flex; justify-content: center; gap: 24px; color: #415261; font-size: 14px; }
.nav a:hover { color: var(--blue); }
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: white;
  font-size: 14px;
  font-weight: 680;
}
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gray); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--blue-deep); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.86fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 52px 0 42px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-size: clamp(44px, 4.85vw, 68px);
  line-height: 0.98;
}
h2 { margin-bottom: 18px; color: var(--blue-deep); font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
.hero-lead { max-width: 640px; margin-bottom: 28px; color: #4c5f70; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: white; box-shadow: 0 18px 34px rgba(7, 31, 62, 0.18); }
.button-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); color: var(--blue-deep); }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-benefits span { padding: 12px 15px; border: 1px solid rgba(210, 220, 226, 0.84); border-radius: 999px; background: rgba(255, 255, 255, 0.72); color: #3f5263; font-size: 14px; }

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background: var(--gray);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 46px rgba(7, 31, 62, 0.16);
  backdrop-filter: blur(16px);
}
.floating-card strong { color: var(--blue); font-size: 26px; }
.floating-card span { color: #354859; font-size: 14px; font-weight: 680; }
.rating-card { top: 28px; left: 28px; }
.visits-card { right: 24px; bottom: 34px; }
.diag-card { left: 26px; bottom: 118px; }
.mini-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 14px; background: var(--teal-soft); color: var(--blue); font-size: 12px; font-weight: 850; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.trust article, .service-grid article, .benefit-grid article, .doctor-card, .case-grid article, .review-grid article {
  border: 1px solid rgba(223, 230, 234, 0.86);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}
.trust article { padding: 30px; border-radius: var(--radius-md); }
.trust strong { display: block; margin-bottom: 6px; color: var(--blue); font-size: 38px; line-height: 1; }
.trust span { color: var(--muted); }

.section { padding: 112px 0 0; }
.section-heading { max-width: 600px; }
.section-heading.wide { max-width: 780px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-grid article { min-height: 292px; padding: 24px; border-radius: var(--radius-md); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.service-grid article:hover { transform: translateY(-6px); box-shadow: 0 26px 66px rgba(21, 74, 104, 0.12); }
.service-icon { display: grid; width: 54px; height: 54px; margin-bottom: 28px; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #effafa, #fff); box-shadow: inset 0 0 0 1px rgba(21, 183, 173, 0.17); }
.service-icon::before { content: ""; display: block; width: 24px; height: 24px; border: 3px solid var(--blue); border-radius: 9px; }
.shine::before { border-radius: 50%; border-color: var(--teal); }
.implant::before { width: 5px; border-radius: 5px; background: var(--blue); }
.crown::before { border-radius: 6px 6px 14px 14px; background: linear-gradient(135deg, var(--blue), var(--teal)); }
.align::before, .smile::before { height: 14px; border-top: 0; border-radius: 0 0 24px 24px; }
.child::before { border-radius: 50%; background: var(--teal); }
.surgery::before { height: 5px; border-radius: 5px; transform: rotate(-35deg); background: var(--blue); }
.service-grid h3, .benefit-grid h3, .doctor-card h3, .case-grid h3, .timeline h3 { margin-bottom: 10px; color: var(--blue-deep); font-size: 21px; line-height: 1.18; }
.service-grid p, .benefit-grid p, .doctor-card p, .case-grid p, .timeline p, .review-grid p { color: var(--muted); line-height: 1.56; }
.service-grid a, .doctor-card a { display: inline-flex; margin-top: 10px; color: var(--blue); font-weight: 780; }

.split-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.sticky-copy { position: sticky; top: 128px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit-grid article { min-height: 190px; padding: 26px; border-radius: var(--radius-md); }

.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doctor-card { overflow: hidden; border-radius: var(--radius-lg); background: white; }
.doctor-card img { width: 100%; height: 330px; object-fit: cover; filter: saturate(0.92); }
.doctor-card img.doctor-photo-top { object-position: center 18%; }
.doctor-card div { padding: 24px; }
.doctor-card span { display: block; margin-bottom: 14px; color: var(--teal); font-weight: 760; }

.process-section { padding-bottom: 112px; background: linear-gradient(135deg, rgba(7, 31, 62, 0.96), rgba(11, 53, 104, 0.94)); }
.process-section h2 { color: white; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline article { min-height: 260px; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); }
.timeline span { display: grid; width: 50px; height: 50px; margin-bottom: 34px; place-items: center; border-radius: 18px; background: var(--teal); color: var(--blue-deep); font-weight: 850; }
.timeline h3 { color: white; }
.timeline p { color: rgba(255, 255, 255, 0.72); }

.case-grid, .review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-grid article { padding: 14px 14px 22px; border-radius: var(--radius-lg); }
.case-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 190px; margin-bottom: 22px; overflow: hidden; border-radius: 22px; }
.case-visual::before, .case-visual::after { content: ""; background: radial-gradient(ellipse at 50% 55%, rgba(255,255,255,.95) 0 20%, transparent 21%), linear-gradient(135deg, #cedce1, #f4f8f8); }
.case-visual::after { background: radial-gradient(ellipse at 50% 55%, #fff 0 23%, transparent 24%), linear-gradient(135deg, #c8f2ed, #f7ffff); }
.case-visual span { position: absolute; top: 14px; z-index: 1; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.72); color: #4c5f70; font-size: 12px; font-weight: 760; text-transform: uppercase; }
.case-visual span:first-child { left: 14px; }
.case-visual span:last-child { right: 14px; }
.case-grid h3, .case-grid p, .case-grid small { margin-inline: 10px; }
.case-grid small { display: block; color: var(--blue); font-weight: 780; }

.review-grid article { min-height: 250px; padding: 26px; border-radius: var(--radius-md); }
.review-grid article > span { display: block; margin-bottom: 18px; color: #dcae37; font-size: 17px; }
.review-grid strong { display: block; margin-top: 22px; color: var(--blue-deep); }
.review-grid small { color: var(--muted); }

.prices-panel { display: grid; grid-template-columns: 0.78fr 1fr; gap: 50px; padding: 42px; border: 1px solid rgba(223,230,234,.9); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(239,248,248,.72)); box-shadow: var(--shadow); }
.price-list { display: grid; gap: 12px; }
.price-list div { display: flex; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid rgba(223,230,234,.92); border-radius: 20px; background: rgba(255,255,255,.76); }
.price-list span { color: #415261; }
.price-list strong { white-space: nowrap; color: var(--blue); }

.appointment-section { padding-bottom: 96px; }
.cta-panel { display: grid; grid-template-columns: 1fr 420px; gap: 42px; padding: 52px; border-radius: 38px; background: linear-gradient(135deg, rgba(7,31,62,.95), rgba(11,53,104,.9)); box-shadow: var(--shadow); }
.cta-panel h2, .cta-panel p, .cta-panel .eyebrow { color: white; }
.cta-panel p { color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.65; }
.contact-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 38px; }
.contact-card p { min-height: 80px; margin: 0; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: 15px; }
.appointment-form { display: grid; gap: 16px; padding: 24px; border-radius: 28px; background: white; }
.appointment-form label { display: grid; gap: 8px; }
.appointment-form label span { color: #415261; font-size: 13px; font-weight: 760; }
.appointment-form input, .appointment-form select { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf9; outline: 0; }
.appointment-form .button { width: 100%; }
.appointment-form small { color: var(--muted); line-height: 1.45; }

.site-footer { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; padding: 54px 0 64px; border-top: 1px solid var(--line); }
.site-footer p, .site-footer a, .site-footer span { display: block; margin: 0 0 10px; color: var(--muted); line-height: 1.55; }
.site-footer h4 { margin: 0 0 16px; color: var(--blue-deep); }
.footer-brand p { max-width: 330px; margin-top: 18px; }

@media (max-width: 1080px) {
  :root { --container: min(100vw - 36px, 940px); }
  .nav, .header-phone { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: block; grid-column: 3; }
  .nav { position: fixed; inset: 92px 18px auto; display: none; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px; border-radius: 14px; background: #f7faf9; }
  .hero, .split-section, .prices-panel, .cta-panel { grid-template-columns: 1fr; }
  .service-grid, .case-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-copy { position: static; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-card { display: grid; grid-template-columns: 320px 1fr; }
  .doctor-card img { height: 100%; min-height: 280px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --container: min(100vw - 28px, 520px); }
  .site-header { top: 10px; min-height: 62px; margin-top: 10px; padding: 8px 8px 8px 12px; }
  .logo-mark { width: 38px; height: 38px; }
  .hero { gap: 34px; min-height: auto; padding: 46px 0 26px; }
  h1 { font-size: clamp(42px, 14vw, 58px); }
  .hero-lead { font-size: 18px; }
  .hero-actions, .button { width: 100%; }
  .hero-benefits { display: grid; }
  .hero-visual, .hero-visual img { min-height: 430px; }
  .hero-visual { border-width: 7px; border-radius: 30px; }
  .trust, .service-grid, .benefit-grid, .doctor-grid, .timeline, .case-grid, .review-grid, .contact-card, .site-footer { grid-template-columns: 1fr; }
  .section { padding-top: 78px; }
  h2 { font-size: clamp(32px, 10vw, 44px); }
  .doctor-card { display: block; }
  .doctor-card img { height: 310px; }
  .process-section { padding-bottom: 78px; }
  .prices-panel, .cta-panel { padding: 24px; border-radius: 28px; }
  .price-list div { flex-direction: column; gap: 8px; }
  .appointment-form { padding: 18px; }
}
