/* Паритет, Шарапово — «Глина и шалфей». Глиняный H13 #B4482A — кнопки и акценты (белый текст), тёмная глина #953A1F — ссылки, угольный H26 — тёмные полосы, шалфей H100 — светлые фоны секций.
   Сосед по учёту в 35 км: Чехов/Столбовая, 13,5 км — песок и синий; глины и шалфея рядом нет. Углы острые (3 px) — под Geologica с заострением.
   Контраст: текст/фон 13,6 · белый/глина 5,4 · тёмная глина/фон 6,6 · светлый/уголь 13,0 · вторичный/фон 5,6 · вторичный/шалфей 5,0 · розовая глина/уголь 7,0. */
@font-face { font-family: "Geologica"; src: url("/fonts/geo780.woff2") format("woff2"); font-weight: 780; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/fonts/golos400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/fonts/golos600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --bg: #F7F3EF; --sheet: #FFFFFF; --sage: #E3E9E0; --line: #D8D0C7; --muted: #66605A; --text: #2A2622; --head: #1F1B18;
  --acc: #B4482A; --accd: #953A1F; --clayl: #E89A7E; --deep: #26221F; --deep2: #332E2A; --ondeep: #EFE8E0; --sagd: #4E6151;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --disp: "Geologica", "Arial Black", sans-serif; --r: 3px;
}
*, *::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(--accd); }
a:hover { color: var(--head); }
h1, h2, h3 { margin: 0; color: var(--head); font-family: var(--disp); font-weight: 780; letter-spacing: -.015em; }
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: 54px; padding: 0 28px; border: 0; border-radius: var(--r);
  background: var(--acc); color: #fff; font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--accd); color: #fff; }
.btn:focus-visible, .fld:focus-visible, .tb__b:focus-visible, .lnk:focus-visible { outline: 3px solid var(--clayl); outline-offset: 2px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.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; }
.btn--line-on { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(239, 232, 224, .8); }
.btn--line-on:hover { background: var(--ondeep); color: var(--deep); }
.btn--light { background: #fff; color: var(--accd); }
.btn--light:hover { background: var(--ondeep); color: var(--head); }
.fld { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); font-size: 17px; }
.fld::placeholder { color: #8A837C; }
.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(--acc); }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* шапка */
.hd { position: sticky; top: 0; z-index: 50; background: var(--sheet); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.wm { display: inline-flex; align-items: center; gap: 11px; color: var(--acc); text-decoration: none; flex: none; }
.wm__m { width: 36px; height: 36px; flex: none; }
.wm__t { font-family: var(--disp); font-weight: 780; font-size: 25px; letter-spacing: -.02em; color: var(--head); }
.wm:hover .wm__t { color: var(--accd); }
.mn { display: flex; gap: 4px; margin-right: auto; }
.mn__a { padding: 8px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 2px solid transparent; }
.mn__a:hover { color: var(--accd); border-bottom-color: var(--acc); }
.mn__x, .mn__c { display: none; }
.hd__c { display: grid; justify-items: end; line-height: 1.25; }
.hd__tel { font-family: var(--disp); font-weight: 780; font-size: 20px; color: var(--head); text-decoration: none; white-space: nowrap; }
.hd__mail { font-size: 14px; color: var(--muted); text-decoration: none; }
.hd__tel:hover, .hd__mail:hover { color: var(--accd); }
.hd__call, .hd__burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: var(--r); background: var(--bg); color: var(--head); cursor: pointer; }
.hd__call .i, .hd__burger .i { width: 24px; height: 24px; }

/* первый экран: фото во всю ширину, карточка угольного цвета заходит на фото снизу и выступает под него */
.hero { display: grid; grid-template-columns: 100%; grid-template-rows: minmax(160px, 1fr) auto 72px; min-height: min(780px, calc(100vh - 74px)); }
.hero__ph { grid-row: 1 / 3; grid-column: 1; margin: 0; position: relative; }
.hero__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 34, 31, .45), rgba(38, 34, 31, 0) 55%); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__card { grid-row: 2 / 4; grid-column: 1; position: relative; z-index: 1; width: min(640px, calc(100% - 48px)); margin-left: max(24px, calc((100% - 1240px) / 2 + 24px));
  padding: 40px 44px 44px; background: var(--deep); color: var(--ondeep); border-top: 6px solid var(--acc); border-radius: 0 0 var(--r) var(--r); }
.hero__s { color: var(--clayl); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.hero__h { margin-top: 14px; color: #fff; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.08; }
.hero__l { display: grid; grid-template-columns: max-content max-content; gap: 10px 24px; margin-top: 26px; }
.hero__l li { display: flex; align-items: center; gap: 10px; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
.hero__l .i { color: var(--clayl); width: 22px; height: 22px; }
.hero__b { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* секции */
.sec { padding: 84px 0; }
.sec--sage { background: var(--sage); }
.sec--line { border-top: 1px solid var(--line); }
.h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.h2--c { text-align: center; }
.h2--on { color: #fff; }
.h3 { font-size: 24px; }

/* о заводе */
.ab { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.ab__t .h2 { max-width: 520px; }
.ab__t .h2::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 22px; background: var(--acc); }
.ab__p { margin-top: 18px; max-width: 580px; }
.ab__p--b { font-weight: 600; color: var(--head); }
.ab__b { margin-top: 26px; }
.ab__ph { margin: 0; justify-self: end; width: min(100%, 460px); }
.ab__ph img { width: 100%; aspect-ratio: 720 / 938; object-fit: cover; border-radius: var(--r); box-shadow: 16px 16px 0 var(--sage); }
.ab__ph figcaption { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* почему мы */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 44px; background: var(--line); border: 2px solid var(--line); }
.why li { padding: 30px 30px 32px; background: var(--sage); }
.why__i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--sheet); color: var(--acc); }
.why__i .i { width: 28px; height: 28px; }
.why h3 { margin-top: 18px; font-size: 21px; }
.why p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* продукция */
.pr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.pr__i { display: grid; grid-template-rows: auto auto 1fr auto; padding: 0 0 26px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); text-align: center; }
.pr__ill { display: grid; place-items: center; height: 170px; background: var(--sage); color: var(--sagd); border-bottom: 1px solid var(--line); }
.ill { width: 190px; height: auto; }
.pr__i h3 { margin-top: 24px; font-size: 23px; }
.pr__i p { margin: 8px 24px 0; color: var(--muted); font-size: 16px; }
.pr__i .pr__v { margin-top: 16px; font-family: var(--disp); font-weight: 780; font-size: 24px; color: var(--accd); }
.pr__v small { font-family: var(--font); font-weight: 400; font-size: 15px; color: var(--muted); }
.pr__b { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* цены */
.ce { display: grid; grid-template-columns: 1.65fr 1fr; gap: 56px; align-items: start; }
.tb { width: 100%; margin-top: 28px; font-size: 17px; }
.tb th, .tb td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tb thead th { padding-top: 0; font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--head); }
.tb tbody th { font-weight: 600; color: var(--head); }
.tb tbody tr:hover { background: var(--sheet); }
.tb__p { font-family: var(--disp); font-weight: 780; font-size: 20px; color: var(--head); white-space: nowrap; }
.tb td:last-child { width: 56px; text-align: right; }
.tb__b { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r); background: var(--acc); color: #fff; cursor: pointer; }
.tb__b:hover { background: var(--accd); }
.ce__s { padding: 30px 30px 26px; background: var(--sage); border-radius: var(--r); }
.ce__s .tb { margin-top: 12px; }
.ce__n { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* своя техника */
.wk { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.wk__ph { margin: 0; }
.wk__ph img { width: 100%; aspect-ratio: 1024 / 461; object-fit: cover; border-radius: var(--r); }
.wk__p { margin-top: 18px; }
.wk__l { display: grid; gap: 10px; margin-top: 22px; }
.wk__l li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.wk__l .i { color: var(--acc); width: 22px; height: 22px; margin-top: 2px; }

/* доставка: линейка расстояний */
.dv { padding: 84px 0; background: var(--deep); color: var(--ondeep); }
.dv__p { margin-top: 12px; max-width: 620px; opacity: .9; }
.ru { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 52px; padding-top: 30px; counter-reset: none; }
.ru::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--clayl), var(--acc)); border-radius: 3px; }
.ru li { position: relative; padding: 0 12px 0 16px; border-left: 2px solid rgba(239, 232, 224, .25); }
.ru li::before { content: ""; position: absolute; left: -7px; top: -33px; width: 12px; height: 12px; background: var(--deep); border: 3px solid var(--ondeep); border-radius: 50%; }
.ru__k { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--clayl); font-weight: 600; }
.ru__v { display: block; margin-top: 6px; font-family: var(--disp); font-weight: 780; font-size: 26px; color: #fff; white-space: nowrap; }
.dv__n { margin-top: 36px; font-size: 15px; opacity: .8; }

/* остались вопросы: фото заливки под глиняной вуалью */
.qz { padding: 72px 0; color: #fff; background: linear-gradient(rgba(122, 46, 23, .88), rgba(122, 46, 23, .88)), url("/img/zalivka.jpg") center / cover no-repeat; }
.qz__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.qz p { margin-top: 10px; font-size: 18px; }
.qz__f { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.qz__f .fld { border-color: transparent; }
.qz__f .agree { grid-column: 1 / -1; color: var(--ondeep); }
.qz__f .agree input { accent-color: #fff; }

/* контакты */
.kt { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--sheet); }
.map { min-height: 480px; background: var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.kt__card { padding: 40px; }
.kt__tel { display: inline-block; margin-top: 18px; font-family: var(--disp); font-weight: 780; font-size: 30px; color: var(--head); text-decoration: none; }
.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(--acc); margin-top: 4px; }
.kt__b { margin-top: 26px; }
.kt__s { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* подвал */
.ft { background: var(--deep); color: var(--ondeep); padding: 60px 0 28px; font-size: 16px; }
.ft a { color: var(--ondeep); text-decoration: none; }
.ft a:hover { color: var(--clayl); }
.ft__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px 40px; }
.ft .wm--ft { color: var(--acc); }
.wm--ft .wm__t { color: #fff; }
.ft__a p { margin-top: 16px; opacity: .8; }
.ft__col { display: grid; gap: 8px; align-content: start; }
.ft__h { font-family: var(--disp); font-weight: 780; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--clayl); margin-bottom: 4px; }
.ft__tel { font-family: var(--disp); font-weight: 780; font-size: 22px; }
.ft__col span { opacity: .8; }
.ft__b { display: grid; gap: 6px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(239, 232, 224, .15); font-size: 14px; color: rgba(239, 232, 224, .75); }

/* окно заявки */
.dlg { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-top: 6px solid var(--acc); border-radius: var(--r); background: var(--sheet); color: var(--text); }
.dlg::backdrop { background: rgba(31, 27, 24, .62); }
.dlg__f { position: relative; display: grid; gap: 14px; padding: 32px 30px 28px; }
.dlg__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r); background: var(--bg); cursor: pointer; }
.dlg__t { font-size: 26px; padding-right: 36px; }
.dlg__d { color: var(--muted); font-size: 16px; }

/* спасибо / 404 */
.note { max-width: 640px; margin: 0 auto; padding: 48px 40px; background: var(--sheet); border-top: 6px solid var(--acc); 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(--sage); color: var(--acc); margin-bottom: 14px; }
.note__ic .i { width: 32px; height: 32px; }
.note__n { font-family: var(--disp); font-weight: 780; font-size: 72px; line-height: 1; color: var(--acc); margin: 0 0 6px !important; }
.note__b { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px !important; }

@media (max-width: 1180px) {
  .hd__c { display: none; }
  .ft__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hd__in { min-height: 64px; gap: 10px; }
  .hd .logo { margin-right: auto; }
  .hd__cb { display: none; }
  .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; margin: 0; padding: 72px 20px 28px; background: var(--sheet);
    box-shadow: -20px 0 50px rgba(31, 27, 24, .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(31, 27, 24, .55); }
  .mn__a { font-size: 19px; padding: 13px 8px; 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: var(--r); background: var(--bg); cursor: pointer; }
  .mn__c { display: grid; gap: 12px; margin-top: 22px; font-size: 16px; }
  .mn__c a, .mn__c span { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; }
  .mn__c .i { color: var(--acc); }
  .hero { display: block; min-height: 0; }
  .hero__ph { height: 300px; }
  .hero__ph::after { display: none; }
  .hero__card { width: auto; margin: -56px 16px 0; padding: 30px 24px 30px; }
  .sec, .dv { padding: 64px 0; }
  .ab, .wk, .ce, .qz__in { grid-template-columns: 1fr; gap: 36px; }
  .ab__ph { justify-self: start; width: min(100%, 420px); }
  .why, .pr { grid-template-columns: 1fr 1fr; }
  .ru { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .kt { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wm__t { font-size: 22px; }
  .wm__m { width: 32px; height: 32px; }
  .hero__ph { height: 250px; }
  .hero__card { margin: -40px 12px 0; padding: 26px 20px 26px; }
  .hero__s { font-size: 13px; letter-spacing: .05em; }
  .hero__h { font-size: 31px; }
  .hero__l { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .hero__b { flex-direction: column; }
  .btn { width: 100%; }
  .note__b .btn { width: auto; }
  .why, .pr { grid-template-columns: 1fr; }
  .why li { padding: 24px 20px; }
  .pr__ill { height: 150px; }
  .ab__ph img { box-shadow: 10px 10px 0 var(--sage); }
  .tb { font-size: 16px; }
  .tb th, .tb td { padding: 12px 6px; }
  .tb thead th:nth-child(3), .tb tbody td:nth-child(3) { display: none; }
  .tb__p { font-size: 18px; }
  .ce__s { padding: 22px 16px; }
  .ru { grid-template-columns: 1fr; row-gap: 0; padding: 0 0 0 30px; margin-top: 36px; }
  .ru::before { left: 0; right: auto; top: 4px; bottom: 4px; width: 6px; height: auto; background: linear-gradient(180deg, var(--clayl), var(--acc)); }
  .ru li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(239, 232, 224, .15); }
  .ru li::before { left: -33px; top: 50%; transform: translateY(-50%); }
  .ru__v { margin-top: 0; font-size: 22px; }
  .qz__f { grid-template-columns: 1fr; }
  .kt__card { padding: 26px 20px; }
  .kt__tel { font-size: 26px; }
  .ft__in { grid-template-columns: 1fr; }
  .dlg__f { padding: 30px 20px 22px; }
}

/* логотип — локап в кривых */
.logo:has(.logo__svg){display:inline-flex;align-items:flex-start;flex:none}
.logo__svg{display:block;height:44px;width:auto}
@media (max-width:760px){.logo__svg{height:34px}}
