:root {
  --navy: #173b57;
  --navy-deep: #0f2c42;
  --navy-soft: #285f84;
  --orange: #f28c28;
  --orange-dark: #ce690e;
  --white: #fff;
  --surface: #f3f6f8;
  --cream: #fff7ee;
  --text: #183245;
  --muted: #607381;
  --line: #dbe3e8;
  --success: #1e7657;
  --shadow: 0 18px 55px rgba(18, 49, 71, .11);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 15px; border-radius: 8px; background: white; }
.skip-link:focus { top: 16px; }

.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(219,227,232,.8); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.header__inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.logo strong { color: var(--orange); }
.logo__mark { width: 38px; height: 38px; color: var(--orange); }
.logo__mark svg { width: 100%; height: 100%; fill: currentColor; }
.logo__mark .logo__arrow { fill: var(--navy); }
.nav { display: flex; gap: 27px; margin-left: auto; }
.nav a { color: #365368; text-decoration: none; font-size: 15px; font-weight: 700; }
.nav a:hover, .nav a:focus { color: var(--orange-dark); }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 2px solid var(--orange); border-radius: 12px; background: var(--orange); color: #172d3d; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(242,140,40,.24); transition: .2s ease; }
.button:hover, .button:focus { transform: translateY(-2px); background: #ffa145; box-shadow: 0 14px 28px rgba(242,140,40,.3); }
.button--small { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link span { color: var(--orange-dark); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.hero { position: relative; min-height: 650px; overflow: hidden; background: #f2f8fb; }
.hero__image { position: absolute; inset: 0; }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,252,254,.99) 0%, rgba(248,252,254,.94) 36%, rgba(248,252,254,.25) 65%, transparent 82%); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__inner { position: relative; z-index: 1; min-height: 650px; display: flex; align-items: center; }
.hero__content { width: min(650px, 60%); padding: 65px 0 50px; }
.eyebrow { margin: 0 0 13px; color: var(--orange-dark); font-size: 13px; font-weight: 850; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow--light { color: #ffb56c; }
.hero h1 { margin: 0; color: var(--navy-deep); font-size: clamp(46px, 5.3vw, 74px); line-height: 1.02; letter-spacing: -3px; }
.hero h1 span { color: var(--navy-soft); }
.hero__lead { max-width: 600px; margin: 25px 0 31px; color: #466173; font-size: 20px; }
.hero__actions { display: flex; align-items: center; gap: 27px; }
.hero__facts { display: flex; list-style: none; margin: 42px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(23,59,87,.15); }
.hero__facts li { min-width: 145px; padding-right: 25px; margin-right: 25px; border-right: 1px solid rgba(23,59,87,.15); }
.hero__facts li:last-child { margin-right: 0; border-right: 0; }
.hero__facts strong, .hero__facts span { display: block; }
.hero__facts strong { color: var(--navy); font-size: 19px; }
.hero__facts span { color: var(--muted); font-size: 13px; }

.advantages { background: var(--navy); color: white; }
.advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.advantages__grid > div { min-height: 108px; display: flex; align-items: center; gap: 15px; padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.advantages__grid > div:first-child { padding-left: 0; }
.advantages__grid > div:last-child { border-right: 0; }
.advantages__grid > div > span { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(242,140,40,.55); border-radius: 50%; background: rgba(242,140,40,.13); color: #ffad60; font-weight: 900; }
.advantages p { margin: 0; color: #c8d7e1; font-size: 14px; line-height: 1.35; }
.advantages strong { color: white; }

.section { padding: 95px 0; }
.section--gray { background: var(--surface); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.section-heading--compact { grid-template-columns: 1fr; }
.section-heading h2, .order-copy h2, .contacts h2 { margin: 0; color: var(--navy-deep); font-size: clamp(35px, 4vw, 52px); line-height: 1.08; letter-spacing: -2px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { min-height: 310px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(25,60,85,.05); }
.card--dark { color: white; background: var(--navy); border-color: var(--navy); }
.card--accent { background: var(--cream); border-color: #efd6b9; }
.card > span { color: var(--orange-dark); font-size: 13px; font-weight: 850; }
.card h3 { margin: auto 0 10px; color: var(--navy-deep); font-size: 25px; }
.card--dark h3 { color: white; }
.card p { margin: 0 0 23px; color: var(--muted); font-size: 15px; }
.card--dark p { color: #c7d7e2; }
.card b { color: var(--navy); font-size: 13px; text-transform: uppercase; }
.card--dark b { color: #ffad60; }

.tariffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tariff { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.tariff--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); transform: translateY(-8px); }
.tariff__badge { position: absolute; right: 17px; top: 17px; padding: 5px 9px; border-radius: 999px; background: #fff0df; color: #a6530a; font-size: 11px; font-weight: 850; }
.tariff small { color: var(--orange-dark); font-weight: 850; letter-spacing: 1.1px; text-transform: uppercase; }
.tariff h3 { margin: 7px 0 20px; color: var(--navy-deep); font-size: 28px; }
.tariff > strong { display: block; color: var(--navy); font-size: 32px; }
.tariff > p { margin: 0; color: var(--muted); font-size: 13px; }
.tariff ul { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.tariff li { position: relative; padding: 5px 0 5px 22px; color: #4f6878; font-size: 14px; }
.tariff li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { min-height: 230px; padding: 27px 27px 27px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 27px; }
.steps li:last-child { border-right: 0; }
.steps > li > span { color: var(--orange-dark); font-size: 13px; font-weight: 850; }
.steps h3 { margin: 65px 0 8px; color: var(--navy); font-size: 21px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.section--blue { color: white; background: linear-gradient(125deg, var(--navy-deep), #285f84); }
.order-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.order-copy h2 { color: white; }
.order-copy > p:not(.eyebrow) { color: #c7d8e2; font-size: 18px; }
.order-note { display: flex; gap: 14px; margin-top: 30px; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); }
.order-note strong { color: #ffb56c; }
.order-note span { color: #d8e4eb; font-size: 14px; }
.calculator { padding: 30px; border-radius: 22px; background: white; color: var(--text); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.calculator label { display: flex; flex-direction: column; gap: 7px; color: #314e62; font-size: 13px; font-weight: 750; }
.calculator input, .calculator select { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #cbd8e0; border-radius: 10px; background: white; color: var(--text); outline: none; }
.calculator input:focus, .calculator select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,40,.14); }
.result { display: grid; grid-template-columns: 1fr auto; gap: 3px 20px; align-items: center; margin: 22px 0; padding: 19px; border-radius: 14px; background: var(--navy); color: white; }
.result span { font-weight: 800; }
.result strong { grid-row: span 2; color: #ffad60; font-size: 28px; }
.result small { color: #c7d7e2; }
.calculator .consent { flex-direction: row; align-items: center; margin-bottom: 18px; font-weight: 500; }
.consent input { width: 18px; min-height: 18px; }
.calculator .button { width: 100%; }
.form-message { min-height: 24px; margin: 13px 0 0; color: var(--success); font-size: 14px; text-align: center; }

.contacts__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contacts__grid > div:first-child > p:last-child { color: var(--muted); font-size: 18px; }
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-list > * { display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-decoration: none; }
.contact-list span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.contact-list strong { margin-top: 5px; color: var(--navy); }

.footer { padding: 38px 0; background: #0b2639; color: #bdd0dc; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo--footer { color: white; }
.footer p { margin: 0; font-size: 13px; }

@media (max-width: 1000px) {
  .header__button { display: none; }
  .nav { gap: 17px; }
  .cards, .tariffs { grid-template-columns: repeat(2, 1fr); }
  .order-grid { gap: 35px; }
}

@media (max-width: 780px) {
  .header__inner { min-height: 68px; }
  .menu-button { display: block; }
  .nav { display: none; position: fixed; inset: 68px 0 0; padding: 20px; flex-direction: column; gap: 0; background: white; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero__image img { object-position: 64% center; opacity: .48; }
  .hero__image::after { background: linear-gradient(90deg, rgba(248,252,254,.98), rgba(248,252,254,.7)); }
  .hero__content { width: 100%; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid > div:first-child { padding-left: 24px; }
  .section-heading, .order-grid, .contacts__grid { grid-template-columns: 1fr; gap: 25px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-top: 1px solid var(--line); }
  .steps li:nth-child(2) { border-right: 0; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .logo { font-size: 20px; }
  .logo__mark { width: 34px; height: 34px; }
  .hero, .hero__inner { min-height: 690px; }
  .hero h1 { font-size: 43px; letter-spacing: -2px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero__facts { flex-wrap: wrap; }
  .hero__facts li { width: 50%; min-width: 0; margin: 0 0 14px; border: 0; }
  .advantages__grid, .cards, .tariffs, .steps, .form-grid, .contact-list { grid-template-columns: 1fr; }
  .advantages__grid > div { min-height: 85px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding: 70px 0; }
  .section-heading h2, .order-copy h2, .contacts h2 { font-size: 37px; letter-spacing: -1.4px; }
  .tariff--featured { transform: none; }
  .steps { border-top: 0; }
  .steps li, .steps li + li { min-height: auto; padding: 22px 0; border-right: 0; }
  .steps h3 { margin: 22px 0 7px; }
  .calculator { padding: 21px; }
  .result { grid-template-columns: 1fr; }
  .result strong { grid-row: auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
