/* БетонМонолит, Глебовский — «Жёлтый силос на синем». Жёлтый #F4B92E — полоса силоса на фото клиента, заливки только с тёмным текстом (10,2). Тёмно-синий #14213D — обшивка узла, тёмные плитки и полосы. Холодный светлый фон.
   Соседи по учёту в Истринском округе: зелёный + красный, фиолетовые чернила, оранжевый КамАЗ, сигнальный зелёный, монохром + красный, чёрный + салатовый. Жёлтого и тёмно-синего среди них нет.
   Контраст: текст/фон 15,0 · вторичный/фон 6,2 · жёлтый/синий 9,0 · светлый/синий 13,4 · тёмно-жёлтый #8A6205 на фоне 5,0. */
@font-face { font-family: "Unbounded"; src: url("/fonts/unb700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --bg: #F4F5F7; --sheet: #FFFFFF; --tint: #E8EBF0; --line: #D3D8E0; --muted: #535C6B; --text: #18202E; --head: #0F1626;
  --acc: #F4B92E; --accd: #8A6205; --yl: #FFD369; --deep: #14213D; --deep2: #1E2D4D; --ondeep: #E8EBF0;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --disp: "Unbounded", "Arial Black", sans-serif; --r: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--head); }
a:hover { color: var(--accd); }
h1, h2, h3 { margin: 0; color: var(--head); font-family: var(--disp); font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }
.i { width: 1.2em; height: 1.2em; flex: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hpot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--acc); color: var(--head); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--yl); color: var(--head); }
.btn:focus-visible, .fld:focus-visible, .tabs button:focus-visible, .tb__b:focus-visible, .rg button:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.btn--full { width: 100%; }
.btn--line { background: transparent; color: var(--head); box-shadow: inset 0 0 0 2px var(--head); }
.btn--line:hover { background: var(--head); color: #fff; }
.fld { width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 16px; }
.fld::placeholder { color: #7D8594; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.agree input { margin: 2px 0 0; accent-color: var(--deep); }

/* шапка */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(244, 245, 247, .97); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wm { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; margin-right: auto; }
.wm:hover { color: var(--head); }
.wm__m { display: flex; gap: 3px; align-items: flex-end; height: 32px; }
.wm__m i { width: 12px; border-radius: 6px 6px 2px 2px; background: var(--deep); }
.wm__m i:first-child { height: 32px; background: linear-gradient(var(--acc) 0 30%, var(--deep) 30%); }
.wm__m i:last-child { height: 24px; }
.wm__t { font: 700 19px/1 var(--disp); letter-spacing: -.03em; }
.wm__t b { font-weight: 700; color: var(--accd); }
.mn { display: flex; gap: 2px; }
.mn__a { padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.mn__a:hover { background: var(--tint); color: var(--head); }
.mn__x, .mn__c { display: none; }
.hd__c { display: grid; justify-items: end; line-height: 1.25; }
.hd__tel { font: 700 18px var(--disp); color: var(--head); text-decoration: none; white-space: nowrap; letter-spacing: -.02em; }
.hd__s { font-size: 13px; color: var(--muted); text-decoration: none; }
.hd__s:hover { color: var(--accd); }
.hd__call, .hd__burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--tint); color: var(--head); cursor: pointer; }
.hd__call { background: var(--acc); }
.hd__call .i, .hd__burger .i { width: 22px; height: 22px; }

/* первый экран — бенто из плиток */
.bn { padding: 28px 0 64px; }
.bn__g { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 410px 240px; gap: 14px; }
.bn__a { grid-column: 1 / 6; grid-row: 1 / 3; display: flex; flex-direction: column; padding: 40px 36px; border-radius: var(--r); background: var(--sheet); }
.bn__p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.bn__p .i { color: var(--accd); }
.bn__h { margin-top: 26px; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.02; text-transform: uppercase; }
.bn__h span { display: block; margin-top: 14px; font-size: .42em; line-height: 1.25; text-transform: none; color: var(--muted); letter-spacing: -.01em; }
.bn__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 32px; }
.bn__tags a { display: inline-block; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.bn__tags a:hover { background: var(--acc); box-shadow: none; color: var(--head); }
.bn__b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bn__ph { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--deep); }
.bn__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn__ph figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--acc); color: var(--head); font-weight: 600; font-size: 14px; }
.bn__ph--big { grid-column: 6 / 13; grid-row: 1; }
.bn__ph--big img { object-position: 50% 62%; }
.bn__d { grid-column: 6 / 8; grid-row: 2; display: flex; flex-direction: column; padding: 22px 20px; border-radius: var(--r); background: var(--deep); color: var(--ondeep); }
.bn__k { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--acc); }
.bn__n { margin-top: auto; font: 700 46px/1 var(--disp); color: #fff; letter-spacing: -.04em; }
.bn__s { margin-top: 8px; font-size: 14px; opacity: .85; }
.bn__ph--sm { grid-column: 8 / 10; grid-row: 2; }
.bn__ph--sm img { object-position: 50% 40%; }
.bn__c { grid-column: 10 / 13; grid-row: 2; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--acc); color: var(--head); text-decoration: none; }
.bn__c:hover { background: var(--yl); color: var(--head); }
.bn__c span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--head); color: var(--acc); }
.bn__c b { margin-top: auto; font: 700 19px/1.2 var(--disp); letter-spacing: -.02em; white-space: nowrap; }
.bn__c small { margin-top: 4px; font-size: 14px; }

/* секции */
.sec { padding: 80px 0; }
.sec--tint { background: var(--tint); }
.sec--deep { background: var(--deep); color: var(--ondeep); }
.h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.02em; }
.h2--on { color: #fff; }

/* продукция: вкладки как у образца */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 28px; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; padding: 12px 0; border: 0; background: none; color: var(--muted); font: 700 15px var(--disp); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--head); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; border-radius: 2px; background: var(--acc); }
.tp { margin-top: 22px; }
.tb { width: 100%; border-radius: var(--r); overflow: hidden; background: var(--sheet); }
.tb th, .tb td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.tb thead th { background: var(--deep); color: var(--ondeep); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; }
.tb tbody tr:last-child th, .tb tbody tr:last-child td { border-bottom: 0; }
.tb tbody th { font: 700 17px var(--disp); color: var(--head); letter-spacing: -.02em; }
.tb td { color: var(--muted); font-size: 15px; }
.tb .tb__p { font: 700 18px var(--disp); color: var(--head); white-space: nowrap; letter-spacing: -.02em; }
.tb .tb__p--g { color: var(--accd); }
.tb td:last-child { width: 1%; text-align: right; }
.tb__b { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--tint); color: var(--head); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tb__b:hover { background: var(--acc); }
.tp__n { margin-top: 14px; font-size: 15px; color: var(--muted); }
.tp__b { margin-top: 22px; }

/* отзывы */
.rv { columns: 3 300px; column-gap: 16px; margin-top: 30px; }
.rv li { break-inside: avoid; margin-bottom: 16px; padding: 24px 24px 20px; border-radius: var(--r); background: var(--sheet); }
.rv__q { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--acc); color: var(--head); }
.rv__q .i { width: 20px; height: 20px; }
.rv p { margin-top: 14px; }
.rv b { display: block; margin-top: 12px; font-weight: 600; color: var(--muted); font-size: 15px; }

/* вопросы */
.fq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.fq__l { display: grid; gap: 10px; }
.fq__i { border-radius: var(--r); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.fq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; color: var(--head); }
.fq__i summary::-webkit-details-marker { display: none; }
.fq__i summary span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); flex: none; transition: transform .2s; }
.fq__i[open] summary span { transform: rotate(45deg); }
.fq__i p { padding: 0 22px 20px; color: var(--muted); }

/* регионы */
.rg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 30px; border-top: 1px solid rgba(232, 235, 240, .18); }
.rg button { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; border: 0; border-bottom: 1px solid rgba(232, 235, 240, .18); background: none; color: var(--ondeep); text-align: left; cursor: pointer; }
.rg b { font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.rg span { font-size: 14px; opacity: .8; white-space: nowrap; }
.rg .i { color: var(--acc); transition: transform .15s; }
.rg button:hover .i { transform: translateX(4px); }
.rg button:hover b { color: var(--acc); }
.rg__n { margin-top: 18px; font-size: 15px; opacity: .8; }

/* завод */
.gl { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 14px; margin-top: 30px; align-items: stretch; }
.gl figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; }
.gl img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gl figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 33, 61, .86); color: #fff; font-size: 14px; font-weight: 600; }
.gl__t { display: grid; align-content: center; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--acc); color: var(--head); }
.gl__t p { font-size: 17px; }
.gl__t .gl__s { font-size: 15px; }

/* контакты */
.kt { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.kt__c { padding: 36px; border-radius: var(--r); background: var(--sheet); }
.kt__tel { display: inline-block; margin-top: 18px; font: 700 28px var(--disp); color: var(--head); text-decoration: none; letter-spacing: -.03em; }
.kt__l { display: grid; gap: 12px; margin-top: 16px; }
.kt__l li { display: flex; gap: 12px; align-items: flex-start; }
.kt__l .i { color: var(--accd); margin-top: 4px; }
.kt__f { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 24px; }
.kt__f .agree { grid-column: 1 / -1; }
.map { min-height: 460px; border-radius: var(--r); overflow: hidden; background: var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* подвал */
.ft { background: var(--deep); color: var(--ondeep); padding: 52px 0 26px; font-size: 15px; }
.ft a { color: var(--ondeep); text-decoration: none; }
.ft a:hover { color: var(--acc); }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(232, 235, 240, .14); }
.wm--ft, .wm--ft:hover { color: #fff; }
.wm--ft .wm__m i { background: var(--ondeep); }
.wm--ft .wm__m i:first-child { background: linear-gradient(var(--acc) 0 30%, var(--ondeep) 30%); }
.wm--ft .wm__t b { color: var(--acc); }
.ft__tel { font: 700 24px var(--disp); letter-spacing: -.03em; }
.ft__in { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.4fr; gap: 28px 36px; margin-top: 28px; }
.ft__col { display: grid; gap: 8px; align-content: start; }
.ft__h { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--acc); margin-bottom: 4px; }
.ft__col span, .ft__geo { opacity: .8; }
.ft__b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; font-size: 13px; color: rgba(232, 235, 240, .7); }

/* окно заявки */
.dlg { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--sheet); color: var(--text); }
.dlg::backdrop { background: rgba(15, 22, 38, .62); }
.dlg__f { position: relative; display: grid; gap: 12px; padding: 32px 28px 26px; }
.dlg__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; }
.dlg__t { font-size: 22px; padding-right: 40px; text-transform: uppercase; }
.dlg__d { color: var(--muted); font-size: 15px; }

/* спасибо / 404 */
.note { max-width: 640px; margin: 0 auto; padding: 48px 40px; border-radius: 22px; background: var(--sheet); text-align: center; }
.note p { margin-top: 14px; }
.note__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--acc); color: var(--head); margin-bottom: 14px; }
.note__ic .i { width: 30px; height: 30px; }
.note__n { font: 700 72px/1 var(--disp); color: var(--deep); margin: 0 0 6px !important; }
.note__b { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px !important; }

@media (max-width: 1100px) {
  .hd__c { display: none; }
  .bn__g { grid-template-rows: 380px 230px; }
  .bn__n { font-size: 38px; }
  .bn__c b { font-size: 16px; }
  .ft__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hd__in { min-height: 64px; gap: 10px; }
  .hd__call, .hd__burger { display: inline-flex; }
  .mn { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; gap: 2px; padding: 72px 20px 28px; background: var(--sheet);
    box-shadow: -20px 0 50px rgba(15, 22, 38, .25); transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; }
  .nav-open .mn { transform: none; visibility: visible; }
  .nav-open body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(15, 22, 38, .55); }
  .mn__a { font-size: 18px; padding: 12px 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .mn__x { display: grid; place-items: center; position: absolute; top: 12px; right: 16px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; }
  .mn__c { display: grid; gap: 10px; margin-top: 22px; font-weight: 600; }
  .mn__c a { text-decoration: none; }
  .bn__g { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .bn__a { grid-column: 1 / -1; grid-row: auto; padding: 30px 24px; }
  .bn__tags { margin-top: 0; padding-top: 26px; }
  .bn__ph--big { grid-column: 1 / -1; grid-row: auto; height: 320px; }
  .bn__d { grid-column: 1 / -1; grid-row: auto; min-height: 180px; }
  .bn__ph--sm { grid-column: 1; grid-row: auto; height: 220px; }
  .bn__c { grid-column: 2; grid-row: auto; min-height: 220px; min-width: 0; }
  .bn__c b { white-space: normal; }
  .bn__n { font-size: 56px; }
  .sec { padding: 60px 0; }
  .fq, .kt { grid-template-columns: 1fr; gap: 24px; }
  .rg { grid-template-columns: 1fr; }
  .gl { grid-template-columns: 1fr 1fr; }
  .gl__t { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wm__t { font-size: 17px; }
  .bn { padding-top: 16px; }
  .bn__h { font-size: 34px; }
  .bn__b { flex-direction: column; }
  .btn { width: 100%; }
  .note__b .btn { width: auto; }
  .bn__ph--big { height: 280px; }
  .bn__n { font-size: 46px; }
  .bn__c b { font-size: 15px; }
  .tabs { gap: 2px 18px; }
  .tabs button { font-size: 13px; }
  .tb thead { display: none; }
  .tb tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
  .tb tbody tr:last-child { border-bottom: 0; }
  .tb tbody th, .tb tbody td { padding: 0; border: 0; }
  .tb tbody th { grid-column: 1; }
  .tb td:nth-child(2) { grid-column: 1; font-size: 13px; }
  .tb .tb__p { grid-column: 1; }
  .tb td:last-child { grid-column: 2; grid-row: 1 / span 4; width: auto; }
  .tb--b .tb__p::before { content: "гравий "; font: 400 13px var(--font); color: var(--muted); }
  .tb--b .tb__p--g::before { content: "гранит "; }
  .tb__b { padding: 0 12px; }
  .rv { columns: 1; }
  .gl { grid-template-columns: 1fr; }
  .gl img { min-height: 220px; }
  .kt__c { padding: 26px 20px; }
  .kt__f { grid-template-columns: 1fr; }
  .ft__top { flex-direction: column; align-items: flex-start; }
  .ft__in { grid-template-columns: 1fr; }
  .ft__b { flex-direction: column; }
  .dlg__f { padding: 30px 20px 22px; }
}
