:root {
  --ink: #17191c;
  --ink-2: #24272b;
  --muted: #666b72;
  --line: #e6e7e9;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --red: #e1262f;
  --red-dark: #b91921;
  --orange: #f07b22;
  --radius: 24px;
  --shadow: 0 20px 55px rgba(20, 22, 25, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 1000; padding: 12px 18px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.topline { background: #111315; color: #d7d8da; font-size: 13px; }
.topline-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.topline-set { display: flex; align-items: center; gap: 22px; }
.topline a:hover { color: #fff; }
.topline-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: #51b967; border-radius: 50%; box-shadow: 0 0 0 4px rgba(81,185,103,.12); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 56px; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger { display: flex; align-items: center; gap: 6px; padding: 12px 10px; border: 0; background: none; color: #2c2f33; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-link:hover, .nav-trigger:hover, .nav-item:focus-within > .nav-trigger { color: var(--red); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 0; width: 270px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.mega { left: 50%; width: 790px; transform: translate(-38%, 8px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nav-item:hover > .dropdown.mega, .nav-item:focus-within > .dropdown.mega { transform: translate(-38%, 0); }
.drop-group { padding: 10px; }
.drop-title { margin: 0 0 7px; color: #92969c; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.dropdown a { display: block; padding: 7px 9px; border-radius: 9px; color: #363a3f; font-size: 13px; line-height: 1.3; }
.dropdown a:hover { color: var(--red); background: #f7f7f6; }
.header-phone { flex: 0 0 auto; padding-left: 14px; border-left: 1px solid var(--line); }
.header-phone small { display: block; color: #8a8f95; font-size: 10px; line-height: 1.2; }
.header-phone strong { font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); }
.mobile-panel { display: none; position: fixed; inset: 0; z-index: 80; background: #fff; overflow-y: auto; }
.mobile-panel.open { display: block; }
.mobile-head { min-height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-head img { width: auto; height: 52px; }
.mobile-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--soft); font-size: 28px; line-height: 1; }
.mobile-body { padding: 18px 20px 110px; }
.mobile-body details { border-bottom: 1px solid var(--line); }
.mobile-body summary, .mobile-body > a { display: block; padding: 15px 2px; font-weight: 800; cursor: pointer; list-style: none; }
.mobile-body summary::-webkit-details-marker { display: none; }
.mobile-links { padding: 0 0 14px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; }
.mobile-links a { color: var(--muted); font-size: 14px; }
.mobile-cta { position: fixed; left: 20px; right: 20px; bottom: 20px; }

.hero { position: relative; min-height: 610px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #171a1e; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,13,.95) 0%, rgba(9,11,13,.82) 38%, rgba(9,11,13,.25) 72%, rgba(9,11,13,.18) 100%), url("../images/asphalt-paving-hero.jpg") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -190px; width: 480px; height: 480px; border: 70px solid rgba(225,38,47,.75); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; padding: 90px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: rgba(255,255,255,.65); font-size: 13px; }
.crumbs a:hover { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #ff7a81; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(40px, 5.4vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero-copy { max-width: 660px; margin: 25px 0 0; color: rgba(255,255,255,.76); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-price { min-width: 240px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); }
.hero-price small { display: block; color: rgba(255,255,255,.6); font-size: 12px; }
.hero-price strong { display: block; font-size: 25px; line-height: 1.25; }
.home-hero { min-height: 680px; }
.home-hero .hero-inner { padding-top: 105px; padding-bottom: 130px; }
.home-hero h1 { max-width: 900px; }
.home-hero .hero-copy { max-width: 720px; }
.btn { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: .2s ease; }
.btn-red { color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(225,38,47,.25); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: #f1f1ef; }
.btn-outline { color: var(--ink); border-color: #cfd1d4; background: transparent; }
.btn-outline:hover { border-color: var(--ink); }

.trustbar { position: relative; z-index: 2; margin-top: -45px; }
.trustgrid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.trustitem { min-height: 105px; padding: 24px; border-right: 1px solid var(--line); }
.trustitem:last-child { border-right: 0; }
.trustitem b { display: block; font-size: 18px; }
.trustitem span { color: var(--muted); font-size: 13px; }
.trust-num { color: var(--red); font-size: 14px; font-weight: 900; }

.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.section-dark .section-lead { color: #aeb2b8; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card .num { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 12px; color: #fff; background: var(--ink); font-weight: 900; }
.feature-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.metric { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.metric strong { display: block; color: var(--red); font-size: 25px; line-height: 1.1; }
.metric span { color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; min-height: 250px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; transition: .25s ease; }
.product-card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 160px; height: 160px; border: 26px solid #efeff0; border-radius: 50%; transition: .25s ease; }
.product-card:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card:hover::after { border-color: rgba(225,38,47,.6); }
.product-card small { position: relative; z-index: 1; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { position: relative; z-index: 1; max-width: 260px; margin: 28px 0 12px; font-size: 24px; line-height: 1.18; }
.product-card p { position: relative; z-index: 1; margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.product-card:hover p { color: #b8bbc0; }
.product-card b { position: relative; z-index: 1; margin-top: auto; font-size: 18px; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list a { padding: 11px 16px; border: 1px solid #3a3d42; border-radius: 999px; color: #d6d8db; font-size: 13px; transition: .2s ease; }
.city-list a:hover { color: #fff; border-color: var(--red); background: var(--red); }
.document-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.document-card { min-height: 250px; padding: 32px; border-radius: 22px; background: var(--soft); }
.document-card.dark { color: #fff; background: var(--ink); }
.document-card h3 { margin: 35px 0 10px; font-size: 24px; }
.document-card p { margin: 0; color: var(--muted); }
.document-card.dark p { color: #aeb2b8; }
.document-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--red); font-size: 22px; font-weight: 900; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.photo-card { position: relative; min-height: 490px; overflow: hidden; border-radius: 28px; background: url("../images/zavod.jpg") center/cover; box-shadow: var(--shadow); }
.photo-card.paving { background-image: url("../images/asphalt-paving-hero.jpg"); }
.photo-badge { position: absolute; left: 25px; bottom: 25px; max-width: 280px; padding: 20px; color: #fff; background: rgba(20,22,25,.88); border-radius: 16px; backdrop-filter: blur(10px); }
.photo-badge b { display: block; font-size: 20px; }
.photo-badge span { color: #c4c6c9; font-size: 13px; }
.checklist { margin: 30px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: 12px; font-weight: 900; }
.process { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid #34373b; border-radius: var(--radius); background: #34373b; }
.process-item { counter-increment: steps; min-height: 230px; padding: 32px 26px; background: var(--ink); }
.process-item::before { content: "0" counter(steps); display: block; margin-bottom: 50px; color: var(--red); font-size: 13px; font-weight: 900; }
.process-item h3 { margin: 0 0 10px; font-size: 19px; }
.process-item p { margin: 0; color: #aeb2b8; font-size: 14px; }

.price-wrap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 15px 45px rgba(20,22,25,.06); }
.price-note { padding: 18px 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); background: #f8f8f7; border-bottom: 1px solid var(--line); font-size: 13px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { padding: 15px 20px; color: #8b8f94; background: #fff; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: #fbfbfa; }
.price-name { font-weight: 800; line-height: 1.35; }
.price-gost { color: var(--muted); font-size: 12px; }
.price-value { color: var(--red); font-size: 20px; font-weight: 900; white-space: nowrap; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #7b410f; background: #fff0df; font-size: 11px; font-weight: 800; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a { min-height: 185px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #222529, #101214); transition: .2s ease; }
.related a:hover { transform: translateY(-4px); background: linear-gradient(145deg, #2e3135, #16181a); }
.related small { color: #b3b6ba; }
.related strong { max-width: 250px; font-size: 21px; line-height: 1.25; }
.related em { color: #ff676e; font-style: normal; font-weight: 900; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 55px 22px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; top: 17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 22px; }
.faq details[open] summary::after { content: "−"; color: #fff; background: var(--red); }
.faq p { max-width: 820px; margin: -5px 0 24px; color: var(--muted); }

.cta-band { padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, var(--red-dark), var(--red) 58%, #f25737); box-shadow: 0 25px 65px rgba(191,20,29,.22); }
.cta-band h2 { max-width: 700px; font-size: clamp(30px, 4vw, 50px); }
.cta-band p { margin: 12px 0 0; color: rgba(255,255,255,.78); }

.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #d7d9dc; border-radius: 11px; outline: none; background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,38,47,.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-consent { margin: 13px 0 0; color: #8b8f94; font-size: 11px; }
.calc-result { min-height: 160px; padding: 28px; color: #fff; background: var(--ink); border-radius: 18px; }
.calc-result small { display: block; color: #aeb2b8; }
.calc-result strong { display: block; margin: 5px 0; font-size: 35px; }
.calc-result p { margin: 10px 0 0; color: #aeb2b8; font-size: 13px; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-row { padding: 18px 20px; display: flex; justify-content: space-between; gap: 15px; border: 1px solid var(--line); border-radius: 14px; }
.contact-row span { color: var(--muted); }
.map-placeholder { min-height: 420px; padding: 45px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 26px; color: #fff; background: linear-gradient(rgba(16,18,20,.12), rgba(16,18,20,.85)), url("../images/zavod.jpg") center/cover; }

.site-footer { padding: 70px 0 25px; color: #b6b9bd; background: #101214; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; }
.footer-brand img { width: auto; height: 58px; }
.footer-brand p { max-width: 330px; margin: 22px 0; }
.footer-title { margin: 0 0 17px; color: #fff; font-size: 14px; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #2a2d31; font-size: 12px; }
.floating-call { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--red); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 10px 30px rgba(225,38,47,.35); font-size: 22px; }
.modal { display: none; position: fixed; inset: 0; z-index: 100; padding: 20px; align-items: center; justify-content: center; background: rgba(9,10,12,.72); backdrop-filter: blur(5px); }
.modal.open { display: flex; }
.modal-card { position: relative; width: min(510px, 100%); padding: 34px; border-radius: 24px; background: #fff; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; }
.modal h2 { padding-right: 30px; font-size: 31px; }
.modal-copy { color: var(--muted); }
.success-box { display: none; padding: 18px; color: #256536; background: #e9f8ed; border-radius: 12px; }

@media (max-width: 1320px) {
  .desktop-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-shell { min-height: 72px; }
  .trustgrid { grid-template-columns: repeat(2, 1fr); }
  .trustitem:nth-child(2) { border-right: 0; }
  .trustitem:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .container { width: min(100% - 28px, 1180px); }
  .topline-set:first-child { display: none; }
  .topline-inner { justify-content: center; }
  .brand img { width: auto; height: 52px; }
  .hero { min-height: 570px; }
  .home-hero { min-height: 650px; }
  .home-hero .hero-inner { padding-top: 72px; padding-bottom: 110px; }
  .hero::before { background: linear-gradient(90deg, rgba(9,11,13,.94), rgba(9,11,13,.62)), url("../images/asphalt-paving-hero.jpg") 57% center/cover no-repeat; }
  .hero::after { width: 280px; height: 280px; right: -150px; bottom: -120px; border-width: 38px; }
  .hero-inner { padding: 62px 0 95px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-copy { font-size: 17px; }
  .hero-price { width: 100%; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .section { padding: 74px 0; }
  .grid-3, .grid-2, .split, .related, .footer-grid, .product-grid, .document-grid { grid-template-columns: 1fr; }
  .split { gap: 38px; }
  .photo-card { min-height: 350px; }
  .price-wrap { overflow-x: auto; }
  .price-table { min-width: 720px; }
  .price-note { min-width: 720px; }
  .cta-band { padding: 34px 25px; display: block; }
  .cta-band .btn { margin-top: 24px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { display: block; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .topline { display: none; }
  .brand img, .mobile-head img { width: auto; height: 48px; }
  .hero { min-height: 540px; }
  .crumbs { margin-bottom: 22px; }
  .trustbar { margin-top: -28px; }
  .trustgrid { grid-template-columns: 1fr 1fr; }
  .trustitem { min-height: 100px; padding: 17px; }
  .trustitem b { font-size: 15px; }
  .trustitem span { font-size: 11px; }
  .process { grid-template-columns: 1fr; }
  .process-item { min-height: 190px; }
  .process-item::before { margin-bottom: 28px; }
  .feature-card { min-height: auto; }
  .metric-grid { grid-template-columns: 1fr; }
  .mobile-links { grid-template-columns: 1fr; }
  .modal-card { padding: 28px 22px; }
  .floating-call { right: 14px; bottom: 14px; }
}
