/* РБУ Пограничный — «Зелёный силос и асфальт»: зелёный H128 (#248030, как силос №3 клиента) + асфальт #252729 на светлом бетоне #EFF2EB; каркас zarya-beton.ru — верхняя полоса, плашки на фото, групповой прайс, форма на бетонной фактуре, полоса с крупными буквами, зоны доставки вкладками; Kelly Slab + Commissioner.
   Контраст: белый/зелёный 5,0 · белый/тёмно-зелёный 7,1 · светло-зелёный/асфальт 8,1 · текст/фон 15,0 · второстепенный/фон 5,6 */
@font-face { font-family: "KS"; src: url("/fonts/kelly.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CM"; src: url("/fonts/com400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CM"; src: url("/fonts/com600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #EFF2EB; --w: #FFFFFF; --tint: #D5EDD5; --ink: #1A1D1F; --muted: #5B6163; --line: rgba(26, 29, 31, .13);
  --gr: #248030; --grd: #186623; --grl: #67D66B; --as: #252729; --as2: #36393B; --onm: #B1B9BD;
  --h: "KS", Georgia, "Times New Roman", serif; --t: "CM", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--t); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.hpot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }
.i { width: 20px; height: 20px; flex: none; }

/* кнопки и поля */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 30px; border: 0; border-radius: 25px; background: var(--gr); color: #fff; font: 600 16px/1 var(--t); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--grd); }
.btn--gh { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--gh:hover { background: rgba(255, 255, 255, .24); }
.btn--lt { background: var(--grl); color: var(--as); }
.btn--lt:hover { background: #82E185; }
.btn--line { background: transparent; color: var(--grd); box-shadow: inset 0 0 0 2px var(--gr); }
.btn--line:hover { background: var(--tint); }
.btn--full { width: 100%; }
.fld { width: 100%; height: 50px; padding: 0 20px; border: 1px solid rgba(26, 29, 31, .22); border-radius: 25px; background: #fff; font: 400 16px var(--t); color: var(--ink); }
.fld:focus { outline: 3px solid rgba(36, 128, 48, .22); outline-offset: 0; border-color: var(--gr); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: var(--muted); cursor: pointer; text-align: left; }
.agree input { margin: 1px 0 0; accent-color: var(--gr); }
.h2 { margin-bottom: 26px; font: 400 clamp(28px, 2.8vw, 38px)/1.15 var(--h); }
.h2--c { text-align: center; }
.h2--on { color: #fff; }
.lead { max-width: 640px; margin: -12px auto 32px; text-align: center; color: var(--muted); }

/* шапка: полоса контактов + строка с меню */
.hd { background: var(--w); }
.tb { background: var(--as); color: var(--onm); font-size: 13px; }
.tb__in { display: flex; flex-wrap: wrap; gap: 6px 28px; min-height: 38px; align-items: center; }
.tb__in > * { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.tb .i { width: 16px; height: 16px; color: var(--grl); }
.tb a:hover { color: #fff; }
.tb__in > a { margin-left: auto; }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.wm { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--ink); }
.wm__m { display: inline-flex; align-items: flex-end; gap: 3px; height: 36px; }
.wm__m i { width: 9px; height: 30px; border-radius: 5px 5px 1px 1px; background: #B9C0C3; }
.wm__m i:nth-child(2) { height: 34px; }
.wm__m i:nth-child(3) { height: 36px; background: var(--gr); }
.wm__t { display: grid; font: 400 25px/1 var(--h); }
.wm__t small { font: 600 11px/1.2 var(--t); letter-spacing: .2em; color: var(--grd); }
.wm--ft { color: #fff; }
.wm--ft .wm__t small { color: var(--grl); }
.wm--ft .wm__m i:nth-child(3) { background: var(--grl); }
.mn { display: flex; gap: 4px; }
.mn__a { padding: 10px 14px; border-radius: 20px; font-size: 15px; font-weight: 600; text-decoration: none; }
.mn__a:hover { background: var(--tint); color: var(--grd); }
.mn__x, .mn__c { display: none; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font: 400 21px/1 var(--h); text-decoration: none; white-space: nowrap; }
.hd__tel .i { color: var(--gr); }
.hd__tel:hover { color: var(--grd); }
.hd__call, .hd__burger { display: none; }

/* первый экран: фото узла, плашки по образцу */
.hero { position: relative; overflow: hidden; background: var(--as); color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(37, 39, 41, .88) 0%, rgba(37, 39, 41, .6) 55%, rgba(37, 39, 41, .3) 100%); }
.hero__in { position: relative; z-index: 2; padding: 76px 0 84px; }
.hero__k { display: inline-block; padding: 6px 14px; border-radius: 20px; background: var(--gr); font-weight: 600; font-size: 14px; }
.hero__h { max-width: 720px; margin-top: 18px; font: 400 clamp(34px, 4.2vw, 56px)/1.1 var(--h); }
.hero__p { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 14px; margin-top: 32px; }
.hero__p li { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 22px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); font-weight: 600; font-size: 17px; }
.hero__p span { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); }
.hero__p .i { width: 28px; height: 28px; }
.hero__b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* разделы */
.sec { padding: 88px 0; }

/* прайс по группам */
.pt { max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: var(--w); box-shadow: 0 16px 40px rgba(26, 29, 31, .07); }
.pt__h, .pt__r { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 150px; align-items: center; gap: 12px; padding: 0 26px; }
.pt__h { min-height: 54px; background: var(--as); color: #fff; font: 400 19px/1 var(--h); }
.pt__r { min-height: 58px; border-bottom: 1px solid var(--line); }
.pt__r b { font-weight: 600; }
.pt__r small { margin-left: 10px; font-size: 13px; color: var(--muted); }
.pt__p { font-weight: 600; }
.pt__p small { margin: 0; }
.pt__o { justify-self: end; min-height: 36px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--tint); color: var(--grd); font-weight: 600; font-size: 14px; cursor: pointer; }
.pt__o:hover { background: var(--gr); color: #fff; }

/* форма на бетонной фактуре */
.cf { padding: 72px 0; background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .55) 0 1.5px, transparent 2.5px) 0 0 / 19px 23px, radial-gradient(circle at 60% 70%, rgba(0, 0, 0, .06) 0 2px, transparent 3px) 0 0 / 27px 21px, radial-gradient(circle at 80% 20%, rgba(0, 0, 0, .05) 0 3px, transparent 4px) 0 0 / 41px 37px, linear-gradient(180deg, #DADDD7, #CFD3CC); }
.cf__f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; max-width: 780px; margin: 0 auto; }
.cf__f .agree { grid-column: 1 / -1; justify-content: center; }

/* о заводе */
.ab { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.ab__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ab__t > p { margin-bottom: 14px; color: #34393B; }
.ab__g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 24px; }
.ab__g img { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; }

/* щебень и песок */
.nb { position: relative; overflow: hidden; padding: 72px 0; background: var(--as); color: #fff; }
.nb__in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.nb__bg { position: absolute; left: 50%; top: 50%; font: 400 240px/1 var(--h); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .08); transform: translate(-50%, -50%); pointer-events: none; }
.nb__t, .nb__b { position: relative; }
.nb__t p { font-size: 17px; color: #D2D8DA; }
.nb__b { display: grid; justify-items: start; gap: 16px; }
.nb__x { display: flex; align-items: center; gap: 10px; font: 400 22px/1.2 var(--h); }
.nb__x .i { width: 28px; height: 28px; color: var(--grl); }

/* доставка */
.dz { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.dz li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 16px; border-radius: 20px; background: var(--w); font-weight: 600; font-size: 15px; }
.dz small { color: var(--muted); font-weight: 400; font-size: 13px; }
.zt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; }
.zt button { min-height: 52px; padding: 0 12px; border: 0; border-right: 1px solid var(--line); background: var(--w); font-weight: 600; cursor: pointer; }
.zt button:last-child { border-right: 0; }
.zt button[aria-selected="true"] { background: var(--as); color: #fff; }
.zp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; max-width: 960px; margin: 0 auto; padding: 26px 32px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--w); text-align: center; }

/* контакты */
.ks { position: relative; }
.ks__map { height: 520px; background: var(--tint); }
.ks__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ks .wrap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.ks__c { width: 420px; padding: 30px; border-radius: 18px; background: var(--w); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); pointer-events: auto; }
.ks__c .h2 { margin-bottom: 10px; }
.ks__tel { display: block; margin-bottom: 10px; font: 400 30px/1.2 var(--h); text-decoration: none; color: var(--grd); }
.kt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kt .i { margin-top: 2px; color: var(--gr); }
.kt a { text-decoration: none; overflow-wrap: anywhere; }

/* подвал */
.ft { padding: 56px 0 24px; background: var(--as); color: var(--onm); }
.ft__in { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft h3 { margin-bottom: 10px; color: #fff; font: 400 19px/1.2 var(--h); }
.ft__a p { margin-top: 16px; max-width: 340px; font-size: 14px; }
.ft__c { display: grid; gap: 6px; align-content: start; font-size: 15px; }
.ft__c a { color: #fff; text-decoration: none; }
.ft__tel { font: 400 23px/1.2 var(--h); }
.ft a:hover { color: var(--grl); }
.ft__b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 13px; }

/* окно заявки */
.dlg { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); }
.dlg::backdrop { background: rgba(37, 39, 41, .78); }
.dlg__f { position: relative; display: grid; gap: 12px; padding: 36px 28px 28px; border-top: 6px solid var(--gr); }
.dlg__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
.dlg__t { padding-right: 44px; font: 400 27px/1.15 var(--h); }
.dlg__d { color: var(--muted); font-size: 15px; }

/* спасибо / 404 */
.note { padding: 96px 0 120px; }
.note__ic { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 26px; border-radius: 50%; background: var(--gr); color: #fff; }
.note__ic .i { width: 40px; height: 40px; stroke-width: 2.4; }
.note__ic--n { font: 400 28px/1 var(--h); }
.note p { max-width: 560px; }
.note__b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 1100px) {
  .tb__a { display: none; }
  .mn__a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 900px) {
  .hd { position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
  .tb { display: none; }
  .hd__in { gap: 10px; min-height: 64px; }
  .hd__tel { display: none; }
  .wm__t { font-size: 21px; }
  .hd__call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gr); color: #fff; }
  .hd__burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
  .mn { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; flex-direction: column; gap: 0; width: min(360px, 100%); padding: 80px 28px 28px; overflow-y: auto; background: var(--as); color: #fff; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav-open .mn { transform: none; visibility: visible; box-shadow: -24px 0 48px rgba(0, 0, 0, .35); }
  .mn__a { padding: 15px 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 17px; }
  .mn__a:hover { background: none; color: var(--grl); }
  .mn__x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
  .mn__c { display: grid; gap: 8px; margin-top: 26px; color: var(--onm); }
  .mn__c a { color: #fff; text-decoration: none; }
  .mn__c a:first-child { font: 400 23px/1.3 var(--h); }
  html { scroll-padding-top: 72px; }
  .hero__in { padding: 48px 0 56px; }
  .hero__p { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sec { padding: 64px 0; }
  .ab, .nb__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ab__g img { height: 260px; }
  .nb__bg { font-size: 160px; }
  .zt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zt button:nth-child(2) { border-right: 0; }
  .zt button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .zp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks .wrap { position: static; transform: none; padding-bottom: 48px; }
  .ks__map { height: 360px; }
  .ks__c { width: auto; margin-top: -40px; position: relative; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__a { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .wm__t { font-size: 19px; }
  .hero__h { font-size: 31px; }
  .hero__p { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero__p li { font-size: 15px; padding: 8px 14px 8px 8px; }
  .hero__p span { width: 42px; height: 42px; }
  .hero__p .i { width: 22px; height: 22px; }
  .hero__b .btn { flex: 1 1 100%; }
  .pt__h, .pt__r { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 16px; gap: 4px 12px; }
  .pt__h span:nth-child(2), .pt__h span:nth-child(3) { display: none; }
  .pt__r .pt__p { grid-column: 1; grid-row: 2; }
  .pt__o { grid-column: 2; grid-row: 1 / 3; }
  .cf__f { grid-template-columns: minmax(0, 1fr); }
  .ab__g { grid-template-columns: minmax(0, 1fr); }
  .ab__g img { height: 220px; }
  .zp { padding: 20px 16px; gap: 8px 16px; }
  .ks__c { padding: 22px 18px; }
  .ks__tel { font-size: 26px; }
  .ft__in { grid-template-columns: 1fr; }
  .dlg__f { padding: 32px 20px 22px; }
}
