@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-italic-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans Narrow';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-narrow-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans Narrow';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-narrow-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans Narrow';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-narrow-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans Narrow';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-narrow-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  --red: #e30613;
  --red-dark: #b8050f;
  --ink: #1b1b1b;
  --text: #333;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --soft: #f4f4f4;
  --white: #fff;
  --narrow: "PT Sans Narrow", "Arial Narrow", Arial, sans-serif;
  --sans: "PT Sans", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 17px/1.55 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--narrow); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 1.4em; }
p { margin: 0 0 1em; }
b, strong, th { font-weight: 700; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: 2px;
  font: 400 18px/1.1 var(--narrow); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 52px; padding: 12px 26px; font-size: 19px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header { background: var(--white); position: relative; z-index: 20; }
.site-header__top { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { flex: none; display: block; }
.logo img { width: 143px; height: 50px; }
.site-header__dealer { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dealer-line { font: 15px/1.2 var(--narrow); color: var(--ink); }
.top-nav__list { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.top-nav__list a { font: 17px/1.2 var(--narrow); text-transform: uppercase; color: var(--red); text-decoration: none; }
.top-nav__list a:hover, .top-nav__list a[aria-current] { text-decoration: underline; }
.site-header__contacts { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.h-phone { font: 700 24px/1.1 var(--narrow); color: var(--ink); text-decoration: none; white-space: nowrap; }
.h-phone:hover { color: var(--red); }
.h-mail { font-size: 15px; color: var(--muted); }

.burger { display: none; }

.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav__list { display: flex; gap: 8px 32px; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
  display: inline-block; padding: 14px 0; font: 19px/1.2 var(--narrow); text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.main-nav__list > li > a:hover, .main-nav__list > li.is-active > a { border-bottom-color: var(--red); }
.main-nav__mobile-extra { display: none; }
.sub-toggle { display: none; }

@media (min-width: 960px) {
  .has-sub > a { padding-right: 16px !important; background: no-repeat right center / 10px 6px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E"); }
  .sub {
    position: absolute; left: -16px; top: 100%; min-width: 260px; padding: 8px 0 !important;
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .sub .sub { left: 100%; top: -11px; }
  li:hover > .sub, li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sub li { position: relative; }
  .sub a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; font-size: 16px; white-space: nowrap; }
  .sub .has-sub > a { padding-right: 32px !important; background-position: right 14px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M1 1l4 4-4 4' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 6px 10px; }
  .sub a:hover, .sub a[aria-current] { background-color: var(--soft); color: var(--red); }
}

@media (max-width: 959px) {
  .site-header__top { gap: 16px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 115px; height: auto; }
  .site-header__dealer .top-nav { display: none; }
  .dealer-line { font-size: 14px; max-width: 12em; }
  .site-header__contacts { display: none; }
  .burger {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font: 18px var(--narrow); text-transform: uppercase; color: var(--ink); cursor: pointer;
  }
  .burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
  .burger[aria-expanded="true"] .burger__bars { background: transparent; }
  .burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav > .wrap { padding-bottom: 20px; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .main-nav li > a { flex: 1; padding: 12px 0; border: 0 !important; margin: 0; }
  .main-nav__list > li > a { font-size: 20px; }
  .sub { display: none; width: 100%; padding-left: 16px !important; }
  .sub li:last-child { border-bottom: 0; }
  .sub a { color: var(--ink); text-decoration: none; }
  .sub a[aria-current] { color: var(--red); }
  .has-sub.is-open > .sub { display: block; }
  .sub-toggle {
    display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative;
  }
  .sub-toggle::before, .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform .2s; }
  .sub-toggle::after { transform: rotate(90deg); }
  .has-sub.is-open > .sub-toggle::after { transform: rotate(0); }
  .main-nav__mobile-extra { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
  .main-nav__mobile-extra .top-nav__list { gap: 8px 24px; margin-bottom: 8px; }
  .main-nav__mobile-extra .top-nav__list li { border: 0; }
  .main-nav__mobile-extra .top-nav__list a { font-size: 19px; }
}

/* Page head */
main.wrap { padding-top: 24px; padding-bottom: 56px; }
.page-head { margin-bottom: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 12px; padding: 0; font: 16px/1.3 var(--narrow); color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "→"; margin: 0 8px; color: #aaa; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid #bbb; }
.crumbs a:hover { color: var(--red); border-color: var(--red); }
.lead { font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 60ch; }
.eyebrow { font: 17px/1.2 var(--narrow); text-transform: uppercase; letter-spacing: .04em; color: var(--red); margin-bottom: 12px; }

/* Lists */
.prose { max-width: 78ch; }
.prose ul, .checks { padding: 0; margin: 0 0 1.2em; list-style: none; }
.prose li, .checks li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--red); }

/* Home */
.hero { display: grid; gap: 32px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.hero__media img { width: 100%; max-width: 500px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; margin-bottom: .5em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 860px) { .hero { grid-template-columns: 5fr 6fr; gap: 56px; } }
@media (max-width: 859px) { .hero__media { order: 2; } .hero__media img { max-width: 320px; } }

.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 24px; padding-top: 40px; }
.section-card { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.section-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); margin-bottom: 16px; }
.section-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.section-card:hover .section-card__media img { transform: scale(1.04); }
.section-card__title { font: 26px/1.15 var(--narrow); color: var(--ink); margin-bottom: 8px; }
.section-card:hover .section-card__title { color: var(--red); }
.section-card__text { font-size: 16px; color: var(--muted); }

/* Catalog cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s; }
.card:hover { border-color: var(--red); }
.card__media { display: block; margin: 0 auto 16px; width: 100%; max-width: 200px; }
.card__media img { width: 100%; }
.card__title { font: 24px/1.15 var(--narrow); color: var(--ink); margin-bottom: 6px; }
.card:hover .card__title { color: var(--red); }
.card__text { font-size: 16px; color: var(--muted); }

/* Product and article */
.media { margin: 0; }
.media img { width: 100%; max-width: 390px; margin: 0 auto; }
.product, .article { display: grid; gap: 32px; align-items: start; margin-bottom: 16px; }
.product > *, .article > *, .hero > *, .contact-cta__inner > * { min-width: 0; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(280px, 4fr) 7fr; gap: 48px; }
  .article { grid-template-columns: minmax(260px, 4fr) 7fr; gap: 48px; }
  .article .prose > h2:first-child { margin-top: 0; }
}
@media (max-width: 899px) { .media img { max-width: 300px; } }
.product + .prose { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; border: 1px solid var(--line); }
.specs, .requisites { width: 100%; border-collapse: collapse; font-size: 16px; }
.specs th, .specs td, .requisites th, .requisites td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tr:last-child > *, .requisites tr:last-child > * { border-bottom: 0; }
.specs thead th { background: var(--soft); font: 700 17px/1.2 var(--narrow); color: var(--ink); white-space: nowrap; }
.specs td, .specs thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.specs tbody th { font-weight: 400; color: var(--text); min-width: 12em; }
.specs tbody tr:nth-child(even) { background: #fafafa; }
.requisites th { font-weight: 400; color: var(--muted); width: 38%; }
.requisites td { color: var(--ink); }
@media (max-width: 599px) {
  .requisites th, .requisites td { display: block; width: auto; border: 0; padding: 0 14px; }
  .requisites th { padding-top: 12px; font-size: 14px; }
  .requisites td { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
}

.price-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.price-cta__note { flex-basis: 100%; margin: 8px 0 0; padding: 16px 18px; background: var(--soft); font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 479px) { .price-cta .btn { flex: 1 1 100%; } }

/* Projects */
.projects { display: grid; gap: 40px; margin-top: 32px; }
.project__title { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 16px; }
.project__gallery { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.project__gallery img { height: 200px; width: auto; flex: 0 1 auto; object-fit: cover; }
.project__gallery .is-logo { height: 120px; margin-left: 16px; }
@media (max-width: 599px) {
  .project__gallery { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .project__gallery img { height: 180px; max-width: none; scroll-snap-align: start; }
  .project__gallery .is-logo { height: 100px; }
}

/* Contacts */
.contacts { display: grid; gap: 24px; margin-bottom: 16px; }
.contacts__main { display: grid; gap: 20px; margin: 0; }
.contacts__main dt { font: 16px/1.2 var(--narrow); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 4px; }
.contacts__main dd { margin: 0; font-size: 20px; color: var(--ink); }
.contacts__main dd a { font: 700 26px/1.2 var(--narrow); color: var(--ink); text-decoration: none; }
.contacts__main dd a:hover { color: var(--red); }
.contacts__note { max-width: 60ch; color: var(--muted); }
@media (min-width: 900px) { .contacts__main { grid-template-columns: auto auto 1fr; gap: 48px; } }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.link-list a { font: 26px var(--narrow); }

/* Contact CTA (replaces the old request form) */
.contact-cta { background: var(--soft); padding: 48px 0; }
.contact-cta__inner { display: grid; gap: 20px 48px; align-items: center; }
.tab-title { justify-self: start; margin: 0; padding: 10px 22px; background: var(--red); color: var(--white); font-size: clamp(26px, 3vw, 32px); }
.contact-cta__lead { font-size: 20px; color: var(--ink); margin-bottom: .5em; }
.contact-cta__hint { font-size: 16px; color: var(--muted); margin: 0; }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) {
  .contact-cta__inner { grid-template-columns: 7fr 5fr; }
  .tab-title { grid-column: 1 / -1; }
  .contact-cta__actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 559px) { .contact-cta__actions .btn { flex: 1 1 100%; font-size: 17px; padding-left: 12px; padding-right: 12px; } }

/* Clients */
.clients { padding: 48px 0 40px; }
.clients__title { font-size: clamp(24px, 3vw, 30px); margin: 0 0 24px; }
.clients__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.clients__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; color: var(--muted); }
.clients__list img { width: 110px; height: 110px; object-fit: contain; }
@media (max-width: 699px) { .clients__list { grid-template-columns: repeat(2, 1fr); } .clients__list img { width: 88px; height: 88px; } }

/* Footer */
.site-footer { background: #1f1f1f; color: #bdbdbd; font-size: 15px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.site-footer__brand .logo { margin-bottom: 12px; }
.site-footer__brand p { margin-bottom: .6em; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.site-footer__nav li { margin-bottom: 8px; break-inside: avoid; }
.site-footer__legal p { margin-bottom: .6em; line-height: 1.5; }
.site-footer__bottom { border-top: 1px solid #333; padding-top: 16px; padding-bottom: 24px; color: #8c8c8c; font-size: 14px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1.2fr 1.2fr; gap: 48px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header .burger, .main-nav, .contact-cta, .clients, .site-footer__nav { display: none !important; } }

/* Phones: compact rows instead of full-width tiles */
@media (max-width: 599px) {
  .page-home .eyebrow { display: none; }
  .hero__media img { max-width: 240px; }
  .sections { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .section-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; }
  .section-card__media { grid-row: span 2; margin: 0; }
  .section-card__title { font-size: 22px; margin-bottom: 4px; }
  .section-card__text { font-size: 15px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 12px; align-items: start; }
  .card__media { grid-row: span 2; margin: 0; }
  .card__title { font-size: 21px; }
  .card__text { font-size: 15px; }
  .specs { font-size: 15px; }
  .specs th, .specs td { padding: 9px 10px; }
  .specs tbody th { min-width: 9em; }
}
