/* ==========================================================================
   ЭкоПолимер - landing styles
   Built on the taste-skill methodology: dark forest palette, single locked
   green accent, diversified layout families, no em-dashes, real photography.
   Radius scale (documented, applied everywhere): buttons = pill, cards = 18px,
   inputs = 12px, image frames = 18px.
   ========================================================================== */

:root {
  /* --- color: dark forest, one accent (green) locked --- */
  --bg:          #0c1712;
  --bg-elev:     #0f1e17;
  --card:        #12241c;
  --card-2:      #162c22;
  --bone:        #eceee6;               /* light image-frame backing */
  --text:        #eaf1ea;
  --muted:       #a1b3a6;
  --muted-2:     #7d9184;
  --line:        rgba(191, 221, 201, 0.10);
  --line-2:      rgba(191, 221, 201, 0.18);
  --accent:      #43c072;
  --accent-2:    #57d187;
  --accent-ink:  #06170d;               /* text sitting on the accent fill */
  --accent-soft: rgba(67, 192, 114, 0.12);
  --accent-line: rgba(67, 192, 114, 0.35);

  /* --- type --- */
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-sans:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  /* --- shape --- */
  --r-card:  18px;
  --r-input: 12px;
  --r-pill:  999px;

  /* --- layout --- */
  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  /* --- depth (tinted to bg hue, never pure black) --- */
  --shadow: 0 24px 60px -24px rgba(2, 12, 7, 0.75);
  --shadow-lg: 0 40px 90px -30px rgba(2, 12, 7, 0.85);

  /* --- z --- */
  --z-nav: 100;
  --z-grain: 120;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* grain overlay removed: mix-blend-mode over the playing video caused per-frame
   recompositing (video lag). */

/* ---------- shared building blocks ---------- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent-line);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

.h-section {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 18ch;
  margin-top: 18px;
}
.section-head { max-width: 60ch; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 18px; max-width: 56ch; }

.lede { color: var(--muted); font-size: 1.08rem; }

/* ---------- buttons (pill radius, always) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 15px 26px; white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .2s, border-color .2s, color .2s;
  will-change: transform;
}
.btn i { font-size: 1.15em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent-2); }
.btn-ghost:active { transform: translateY(1px) scale(.99); }
.btn-block { width: 100%; }

/* ---------- reveal-on-scroll (IntersectionObserver toggles .in) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .btn:active { transition: none; }
}

/* =========================================================================
   NAV  (single line, <= 80px)
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: 72px; display: flex; align-items: center;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.brand span b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.95rem; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text); white-space: nowrap; }
.nav-phone:hover { color: var(--accent-2); }
.nav .btn { padding: 11px 20px; font-size: 0.92rem; }

.nav-toggle { display: none; font-size: 1.6rem; color: var(--text); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 96px var(--pad) 40px;
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.7rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; }
.mobile-menu .m-contact { margin-top: auto; color: var(--muted); font-family: var(--font-mono); font-size: 0.9rem; line-height: 2; }

/* =========================================================================
   HERO  (looping video background, left-aligned content, scrim for contrast)
   ========================================================================= */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,17,12,0.94) 0%, rgba(8,17,12,0.72) 42%, rgba(8,17,12,0.30) 78%, rgba(8,17,12,0.15) 100%),
    linear-gradient(0deg, rgba(8,17,12,0.85) 0%, rgba(8,17,12,0.0) 34%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 760px; padding-top: 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2);
  padding: 8px 14px; border: 1px solid var(--accent-line); border-radius: var(--r-pill);
  background: var(--accent-soft);
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  margin: 26px 0 0; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 24px; font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: #d3e0d6; max-width: 54ch; line-height: 1.55;
}
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   TRUST BAR  (metric row, mono figures) - layout family #2
   ========================================================================= */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 34px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.trust-num span { color: var(--accent); }
.trust-label { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* =========================================================================
   PRODUCTS  (asymmetric bento, 3 cells) - layout family #3
   ========================================================================= */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s;
}
.p-card:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.p-figure { position: relative; background: var(--bone); overflow: hidden; aspect-ratio: 4 / 3; }
.p-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.p-card:hover .p-figure img { transform: scale(1.05); }
.p-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,17,12,0.28), transparent 45%); }
.p-index { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: #fff; background: rgba(8,17,12,0.55); border: 1px solid rgba(255,255,255,.16); padding: 5px 10px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.p-body { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.p-body h3 { font-size: 1.32rem; }
.p-body p { color: var(--muted); font-size: 0.98rem; }
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .01em;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent-line);
}
.p-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.p-link i { transition: transform .25s; color: var(--accent); }
.p-card:hover .p-link i { transform: translateX(4px); }

/* =========================================================================
   PRODUCTION VIDEO SHOWCASE  (full-bleed background video, centered) - family #3b
   ========================================================================= */
/* compact split: small portrait video on the left, text centered on the right,
   whole section fits in one screen */
.showcase { background: var(--bg); border-block: 1px solid var(--line); padding-block: clamp(52px, 7vh, 92px); }
.showcase-grid { display: grid; grid-template-columns: auto minmax(0, 520px); gap: clamp(32px, 5vw, 76px); align-items: center; justify-content: center; }

.showcase-video {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  height: min(82vh, 720px); aspect-ratio: 464 / 848;
  background: #0a1510; border: 1.5px solid var(--accent-line); box-shadow: var(--shadow);
}
.showcase-fg { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,17,12,0.62) 0%, transparent 26%);
}
.showcase-tag {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--accent-2); padding: 7px 12px; border: 1px solid var(--accent-line);
  border-radius: var(--r-pill); background: rgba(8,17,12,0.78);
  cursor: default; user-select: none; pointer-events: none; /* a label plate, not a button */
}
.showcase-tag i { font-size: 1.15em; }

.showcase-text { display: flex; flex-direction: column; justify-content: center; }
.showcase-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 16ch; }
.showcase-text h2 em { font-style: normal; color: var(--accent); }
.showcase-text p { color: var(--muted); margin-top: 20px; max-width: 44ch; font-size: 1.06rem; }
.showcase-text .btn { margin-top: 28px; align-self: flex-start; }

/* =========================================================================
   PARAMS  (split: statement + spec tiles, mono numbers) - layout family #4
   ========================================================================= */
.params { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.params-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.params-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.params-copy p { color: var(--muted); margin-top: 22px; max-width: 44ch; }
.params-copy .btn { margin-top: 32px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.spec:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.spec-k { font-size: 0.86rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.spec-v { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 14px; letter-spacing: -0.02em; }
.spec-v small { font-family: var(--font-sans); font-size: 0.9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.spec i { position: absolute; right: 18px; bottom: 16px; font-size: 1.6rem; color: var(--accent); opacity: .5; }

/* =========================================================================
   APPLICATIONS  (horizontal scroll-snap, tinted cards) - layout family #5
   ========================================================================= */
.apps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.apps-hint { color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.apps-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 18px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: var(--accent-line) transparent;
}
.apps-rail::-webkit-scrollbar { height: 6px; }
.apps-rail::-webkit-scrollbar-thumb { background: var(--accent-line); border-radius: 6px; }
.app-card {
  scroll-snap-align: start; border-radius: var(--r-card); padding: 30px;
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s;
}
.app-card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.app-card:nth-child(3n+1) { background: linear-gradient(160deg, var(--card-2), var(--card)); }
.app-card:nth-child(3n+2) { background: linear-gradient(160deg, #123122, var(--card)); }
.app-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); font-size: 1.6rem; }
.app-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; margin-top: 26px; }
.app-card p { color: var(--muted); font-size: 0.96rem; margin-top: 12px; }
.app-no { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* =========================================================================
   RECYCLING  (full-bleed media feature, eco story) - layout family #6
   ========================================================================= */
.recycle { position: relative; overflow: hidden; }
.recycle-bg { position: absolute; inset: 0; z-index: 0; }
.recycle-bg img { width: 100%; height: 100%; object-fit: cover; }
.recycle-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,17,12,0.95) 0%, rgba(8,17,12,0.82) 46%, rgba(10,28,18,0.55) 100%);
}
.recycle .container { position: relative; z-index: 1; }
.recycle-inner { max-width: 620px; padding-block: clamp(90px, 13vw, 170px); }
.recycle-inner h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 16ch; margin-top: 20px; }
.recycle-inner p { color: #cdddd1; margin-top: 24px; font-size: 1.08rem; max-width: 48ch; }
.recycle-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.recycle-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--accent-2); }
.recycle-badge i { font-size: 1.3rem; }

/* =========================================================================
   WHY US  (editorial 2-col, sticky heading + list) - layout family #7
   ========================================================================= */
.why-wrap { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 6vw, 90px); }
.why-left { position: sticky; top: 108px; align-self: start; }
.why-left h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 18px; }
.why-left p { color: var(--muted); margin-top: 22px; max-width: 34ch; }
.why-list { display: flex; flex-direction: column; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.why-item:first-child { border-top: none; padding-top: 0; }
.why-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent-2); font-size: 1.5rem; }
.why-item h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.02em; }
.why-item p { color: var(--muted); margin-top: 8px; font-size: 0.99rem; max-width: 48ch; }

/* =========================================================================
   CONTACT  (split: details + request form) - layout family #8
   ========================================================================= */
.contact { background: var(--bg-elev); border-top: 1px solid var(--line); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact-left h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-top: 16px; }
.contact-left > p { color: var(--muted); margin-top: 20px; max-width: 42ch; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.c-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: center; }
.c-row i { width: 46px; height: 46px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-2); font-size: 1.3rem; }
.c-k { font-size: 0.8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.c-v { font-size: 1.06rem; font-weight: 600; margin-top: 2px; }
.c-v:hover { color: var(--accent-2); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.form-card > p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field label span { color: var(--accent); }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-input);
  padding: 14px 16px; color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 96px; }
.form-hint { color: var(--muted-2); font-size: 0.82rem; margin-top: 16px; text-align: center; }
.form-card .btn { margin-top: 24px; }
.form-ok {
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: var(--r-input);
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2);
  font-size: 0.96rem; align-items: center; gap: 10px;
}
.form-ok.show { display: flex; }
.form-ok i { font-size: 1.3rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 88px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { font-size: 1.3rem; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 32ch; font-size: 0.96rem; }
.f-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-family: var(--font-sans); font-weight: 700; }
.f-col a, .f-col span { display: block; color: var(--muted); margin-top: 14px; font-size: 0.96rem; transition: color .2s; }
.f-col a:hover { color: var(--accent-2); }
.footer-bottom { margin-top: clamp(48px, 7vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.88rem; }
.footer-bottom a:hover { color: var(--muted); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .why-left { position: static; }
}

@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .products-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .showcase-grid { grid-template-columns: 1fr; gap: 34px; justify-items: center; }
  .showcase-video { height: min(68vh, 560px); }
  .showcase-text { width: 100%; max-width: 480px; }
  .params-wrap { grid-template-columns: 1fr; gap: 40px; }
  .why-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 620px) {
  .nav-right .btn-primary { display: none; }   /* CTA lives in the drawer on mobile */
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: none; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-inner { padding-top: 68px; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 3rem); letter-spacing: -0.02em; hyphens: auto; }
  .hero-sub { font-size: 1.02rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  .showcase-video { height: min(60vh, 500px); }
  .showcase-text p { font-size: 1.02rem; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.8rem; }
}
