/* Overpass (SIL Open Font License, see fonts/OFL-Overpass.txt) — шрифт по мотивам дорожного Highway Gothic */
@font-face { font-family: "Overpass"; src: url("../fonts/Overpass-Regular.b60f99594bf0.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../fonts/Overpass-SemiBold.c64b0197887d.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../fonts/Overpass-Bold.1080d50e2eba.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../fonts/Overpass-ExtraBold.ec0c4bfd0cfd.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../fonts/Overpass-Black.3457aea24668.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url("../fonts/OverpassMono-Medium.f01429db3186.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

/* Public website. Visual language: US highway guide signs. Overpass is derived from Highway Gothic. */
:root {
  --sign: #0a5c3e;
  --sign-deep: #073f2b;
  --sign-soft: #e3efe8;
  --marking: #f7c21a;
  --marking-deep: #e0ad00;
  --asphalt: #1d2226;
  --asphalt-2: #2a3036;
  --concrete: #edefea;
  --white: #ffffff;
  --ink: #1d2226;
  --steel: #545e64;
  --line: #d7dbd4;
  --radius-sign: 18px;
  --radius: 10px;
  --wrap: 1160px;
  --font: "Overpass", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--sign); text-underline-offset: 3px; }
a:hover { color: var(--sign-deep); }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.012em; }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 21px; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--marking); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lede { font-size: 20px; color: var(--steel); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--marking); color: var(--asphalt); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: var(--radius); border: 2px solid transparent; font: 800 17px/1 var(--font); text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--go { background: var(--marking); color: var(--asphalt); }
.btn--go:hover { background: var(--marking-deep); color: var(--asphalt); }
.btn--line { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn--line:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--dark { background: var(--asphalt); color: var(--white); }
.btn--dark:hover { background: var(--asphalt-2); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--sign); color: var(--sign); }
.btn svg { width: 18px; height: 18px; }

/* header */
.announce { background: var(--marking); color: var(--asphalt); text-align: center; font-weight: 700; font-size: 15px; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--asphalt); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.logo:hover { color: var(--asphalt); }
.logo__mark { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sign); color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 800; color: var(--asphalt); text-decoration: none; white-space: nowrap; }
.header__cta .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
.nav__mobile { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--asphalt); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* hero: the highway sign */
.hero { background: var(--concrete); padding: 44px 0 64px; }
.sign-wrap { position: relative; padding-top: 30px; }
.sign-tab {
  position: absolute; top: 0; left: 28px; background: var(--sign); color: var(--white); font-weight: 800; font-size: 15px;
  padding: 8px 16px 12px; border-radius: 10px 10px 0 0; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px var(--white);
  clip-path: inset(0 0 6px 0);
}
.sign {
  background: var(--sign); color: var(--white); border-radius: var(--radius-sign);
  box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 9px var(--white), 0 18px 40px rgba(7, 63, 43, .22);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 44px);
}
.sign h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 900; line-height: 1.0; letter-spacing: -0.02em; max-width: 13ch; }
.sign .sub { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: rgba(255,255,255,.9); max-width: 60ch; margin: 22px 0 30px; }
.sign__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(32px, 4vw, 48px); border-top: 3px solid rgba(255,255,255,.92); }
.lane { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px 4px 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.lane + .lane { border-left: 3px dashed rgba(255,255,255,.55); padding-left: 18px; }
.lane svg { width: 30px; height: 38px; flex: none; }
.lane small { display: block; font-weight: 400; font-size: 15px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--concrete { background: var(--concrete); }
.section--dark { background: var(--asphalt); color: var(--white); }
.section--dark .lede, .section--dark .muted { color: rgba(255,255,255,.78); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .lede { margin: 14px 0 0; }
.muted { color: var(--steel); }

/* services as a road: before / on the road / after / admin */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--asphalt); }
.phase { padding: 22px 22px 8px 0; }
.phase + .phase { border-left: 1px solid var(--line); padding-left: 22px; }
.phase__name { font-weight: 800; font-size: 15px; color: var(--sign); margin-bottom: 14px; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.phase a { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.phase a:hover { color: var(--sign); text-decoration: underline; }
.phase p { font-size: 15.5px; color: var(--steel); margin: 4px 0 0; }

/* steps + message */
.how { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 52px; height: 52px; border-radius: 10px; background: var(--white); color: var(--sign);
  font-weight: 900; font-size: 24px; display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--sign);
}
.steps h3 { margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--steel); }
.message {
  background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px rgba(29, 34, 38, .12);
  border: 1px solid var(--line); max-width: 420px; justify-self: end; width: 100%;
}
.message__from { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.message__from span { width: 34px; height: 34px; border-radius: 50%; background: var(--sign); color: var(--white); display: grid; place-items: center; font-weight: 900; }
.bubble { background: var(--concrete); border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 15.5px; }
.loadline { display: grid; grid-template-columns: 92px 1fr; gap: 2px 10px; margin: 0; }
.loadline dt { color: var(--steel); font-size: 14px; }
.loadline dd { margin: 0; font-weight: 700; }
.loadline .fig { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.reply { margin: 10px 0 0 auto; width: fit-content; background: var(--sign); color: var(--white); border-radius: 16px 16px 4px 16px; padding: 8px 14px; font-weight: 700; }
.message__note { font-size: 13.5px; color: var(--steel); margin: 12px 0 0; }

/* equipment */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.equip { display: block; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--white); }
.equip:hover { background: var(--sign-soft); color: var(--ink); }
.equip svg { width: 100%; height: 56px; color: var(--asphalt); margin-bottom: 12px; }
.equip strong { display: block; font-size: 20px; font-weight: 800; }
.equip span { display: block; color: var(--steel); font-size: 15px; margin-top: 4px; }

/* pricing band */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.price__figure { font-size: clamp(88px, 13vw, 168px); font-weight: 900; line-height: .9; letter-spacing: -0.04em; color: var(--marking); }
.price__figure small { display: block; font-size: 22px; letter-spacing: 0; color: var(--white); font-weight: 700; margin-top: 12px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--marking); border-radius: 2px; transform: translateY(-1px); }
.calc { background: var(--asphalt-2); border-radius: 16px; padding: 26px; }
.calc label { display: block; font-weight: 700; margin-bottom: 8px; }
.calc input { width: 100%; font: 800 28px var(--font); padding: 10px 14px; border-radius: 10px; border: 2px solid #48515a; background: var(--asphalt); color: var(--white); }
.calc input:focus { border-color: var(--marking); outline: none; }
.calc__rows { display: grid; gap: 10px; margin-top: 18px; }
.calc__row { display: flex; justify-content: space-between; font-size: 18px; border-bottom: 1px solid #3a424a; padding-bottom: 10px; }
.calc__row strong { font-family: var(--mono); font-weight: 500; }
.calc__row--keep strong { color: var(--marking); font-size: 22px; }
.calc__note { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 14px 0 0; }

/* stats & testimonials (только реальные данные из админки) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat strong { display: block; font-size: 48px; font-weight: 900; color: var(--sign); line-height: 1; }
.stat span { color: var(--steel); font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { border-left: 4px solid var(--marking); padding: 4px 0 4px 20px; }
.quote p { font-size: 18px; }
.quote footer { font-weight: 700; } .quote footer span { font-weight: 400; color: var(--steel); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 800; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 28px; font-weight: 400; color: var(--sign); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 40px 20px 0; color: var(--steel); }

/* forms */
.apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.form-card { background: var(--white); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 10px 30px rgba(29,34,38,.10); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.f label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; font: 400 17px var(--font); padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink);
}
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--sign); outline: none; }
.f .err { color: #b42828; font-size: 14px; margin-top: 4px; }
.f.has-error input, .f.has-error select { border-color: #b42828; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--steel); margin-top: 18px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sign); }
.form-legal { font-size: 13.5px; color: var(--steel); margin: 14px 0 0; }
.form-errors { background: #fbe6e4; color: #b42828; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.next-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.next-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.next-list b { width: 32px; height: 32px; border-radius: 8px; background: var(--sign); color: var(--white); display: grid; place-items: center; font-weight: 900; }

/* inner pages */
.page-hero { background: var(--concrete); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; max-width: 18ch; }
.page-hero .lede { margin: 16px 0 0; }
.crumb { font-size: 15px; margin-bottom: 14px; }
.crumb a { color: var(--steel); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 28px; margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 56px; align-items: start; }
.aside-card { background: var(--concrete); border-radius: 16px; padding: 26px; position: sticky; top: 96px; }
.aside-card h3 { margin-bottom: 10px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { padding-left: 30px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 4px; background: var(--sign); clip-path: polygon(50% 0, 100% 55%, 70% 55%, 70% 100%, 30% 100%, 30% 55%, 0 55%); }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--ink); text-decoration: none; font-weight: 700; }
.link-list a:hover { color: var(--sign); }
.link-list span { color: var(--steel); font-weight: 400; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.service-row { padding: 28px 0; border-top: 1px solid var(--line); }
.service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h3 a:hover { color: var(--sign); }
.service-row p { color: var(--steel); margin: 8px 0 0; }
.cta-band { background: var(--sign); color: var(--white); border-radius: var(--radius-sign); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap;
  box-shadow: inset 0 0 0 5px var(--sign), inset 0 0 0 7px var(--white); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,.88); }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-lines span { display: block; color: var(--steel); font-size: 15px; }
.contact-lines a, .contact-lines strong { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.legal-doc { max-width: 78ch; }
.legal-doc h2 { font-size: 24px; margin: 36px 0 10px; }
.legal-doc p, .legal-doc li { color: #333b40; }
.notice-review { background: #fff7d6; border: 1px solid #f0d77a; padding: 12px 16px; border-radius: 10px; font-size: 15px; margin-bottom: 28px; }

/* footer */
.footer { background: var(--asphalt); color: rgba(255,255,255,.82); padding: 64px 0 28px; font-size: 15.5px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid #353c43; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; margin-top: 14px; }

/* cookie note (only with analytics) */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; background: var(--asphalt); color: var(--white); padding: 16px 18px; border-radius: 12px; display: flex; gap: 14px; align-items: center; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.cookie button { flex: none; }

/* responsive */
@media (max-width: 1020px) {
  .nav, .header__phone { display: none; }
  .menu-btn { display: block; }
  .header.is-open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .header.is-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header.is-open .nav .nav__mobile { display: block; font-weight: 800; color: var(--sign); }
  .header__cta .btn { display: none; }
  .phases { grid-template-columns: 1fr 1fr; }
  .phase:nth-child(3) { border-left: 0; padding-left: 0; }
  .how, .price, .apply, .two-col { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .message { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .hero { padding: 24px 0 44px; }
  .sign-tab { left: 18px; font-size: 13px; }
  .lanes { grid-template-columns: 1fr; }
  .lane + .lane { border-left: 0; border-top: 2px dashed rgba(255,255,255,.5); padding-left: 0; }
  .lane { padding: 16px 0 12px; }
  .sign__actions .btn { width: 100%; }
  .phases { grid-template-columns: 1fr; }
  .phase + .phase { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
