

/* Start:/bitrix/templates/ecotechno/css/style.css?179200713048192*/
/* ============================================================
   ЭКОТЕХНОПОЛИМЕР — ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   css/style.css

   Собран из <style> всех страниц сайта.
   Правила, которые отличались на разных страницах,
   привязаны к классу страницы на <body> (body.p-index и т.д.).
   ============================================================ */


/* ---------- ТОКЕНЫ, СБРОС, ТИПОГРАФИКА ---------- */

:root {
  --red: #ed1c24;
  --red-dark: #c8141b;
  --navy: #041e42;
  --navy-2: #0a2a55;
  --ink: #2a2a2a;
  --mute: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-soft-2: #eef1f6;
  --container: 1460px;
  --pad: clamp(20px, 4vw, 60px);
  --section: clamp(80px, 10vw, 120px);
  --ff-head: "Roboto Condensed", "Arial Narrow", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
p { margin: 0; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red);
}
.eyebrow.on-dark { color: #ff6b70; }
.eyebrow.on-dark::before { background: #ff6b70; }
.section-title {
  font-size: clamp(36px, 4.4vw, 60px);
  max-width: 1100px;
  margin-bottom: 24px;
}
.section-title small {
  display: block;
  font-family: var(--ff-body);
  font-weight: 400;
  text-transform: none;
  font-size: 18px;
  color: var(--mute);
  letter-spacing: 0;
  margin-top: 18px;
  line-height: 1.5;
  max-width: 720px;
}

/* ---------- КНОПКИ ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background 160ms, color 160ms, border-color 160ms, transform 160ms;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-outline-navy { color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  color: var(--navy);
  padding: 14px 0;
  font-weight: 600;
  border-bottom: 1.5px solid var(--navy);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); }
.btn .arrow { display: inline-block; transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- ШАПКА И НАВИГАЦИЯ ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4,30,66, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 48px;
  height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.logo-text .tag {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: 36px;
  justify-self: center;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color 160ms;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.header-contact .phone {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.header-contact .email {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.header .btn { padding: 12px 22px; font-size: 14px; }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { transform: scaleX(1); }

/* ---------- ГЛАВНАЯ — ГЕРОЙ И СЕКЦИИ ---------- */

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/bitrix/templates/ecotechno/css/../assets/bg.jpg") center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(4,30,66,0.92) 0%, rgba(4,30,66,0.78) 55%, rgba(4,30,66,0.55) 100%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: end;
}
.hero-meta {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-meta .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(237,28,36,0.2);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  color: #fff;
  max-width: 920px;
  line-height: 1.02;
}
.hero h1 .accent {
  color: #fff;
  position: relative;
  display: inline;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 12px;
  background: var(--red);
  z-index: -1;
  opacity: 0.85;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-top: 28px;
  max-width: 620px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-side {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 36px;
  padding-bottom: 8px;
}
.hero-side .label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.hero-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.hero-side li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}
.hero-side li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
  transform: translateY(-4px);
}
.marquee {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.marquee span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}
.stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: 28px; }
.stat-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 64px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .sym { color: var(--red); font-size: 38px; }
.stat-label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.45;
}
.stat-tag {
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--mute);
}
.stat:last-child .stat-tag { right: 0; }
.advantages {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.advantages::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(237,28,36,0.08), transparent 50%);
  pointer-events: none;
}
.advantages .section-title { color: #fff; max-width: 900px; }
.advantages .section-title small { color: rgba(255,255,255,0.6); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.adv {
  padding: 48px 36px 48px 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.adv:nth-child(3n) { border-right: 0; padding-right: 0; }
.adv:nth-child(n+1) { padding-left: 0; }
.adv:nth-child(3n+2), .adv:nth-child(3n) { padding-left: 36px; }
.adv:nth-last-child(-n+3) { border-bottom: 0; }
.adv-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.adv-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--red);
}
.adv-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.4;
}
.adv h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 14px;
}
.adv-text {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
}
.step { padding: 0 24px 0 0; position: relative; }
.step:last-child { padding-right: 0; }
.step-dot {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  position: relative;
  z-index: 1;
  transition: all 200ms;
}
.step:hover .step-dot, .step.is-active .step-dot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: scale(1.06);
}
.step h4 {
  margin-top: 28px;
  font-size: 22px;
  color: var(--navy);
}
.step-text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 230px;
}
.step-time {
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.15em;
}
.cta {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 38%;
  background: linear-gradient(180deg, rgba(237,28,36,0) 0%, rgba(237,28,36,0.08) 100%), url("/bitrix/templates/ecotechno/css/../assets/cnc-cutting.jpg") center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.cta h2 {
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  max-width: 580px;
}
.cta p.lead {
  margin-top: 24px;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 480px;
  line-height: 1.55;
}
.cta-meta {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-meta div { border-left: 2px solid var(--red); padding-left: 14px; }
.cta-meta .v {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
}
.cta-meta .k {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: #fff;
  border-radius: 4px;
  padding: 36px 28px;
  box-shadow: 0 2px 14px -6px rgba(4,30,66,0.1);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -18px rgba(4,30,66,0.2); }
.stat-card .num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 44px;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-card .num.is-small { font-size: 30px; }
.stat-card .label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- КАТАЛОГ И КАРТОЧКИ ТОВАРОВ ---------- */

.products { background: var(--bg-soft); position: relative; }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms;
}
body.p-index .pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(4,30,66,0.25);
  border-color: transparent;
}
body.p-product-detail .pcard:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 50px -20px rgba(4,30,66,0.25);
  border-color: transparent;
}
body.p-index .pcard-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2b4a, #04132c);
}
body.p-product-detail .pcard-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
body.p-index .pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.3,1);
}
body.p-product-detail .pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(.2,.7,.3,1);
}
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-no {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(4,30,66,0.7);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}
body.p-index .pcard-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.p-product-detail .pcard-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.p-index .pcard h3 { font-size: 22px; margin-bottom: 12px; }
body.p-product-detail .pcard h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 16px;
  flex: 1;
}
.pcard-text {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.pcard-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}
.pcard-specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--line);
}
.pcard-specs li:last-child { border-bottom: 0; }
.pcard-specs .k { color: var(--mute); }
.pcard-specs .v {
  color: var(--navy);
  font-weight: 600;
  font-family: var(--ff-mono);
}
.pcard-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
}
.pcard:hover .pcard-cta { color: var(--red); }
.pcard-cta .arr {
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms, color 160ms;
}
.pcard:hover .pcard-cta .arr {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.catalog { padding: var(--section) 0; background: var(--bg-soft); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pcard .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 13.5px;
}

/* ---------- СТРАНИЦА ТОВАРА ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,30,66,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: background 160ms, border-color 160ms;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- О КОМПАНИИ ---------- */

body.p-index .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
 .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-body p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}
.about-body p + p { margin-top: 18px; }
body.p-index .about-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
}
 .about-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}
body.p-index .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
}
.about-photo .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-photo .badge::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #fff;
}
.about-intro { padding: var(--section) 0; background: #fff; }
.about-photo:hover img { transform: scale(1.04); }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,30,66,0.05) 0%, rgba(4,30,66,0.35) 100%);
  transition: background 200ms;
}
.about-photo:hover::after { background: linear-gradient(180deg, rgba(4,30,66,0.1) 0%, rgba(4,30,66,0.45) 100%); }
.about-photo:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--red); }
.about-photo:hover .play-btn svg { color: #fff; }
.about-text h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 28px; }
.about-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.about-text p + p { margin-top: 20px; }
.about-stats { background: var(--bg-soft); padding: var(--section) 0; }
.about-stats h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 48px;
  text-align: center;
}
.about-clients { background: #fff; padding: var(--section) 0; }
.about-clients h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  text-align: center;
  margin-bottom: 48px;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4,30,66,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal iframe {
  width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  background: #000;
  display: block;
  height: 450px;
}
.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: background 160ms, border-color 160ms;
}
.video-modal-close:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- БЛОГ И ТЕКСТОВЫЕ СТРАНИЦЫ ---------- */

.blog-section { padding: var(--section) 0 var(--section); background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px -6px rgba(4,30,66,0.1);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -20px rgba(4,30,66,0.22); }
.article-media { aspect-ratio: 16/10; overflow: hidden; }
.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
}
.article-card:hover .article-media img { transform: scale(1.05); }
.article-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-date {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.article-title {
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 19px;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 14px;
  flex: 1;
}
.article-excerpt {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 22px;
}
.article-card .btn { align-self: flex-start; }

/* ---------- КОНТАКТЫ И ФОРМЫ ---------- */

.form-card {
  background: #fff;
  color: var(--ink);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  position: relative;
}
.form-card::before {
  content: "Заявка / 60 мин";
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card .sub {
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 28px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  padding: 10px 0;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  transition: border-color 160ms;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 80px; resize: vertical; }
.form-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}
.consent {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}
.consent a { color: var(--navy); border-bottom: 1px solid var(--line); }
.contacts-main { padding: var(--section) 0; background: #fff; }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.contact-list { display: grid; gap: 40px; }
.contact-item { display: flex; gap: 20px; }
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-body .label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.contact-body .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.contact-body .note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.5;
}
.contact-form-card {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 40px;
}
.contact-form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--red); }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 160ms;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); }
.form-field textarea { min-height: 96px; resize: vertical; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 22px;
  cursor: pointer;
}
.form-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.form-consent span {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}
.form-submit {
  width: 100%;
  justify-content: center;
  background: var(--line);
  color: #9aa2ad;
  cursor: not-allowed;
}
.form-submit.is-enabled {
  background: var(--red);
  color: #fff;
  cursor: pointer;
}
.form-submit.is-enabled:hover { background: var(--red-dark); }
.map-section { background: #fff; padding: 0; }
.map-frame { width: 100%; overflow: hidden; }
.map-frame iframe {
  width: 100%;
  height: 475px;
  border: 0;
  display: block;
}

/* ---------- ОБЩИЕ БЛОКИ СТРАНИЦ ---------- */

.section { padding: var(--section) 0; }
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 72px;
  color: #fff;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/bitrix/templates/ecotechno/css/../assets/bg.jpg") center/cover no-repeat;
  z-index: -2;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4,30,66,0.8);
  z-index: -1;
}
body.p-products .breadcrumbs,  .breadcrumbs, body.p-blog .breadcrumbs, body.p-cookies .breadcrumbs, body.p-contacts .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
body.p-product-detail .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color 160ms; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { color: rgba(255,255,255,0.35); }
.breadcrumbs .current { color: #fff; font-weight: 500; }
body.p-products .page-head h1,  .page-head h1, body.p-blog .page-head h1, body.p-contacts .page-head h1 { color: #fff; font-size: clamp(40px, 5vw, 64px); }
body.p-product-detail .page-head h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  max-width: 900px;
}
body.p-cookies .page-head h1 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 900px;
  text-transform: none;
}

/* ---------- ПОДВАЛ ---------- */

.footer {
  background: #02132c;
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .logo .name { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--ff-head);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer ul a { font-size: 14px; transition: color 160ms; }
.footer ul a:hover { color: var(--red); }
.footer .desc {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 320px;
}
.footer .contact-line {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer .contact-line .label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer .contact-line .val { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .meta {
  font-family: var(--ff-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- МОДАЛЬНЫЕ ОКНА ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4,30,66,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 40px 80px -24px rgba(4,30,66,0.45);
  padding: 40px;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}
.modal-overlay.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--mute);
  transition: background 160ms, color 160ms;
}
.modal-close:hover { background: var(--bg-soft); color: var(--navy); }
.modal-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 28px;
}
.modal-field { margin-bottom: 18px; }
.modal-field label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.modal-field label .req { color: var(--red); }
.modal-field input, .modal-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 160ms;
}
.modal-field input:focus, .modal-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.modal-field textarea { min-height: 76px; resize: vertical; }
.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 22px;
  cursor: pointer;
}
.modal-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.modal-consent span {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}
.modal-submit {
  width: 100%;
  justify-content: center;
  background: var(--line);
  color: #9aa2ad;
  cursor: not-allowed;
}
.modal-submit.is-enabled {
  background: var(--red);
  color: #fff;
  cursor: pointer;
}
.modal-submit.is-enabled:hover { background: var(--red-dark); }

/* ---------- ПРОЧЕЕ ---------- */

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
.process { background: #fff; }
.process-track {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.production { background: var(--bg-soft); position: relative; }
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: stretch;
}
.prod-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 540px;
}
.prod-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-photo .corner {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #fff;
  background: rgba(4,30,66,0.78);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}
.prod-body { display: flex; flex-direction: column; }
.prod-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
}
.prod-list {
  margin-top: 16px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}
.prod-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  gap: 16px;
}
.prod-list li:last-child { border-bottom: 1px solid var(--line); }
.prod-list .idx {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.1em;
}
.prod-list .name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.prod-list .val {
  font-family: var(--ff-mono);
  color: var(--navy);
  font-size: 13px;
}
.clients { background: #fff; }
.clients-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.clients-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 32px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand {
  aspect-ratio: 16/9;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--navy);
  transition: background 160ms;
}
.brand:hover { background: var(--bg-soft); }
.brand .name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.brand .role {
  font-family: var(--ff-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.corner-deco {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  opacity: 0.4;
}
.corner-deco.tl {
  top: 24px;
  left: 24px;
  border-right: 0;
  border-bottom: 0;
}
.corner-deco.br {
  bottom: 24px;
  right: 24px;
  border-left: 0;
  border-top: 0;
}
.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px -4px rgba(4,30,66,0.08);
  transition: transform 260ms cubic-bezier(.2,.7,.3,1), box-shadow 260ms ease, border-color 260ms;
}
.ccard:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 50px -18px rgba(4,30,66,0.22);
  border-color: transparent;
  z-index: 1;
}
.ccard-media {
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.ccard-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
}
.ccard:hover .ccard-media img { transform: scale(1.05); }
.ccard-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ccard h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 16px;
  flex: 1;
}
.tech-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}
.tech-specs li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--line);
}
.tech-specs li:last-child { border-bottom: 0; }
.tech-specs .k { color: var(--mute); }
.tech-specs .v {
  color: var(--navy);
  font-weight: 600;
  font-family: var(--ff-mono);
}
.ccard .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 13.5px;
}
.detail { padding: var(--section) 0; background: #fff; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.detail-photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms ease;
}
.detail-photo:hover img { transform: scale(1.03); }
.detail-photo .zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,30,66,0.85);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 3px;
}
.detail-photo .zoom-hint svg { width: 14px; height: 14px; }
.detail-specs h2 { font-size: 22px; margin-bottom: 24px; }
.spec-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list .k {
  font-size: 13px;
  color: var(--mute);
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.spec-list .v {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}
.description { padding: 0 0 var(--section); background: #fff; }
.description-inner { border-top: 1px solid var(--line); padding-top: 56px; }
.description h2 { font-size: 26px; margin-bottom: 24px; }
.description p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 980px;
}
.other-products { background: var(--bg-soft); padding: var(--section) 0; }
.other-products h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  text-align: center;
  margin-bottom: 56px;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(4,30,66,0.5);
  transition: transform 200ms ease, background 200ms ease;
  z-index: 1;
}
.play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
  margin-left: 4px;
  transition: color 200ms;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client-logo {
  aspect-ratio: 16/9;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 160ms, color 160ms;
}
.client-logo:hover { background: var(--bg-soft); color: var(--navy); }
.legal-nav { position: sticky; top: 112px; }
.legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.legal-nav li { border: 0; }
.legal-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  background: #f4f6f9;
  color: #041e42;
  transition: background 160ms, color 160ms;
}
.legal-nav a:hover { background: #e9ecef; }
.legal-nav a.is-active {
  background: #041e42;
  color: #ffffff;
  font-weight: 700;
}
.legal-nav a.is-active:hover { background: #041e42; }
.legal { padding: var(--section) 0 var(--section); background: #fff; }
.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-content h2 {
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 19px;
  color: var(--navy);
  margin-top: 30px;
  margin-bottom: 16px;
}
.legal-content > p:first-of-type, .legal-content .intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul {
  margin: 0 0 8px;
  padding-left: 22px;
  color: var(--ink);
}
.legal-content ul li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal-content a.inline-link {
  color: var(--red);
  border-bottom: 1px solid rgba(237,28,36,0.3);
  transition: color 160ms, border-color 160ms;
}
.legal-content a.inline-link:hover { color: var(--red-dark); border-color: var(--red-dark); }

/* ---------- Анимации и шрифты ---------- */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(237,28,36,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(237,28,36,0.05); }
  }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1100px) {
  .nav, .header-contact { display: none; }
  .header-inner { grid-template-columns: 1fr auto; gap: 20px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 32px;
  }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .adv-grid { grid-template-columns: 1fr; }
  .adv { padding: 32px 0 !important; border-right: 0; }
  .adv:last-child { border-bottom: 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-photo { min-height: 360px; }
  .clients-inner { grid-template-columns: 1fr; gap: 40px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .spec-list li { grid-template-columns: 1fr; gap: 6px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav { position: static; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .process-track::before {
    left: 31px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step { padding: 0 0 0 96px; }
  .step .step-dot {
    position: absolute;
    left: 0;
    top: 0;
  }
  .step h4 { margin-top: 12px; }
}

@media (max-width: 620px) {
  .catalog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ---------- Ссылки в карточках каталога (добавлено при сборке) ---------- */

.ccard-media a { display: block; width: 100%; height: 100%; }
.ccard-body h3 a { color: inherit; text-decoration: none; }
.ccard-body h3 a:hover { color: var(--red); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #fff;
  border-radius: 8px;
  max-width: 460px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.modal-box h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}
.modal-form label {
  display: block;
  margin-bottom: 16px;
}
.modal-form label > span {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
}
.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}
.modal-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
}
.modal-form .checkbox-label input {
  margin-top: 2px;
  flex-shrink: 0;
}
.modal-form .checkbox-label a {
  color: #1e88e5;
  text-decoration: underline;
}
.modal-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  font-size: 16px;
}
.modal-form button[type="submit"] {justify-content: center;}
.legal-content img[align="left"]{
    max-width: 100%;
    height: auto;
    margin-right: 30px;
    margin-bottom: 30px;
}
.legal-content img[align="right"]{
    max-width: 100%;
    height: auto;
    margin-left: 30px;
    margin-bottom: 30px;
}
.legal-content img[align="left"] ~ h2, .legal-content img[align="right"] ~ h2 {margin-top: 0;}
.news-detail h3, .news-detail h4, .news-detail h5 {
    font-family: var(--ff-body);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 17px;
    color: var(--navy);
    margin-top: 30px;
    margin-bottom: 16px;
}
.p-index .hero:before {display: none;}
.p-index .hero {
	background-size: cover;
    background-position: center;
}
/* End */


/* Start:/bitrix/templates/ecotechno/styles.css?1792007130140*/
.header-contact .email {    font-size: 14px !important; }
.description-inner {
    padding-top: 40px !important;
    padding-bottom: 40px;
}
/* End */
/* /bitrix/templates/ecotechno/css/style.css?179200713048192 */
/* /bitrix/templates/ecotechno/styles.css?1792007130140 */
