:root {
  --navy: #102a43;
  --navy-soft: #1d405d;
  --ochre: #e8b85b;
  --ochre-light: #f5d38b;
  --sage: #8ba89b;
  --ivory: #faf8f3;
  --paper: #fffefd;
  --muted: #607286;
  --line: #dce4e1;
  --radius: 16px;
  --container: 1440px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header { height: 84px; background: rgba(255, 254, 253, .96); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(16, 42, 67, .08); backdrop-filter: blur(12px); }
.header-row { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.brand { text-decoration: none; white-space: nowrap; font-weight: 800; font-size: 23px; letter-spacing: -.7px; }
.brand strong { color: #d79b2e; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: clamp(22px, 2.3vw, 46px); }
.main-nav a, .site-footer nav a { text-decoration: none; font-size: 16px; font-weight: 600; }
.main-nav a:hover, .main-nav a:focus-visible, .site-footer nav a:hover { color: #a97113; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 3px; background: var(--navy); margin: 6px 0; border-radius: 2px; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 11px; padding: 12px 24px; border: 0; border-radius: 12px; color: var(--navy); background: linear-gradient(135deg, var(--ochre-light), var(--ochre)); font-weight: 800; text-decoration: none; line-height: 1.2; box-shadow: 0 8px 20px rgba(138, 91, 14, .12); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(138, 91, 14, .2); }
.button--small { min-height: 48px; padding: 10px 20px; }
.button--hero { min-height: 64px; padding: 16px 34px; font-size: 20px; }

.hero { position: relative; min-height: 680px; overflow: hidden; background: #edf2f3; }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,254,253,.98) 0%, rgba(255,254,253,.93) 28%, rgba(255,254,253,.25) 57%, rgba(255,254,253,.02) 100%), url("../img/hero-evakuator-moskva-v1.png"); background-size: cover; background-position: center; }
.hero-inner { position: relative; min-height: 680px; display: flex; align-items: center; }
.hero-copy { width: min(650px, 48%); padding-block: 72px 54px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(60px, 5.1vw, 86px); line-height: .98; letter-spacing: -4px; max-width: 780px; }
.hero-lead { margin: 0 0 30px; max-width: 580px; font-size: clamp(22px, 1.65vw, 28px); line-height: 1.3; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 34px 0 0; padding: 0; font-weight: 650; font-size: 16px; }
.trust-list li { position: relative; padding-left: 18px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .64em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

.section { padding: 82px 0; }
.section h2, .steps h2, .final-cta h2 { margin: 0 0 28px; font-size: clamp(38px, 3.2vw, 54px); line-height: 1.08; letter-spacing: -2px; }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 72px; align-items: stretch; }
.problem-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 52px; }
.problem-links a { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 19px; font-weight: 650; }
.problem-links a:hover span { color: #9b6913; }
.problem-links b { font-size: 30px; font-weight: 400; }
.help-photo { width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: 72% center; border-radius: var(--radius); }

.steps { background: var(--ivory); padding: 46px 0; }
.steps-row { display: grid; grid-template-columns: minmax(260px, .9fr) 1.7fr auto; gap: 46px; align-items: center; }
.steps h2 { margin: 0; font-size: clamp(30px, 2.5vw, 42px); }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 650; white-space: nowrap; }
.steps li span { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--sage); font-weight: 800; }

.article-section { padding-top: 92px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 920px) 280px; justify-content: space-between; gap: 70px; align-items: start; }
.article { min-width: 0; }
.article h2:first-child { margin-top: 0; font-size: clamp(38px, 3.5vw, 58px); }
.article h2 { scroll-margin-top: 110px; margin: 58px 0 20px; font-size: 34px; line-height: 1.15; letter-spacing: -1px; }
.article h3 { scroll-margin-top: 110px; margin: 36px 0 12px; font-size: 25px; line-height: 1.2; }
.article p { margin: 0 0 22px; color: #314b62; }
.article ul { color: #314b62; }
.toc { position: sticky; top: 112px; padding: 22px; border-radius: 14px; background: var(--ivory); }
.toc summary { cursor: pointer; list-style: none; font-weight: 800; }
.toc summary::-webkit-details-marker { display: none; }
.toc nav { display: grid; gap: 14px; margin-top: 18px; }
.toc a { color: var(--muted); font-size: 15px; text-decoration: none; border-left: 2px solid var(--sage); padding-left: 12px; }
.toc a:hover { color: var(--navy); }

.final-cta { padding: 64px 0; color: #fff; background: linear-gradient(90deg, rgba(16,42,67,.96), rgba(16,42,67,.72)), url("../img/hero-evakuator-moskva-v1.png") center 48% / cover; }
.final-row { display: flex; align-items: center; justify-content: space-between; gap: 46px; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { max-width: 750px; margin: 0; color: #e9eff2; }

.site-footer { padding: 36px 0 44px; background: var(--paper); }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.site-footer nav { justify-self: center; display: flex; flex-wrap: wrap; gap: 18px 30px; }
.site-footer small { color: var(--muted); }
.mobile-call { display: none; }

@media (max-width: 1100px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .header-row { gap: 20px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .hero-copy { width: 58%; }
  .help-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .steps-row { grid-template-columns: 1fr; gap: 26px; }
  .steps ol { max-width: 760px; }
}

@media (max-width: 780px) {
  body { font-size: 17px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 40px), var(--container)); }
  .site-header { height: 68px; }
  .header-row { grid-template-columns: 1fr auto; }
  .brand { font-size: clamp(17px, 5vw, 21px); }
  .header-call { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 68px 0 auto; max-height: calc(100vh - 68px); overflow: auto; display: none; padding: 22px 20px 28px; background: var(--paper); box-shadow: 0 16px 30px rgba(16,42,67,.16); }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero, .hero-inner { min-height: 620px; }
  .hero-media { background-image: linear-gradient(180deg, rgba(255,254,253,.98) 0%, rgba(255,254,253,.9) 40%, rgba(255,254,253,.1) 72%, rgba(255,254,253,.04) 100%), url("../img/hero-evakuator-moskva-v1.png"); background-position: 63% center; }
  .hero-inner { align-items: flex-start; }
  .hero-copy { width: 100%; padding-top: 44px; }
  .hero h1 { max-width: 560px; margin-bottom: 14px; font-size: clamp(44px, 13vw, 64px); letter-spacing: -2.5px; }
  .hero-lead { max-width: 490px; margin-bottom: 22px; font-size: 20px; }
  .button--hero { width: 100%; min-height: 58px; padding-inline: 20px; font-size: 18px; }
  .trust-list { gap: 8px 20px; margin-top: 22px; font-size: 14px; }
  .section { padding: 58px 0; }
  .section h2, .final-cta h2 { font-size: 39px; letter-spacing: -1.5px; }
  .help-grid { display: block; }
  .problem-links { grid-template-columns: 1fr; }
  .problem-links a { min-height: 58px; font-size: 17px; }
  .help-photo { display: none; }
  .steps { padding: 42px 0; }
  .steps-row { display: block; }
  .steps h2 { margin-bottom: 24px; font-size: 34px; }
  .steps ol { display: grid; grid-template-columns: 1fr; gap: 0; }
  .steps li { min-height: 64px; border-bottom: 1px solid var(--line); }
  .steps .button { display: none; }
  .article-section { padding-top: 64px; }
  .article-layout { display: flex; flex-direction: column; gap: 22px; }
  .toc { position: static; order: -1; width: 100%; padding: 0; background: transparent; }
  .toc details { border-radius: 12px; background: var(--ivory); padding: 17px 18px; }
  .toc details[open] nav { display: grid; }
  .toc nav { display: none; }
  .article h2:first-child { font-size: 37px; }
  .article h2 { margin-top: 46px; font-size: 30px; }
  .article h3 { font-size: 23px; }
  .article p { margin-bottom: 19px; }
  .final-row { display: block; }
  .final-cta .button { margin-top: 26px; }
  .footer-row { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
  .site-footer nav { justify-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-call { position: fixed; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 10px; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); min-height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--ochre-light), var(--ochre)); box-shadow: 0 10px 32px rgba(16,42,67,.28); color: var(--navy); font-size: 18px; font-weight: 850; text-decoration: none; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 32px); }
  .hero, .hero-inner { min-height: 610px; }
  .hero-copy { padding-top: 34px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 18px; max-width: 340px; }
  .trust-list { max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
