/* ===== INSANT® — стили сайта ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep: #0a0b0d;
  --bg-mid: #101216;
  --bg-card: #16191f;
  --accent: #ED1C24;
  --accent-bright: #ff3b42;
  --accent-dim: #b01419;
  --accent-glow: rgba(237, 28, 36, 0.18);
  --text: #f4f6f9;
  --text-muted: #9aa3af;
  --border: rgba(237, 28, 36, 0.22);
  --border-dim: rgba(255, 255, 255, 0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

::selection { background: var(--accent); color: #fff; }

/* ─── LOGO MARK ─── */
.logo-mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-mark svg { flex-shrink: 0; filter: drop-shadow(0 4px 14px rgba(237,28,36,0.45)); }
.logo-mark .logo-word {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-dim);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.6rem 3rem; background: rgba(10,11,13,0.94); }
nav .logo-word { font-size: 1.55rem; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-bright); }
.nav-cta {
  padding: 0.6rem 1.5rem; background: var(--accent); color: #fff;
  text-decoration: none; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em; border-radius: 7px; transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 8px 22px var(--accent-glow); }

/* ─── HERO (split layout: text aside, media apart) ─── */
#hero {
  position: relative; min-height: 100vh; width: 100%;
  display: flex; align-items: center;
  padding: 7rem 2rem 5rem; overflow: hidden;
}
/* Ambient background, stays behind both columns */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(237,28,36,0.18) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 12% 88%, rgba(237,28,36,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #0c0d10 0%, #07080a 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-dim) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 100%);
  animation: gridPulse 9s ease-in-out infinite;
}
@keyframes gridPulse { 0%,100%{opacity:.35} 50%{opacity:.6} }

/* Two-column inner wrapper */
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}

/* TEXT COLUMN — left aligned, offset to the side */
.hero-content { text-align: left; max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(237,28,36,0.1); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.45rem 1.1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp .8s ease .15s forwards;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

.hero-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem); line-height: 0.92;
  letter-spacing: 0.005em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s ease .3s forwards;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem); color: var(--text-muted);
  max-width: 520px; margin: 1.5rem 0 2.2rem; font-weight: 500; line-height: 1.62;
  opacity: 0; animation: fadeUp .8s ease .45s forwards;
}
.hero-sub b { color: var(--text); font-weight: 700; }

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-start;
  opacity: 0; animation: fadeUp .8s ease .6s forwards;
}

/* Trust meta row under the CTAs */
.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 2.2rem;
  margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--border-dim);
  opacity: 0; animation: fadeUp .8s ease .75s forwards;
}
.hero-meta li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta strong {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.55rem;
  line-height: 1; color: var(--text);
}
.hero-meta span { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* MEDIA COLUMN — the video / visual lives here, never under the text */
.hero-media { position: relative; opacity: 0; animation: fadeUp .9s ease .5s forwards; }
.hero-media-card {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: #0e0f12;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url('img/hero-install.jpg') center/cover no-repeat;
}
.hero-media-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,10,0.15) 0%, rgba(7,8,10,0.05) 45%, rgba(7,8,10,0.78) 100%);
}
.install-scene {
  position: absolute; left: 0; right: 0; bottom: 8%; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45; pointer-events: none;
}
.install-scene svg { width: 92%; }
.hero-media-label {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 3;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.2rem; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em;
  border-radius: 9px; text-decoration: none; cursor: pointer; transition: all .2s; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border-dim); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn .play-ic { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }

/* Central play button over the hero media card */
.hero-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 84px; height: 84px; border-radius: 50%; padding: 0;
  background: rgba(237,28,36,0.18); border: 2px solid var(--accent); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .3s;
}
.hero-play::after { content:''; width:0;height:0; border-top:14px solid transparent; border-bottom:14px solid transparent; border-left:22px solid var(--accent); margin-left:6px; transition: border-left-color .3s; }
.hero-play:hover { background: var(--accent); box-shadow: 0 0 50px var(--accent-glow); transform: translate(-50%, -50%) scale(1.06); }
.hero-play:hover::after { border-left-color:#fff; }

.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--text-muted); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  animation: fadeIn 1s ease 1.4s both;
}
.scroll-line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollDown 1.6s ease-in-out infinite; }
@keyframes scrollDown { 0%{transform:scaleY(0);transform-origin:top;opacity:1} 50%{transform:scaleY(1);transform-origin:top;opacity:1} 100%{transform:scaleY(1);transform-origin:bottom;opacity:0} }

/* ─── SECTIONS COMMON ─── */
section { padding: 7rem 2rem; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1; text-transform: uppercase; margin-bottom: 1.4rem; }
.section-title .accent { color: var(--accent); }

/* ─── STATS STRIP ─── */
#stats { background: var(--accent); padding: 2.6rem 2rem; }
.stats-row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; color: #fff; }
.stat-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.stat-label { font-size: 0.82rem; font-weight: 600; opacity: 0.9; margin-top: 0.4rem; letter-spacing: 0.02em; }

/* ─── FEATURES ─── */
#features { background: var(--bg-mid); }
.features-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.features-intro p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1.4rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: 14px; padding: 2.4rem 2rem; transition: all .3s; position: relative; overflow: hidden; }
.feature-card::before { content:''; position:absolute; top:0; left:0; width:0; height:3px; background:var(--accent); transition:width .4s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--border); }
.feature-card:hover::before { width:100%; }
.feature-num { font-family:'Oswald',sans-serif; font-weight:700; font-size:3.4rem; color:transparent; -webkit-text-stroke:1.5px var(--accent); line-height:1; margin-bottom:1.1rem; }
.feature-title { font-weight: 700; font-size: 1.18rem; margin-bottom: 0.6rem; }
.feature-desc { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; }

/* ─── HOW IT WORKS ─── */
#how { background: var(--bg-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.step { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: 16px; padding: 2.4rem; position: relative; transition: all .3s; }
.step:hover { border-color: var(--border); transform: translateY(-4px); }
.step-num { font-family:'Oswald',sans-serif; font-weight:700; font-size:4.5rem; color:var(--accent); line-height:1; margin-bottom:0.8rem; opacity:0.95; }
.step-title { font-weight: 700; font-size: 1.35rem; margin-bottom: 0.7rem; }
.step-desc { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.1rem; }
.step-tag { display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--accent-bright); background:rgba(237,28,36,0.1); border:1px solid var(--border); padding:0.35rem 0.8rem; border-radius:100px; }

/* ─── COMPARE ─── */
#compare { background: var(--bg-mid); }
.compare-wrap { margin-top: 3rem; border: 1px solid var(--border-dim); border-radius: 16px; overflow: hidden; }
.compare-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; }
.ch { padding: 1.3rem 1.4rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-card); }
.ch.hl { color: #fff; background: var(--accent); }
.cc { padding: 1.1rem 1.4rem; font-size: 0.95rem; color: var(--text-muted); display: flex; align-items: center; border-top: 1px solid var(--border-dim); }
.cc.label { color: var(--text); font-weight: 600; }
.cc.hl { background: rgba(237,28,36,0.06); color: var(--text); font-weight: 600; }
.check { color: var(--accent-bright); font-weight: 800; margin-right: 0.5rem; }
.cross { color: #4a4f57; margin-right: 0.5rem; }

/* ─── PRODUCTS ─── */
#products { background: var(--bg-deep); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); gap: 1.8rem; margin-top: 3rem; }
.product-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: 18px; overflow: hidden; transition: all .3s; }
.product-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.product-img { height: 260px; background: linear-gradient(135deg,#1a1d24,#0e1014); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.product-img img { width:100%; height:100%; object-fit:cover; }
.product-img .fallback { font-family:'Oswald',sans-serif; font-weight:700; font-size:2rem; color:var(--text-muted); }
.product-badge { position:absolute; top:1.1rem; left:1.1rem; font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:#fff; background:var(--accent); padding:0.4rem 0.9rem; border-radius:100px; }
.product-body { padding: 1.9rem; }
.product-name { font-weight: 700; font-size: 1.3rem; margin-bottom: 0.5rem; }
.product-desc { color: var(--text-muted); font-size: 0.96rem; line-height: 1.6; margin-bottom: 1.6rem; }
.product-link { display:inline-flex; align-items:center; gap:0.5rem; padding:0.85rem 1.7rem; background:var(--accent); color:#fff; text-decoration:none; font-weight:700; font-size:0.9rem; border-radius:9px; transition:all .2s; }
.product-link:hover { background:var(--accent-bright); transform:translateX(3px); }
.product-link svg { width:16px; }

/* Two marketplace buttons per card */
.buy-row { display:grid; grid-template-columns:1fr 1fr; gap:0.7rem; }
.buy-btn { display:inline-flex; align-items:center; justify-content:center; gap:0.45rem; padding:0.85rem 1rem; color:#fff; text-decoration:none; font-weight:700; font-size:0.92rem; border-radius:10px; transition:all .2s; white-space:nowrap; }
.buy-btn svg { width:15px; flex-shrink:0; }
.buy-ozon { background:#005bff; }
.buy-ozon:hover { background:#2a75ff; transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,91,255,0.35); }
.buy-wb { background:#cb11ab; }
.buy-wb:hover { background:#e21ec0; transform:translateY(-2px); box-shadow:0 10px 24px rgba(203,17,171,0.35); }
@media (max-width:400px){ .buy-row { grid-template-columns:1fr; } }

/* ─── CASES ─── */
#cases { background: var(--bg-mid); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 1.6rem; margin-top: 3rem; }
.case-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: 16px; padding: 2.2rem; transition: all .3s; }
.case-card:hover { border-color: var(--border); transform: translateY(-4px); }
.case-num { font-family:'Oswald',sans-serif; font-weight:700; font-size:3rem; color:transparent; -webkit-text-stroke:1px rgba(237,28,36,0.4); line-height:1; margin-bottom:0.6rem; }
.case-title { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.case-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── CTA BANNER ─── */
#cta-banner { background: var(--bg-deep); }
.cta-box { max-width: 1180px; margin: 0 auto; background: linear-gradient(135deg, var(--accent), var(--accent-dim)); border-radius: 24px; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-box h2 { font-family:'Oswald',sans-serif; font-weight:700; font-size:clamp(2rem,5vw,3.4rem); text-transform:uppercase; color:#fff; line-height:1.02; margin-bottom:1rem; }
.cta-box p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; font-weight:500; }
.cta-box .btn-white { background:#fff; color:var(--accent); }
.cta-box .btn-white:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,0.3); }

/* ─── CONTACT ─── */
#contact { background: var(--bg-mid); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4.5rem; margin-top: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.contact-item-value { font-size: 1.05rem; color: var(--text); font-weight: 600; }
.contact-item-value a { color: var(--accent-bright); text-decoration: none; transition: opacity .2s; }
.contact-item-value a:hover { opacity: 0.75; }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-control { background: var(--bg-card); border: 1px solid var(--border-dim); color: var(--text); padding: 0.9rem 1.1rem; font-family: inherit; font-size: 0.98rem; border-radius: 9px; outline: none; transition: border-color .2s; resize: none; }
.form-control::placeholder { color: var(--text-muted); opacity: 0.55; }
.form-control:focus { border-color: var(--accent); }
.form-submit { align-self: flex-start; padding: 1rem 2.6rem; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.95rem; border: none; border-radius: 9px; cursor: pointer; transition: all .2s; font-family: inherit; }
.form-submit:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; cursor: pointer;
}
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px;
  border: 1.5px solid var(--border); border-radius: 5px; background: var(--bg-card);
  cursor: pointer; transition: all .18s; position: relative;
}
.form-consent input[type="checkbox"]:hover { border-color: var(--accent); }
.form-consent input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.form-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5.5px; top: 2px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-consent a { color: var(--accent-bright); text-decoration: underline; }
.form-consent a:hover { color: var(--accent); }
.form-note { font-size: 0.78rem; color: var(--text-muted); opacity: 0.7; margin-top: 0.3rem; }

/* ─── FOOTER ─── */
footer { background: var(--bg-deep); border-top: 1px solid var(--border-dim); padding: 3rem 2rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-right { font-size: 0.82rem; color: var(--text-muted); opacity: 0.6; }

/* ─── PHOTO HELPERS ─── */
.feature-banner { margin: 0 0 3rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-dim); position: relative; }
.feature-banner img { width: 100%; height: clamp(220px, 38vw, 440px); object-fit: cover; display: block; }
.feature-banner .cap { position: absolute; left: 1.6rem; bottom: 1.4rem; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(1.2rem, 3vw, 2rem); text-transform: uppercase; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.8); }
.feature-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,8,10,0.7) 0%, transparent 45%); pointer-events: none; }

.step-img { width: 100%; height: 230px; object-fit: cover; border-radius: 11px; margin-bottom: 1.5rem; border: 1px solid var(--border-dim); }

/* ─── GALLERY / МОНТАЖ ─── */
#gallery { background: var(--bg-deep); }
.section-sub { max-width: 640px; margin: 1.2rem 0 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 1.2rem; margin-top: 3rem; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--border-dim); background: var(--bg-card); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-cap { position: absolute; left: 1rem; bottom: 0.9rem; right: 1rem; font-weight: 700; font-size: 0.95rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.85); z-index: 2; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,8,10,0.65) 0%, transparent 50%); pointer-events: none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }
.reveal { opacity:0; transform:translateY(34px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Install-scene animation */
.gasket-slide { animation: gasketSlide 4s ease-in-out infinite; }
@keyframes gasketSlide { 0%{transform:translateX(-90px);opacity:0} 25%{opacity:1} 55%{transform:translateX(0);opacity:1} 100%{transform:translateX(0);opacity:1} }
.seal-flow { stroke-dasharray:240; animation: sealFlow 4s ease-in-out infinite; }
@keyframes sealFlow { 0%,55%{stroke-dashoffset:240;opacity:0} 75%{opacity:1} 100%{stroke-dashoffset:0;opacity:1} }
.wrench-turn { transform-origin: 760px 100px; animation: wrenchTurn 4s ease-in-out infinite; }
@keyframes wrenchTurn { 0%,60%{transform:rotate(0)} 80%{transform:rotate(-22deg)} 100%{transform:rotate(0)} }

/* Mobile */
@media (max-width: 880px) {
  nav { padding: 0.9rem 1.3rem; }
  nav.scrolled { padding: 0.7rem 1.3rem; }
  .nav-links { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .features-intro { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1.6fr 1fr; }
  .ch:nth-child(3), .ch:nth-child(4), .cc:nth-child(4n+3), .cc:nth-child(4n) { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4.5rem 1.3rem; }
  #hero { padding: 6.5rem 1.3rem 4rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-media { order: -1; }
  .hero-media-card { aspect-ratio: 16 / 10; }
  .hero-content { max-width: 100%; }
  .hero-meta { gap: 1.6rem; margin-top: 2rem; padding-top: 1.4rem; }
  .hero-meta strong { font-size: 1.3rem; }
  .cta-box { padding: 3rem 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 0.8rem; }
  .gallery-item.wide { grid-column: span 2; }
  .step-img { height: 200px; }
}
