/* Kỹ Thuật Lê Quân (lequantech) — восстановление из веб-архива (снимок 2017-07-01) */

:root {
  --brand: #c8102e;
  --brand-dark: #99000f;
  --steel: #2c3e50;
  --ink: #232323;
  --ink-soft: #5c5c5c;
  --line: #dedede;
  --bg: #f3f4f6;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
html { scroll-padding-top: 60px; }

/* шапка */
.site-header__top { background: #fff; }
.site-header__top-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand img { height: 56px; width: auto; }
.site-header__hotline { margin: 0 0 0 auto; font-weight: 700; }
.site-header__hotline span { color: var(--ink-soft); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.site-header__hotline a { color: var(--brand); font-size: 18px; }
.site-header__bar { background: var(--steel); position: sticky; top: 0; z-index: 40; }
.site-header__bar-inner { display: flex; align-items: center; min-height: 46px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle__bar { display: block; height: 2px; background: #fff; margin: 5px 0; }
.primary-nav__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { display: block; padding: 13px 18px; color: #fff; font-weight: 500; text-transform: uppercase; font-size: 14px; }
.primary-nav__list a:hover { background: var(--brand); text-decoration: none; }

/* герой */
.hero { background: linear-gradient(135deg, var(--steel), #1a252f); color: #fff; padding: 44px 0; }
.hero h1 { font-size: clamp(22px, 3.4vw, 32px); text-transform: uppercase; }
.hero__points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hero__points li { padding-left: 28px; position: relative; font-size: 16px; }
.hero__points li::before { content: "▸"; position: absolute; left: 6px; color: var(--brand); font-weight: 700; }

/* секции */
.intro { background: #fff; padding: 32px 0; border-bottom: 1px solid var(--line); }
.products { padding: 34px 0; }
.section-title { margin: 0 0 18px; font-size: clamp(20px, 2.6vw, 26px); color: var(--steel); text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid var(--brand); display: inline-block; }
.intro p { margin: 0; max-width: 90ch; }

.pgroup { margin-bottom: 32px; }
.pgroup__title { font-size: 18px; color: #fff; background: var(--steel); padding: 10px 16px; text-transform: uppercase; margin-bottom: 18px; border-left: 4px solid var(--brand); }

.grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.grid--products { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }
.product { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.product__media { margin: 0; aspect-ratio: 4 / 3; background: #edeff1; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__title { padding: 12px 14px; font-size: 14.5px; color: var(--steel); font-weight: 500; }

/* футер */
.site-footer { background: var(--steel); color: #c4ccd4; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; padding: 38px 16px; }
.site-footer__grid > * { min-width: 0; }
.footer-col h2 { color: #fff; font-size: 16px; text-transform: uppercase; margin-bottom: 14px; }
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 8px; }
.footer-contact a { color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 5px 0; }
.footer-links a { color: #c4ccd4; }
.site-footer__bottom { background: #1a252f; }
.site-footer__bottom .wrap { padding: 14px 16px; }
.site-footer__bottom p { margin: 0; font-size: 13px; }

/* адаптив */
@media (max-width: 1024px) { .grid--products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-header__top-inner { flex-wrap: wrap; }
  .site-header__hotline { width: 100%; margin-left: 0; }
  .site-header__bar-inner { position: relative; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--steel); box-shadow: 0 10px 18px rgba(0,0,0,.25); display: none; z-index: 40; }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list li { border-top: 1px solid rgba(255,255,255,.12); }
  .grid--products { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
