:root {
  --ink: #102c46;
  --muted: #526b80;
  --blue: #1f6196;
  --blue-dark: #12436d;
  --sky: #eaf5fb;
  --line: #c9dce9;
  --paper: #fff;
  --wash: #f4f8fb;
  --red: #e31e2a;
  --shadow: 0 16px 40px rgba(16, 44, 70, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 40; color: #fff; background: var(--blue-dark); box-shadow: 0 8px 24px rgba(16, 44, 70, .16); }
.top__inner { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.brand { min-width: 245px; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 86px; height: 44px; object-fit: contain; }
.brand span { font-size: 14px; line-height: 1.1; font-weight: 800; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; justify-content: center; gap: 24px; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.phone { color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; }
.menu-button { display: none; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 3px; margin: 5px 0; border-radius: 2px; background: #fff; }

.crumbs { padding-block: 18px; color: var(--muted); font-size: 14px; }
.crumbs a { font-weight: 700; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.15; letter-spacing: 0; }
h1 { max-width: 780px; font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 21px; }
p { margin-top: 0; }
.eyebrow { display: inline-flex; margin-bottom: 14px; padding: 6px 12px; border: 1px solid #9dd4e7; border-radius: 6px; color: #08718d; background: #edfafd; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.lead { max-width: 720px; color: #294b68; font-size: 21px; }

.hero { padding: 44px 0 70px; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.hero__facts div { padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--sky); }
.hero__facts strong, .hero__facts span { display: block; }
.hero__facts strong { color: var(--blue-dark); font-size: 20px; }
.hero__facts span { color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 6px; color: #fff; background: var(--blue); text-decoration: none; font-weight: 800; }
.btn--red { background: var(--red); }
.btn--ghost { border: 1px solid var(--line); color: var(--blue); background: #fff; }
.hero-photo, .content-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.hero-photo img, .content-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { padding: 13px 16px; color: var(--muted); background: #fff; font-size: 14px; }
figcaption strong { color: #08718d; }

.section { padding: 72px 0; }
.section--soft { border-block: 1px solid var(--line); background: #fff; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 18px; }
.city-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.city-group { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.city-group--main { border-left: 5px solid var(--blue); background: var(--sky); }
.city-links { display: flex; flex-wrap: wrap; gap: 9px; }
.city-links a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid #bcd8e8; border-radius: 6px; background: #fff; text-decoration: none; font-weight: 800; }
.city-links a:hover { color: #fff; background: var(--blue); }

.route-grid, .price-grid, .useful-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 44px; align-items: start; }
.route-grid p, .price-grid p, .useful-grid p { color: #294b68; }
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 15px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--wash); }
.steps strong { color: var(--blue-dark); }

.road-compensation { max-width: 1120px; margin: 72px auto; padding: 0 20px; }
.road-compensation__inner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #fff, #eef7ff); box-shadow: var(--shadow); }
.road-compensation__eyebrow { display: inline-block; margin-bottom: 10px; padding: 6px 12px; border: 1px solid #b7d7ea; border-radius: 999px; color: #0d5d93; background: #f6fbff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.road-compensation__panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.road-compensation label { display: block; margin-bottom: 8px; font-weight: 900; }
.road-compensation select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #b9d3e6; border-radius: 7px; color: var(--ink); background: #fff; font-size: 16px; }
.road-compensation__result { margin-top: 14px; padding: 14px; border-radius: 8px; color: #fff; background: #0f2a43; line-height: 1.45; }

.price-cards { display: grid; gap: 12px; }
.price-cards div { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.price-cards span { font-weight: 800; }
.price-cards strong { color: var(--blue); font-size: 22px; }
.text-link { font-weight: 900; }
.useful-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.useful-links a { min-height: 50px; display: flex; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--sky); text-decoration: none; font-weight: 800; }
.expert { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); }
.expert img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.expert span { color: #08718d; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.expert h3 { margin-top: 8px; }
.expert a { font-weight: 900; }

.faq__inner { max-width: 850px; }
.faq details { margin-top: 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.faq summary { padding: 18px 52px 18px 20px; cursor: pointer; font-weight: 900; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }
.final-cta { padding: 42px 0 100px; }
.final-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; border-radius: 8px; color: #fff; background: var(--blue-dark); }
.final-cta span { color: #b9dff6; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.final-cta h2 { margin-top: 8px; }
.final-cta p { margin: 0; color: #e6f1f8; }
.footer { padding: 34px 0 90px; color: #dbe9f3; background: #0e314e; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer a { color: #fff; }
.footfix { display: none; }

@media (max-width: 900px) {
  .top__inner { min-height: 62px; gap: 12px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand img { width: 72px; height: 38px; }
  .brand span { display: none; }
  .phone { font-size: 15px; }
  .menu-button { display: block; }
  .nav { position: absolute; top: 62px; left: 0; right: 0; display: none; margin: 0; padding: 12px 20px 18px; align-items: stretch; flex-direction: column; gap: 0; background: var(--blue-dark); box-shadow: 0 16px 28px rgba(16, 44, 70, .18); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .hero__grid, .route-grid, .price-grid, .useful-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 660px; }
  .road-compensation__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 58px; font-size: 16px; line-height: 1.58; }
  .wrap { width: min(100% - 24px, 1120px); }
  .phone { font-size: 14px; }
  .crumbs { padding-block: 13px; }
  .hero { padding: 28px 0 42px; }
  .hero__grid { gap: 28px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .lead { font-size: 18px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
  .actions, .actions .btn { width: 100%; }
  .section { padding: 46px 0; }
  .city-groups { grid-template-columns: 1fr; }
  .city-group { padding: 18px; }
  .city-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-links a { min-width: 0; justify-content: center; text-align: center; overflow-wrap: anywhere; }
  .route-grid, .price-grid, .useful-grid { gap: 28px; }
  .steps li { grid-template-columns: 1fr; gap: 2px; }
  .road-compensation { margin: 46px auto; padding: 0 12px; }
  .road-compensation__inner { padding: 18px; }
  .price-cards div { display: grid; gap: 3px; }
  .useful-links { grid-template-columns: 1fr; }
  .expert { grid-template-columns: 76px 1fr; gap: 14px; padding: 18px; }
  .expert img { width: 76px; height: 76px; }
  .final-cta { padding: 20px 0 52px; }
  .final-cta .wrap { align-items: stretch; flex-direction: column; padding: 22px; }
  .footer { padding-bottom: 82px; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
  .footfix { position: fixed; z-index: 60; right: 10px; bottom: 8px; left: 10px; display: block; }
  .footfix a { min-height: 46px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; color: #fff; background: var(--red); box-shadow: 0 8px 20px rgba(16, 44, 70, .22); text-decoration: none; font-weight: 900; }
}

@media (max-width: 380px) {
  .brand img { width: 64px; }
  .phone { font-size: 13px; }
  .city-links { grid-template-columns: 1fr; }
}
