
:root {
  --blue: #1f6fb8;
  --blue-dark: #123f6f;
  --sky: #eaf5ff;
  --yellow: #eef36f;
  --ink: #172433;
  --muted: #66758a;
  --line: #dce8f2;
  --bg: #f7fbff;
  --white: #fff;
  --green: #35a795;
  --red: #c94055;
  --shadow: 0 20px 70px rgba(18, 63, 111, .12);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.topbar { position: sticky; top: 0; z-index: 50; width: min(var(--container), calc(100% - 32px)); margin: 14px auto 0; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 14px 12px 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(220,232,242,.9); border-radius: 24px; box-shadow: 0 18px 50px rgba(18,63,111,.11); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 58px; height: 48px; object-fit: contain; border-radius: 10px; }
.brand b { display: block; font-size: 17px; color: var(--blue-dark); }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; color: #26384c; }
.nav a:hover, .nav a.active { background: var(--sky); color: var(--blue-dark); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--blue-dark); }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 99px; }
.nav-cta--mobile { display: none; }
.page-hero { width: min(var(--container), calc(100% - 32px)); margin: 28px auto 0; min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: 18px; align-items: stretch; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 68px); background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 58%, #eaf5ff 100%); border: 1px solid rgba(220,232,242,.95); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.hero-copy::before { content: ""; position: absolute; inset: 22px auto 22px 0; width: 7px; border-radius: 0 99px 99px 0; background: linear-gradient(180deg, var(--blue), var(--yellow)); }
.kicker { display: inline-flex; width: max-content; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: rgba(238,243,111,.72); color: #2a4f26; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin: 18px 0 18px; font-size: clamp(40px, 7vw, 82px); line-height: .95; letter-spacing: 0; color: #0f3158; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.04; color: #123f6f; }
h3 { font-size: 22px; line-height: 1.15; color: #123f6f; }
.hero-copy p { max-width: 660px; color: var(--muted); font-size: 20px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 22px; }
.hero-points span { min-height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(220,232,242,.85); color: #45637f; font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 999px; font-weight: 900; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 28px rgba(31,111,184,.22); }
.btn.ghost { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.btn.wide { width: 100%; margin-top: 8px; }
.page-hero--home { margin-top: 22px; }
.home-hero-card { min-height: clamp(560px, 66vh, 700px); justify-content: stretch; padding: clamp(28px, 4vw, 46px); background: linear-gradient(135deg, #ffffff 0%, #f4fbff 44%, #e6f3fb 100%); }
.home-hero-card::after { content: ""; position: absolute; right: -8%; top: 0; width: 42%; height: 100%; background: linear-gradient(180deg, rgba(238,243,111,.42), rgba(53,167,149,.16)); clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.home-hero-layout { position: relative; z-index: 1; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); gap: clamp(24px, 5vw, 58px); align-items: center; }
.hero-main { max-width: 760px; }
.home-hero-card h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(42px, 5.2vw, 68px); line-height: .96; }
.home-hero-card h1 span { display: block; }
.home-hero-card h1 .hero-title-name { white-space: nowrap; }
.home-hero-card p { max-width: 680px; font-size: 21px; }
.mobile-hero-cards { display: none; }
.hero-side { display: grid; gap: 16px; padding: 26px; border: 1px solid rgba(255,255,255,.62); border-radius: 28px; background: rgba(255,255,255,.84); box-shadow: 0 24px 70px rgba(18,63,111,.14); }
.hero-side__label { width: max-content; min-height: 30px; display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--yellow); color: #2a4f26; font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.hero-side h2 { margin: 0; font-size: 34px; line-height: 1; }
.hero-side p { margin: 0; color: var(--muted); font-size: 16px; }
.hero-side__cta { width: 100%; min-height: 56px; }
.hero-mini-list { display: grid; gap: 8px; margin-top: 4px; }
.hero-mini-list a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #f8fcff; color: var(--blue-dark); }
.hero-mini-list b { font-size: 16px; }
.hero-mini-list span { color: var(--muted); font-size: 13px; font-weight: 800; text-align: right; }
.hero-visual { position: relative; min-height: 360px; border-radius: 30px; overflow: hidden; border: 1px solid rgba(220,232,242,.95); box-shadow: var(--shadow); background: #dbeaf7; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.section { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; padding: 84px 0; }
.section.muted { width: 100%; max-width: none; padding-left: max(16px, calc((100vw - var(--container)) / 2)); padding-right: max(16px, calc((100vw - var(--container)) / 2)); background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 28px; } .section-head .kicker { margin-bottom: 12px; } .section-head h2 { margin: 0 0 10px; } .section-head p { margin: 0; }
.section-head p { color: var(--muted); font-size: 18px; }
.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.route-grid a { min-height: 160px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(18,63,111,.08); }
.route-grid b { font-size: 22px; color: var(--blue-dark); }
.route-grid span { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.service-card { min-height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 38px rgba(18,63,111,.08); }
.service-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; background: var(--sky); }
.card-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--sky); color: var(--blue-dark); font-weight: 900; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 0; padding-left: 18px; color: #52677d; font-size: 14px; }
.service-card a { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-weight: 900; }
.doctor-card { min-height: 100%; display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 36px rgba(18,63,111,.08); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.doctor-photo { height: 360px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; padding-top: 14px; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #eef7ff, #dceefc); }
.doctor-photo img { display: block; width: auto; height: calc(100% - 14px); max-width: calc(100% - 18px); max-height: calc(100% - 14px); object-fit: contain; object-position: center bottom; flex: 0 1 auto; }
.doctor-photo--makarov img { height: calc(100% - 44px); max-height: calc(100% - 44px); }
.doctor-photo--empty { position: relative; align-items: center; background: linear-gradient(180deg, #f7fbff, #e9f4fc); }
.doctor-photo--empty::after { content: ""; width: 86px; height: 86px; border-radius: 999px; border: 1px solid rgba(196,218,236,.95); background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 12px rgba(238,247,255,.75); }
.doctor-photo span { width: 86px; height: 86px; display: grid; place-items: center; margin: auto; border-radius: 999px; background: var(--blue); color: #fff; font-size: 28px; font-weight: 900; }
.doctor-card h3 { margin: 0; color: var(--blue-dark); font-size: 20px; line-height: 1.18; font-weight: 900; }
.doctor-card p { min-height: 72px; margin: 12px 0; color: var(--muted); font-size: 18px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 14px; }
.doctor-tags span { min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(238,243,111,.68); color: #345322; font-size: 12px; font-weight: 900; }
.doctor-card dl { display: grid; gap: 8px; margin: auto 0 16px; }
.doctor-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #edf3f9; }
.doctor-card dt { color: var(--muted); font-size: 13px; font-weight: 800; }
.doctor-card dd { margin: 0; color: var(--ink); text-align: right; font-size: 13px; font-weight: 800; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions a { min-height: 42px; display: grid; place-items: center; border-radius: 999px; font-size: 14px; font-weight: 900; }
.card-actions a:first-child { background: var(--blue); color: #fff; }
.card-actions a:last-child { background: var(--sky); color: var(--blue-dark); }
.home-doctors .section-head { max-width: 860px; }
.home-doctors .doctor-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.home-doctors .doctor-card { padding: 0; overflow: hidden; border-radius: 28px; border-color: rgba(196,218,236,.95); box-shadow: 0 18px 48px rgba(18,63,111,.11); }
.home-doctors .doctor-photo { height: 460px; margin: 0 0 20px; padding-top: 16px; border-radius: 0; background: linear-gradient(180deg, #ffffff 0%, #eef8ff 48%, #d8edf9 100%); border-bottom: 1px solid rgba(220,232,242,.95); }
.home-doctors .doctor-photo img { display: block; width: auto; height: calc(100% - 16px); max-width: calc(100% - 18px); max-height: calc(100% - 16px); object-fit: contain; object-position: center bottom; flex: 0 1 auto; }
.home-doctors .doctor-card h3, .home-doctors .doctor-card p, .home-doctors .doctor-card dl, .home-doctors .card-actions, .home-doctors .doctor-tags { margin-left: 22px; margin-right: 22px; }
.home-doctors .doctor-card h3 { font-size: 23px; line-height: 1.08; }
.home-doctors .doctor-card p { min-height: 54px; margin-top: 10px; margin-bottom: 12px; font-size: 17px; }
.home-doctors .doctor-card dl { margin-top: auto; margin-bottom: 18px; }
.home-doctors .card-actions { margin-bottom: 22px; }
.home-doctors .card-actions a { min-height: 48px; }
.micro { color: var(--green); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.center { display: flex; justify-content: center; margin-top: 28px; }
.booking-band { width: min(var(--container), calc(100% - 32px)); margin: 20px auto 90px; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 34px; border-radius: 28px; background: #123f6f; color: #fff; box-shadow: var(--shadow); }
.booking-band h2 { color: #fff; margin: 10px 0; }
.booking-band p { color: rgba(255,255,255,.78); }
.two-col, .contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; align-items: start; }
.content-panel, .side-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 38px rgba(18,63,111,.08); padding: clamp(22px, 4vw, 42px); }
.content-panel p { color: #314258; font-size: 18px; }
.content-panel h2 { margin-bottom: 18px; }
.content-panel h3 { margin: 28px 0 12px; }
.doctor-detail-list { display: grid; gap: 8px; margin: 0 0 18px; padding-left: 22px; color: #314258; font-size: 17px; }
.doctor-note { margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: #f7fbff; border: 1px solid var(--line); color: var(--muted) !important; font-size: 15px !important; font-weight: 750; }
.doctor-source-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #fff9df; border: 1px solid rgba(238,243,111,.9); color: #6f5b15 !important; font-size: 14px !important; font-weight: 850; }
.doctor-service-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.doctor-service-list li { min-height: 46px; display: flex; align-items: center; padding: 11px 14px; border-radius: 16px; background: var(--sky); border: 1px solid var(--line); color: var(--blue-dark); font-size: 15px; font-weight: 850; }
.side-panel { position: sticky; top: 110px; }
.side-panel ul { padding-left: 20px; color: var(--muted); }
.side-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-weight: 850; }
.back-link { display: inline-flex; margin-bottom: 18px; color: var(--blue); font-weight: 900; }
.footer { width: min(var(--container), calc(100% - 32px)); margin: 0 auto 24px; display: flex; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.footer a { display: block; color: var(--blue-dark); font-weight: 800; margin: 4px 0; }
.info-strip { width: min(var(--container), calc(100% - 32px)); min-height: 42px; margin: 10px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: #31506d; font-size: 13px; font-weight: 800; }
.info-strip a, .info-strip span { display: inline-flex; align-items: center; min-height: 30px; }
.nav-cta { background: var(--blue) !important; color: #fff !important; box-shadow: 0 12px 26px rgba(31,111,184,.22); }
.page-hero { min-height: 500px; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr); }
.hero-copy { min-height: 500px; }
.page-hero--wide { grid-template-columns: 1fr; min-height: auto; }
.page-hero--wide .hero-copy { min-height: 470px; padding-right: clamp(34px, 9vw, 120px); }
.page-hero--wide .home-hero-card { min-height: clamp(560px, 66vh, 700px); padding: clamp(28px, 4vw, 46px); }
.page-hero--wide .hero-copy p { max-width: 820px; }
.page-hero--wide h1 { max-width: 980px; }
.page-hero--doctor .hero-visual { min-height: 500px; display: flex; align-items: flex-end; justify-content: center; padding-top: 18px; background: linear-gradient(180deg, #f6fbff, #dceefc); }
.page-hero--doctor .hero-visual img { display: block; width: auto; height: calc(100% - 18px); max-width: calc(100% - 18px); max-height: calc(100% - 18px); object-fit: contain; object-position: center bottom; flex: 0 1 auto; }
.page-hero--doctor .hero-visual--makarov img { height: calc(100% - 54px); max-height: calc(100% - 54px); }
.hero-visual--empty { align-items: center; }
.hero-visual--empty::after { content: ""; width: min(190px, 44%); aspect-ratio: 1; border-radius: 999px; border: 1px solid rgba(196,218,236,.95); background: rgba(255,255,255,.58); box-shadow: inset 0 0 0 24px rgba(238,247,255,.78); }
.quick-section { padding-top: 54px; padding-bottom: 56px; }
.route-grid--compact a { min-height: 118px; padding: 18px; border-radius: 18px; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.advantage-grid article { min-height: 250px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(18,63,111,.08); }
.advantage-grid span { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 28px; border-radius: 14px; background: var(--yellow); color: var(--blue-dark); font-weight: 950; }
.advantage-grid p, .split-panel p, .contacts-grid p { color: var(--muted); }
.split-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.goal-grid { display: grid; gap: 10px; }
.goal { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); font-weight: 900; }
.goal span { width: 12px; height: 12px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 8px rgba(53,167,149,.13); flex: 0 0 auto; }
.license-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.license-grid img { width: 100%; height: 360px; object-fit: contain; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(18,63,111,.08); }
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.partner-row img { width: 100%; height: 92px; object-fit: contain; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contacts-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.contacts-grid article { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(18,63,111,.08); }
.contacts-grid a { color: var(--blue-dark); font-weight: 900; }
.small-cta { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; cursor: pointer; }
.map-frame { margin-top: 18px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.doctor-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0 0 28px; }
.doctor-info-grid div { padding: 16px; border-radius: 18px; background: var(--sky); border: 1px solid var(--line); }
.doctor-info-grid span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.doctor-info-grid b { color: var(--blue-dark); font-size: 17px; }
.clean-list { display: grid; gap: 8px; margin: 0 0 26px; padding-left: 20px; color: #41566d; font-size: 17px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 24px 0 34px; }
.focus-grid article { min-height: 210px; padding: 20px; border-radius: 22px; background: #f7fbff; border: 1px solid var(--line); }
.focus-grid span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; background: var(--yellow); color: var(--blue-dark); font-weight: 950; }
.focus-grid h3 { margin-bottom: 10px; }
.focus-grid p { margin: 0; font-size: 15px; color: var(--muted); }
.accent-panel { margin: 34px 0; padding: clamp(22px, 4vw, 34px); border-radius: 28px; background: linear-gradient(135deg, #f8fcff, #eef8ff 58%, rgba(238,243,111,.28)); border: 1px solid var(--line); }
.accent-panel h2 { margin: 10px 0 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chip-list span { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.procedure-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.procedure-grid article { min-height: 92px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(220,232,242,.95); }
.procedure-grid b { display: block; color: var(--blue-dark); font-size: 17px; }
.procedure-grid small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 800; }
.video-teaser { display: grid; grid-template-columns: minmax(260px, .95fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 34px 0; padding: clamp(20px, 4vw, 30px); border-radius: 28px; background: #123f6f; color: #fff; overflow: hidden; }
.video-teaser h2 { color: #fff; margin: 10px 0 10px; }
.video-teaser p { color: rgba(255,255,255,.78); margin: 0; }
.video-teaser .kicker { background: rgba(238,243,111,.96); }
.video-teaser__frame { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.06)), radial-gradient(circle at 20% 20%, rgba(238,243,111,.42), transparent 40%); border: 1px solid rgba(255,255,255,.26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.video-teaser__frame span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.video-teaser__frame span::before { content: ""; margin-left: 5px; border-left: 20px solid var(--blue); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.content-warning { margin: 34px 0 0; padding: clamp(20px, 4vw, 30px); border-radius: 24px; background: #fff9df; border: 1px solid rgba(238,243,111,.9); }
.content-warning h2, .content-warning h3 { color: #7c6310; }
.content-warning p { color: #594f2a; }
.booking-modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 18px; }
.booking-modal.open { display: flex; }
.booking-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 35, 61, .58); }
.booking-modal__dialog { position: relative; width: min(100%, 980px); max-height: min(92vh, 900px); overflow: auto; padding: clamp(20px, 4vw, 34px); border-radius: 28px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.booking-modal__close { position: sticky; top: 0; margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-dark); font-size: 28px; cursor: pointer; z-index: 2; }
.booking-modal__head { margin: -20px 54px 20px 0; }
.booking-modal__head h2 { margin: 8px 0; }
.booking-modal__head p:not(.eyebrow) { color: var(--muted); margin: 0; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.booking-steps { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; padding: 0; margin: 0 0 22px; list-style: none; }
.booking-steps li { display: grid; gap: 6px; justify-items: center; padding: 10px 6px; border-radius: 16px; background: #f5f9fd; color: var(--muted); text-align: center; font-size: 12px; font-weight: 900; }
.booking-steps span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.booking-steps li.active, .booking-steps li.done { background: var(--sky); color: var(--blue-dark); }
.booking-steps li.active span, .booking-steps li.done span { background: var(--blue); color: #fff; border-color: var(--blue); }
.booking-step { display: none; animation: fadeStep .22s ease; }
.booking-step.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.booking-step__title { margin-bottom: 6px; }
.booking-step__hint { color: var(--muted); }
.booking-step__micro { margin: 8px 0 0; color: var(--muted); font-size: 14px; font-weight: 800; }
.booking-step__status.error { color: var(--red); font-weight: 900; }
.age-start-row { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0,1fr); gap: 14px; align-items: end; margin: 18px 0; padding: 16px; border-radius: 18px; background: #f7fbff; border: 1px solid var(--line); }
.field--age { margin-top: 0; }
.field--age input { font-size: 22px; font-weight: 900; color: var(--blue-dark); }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; padding: 0; border: 0; }
.choice-row legend { width: 100%; color: var(--blue-dark); font-weight: 950; margin-bottom: 4px; }
.choice-card, .choice-chip { cursor: pointer; }
.choice-card input, .choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card__body, .choice-chip span { min-height: 58px; display: grid; align-content: center; padding: 14px 18px; border-radius: 18px; background: #f7fbff; border: 1px solid var(--line); color: var(--blue-dark); font-weight: 900; }
.choice-card__body small { color: var(--muted); font-weight: 800; }
.choice-card input:checked + .choice-card__body, .choice-chip input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.choice-card input:checked + .choice-card__body small { color: rgba(255,255,255,.78); }
.booking-note, .booking-status, .booking-summary { padding: 14px 16px; border-radius: 18px; background: #f7fbff; border: 1px solid var(--line); color: var(--muted); }
.booking-status--loading::before { content: ""; width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 8px; border-radius: 999px; border: 2px solid var(--line); border-top-color: var(--blue); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.booking-inline-next { display: none; width: 100%; min-height: 50px; margin: 10px 0 2px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 950; font: inherit; cursor: pointer; box-shadow: 0 14px 28px rgba(45,112,185,.18); }
.booking-back { min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--blue-dark); font-weight: 900; cursor: pointer; }
.bk-search input, .field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; }
.bk-search { display: block; margin: 14px 0; }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pick-card { min-height: 82px; padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); cursor: pointer; }
.pick-card:hover, .pick-card.selected { border-color: var(--blue); background: var(--sky); }
.pick-card__title { display: block; color: var(--blue-dark); font-weight: 950; }
.pick-card__price { display: inline-flex; width: max-content; min-height: 26px; align-items: center; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(238,243,111,.68); color: #435c17; font-size: 13px; font-weight: 950; }
.pick-card__meta { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.slot-list { display: grid; gap: 10px; }
.slot-option span { display: block; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.slot-option b { display: block; color: var(--blue-dark); font-size: 16px; line-height: 1.25; }
.slot-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.25; font-weight: 850; }
.slot-option input { position: absolute; opacity: 0; pointer-events: none; }
.slot-option input:checked + span { background: var(--sky); border-color: var(--blue); }
.name-row, .date-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.date-row { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 12px; }
.field { display: grid; gap: 6px; margin-top: 12px; color: var(--blue-dark); font-weight: 900; }
.field i { color: var(--muted); font-style: normal; font-weight: 700; }
.check-field { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; color: var(--muted); font-weight: 800; }
.booking-summary { margin-top: 16px; display: grid; gap: 4px; }
.booking-summary b { color: var(--blue-dark); }
.booking-summary.error { background: #fff1f3; border-color: rgba(201,64,85,.26); color: var(--red); }
.booking-summary.success { background: #effbf8; border-color: rgba(53,167,149,.26); color: var(--green); }
.booking-success { text-align: center; padding: 30px; }
.booking-success__icon { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 999px; background: var(--green); color: #fff; font-size: 36px; font-weight: 950; }
body.booking-open { overflow: hidden; }
.btn.danger { background: var(--red); color: #fff; box-shadow: 0 14px 28px rgba(201,64,85,.18); }
.price-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0 0 18px; }
.price-summary div { min-height: 96px; display: grid; align-content: center; gap: 4px; padding: 18px; border-radius: 22px; background: #f7fbff; border: 1px solid var(--line); }
.price-summary b { color: var(--blue-dark); font-size: 30px; line-height: 1; }
.price-summary span { color: var(--muted); font-weight: 850; }
.price-toolbar { display: grid; gap: 14px; margin: 0 0 24px; }
.price-search { margin: 0; }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 170px; overflow: auto; padding: 2px 2px 8px; }
.price-chip { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--blue-dark); font-weight: 900; cursor: pointer; }
.price-chip span { margin-left: 5px; color: var(--muted); font-weight: 850; }
.price-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.price-chip.active span { color: rgba(255,255,255,.76); }
.price-results { display: grid; gap: 18px; }
.price-section { padding: clamp(18px, 3vw, 26px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 46px rgba(18,63,111,.08); }
.price-section header { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.price-section h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }
.price-section header span { color: var(--muted); font-weight: 900; white-space: nowrap; }
.price-notice { margin: 0 0 14px; padding: 13px 15px; border-radius: 16px; background: #fff9df; border: 1px solid rgba(238,243,111,.9); color: #594f2a; font-weight: 850; }
.price-notice a { color: var(--blue-dark); font-weight: 950; }
.price-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; }
.price-table { width: 100%; min-width: 660px; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { position: sticky; top: 0; background: #f7fbff; color: var(--blue-dark); font-size: 13px; text-transform: uppercase; }
.price-table td:first-child { width: 120px; color: var(--muted); font-weight: 850; }
.price-table td:last-child { width: 170px; color: var(--blue-dark); font-weight: 950; white-space: nowrap; }
.phone-only-note { padding: 14px 16px; border-radius: 18px; background: #fff9df; border: 1px solid rgba(238,243,111,.9); color: #594f2a; font-weight: 850; }
.phone-only-note a { color: var(--blue-dark); font-weight: 950; }
.price-direction-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.price-direction-card { min-height: 112px; display: grid; align-content: space-between; gap: 16px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); text-decoration: none; box-shadow: 0 14px 36px rgba(18,63,111,.07); }
.price-direction-card span { color: var(--muted); font-size: 13px; font-weight: 900; }
.price-direction-card b { font-size: 18px; line-height: 1.15; }
/* ===================================================================
   МОБИЛЬНАЯ ВЕРСИЯ — единая чистая система
   =================================================================== */

/* Планшеты и большие телефоны */
@media (max-width: 920px) {
  .info-strip { width: calc(100% - 20px); min-height: 26px; margin-top: 6px; gap: 8px; overflow: hidden; font-size: 11px; }
  .info-strip a:first-child, .info-strip a:nth-child(3) { display: none; }
  .info-strip a, .info-strip span { min-height: 22px; white-space: nowrap; }

  /* Шапка */
  .topbar { width: calc(100% - 20px); min-height: 60px; margin-top: 6px; padding: 8px 12px; gap: 10px; border-radius: 18px; }
  .brand { min-width: 0; flex: 1; gap: 9px; }
  .brand img { width: 44px; height: 38px; border-radius: 8px; }
  .brand b { font-size: 14px; line-height: 1.05; }
  .brand small { font-size: 10.5px; }
  .nav-toggle { display: block; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; }
  .nav-toggle span { width: 19px; margin: 4px auto; }

  /* Мобильное меню */
  .nav { position: fixed; inset: 84px 10px auto; display: none; flex-direction: column; align-items: stretch; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  body.nav-open .nav { display: flex; }
  .nav a { justify-content: center; min-height: 46px; }
  .nav-cta--mobile { display: flex; justify-content: center; min-height: 48px; margin-top: 6px; border-radius: 999px; background: var(--blue); color: #fff !important; font-weight: 900; }

  /* HERO: одна колонка, всё видно */
  .page-hero { grid-template-columns: 1fr; min-height: auto; margin-top: 16px; }
  .hero-copy { min-height: auto; padding: 28px 22px; border-radius: 24px; }
  .page-hero--wide .home-hero-card { min-height: auto; padding: 28px 22px; }
  .home-hero-card {
    background:
      linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,248,255,.92)),
      radial-gradient(circle at 100% 0, rgba(238,243,111,.35), transparent 34%);
  }
  .home-hero-card::after { display: none; }
  .home-hero-layout { display: flex; flex-direction: column; min-height: 0; gap: 20px; }
  .hero-main { max-width: 100%; }
  .home-hero-card h1 { font-size: 36px; line-height: 1.04; margin-bottom: 14px; }
  .hero-copy p { font-size: 16px; line-height: 1.5; }

  /* Плашки под заголовком */
  .hero-points { gap: 6px; margin: 4px 0 18px; }
  .hero-points span { min-height: 28px; padding: 0 11px; font-size: 11.5px; font-weight: 700; }

  .mobile-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
  }
  .mobile-hero-cards span {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 12px 10px;
    border: 1px solid rgba(220,232,242,.95);
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 30px rgba(18,63,111,.08);
  }
  .mobile-hero-cards b { color: var(--blue-dark); font-size: 18px; line-height: 1; }
  .mobile-hero-cards small { color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.15; }

  /* Кнопка записи в hero — ВИДНА, во всю ширину */
  .home-hero-card .hero-actions { display: flex; margin-top: 6px; }
  .home-hero-card .hero-actions .btn { width: 100%; min-height: 54px; font-size: 16px; justify-content: center; }

  /* Блок «Быстрый старт» — СКРЫТЬ на мобильном */
  .hero-side { display: none; }

  /* Секции */
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head h2, h2 { font-size: clamp(24px, 6.5vw, 30px); }
  .section-head p { font-size: 15px; }
  .section-head .kicker { margin-bottom: 10px; }

  /* Сетки → 1-2 колонки */
  .route-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .service-grid, .doctor-grid, .advantage-grid, .split-panel, .contact-layout, .contacts-grid, .doctor-info-grid, .pick-grid, .name-row, .date-row, .two-col, .focus-grid, .procedure-grid, .video-teaser, .age-start-row, .doctor-service-list { grid-template-columns: 1fr; }
  .price-direction-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-doctors .doctor-grid { grid-template-columns: 1fr; }
  .home-doctors .doctor-photo { height: 360px; }
  .section.muted .service-grid .service-card:nth-child(n+4), .home-doctors .doctor-grid .doctor-card:nth-child(n+4) { display: none; }

  /* Доп. блоки */
  .side-panel { position: static; }
  .booking-band, .footer { flex-direction: column; align-items: stretch; gap: 16px; }
  .booking-band { padding: 36px 22px; }
  .license-grid { grid-template-columns: 1fr; gap: 12px; }
  .license-grid img { height: auto; max-height: 420px; padding: 10px; border-radius: 16px; }
  .partner-row { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .partner-row img { max-width: 140px; height: auto; }

  /* Окно записи */
  .booking-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .booking-steps li b { display: none; }
  .booking-step__nav { flex-direction: column-reverse; align-items: stretch; margin-top: 18px; }
  .booking-step__nav .btn, .booking-back { width: 100%; }
  .booking-step[data-step="1"] .booking-step__nav .btn,
  .booking-step[data-step="2"] .booking-step__nav .btn,
  .booking-step[data-step="3"] .booking-step__nav .btn,
  .booking-step[data-step="4"] .booking-step__nav .btn { display: none; }
  .booking-inline-next { display: block; }
  .booking-step__hint { font-size: 15.5px; line-height: 1.45; }
  .pick-card { min-height: 76px; padding: 15px; }
  .pick-card__title { font-size: 15.5px; line-height: 1.25; }
  .pick-card__price { font-size: 13.5px; }
  .pick-card__meta { font-size: 13.5px; line-height: 1.35; }
  .slot-option span { padding: 15px 16px; }
  .slot-option b { font-size: 16.5px; }
  .slot-option small { font-size: 13.5px; }
  .booking-modal { padding: 8px; }
  .booking-modal__dialog { max-height: 96vh; border-radius: 22px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .price-summary { grid-template-columns: 1fr; }
  .price-summary div { min-height: 78px; }
  .price-section header { display: grid; align-items: start; }

  .page-hero--doctor .hero-visual { min-height: 380px; }
  .video-teaser { gap: 18px; border-radius: 22px; }
  .video-teaser__frame { border-radius: 18px; }
  .accent-panel, .content-warning { border-radius: 22px; }
}

/* Телефоны */
@media (max-width: 560px) {
  .topbar { min-height: 56px; padding: 7px 10px; border-radius: 16px; }
  .brand img { width: 40px; height: 34px; }
  .brand b { font-size: 13.5px; }
  .brand small { font-size: 10px; }

  .hero-copy { padding: 24px 18px; border-radius: 20px; }
  .home-hero-card h1 { font-size: 31px; }
  .hero-copy p { font-size: 15px; }
  .hero-points span { font-size: 11px; min-height: 26px; }
  .mobile-hero-cards { gap: 7px; }
  .mobile-hero-cards span { min-height: 70px; padding: 10px 8px; border-radius: 16px; }

  .hero-side { padding: 20px 18px; }
  .hero-side h2 { font-size: 22px; }
  .hero-side p { font-size: 14px; }

  .section { padding: 44px 0; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .price-direction-grid { grid-template-columns: 1fr; }
  .doctor-photo { height: 330px; }
  .home-doctors .doctor-photo { height: 350px; }

  .booking-band { padding: 30px 18px; }
  .footer { padding: 30px 18px; }
}

/* Узкие телефоны */
@media (max-width: 380px) {
  .topbar { min-height: 52px; padding: 6px 8px; }
  .brand img { width: 36px; height: 30px; }
  .brand b { font-size: 12.5px; }
  .hero-copy { padding: 20px 15px; border-radius: 18px; }
  .home-hero-card h1 { font-size: 28px; }
  .hero-mini-list { grid-template-columns: 1fr; }
  .section { padding: 38px 0; }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .home-doctors .doctor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .service-card, .doctor-card, .route-grid a, .content-panel, .side-panel { transition: transform .2s ease, box-shadow .2s ease; }
  .service-card:hover, .doctor-card:hover, .route-grid a:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(18,63,111,.13); }
}
