:root {
  --blue: #2268a7;
  --ink: #142b43;
  --muted: #52667a;
  --line: #dce6ef;
  --tint: #f1f7fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.55 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
:focus-visible { outline: 3px solid #d68a2c; outline-offset: 3px; }
.wrap { width: min(1190px, calc(100% - 56px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 10px; z-index: 10; padding: 9px; background: #fff; }
.skip:focus { top: 10px; }
header { border-bottom: 1px solid var(--line); }
.top { min-height: 79px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-block; flex-shrink: 0; }
.logo { display: block; width: 164px; height: 52px; object-fit: contain; object-position: left center; }
.top nav { margin-left: auto; display: flex; gap: 21px; }
.top nav a, .head-phone a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9rem; white-space: nowrap; }
.top nav a:hover, .head-phone a:hover { color: var(--blue); }
.head-phone { white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 10px 16px; border-radius: 7px; border: 1px solid var(--blue); background: var(--blue); color: white; text-align: center; text-decoration: none; font-weight: 650; line-height: 1.2; transition: background .2s; }
.btn:hover { background: #174e81; }
.btn.small { min-height: 39px; padding: 8px 12px; font-size: .86rem; white-space: nowrap; }
.btn.outline { background: #fff; color: var(--blue); border-color: #b9d1e7; }
.btn.outline:hover { background: #eaf3fb; }
.btn.light { background: #fff; color: var(--blue); border-color: #fff; }
.btn.light:hover { background: #deeffe; }
.btn:disabled { opacity: .65; cursor: wait; }
.hero { background: linear-gradient(110deg,#edf6ff,#f7fbff); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr .87fr; align-items: center; gap: 25px; padding-block: 65px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; color: var(--blue); font-weight: 750; font-size: .74rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.65rem,5.5vw,5.1rem); letter-spacing: -.055em; }
.hero h1 span { color: var(--blue); }
.lead { color: var(--muted); font-size: 1.12rem; margin: 15px 0 21px; max-width: 475px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-photo { display: block; width: 100%; height: 330px; object-fit: cover; object-position: right center; border-radius: 16px; }
.notice { background: #e8f1f9; color: #34536c; padding: 10px 0; font-size: .88rem; }
.section { padding-block: 54px; scroll-margin-top: 12px; }
.section h2 { font-size: clamp(1.8rem,4vw,3.1rem); letter-spacing: -.04em; }
.muted { margin-top: 10px; color: var(--muted); max-width: 690px; }
.services { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 22px; }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 17px 13px; border: 1px solid var(--line); border-radius: 10px; }
.service img { width: 38px; height: 38px; object-fit: contain; }
.service-fallback { font-size: 1.6rem; color: var(--blue); line-height: 38px; }
.service h3 { font-size: .98rem; overflow-wrap: anywhere; }
.text-btn { border: 0; background: transparent; color: var(--blue); margin-top: auto; padding: 0; text-align: left; font-size: .82rem; font-weight: 650; }
.text-btn:hover { text-decoration: underline; }
.tint { background: var(--tint); }
.doctors { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 24px; }
.doctor { background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.doctor a { display: block; overflow: hidden; }
.doctor img { display: block; width: 100%; aspect-ratio: 1.16; object-fit: cover; object-position: center 23%; transition: transform .25s; }
.doctor a:hover img { transform: scale(1.035); }
.doctor > div { padding: 13px; }
.doctor h3 { font-size: 1rem; }
.doctor p { color: var(--muted); font-size: .88rem; margin-top: 5px; }
.cta { background: #1b568c; color: #fff; border-radius: 12px; padding: 29px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cta .eyebrow { color: #d2e7fc; }
.cta a { color: #fff; }
.cta h2 + p { margin-top: 8px; }
footer { border-top: 1px solid var(--line); background: var(--tint); }
.foot { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 23px; padding-block: 30px; }
.foot h2 { font-size: 1.13rem; }
.foot p { margin-block: 7px; }
.foot a { overflow-wrap: anywhere; }
.policy { max-width: 860px; }
.policy h1 { font-size: clamp(2rem,5vw,3.5rem); margin-block: 15px; }
.policy p, .policy ul, .policy ol { margin-block: 12px; }
.modal { width: min(510px,100%); padding: 26px; border-radius: 13px; color: var(--ink); background: #fff; --f-button-color: #142b43; }
.modal h2 { font-size: 1.85rem; letter-spacing: -.03em; }
.form-intro { margin: 9px 0 13px; color: var(--muted); }
.modal label { display: block; font-size: .9rem; font-weight: 650; margin-bottom: 10px; }
.modal input:not([type=checkbox]) { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; background: #f8fbfe; padding: 9px 10px; }
.modal .agree { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; margin-block: 13px; }
.agree input { margin-top: 5px; accent-color: var(--blue); }
.trap { position: absolute; left: -10000px; }
.form-status { color: #95352a; font-size: .87rem; margin-top: 8px; }
.form-status:empty { display: none; }
.success { text-align: center; padding-top: 16px; }
.success p { margin-bottom: 11px; }
.success-icon { display: grid; place-items: center; margin-inline: auto; width: 48px; height: 48px; border-radius: 50%; background: #e4f4e9; color: #296f4b; font-size: 1.35rem; }
@media (max-width: 950px) {
  .head-phone { display: none; }
  .services { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 62px; gap: 9px; justify-content: space-between; }
  .top nav { display: none; }
  .logo { width: 138px; height: 45px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 32px 23px; gap: 17px; }
  .hero-photo { height: clamp(160px,45vw,275px); border-radius: 9px; }
  .section { padding-block: 33px; }
  .services, .doctors { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .service { padding: 12px; gap: 9px; }
  .doctor > div { padding: 10px; }
  .doctor h3 { font-size: .94rem; }
  .cta { align-items: flex-start; flex-direction: column; padding: 20px; }
  .foot { grid-template-columns: 1fr; gap: 15px; }
  .modal { padding: 21px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
