/* ============================================================
   РЭДИ ИНЖИНИРИНГ — Light Industrial Theme
   Inspired by ESCO Tool aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --clr-red:      #c8102e;
  --clr-red-dark: #a00c24;
  --clr-red-light:#fdf0f2;
  --clr-dark:     #1a1a1a;
  --clr-dark2:    #2d2d2d;
  --clr-gray:     #4a4a4a;
  --clr-mid:      #6b6b6b;
  --clr-muted:    #909090;
  --clr-border:   #d8d8d8;
  --clr-border-l: #ebebeb;
  --clr-bg:       #ffffff;
  --clr-bg2:      #f5f5f5;
  --clr-bg3:      #eeeeee;
  --clr-text:     #333333;
  --clr-heading:  #1a1a1a;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius:    3px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 2px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 6px 32px rgba(0,0,0,.12);
  --transition: 0.2s ease;

  --container: 1240px;
  --header-top-h: 36px;
  --header-main-h: 68px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--clr-heading);
  font-weight: 600;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; text-transform: uppercase; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }
p  { color: var(--clr-gray); }

/* ── Utilities ──────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
/* ── Section variants ─────────────────────────────────────────── */
.section--white  { background: var(--clr-bg); }
.section--gray   { background: var(--clr-bg2); }
.section--dark   { background: var(--clr-dark); }

/* Red CTA banner (replaces dark call-to-action blocks) */
.cta-banner {
  background: var(--clr-red);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 28px; }
.cta-banner .label { color: rgba(255,255,255,.7); }
.cta-banner .btn--primary { background: #fff; color: var(--clr-red); border-color: #fff; }
.cta-banner .btn--primary:hover { background: #f0f0f0; border-color: #f0f0f0; }
.cta-banner .btn--outline-white { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-banner .btn--outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 8px;
}
.section-title { margin-bottom: 12px; }
.section-sub   { color: var(--clr-mid); font-size: .95rem; max-width: 560px; margin-bottom: 36px; }

.heading-line {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.heading-line::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--clr-red);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--clr-red);
  color: #fff;
  border-color: var(--clr-red);
}
.btn--primary:hover {
  background: var(--clr-red-dark);
  border-color: var(--clr-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,16,46,.3);
}
.btn--outline {
  background: transparent;
  color: var(--clr-red);
  border-color: var(--clr-red);
}
.btn--outline:hover {
  background: var(--clr-red);
  color: #fff;
  transform: translateY(-1px);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.btn--sm  { padding: 7px 16px; font-size: .75rem; }
.btn--lg  { padding: 13px 30px; font-size: .95rem; }

/* ── Top bar ─────────────────────────────────────────────────── */
.header-topbar {
  background: var(--clr-dark);
  height: var(--header-top-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 101;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.topbar-inner a {
  font-size: .72rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.topbar-inner a:hover { color: #fff; }
.topbar-inner svg { width: 11px; height: 11px; }
.topbar-sep { width: 1px; height: 12px; background: #444; }

/* ── Main Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--header-top-h);
  z-index: 100;
  background: var(--clr-bg);
  border-bottom: 3px solid var(--clr-red);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-main {
  height: var(--header-main-h);
  display: flex;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 28px;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--clr-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.logo-main span { color: var(--clr-red); }
.logo-sub {
  font-size: .56rem;
  letter-spacing: .16em;
  color: var(--clr-muted);
  text-transform: uppercase;
}

/* ── Nav — ALL IN ONE LINE ──────────────────────────────────── */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
}
.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: var(--header-main-h);
  padding: 0 13px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--clr-gray);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px; /* aligns with container border */
  transition: var(--transition);
  white-space: nowrap;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active {
  color: var(--clr-red);
  border-bottom-color: var(--clr-red);
  background: var(--clr-red-light);
}

/* Header CTA */
.header-cta {
  flex-shrink: 0;
  margin-left: 12px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.burger span {
  display: block; height: 2px;
  background: var(--clr-dark); border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: flex;
  position: fixed;
  top: calc(var(--header-top-h) + var(--header-main-h));
  left: 0; right: 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  border-bottom: 3px solid var(--clr-red);
  padding: 12px 20px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-lg);
  /* Hidden by default — use visibility + pointer-events, not display:none */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
}
.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav a {
  display: block;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--clr-gray);
  border-left: 3px solid transparent;
  transition: var(--transition);
  letter-spacing: .05em;
}
.mobile-nav a:hover { color: var(--clr-red); border-left-color: var(--clr-red); padding-left: 16px; background: var(--clr-red-light); }
.mobile-nav .mob-contacts { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--clr-border); }
.mobile-nav .mob-contacts a { font-family: var(--font-body); font-size: .85rem; text-transform: none; color: var(--clr-mid); }

/* ── Hero Slider ─────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: var(--clr-dark);
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex;
  align-items: center;
}
/* Local image as slide background (when --slide-bg is not a URL) */
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}
.slide.active { opacity: 1; z-index: 1; }
.slide.prev   { opacity: 0; z-index: 0; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15,15,15,.82) 0%,
    rgba(15,15,15,.55) 55%,
    rgba(15,15,15,.15) 100%);
}

/* Slide content — left-aligned under logo */
.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
}
.slide-inner {
  max-width: 580px;
  margin-left: 0;
  /* animate in on active */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease .3s, transform .5s ease .3s;
}
.slide.active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Reuse hero-tag, hero-accent, hero-sub, hero-actions from old hero */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.slide h1 {
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  line-height: 1.15;
}
.hero-accent { color: var(--clr-red); }
.hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Prev / Next arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover,
.slider-next:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
  transform: translateY(-50%) scale(1.05);
}
.slider-prev svg,
.slider-next svg { width: 20px; height: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.dot.active {
  background: var(--clr-red);
  transform: scale(1.35);
}
.dot:hover:not(.active) { background: rgba(255,255,255,.7); }

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.15);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: var(--clr-red);
  width: 0%;
  transition: width linear;
}

/* Slide counter badge */
.slider-counter {
  position: absolute;
  bottom: 16px; right: 24px;
  z-index: 10;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
}
.slider-counter span { color: #fff; }


/* ── Red stats bar ───────────────────────────────────────────── */
.stats-bar { background: var(--clr-red); }
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-item:last-child { border-right: none; }
.stat-icon { width: 32px; height: 32px; color: rgba(255,255,255,.65); flex-shrink: 0; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label { font-size: .68rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

/* ── Categories ─────────────────────────────────────────────── */
.categories-section { background: var(--clr-bg2); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.category-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  border-top-color: var(--clr-red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.cat-icon { width: 40px; height: 40px; color: var(--clr-red); margin-bottom: 2px; }
.cat-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cat-desc { font-size: .8rem; color: var(--clr-mid); line-height: 1.5; }
.cat-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Industries ─────────────────────────────────────────────── */
.industries-section { background: var(--clr-bg); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.industry-card {
  background: var(--clr-bg2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--clr-red);
  background: var(--clr-red-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.industry-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--clr-red);
  background: rgba(200,16,46,.08);
  border-radius: var(--radius);
  padding: 7px;
}
.industry-info h4 { margin-bottom: 3px; font-size: .9rem; }
.industry-info p { font-size: .78rem; color: var(--clr-mid); }

/* ── Products ────────────────────────────────────────────────── */
.products-section { background: var(--clr-bg2); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-red);
}
.product-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--clr-bg3);
  position: relative;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--clr-red); color: #fff;
  font-family: var(--font-head); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius);
}
.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
}
.product-card:hover .product-body { border-top-color: var(--clr-red); }
.product-body h3 { margin-bottom: 6px; font-size: .95rem; color: var(--clr-dark); }
.product-desc { font-size: .8rem; color: var(--clr-mid); margin-bottom: 12px; flex: 1; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 14px; }
.spec-item { background: var(--clr-bg2); border-radius: var(--radius); padding: 6px 9px; }
.spec-label { font-size: .62rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .06em; }
.spec-val { font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--clr-dark); }
.product-price {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--clr-border-l);
}
.price-label { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--clr-red); }

/* ── About teaser ─────────────────────────────────────────────── */
.about-teaser { background: var(--clr-bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.45), transparent 55%);
}
.about-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--clr-red); color: #fff;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 14px; border-radius: var(--radius);
  z-index: 1;
}
.about-text { color: var(--clr-mid); margin-bottom: 14px; line-height: 1.8; font-size: .92rem; }
.about-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .86rem; color: var(--clr-gray);
}
.about-list li::before {
  content: '';
  width: 15px; height: 15px; min-width: 15px;
  background: var(--clr-red);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}

/* ── CTA / Form ───────────────────────────────────────────────── */
.cta-section {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-info h2 { color: var(--clr-heading); margin-bottom: 12px; }
.cta-info p  { color: var(--clr-mid); margin-bottom: 24px; font-size: .92rem; }
.cta-features { display: flex; flex-direction: column; gap: 10px; }
.cta-feat {
  display: flex; align-items: center; gap: 9px;
  font-size: .86rem; color: var(--clr-gray);
}
.cta-feat svg { width: 16px; height: 16px; color: var(--clr-red); flex-shrink: 0; }

.contact-form {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  border-top: 4px solid var(--clr-red);
}
.contact-form > h3 {
  font-size: 1.2rem; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--clr-border);
  color: var(--clr-dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--clr-gray); margin-bottom: 4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--clr-bg2);
  border: 1px solid var(--clr-border); border-radius: var(--radius);
  padding: 9px 12px; color: var(--clr-dark);
  font-family: var(--font-body); font-size: .86rem;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,16,46,.09);
}
.form-group textarea { min-height: 88px; resize: vertical; }
.form-check {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .76rem; color: var(--clr-mid); margin-bottom: 16px; cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--clr-red);
}
.honeypot { display: none !important; }
.form-success {
  display: none; text-align: center; padding: 28px;
}
.form-success svg { width: 44px; height: 44px; color: #16a34a; margin: 0 auto 12px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--clr-mid); }

/* ── Contacts ───────────────────────────────────────────────── */
.contacts-strip { background: var(--clr-bg2); border-top: 1px solid var(--clr-border); }
.contacts-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.ci-icon {
  width: 38px; height: 38px;
  background: var(--clr-red); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.ci-icon svg { width: 17px; height: 17px; }
.ci-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-muted); margin-bottom: 2px; }
.ci-val { font-size: .92rem; color: var(--clr-dark); }
.ci-val a { transition: var(--transition); }
.ci-val a:hover { color: var(--clr-red); }
.map-embed {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  width: 100%; height: 100%; background: var(--clr-bg3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--clr-muted);
}
.map-placeholder svg { width: 36px; height: 36px; }

/* ── Footer ──────────────────────────────────────────────────── */
/* Readable slate-dark footer — not pure black */
.site-footer { background: #2e3440; padding: 52px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-main { color: #eceff4; }
.footer-brand .logo-icon { background: var(--clr-red); }
.footer-brand p { font-size: .82rem; color: #9aa0b0; max-width: 250px; line-height: 1.75; margin-bottom: 14px; }
.footer-contacts { display: flex; flex-direction: column; gap: 6px; }
.footer-contacts a { font-size: .82rem; color: #9aa0b0; transition: var(--transition); }
.footer-contacts a:hover { color: #eceff4; }
.footer-phone { font-family: var(--font-head); font-size: .96rem; font-weight: 600; color: #eceff4 !important; }
.footer-col h5 {
  font-family: var(--font-head); font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #e06070; margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .82rem; color: #9aa0b0; transition: var(--transition); }
.footer-col a:hover { color: #eceff4; }
.footer-bottom {
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .75rem; color: #6b7280; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .75rem; color: #6b7280; transition: var(--transition); }
.footer-legal a:hover { color: #d0d5de; }

/* ── Breadcrumbs ──────────────────────────────────────────────── */
.breadcrumbs {
  background: var(--clr-bg2); border-bottom: 1px solid var(--clr-border); padding: 10px 0;
}
.breadcrumbs ol {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.breadcrumbs li {
  display: flex; align-items: center; gap: 7px; font-size: .75rem; color: var(--clr-muted);
}
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--clr-border); }
.breadcrumbs a { color: var(--clr-mid); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--clr-red); }
.breadcrumbs li.active { color: var(--clr-gray); }

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  background: var(--clr-bg2);
  border-bottom: 3px solid var(--clr-red);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .label { color: var(--clr-red); letter-spacing: .2em; }
.page-hero h1 { color: var(--clr-dark); }
.page-hero p { color: var(--clr-mid); max-width: 560px; font-size: .92rem; margin-top: 8px; }

/* ── Scroll to top ────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px; background: var(--clr-red); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(200,16,46,.35); z-index: 50;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--clr-red-dark); transform: translateY(-2px); }
.scroll-top svg { width: 17px; height: 17px; }

/* ── Catalog Navigation ──────────────────────────────────────── */
.catalog-nav {
  background: var(--clr-bg);
  border-bottom: 2px solid var(--clr-border);
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-main-h));
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.catalog-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  min-height: 52px;
  overflow: hidden;
}
.catalog-nav-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.catalog-nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}
.catalog-nav-links::-webkit-scrollbar { display: none; }
.catalog-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 52px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-mid);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.catalog-nav-link svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: .65;
  transition: var(--transition);
}
.catalog-nav-link:hover {
  color: var(--clr-red);
  background: var(--clr-red-light);
}
.catalog-nav-link:hover svg { opacity: 1; }
.catalog-nav-link.active {
  color: var(--clr-red);
  border-bottom-color: var(--clr-red);
  background: var(--clr-red-light);
}
.catalog-nav-link.active svg { opacity: 1; }

@media (max-width: 900px) {
  .catalog-nav { top: var(--header-main-h); }
  .catalog-nav-label { display: none; }
  .catalog-nav-link { padding: 0 10px; font-size: .72rem; }
  .catalog-nav-link svg { display: none; }
}

/* ── Catalog ─────────────────────────────────────────────────── */
.catalog-section { background: var(--clr-bg2); padding: 52px 0; }
.catalog-category { margin-bottom: 56px; }
.catalog-category-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; padding-bottom: 14px;
  border-bottom: 2px solid var(--clr-border);
}
.catalog-category-header::before {
  content: ''; display: block; width: 4px; height: 26px;
  background: var(--clr-red); border-radius: 2px; flex-shrink: 0;
}
.catalog-category-header h2 { margin: 0; }
.catalog-desc { color: var(--clr-mid); margin-bottom: 24px; font-size: .88rem; }

/* Subgroup heading within category */
.catalog-subgroup {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-gray);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--clr-border);
}

/* Catalog CTA block */
.catalog-cta {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-red);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}
.catalog-cta .label { display: block; margin-bottom: 6px; }
.catalog-cta h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--clr-dark); }
.catalog-cta p { color: var(--clr-mid); max-width: 520px; margin: 0 auto 24px; font-size: .9rem; }

/* ── Services ────────────────────────────────────────────────── */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.service-card {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-top: 3px solid transparent; border-radius: var(--radius-md);
  padding: 26px 22px; transition: var(--transition);
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.service-card:hover { border-top-color: var(--clr-red); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card svg { width: 34px; height: 34px; color: var(--clr-red); }
.service-card h3 { font-size: 1rem; }
.service-card p { color: var(--clr-mid); font-size: .82rem; }
.svc-num {
  position: absolute; top: -6px; right: 14px;
  font-family: var(--font-head); font-size: 4.5rem; font-weight: 700;
  color: rgba(200,16,46,.05); line-height: 1; pointer-events: none;
}

/* ── Delivery ────────────────────────────────────────────────── */
.delivery-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.delivery-block {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 26px;
}
.delivery-block h3 {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border); font-size: 1.05rem;
}
.delivery-block h3 svg { color: var(--clr-red); width: 22px; height: 22px; }
.delivery-items { display: flex; flex-direction: column; gap: 9px; }
.delivery-item {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .84rem; color: var(--clr-gray);
}
.delivery-item::before { content: '✓'; color: var(--clr-red); font-weight: 700; flex-shrink: 0; }

/* ── About (inner page) ──────────────────────────────────────── */
.principle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.principle-card {
  background: var(--clr-bg2); border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-red); border-radius: var(--radius-md);
  padding: 18px; transition: var(--transition);
}
.principle-card:hover { box-shadow: var(--shadow); background: var(--clr-bg); }
.principle-card svg { width: 26px; height: 26px; color: var(--clr-red); margin-bottom: 8px; }
.principle-card h4 { margin-bottom: 5px; font-size: .88rem; }
.principle-card p { font-size: .8rem; color: var(--clr-mid); }
.about-full-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 18px; }
.cert-item {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 18px 12px; text-align: center; transition: var(--transition);
}
.cert-item:hover { border-color: var(--clr-red); }
.cert-item svg { width: 26px; height: 26px; color: var(--clr-red); margin: 0 auto 7px; }
.cert-item span { font-size: .72rem; color: var(--clr-mid); text-transform: uppercase; letter-spacing: .06em; }

/* ── Fade-in ──────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none; /* invisible elements must not capture clicks */
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.stagger > * { transition-delay: calc(var(--i, 0) * 0.055s); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-inner, .cta-inner, .contacts-inner, .about-full-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 900px) {
  :root { --header-main-h: 58px; --header-top-h: 30px; }
  .site-nav, .header-cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .principle-cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stat-item { padding: 16px 14px; }

  /* ── Topbar — одна строка на мобиле ────────────────────────── */
  .header-topbar { height: auto; padding: 5px 0; }
  .topbar-inner {
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .topbar-inner a {
    font-size: .62rem;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-sep { display: none; }
  .topbar-inner svg { width: 10px; height: 10px; flex-shrink: 0; }

  /* ── Slider mobile fixes ────────────────────────── */
  .hero-slider { height: 460px; }

  /* Overlay stronger on mobile for text readability */
  .slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,.75) 0%,
      rgba(10,10,10,.65) 60%,
      rgba(10,10,10,.50) 100%
    );
  }

  /* Content sits in the lower half, above arrows */
  .slide-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    align-items: flex-end;
    padding-bottom: 52px;
  }

  .slide-inner {
    max-width: 100%;
    padding: 0 52px; /* leave space for arrows on sides */
  }

  /* Arrows — fixed size, positioned top-center of slider, above content */
  .slider-prev,
  .slider-next {
    width: 40px; height: 40px;
    top: 38%;
    z-index: 20; /* above slide-content */
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.25);
  }
  .slider-prev { left: 6px; }
  .slider-next { right: 6px; }

  .slide h1 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: .82rem;
    margin-bottom: 16px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-actions .btn {
    font-size: .8rem;
    padding: 10px 16px;
  }

  /* Dots above bottom edge */
  .slider-dots { bottom: 12px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .hero-slider { height: 440px; }
  .slide h1 { font-size: 1.25rem; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .topbar-inner a { font-size: .58rem; }
}
