:root {
  --brand: #9f4f00;
  --brand-strong: #783a00;
  --accent: #3f7400;
  --accent-strong: #2f5900;
  --ink: #172126;
  --muted: #5d686e;
  --line: #dbe2e5;
  --surface: #ffffff;
  --surface-soft: #f4f7f8;
  --surface-warm: #fff7ed;
  --danger: #a3261c;
  --success: #246b34;
  --shadow: 0 18px 50px rgba(23, 33, 38, .10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: var(--brand-strong); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #006bd6; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px;
  background: #fff; color: #000; box-shadow: var(--shadow);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--surface-soft); }
.section--warm { background: var(--surface-warm); }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: clamp(2.3rem, 6vw, 5.1rem); letter-spacing: -.045em; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: clamp(1.18rem, 2vw, 1.55rem); }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.3rem); }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(219,226,229,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 56px; height: 58px; object-fit: contain; border-radius: 12px; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; }
.brand__text span { color: var(--muted); font-size: .77rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); font-size: .93rem; font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--brand); }
.header-contact { display: flex; align-items: center; gap: 13px; }
.header-phone { display: grid; justify-items: end; gap: 2px; color: var(--ink); text-decoration: none; line-height: 1.1; white-space: nowrap; }
.header-phone strong { display: block; font-size: .98rem; white-space: nowrap; }
.header-phone__label { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); content: ""; transition: .2s; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 25px rgba(63,116,0,.22); }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--secondary:hover { border-color: #b8c4c9; color: var(--ink); }
.btn--small { min-height: 40px; padding: 8px 13px; border-radius: 10px; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; overflow: hidden; padding: 90px 0 78px; background: linear-gradient(135deg, #fff8ef 0%, #fff 56%, #eef6e8 100%); }
.hero::before { position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; border-radius: 50%; background: rgba(240,134,34,.12); content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: 58px; }
.hero-copy { max-width: 720px; }
.hero-copy h1 span { color: var(--brand); }
.hero-actions { margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px 34px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; gap: 1px; }
.hero-facts strong { font-size: 1.2rem; }
.hero-facts span { color: var(--muted); font-size: .85rem; }
.hero-visual { position: relative; min-height: 520px; }
.hero-card { position: absolute; overflow: hidden; border: 1px solid rgba(219,226,229,.85); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hero-card--main { inset: 0 70px 36px 0; padding: 22px; }
.hero-card--small { width: 185px; height: 210px; right: 0; bottom: 0; padding: 14px; transform: rotate(4deg); }
.hero-price { position: absolute; right: 20px; top: 22px; z-index: 2; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 105px; display: grid; align-content: center; gap: 3px; padding: 20px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(23,33,38,.055); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__image { aspect-ratio: 4/3; display: grid; place-items: center; padding: 22px; background: linear-gradient(180deg,#f9fbfb,#fff); }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product-card__body p { color: var(--muted); }
.product-card__meta { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; }
.price { display: grid; line-height: 1.1; }
.price span { color: var(--muted); font-size: .77rem; }
.price strong { color: var(--brand-strong); font-size: 1.5rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.feature__number { margin-bottom: 20px; color: var(--brand); font-weight: 900; font-size: 1.5rem; }
.feature p { color: var(--muted); font-size: .94rem; }

.delivery-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; padding: 44px; border-radius: 28px; background: var(--ink); color: #fff; }
.delivery-panel .eyebrow { color: #ffbd73; }
.delivery-panel .lead, .delivery-panel p { color: #d2dade; }
.carriers { display: flex; flex-wrap: wrap; gap: 10px; }
.carrier { padding: 10px 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; }

.requisites-card { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.requisites-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-bottom: 1px solid var(--line); background: var(--surface-warm); }
.requisites-head p { margin: 4px 0 0; color: var(--muted); }
.requisites-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.requisites-group { padding: 34px; }
.requisites-group + .requisites-group { border-left: 1px solid var(--line); }
.data-list { display: grid; grid-template-columns: minmax(150px,.65fr) minmax(0,1.35fr); margin: 0; }
.data-list dt, .data-list dd { padding: 11px 0; border-bottom: 1px solid #edf0f1; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.copy-status { min-height: 24px; margin: 12px 0 0; color: var(--success); font-size: .9rem; }

.cta-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, #17303a, #234c59); color: #fff; }
.cta-panel .lead, .cta-panel p { color: #d8e3e7; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list a { width: fit-content; color: #fff; font-size: 1.08rem; font-weight: 800; }
.form-card { padding: 28px; border-radius: 20px; background: #fff; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: .88rem; font-weight: 800; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b9c4c8; border-radius: 11px; background: #fff; color: var(--ink); }
.field textarea { min-height: 108px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163,38,28,.13); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 17px 0; color: var(--muted); font-size: .82rem; }
.consent input { width: 19px; height: 19px; margin-top: 2px; flex: 0 0 auto; }
.form-message { min-height: 24px; margin-top: 13px; font-weight: 700; }
.form-message.is-success { color: var(--success); }
.form-message.is-error { color: var(--danger); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.map-shell { min-height: 350px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg,#eef3f4,#fff); }
.map-shell__placeholder { max-width: 550px; padding: 38px; text-align: center; }
.map-shell.is-loaded { display: block; }
.map-shell script + * { width: 100% !important; }

.site-footer { padding: 54px 0 28px; background: #10181c; color: #d2dade; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 44px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { font-size: 1.35rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #d2dade; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-link--vk { position: relative; padding-left: 23px; }
.social-link--vk::before { position: absolute; left: 0; top: .1em; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; background: #2787f5; color: #fff; font-size: .58rem; font-weight: 900; content: "VK"; }

.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.partner-card { display: flex; min-width: 0; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(23,33,38,.055); }
.partner-card__domain { display: inline-flex; width: fit-content; margin-bottom: 20px; padding: 8px 12px; border-radius: 999px; background: var(--surface-warm); color: var(--brand-strong); font-weight: 800; }
.partner-card p { color: var(--muted); }
.partner-card .btn { width: fit-content; margin-top: auto; }
.partner-note { margin-top: 28px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb0b8; font-size: .82rem; }

.breadcrumbs { padding: 20px 0; border-bottom: 1px solid var(--line); background: #fbfcfc; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.breadcrumbs li + li::before { margin-right: 6px; content: "/"; }
.breadcrumbs a { color: var(--muted); }
.product-hero { padding: 64px 0 80px; }
.product-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 60px; align-items: start; }
.gallery-main { aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { aspect-ratio: 1/1; overflow: hidden; padding: 8px; border: 2px solid transparent; border-radius: 13px; background: #fff; cursor: pointer; }
.gallery-thumb[aria-current="true"] { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { position: sticky; top: 110px; }
.product-summary h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.badge { padding: 7px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .82rem; font-weight: 700; }
.product-price { margin: 26px 0; padding: 22px; border-radius: 18px; background: var(--surface-warm); }
.product-price strong { display: block; color: var(--brand-strong); font-size: 2.1rem; }
.product-price span { color: var(--muted); }
.product-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 25px; }
.check-list li::before { position: absolute; left: 0; top: .15em; color: var(--accent); font-weight: 900; content: "✓"; }
.warning-list li::before { color: var(--danger); content: "!"; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.price-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { background: var(--surface-soft); font-size: .86rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr.is-best td { background: #f0f7ea; font-weight: 800; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #111; }
.video-card video { width: 100%; max-height: 560px; background: #111; }
.notice { padding: 16px 18px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--surface-warm); color: var(--muted); }
.content-page { max-width: 860px; }
.content-page h1 { font-size: clamp(2.3rem,5vw,4.2rem); }
.content-page h2 { margin-top: 42px; font-size: 1.8rem; }
.content-page ul { padding-left: 22px; }
.mobile-cta { display: none; }


/* Модальное окно после успешной отправки заявки */
.commercial-modal {
  width: min(calc(100% - 32px), 520px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(23,33,38,.28);
}
.commercial-modal::backdrop { background: rgba(10,20,25,.62); backdrop-filter: blur(4px); }
.commercial-modal__card { position: relative; padding: 36px; border-radius: 24px; background: #fff; text-align: center; }
.commercial-modal__icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: #eef7e8; color: var(--accent); font-size: 1.8rem; font-weight: 900; }
.commercial-modal h2 { margin-bottom: 12px; font-size: clamp(1.7rem,5vw,2.25rem); }
.commercial-modal p { margin-bottom: 24px; color: var(--muted); }
.commercial-modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.commercial-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--surface-soft); color: var(--ink); font-size: 1.45rem; line-height: 1; cursor: pointer; }
.commercial-modal__close:hover { background: #e8edef; }
@media (max-width: 520px) {
  .commercial-modal__card { padding: 32px 20px 24px; }
  .commercial-modal__actions { display: grid; }
}

@media (max-width: 1050px) {
  .nav { gap: 14px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid, .product-layout { gap: 38px; }
}
@media (max-width: 930px) {
  .header-phone { display: none; }
}
@media (max-width: 840px) {
  .site-header { position: sticky; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s; }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-contact .btn { display: none; }
  .hero-grid, .product-layout, .delivery-panel, .cta-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 450px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .requisites-grid { grid-template-columns: 1fr; }
  .requisites-group + .requisites-group { border-left: 0; border-top: 1px solid var(--line); }
  .product-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .brand__text span { display: none; }
  .brand img { width: 46px; height: 48px; }
  .header-row { min-height: 70px; }
  .nav { inset: 70px 0 auto; }
  .hero { padding: 62px 0 58px; }
  .hero-grid { gap: 36px; }
  .hero-visual { min-height: 360px; }
  .hero-card--main { inset: 0 46px 30px 0; padding: 14px; }
  .hero-card--small { width: 140px; height: 165px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-grid, .card-grid, .feature-grid, .product-info-grid, .footer-grid, .form-grid, .partner-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .delivery-panel, .cta-panel { padding: 28px; }
  .requisites-head { align-items: flex-start; flex-direction: column; padding: 26px; }
  .requisites-group { padding: 26px; }
  .data-list { grid-template-columns: 1fr; }
  .data-list dt { padding-bottom: 2px; border-bottom: 0; }
  .data-list dd { padding-top: 0; }
  .footer-bottom { flex-direction: column; }
  .product-hero { padding: 42px 0 62px; }
  .gallery-main { padding: 16px; }
  .mobile-cta { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
  body { padding-bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== HTML SITEMAP / CONTENT LISTS ===== */
.content-page ul {
  margin: 18px 0 30px;
}
.content-page li {
  margin: 0 0 10px;
  line-height: 1.55;
}
.sitemap-list {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}
.sitemap-list li {
  display: list-item;
  margin: 0;
}
.sitemap-list a {
  display: inline-block;
}
