:root {
  --navy: #0b1b34;
  --navy-2: #12243f;
  --paper: #ffffff;
  --mist: #eef2f8;
  --ink: #0b1b34;
  --muted: #53647d;
  --line: #d9e1ec;
  --gold: #c9a24a;
  --gold-ink: #6e5011;
  --cta: #d2400c;
  --cta-hover: #ad3308;
  --ok: #176b42;
  --wrap: 1180px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(11, 27, 52, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .18em; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 4.7rem); max-width: 13ch; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p, ul, ol { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: white; }
.skip:focus { left: 12px; }

.topbar { background: #071223; color: #dbe5f3; font-size: .9rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { font-weight: 800; color: white; text-decoration: none; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.02em; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: white; background: var(--navy); box-shadow: inset 0 0 0 2px rgba(201,162,74,.52); }
.brand__mark::before { content: "СЭС"; font-size: .67rem; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-weight: 750; font-size: .95rem; }
.nav a:hover { color: var(--cta); }
.phone { white-space: nowrap; font-weight: 900; text-decoration: none; }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 10px 12px; font-weight: 800; }

.hero { position: relative; overflow: hidden; color: white; background: var(--navy); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -190px; top: -240px; border: 1px solid rgba(201,162,74,.42); box-shadow: 0 0 0 70px rgba(201,162,74,.04), 0 0 0 140px rgba(201,162,74,.025); }
.hero::after { width: 220px; height: 220px; right: 18%; bottom: -160px; background: var(--cta); opacity: .14; filter: blur(8px); }
.hero__grid { position: relative; min-height: 610px; padding-block: clamp(70px, 10vw, 125px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.eyebrow { color: var(--gold-ink); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.hero__grid > div:first-child .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero h1 { margin-top: 16px; }
.hero__lede { max-width: 62ch; margin-top: 24px; color: #c9d5e7; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border-radius: 10px; text-decoration: none; font-weight: 900; border: 2px solid transparent; transition: .16s ease; }
.button--primary { color: white; background: var(--cta); }
.button--primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.button--light { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.07); }
.button--quiet { color: var(--ink); border-color: var(--line); background: white; }
.hero__panel { padding: 28px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__panel .price { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 950; letter-spacing: -.05em; }
.hero__panel p { margin-top: 12px; color: var(--muted); }
.fact-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.fact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.fact-list li::before { content: "✓"; color: var(--ok); font-weight: 950; }

.section { padding-block: clamp(64px, 8vw, 105px); }
.section--mist { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head p { max-width: 60ch; color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(11,27,52,.055); }
.card p { margin-top: 12px; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 18px; font-weight: 850; color: var(--gold-ink); }
.price-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.price-table > div { display: flex; justify-content: space-between; gap: 24px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.price-table > div:last-child { border-bottom: 0; }
.price-table strong { white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats > div { padding: 24px; border-top: 3px solid var(--gold); background: white; }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 1.55rem; line-height: 1.15; }
.stats span { margin-top: 8px; color: var(--muted); }
.review { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.review p { font-size: 1.05rem; }
.review footer { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.service-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 900; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; padding: 24px; border-top: 3px solid var(--gold); background: var(--mist); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--gold-ink); font-weight: 950; font-size: 1.25rem; }
.steps strong { display: block; }
.steps span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

.license { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.license__seal { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); border: 16px solid var(--mist); box-shadow: inset 0 0 0 2px var(--gold); text-align: center; font-weight: 900; }
.license__seal span { display: block; color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.details { margin-top: 26px; display: grid; gap: 10px; }
.details div { display: grid; grid-template-columns: minmax(150px, .42fr) 1fr; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }

.cta { color: white; background: var(--navy-2); }
.cta__inner { padding-block: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta p { margin-top: 10px; color: #c8d5e7; }
.footer { padding-block: 42px; color: #bdc9d9; background: #071223; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; }
.footer strong, .footer a { color: white; }
.footer__legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }

.page-hero { padding-block: clamp(60px, 8vw, 92px); color: white; background: var(--navy); }
.page-hero h1 { margin-top: 14px; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { max-width: 64ch; margin-top: 22px; color: #c9d5e7; font-size: 1.12rem; }
.content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 40px; align-items: start; }
.prose > * + * { margin-top: 20px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.side-card { position: sticky; top: 104px; padding: 26px; border-radius: var(--radius); background: var(--mist); }
.side-card .price { font-size: 2rem; font-weight: 950; letter-spacing: -.04em; }
.side-card p { margin-top: 10px; color: var(--muted); }
.side-card .button { width: 100%; margin-top: 20px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--gold); background: #f8f4e8; }
.breadcrumbs { margin-bottom: 16px; color: #aebdd1; font-size: .9rem; }
.breadcrumbs a { color: white; }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 115px 20px auto; display: none; padding: 18px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .menu-button { display: inline-flex; }
  .header .phone { display: none; }
  .hero__grid, .license, .content { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__panel { max-width: 620px; }
  .grid--3, .steps, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .topbar__inner { min-height: 46px; align-items: center; }
  .topbar__inner span { max-width: 62%; line-height: 1.25; }
  .header__inner { min-height: 68px; }
  .brand__text { max-width: 150px; line-height: 1.1; }
  .grid--3, .grid--2, .steps, .stats { grid-template-columns: 1fr; }
  .price-table > div { align-items: flex-start; }
  .section-head, .cta__inner, .footer__grid { display: grid; grid-template-columns: 1fr; align-items: start; }
  .hero__grid { padding-block: 58px; }
  .hero__panel, .card { padding: 22px; }
  .actions .button { width: 100%; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
