/* ==========================================================================
   Sentra Security — monochrome shield identity, HUD / surveillance styling
   ========================================================================== */
:root {
  --bg: #060708;
  --bg-2: #0b0d10;
  --surface: #101317;
  --surface-2: #161a1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f6f8;
  --muted: #9aa3ad;
  --dim: #5f6873;
  --white: #ffffff;
  --signal: #9dff57;          /* "live / online" indicator only */
  --rec: #ff3b3b;
  --wa: #25d366;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--white); color: #000; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Background grid used across sections */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--white); opacity: .6; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 14px; max-width: 16ch; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }
.mono { font-family: var(--font-mono); }

section { position: relative; padding: 120px 0; }
@media (max-width: 760px) { section { padding: 80px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: #000; }
.btn-primary:hover { background: #dfe3e7; }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--white); }
.btn-wa { background: var(--wa); color: #04210f; }
.btn-wa:hover { background: #3be27c; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(6, 7, 8, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav-links a { font-size: 14px; white-space: nowrap; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--white); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); width: 44px; height: 44px; border-radius: 12px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--white); margin: 4px auto; transition: transform .3s; }

@media (max-width: 1000px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(6,7,8,.97); border-bottom: 1px solid var(--line); padding: 16px 16px 24px;
  }
  .nav-links.open a { font-size: 18px; padding: 10px 0; width: 100%; color: var(--text); }
  .nav-links.open a.active::after { display: none; }
}
@media (max-width: 420px) { .nav-cta .btn-primary { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: 140px 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05) brightness(.6); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,8,.96) 0%, rgba(6,7,8,.75) 45%, rgba(6,7,8,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.hero-scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.05), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan { from { top: -140px; } to { top: 100%; } }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.2vw, 96px); font-weight: 600; letter-spacing: -0.035em; margin: 22px 0 22px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.85); }
.hero p.lead { font-size: clamp(17px, 1.5vw, 19px); color: #c4cad1; max-width: 52ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.04);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #d4d9de;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(157,255,87,.6); animation: pulse 2s infinite; }
.dot.rec { background: var(--rec); box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation-name: pulse-rec; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(157,255,87,0); } 100% { box-shadow: 0 0 0 0 rgba(157,255,87,0); } }
@keyframes pulse-rec { 70% { box-shadow: 0 0 0 10px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line-2); }
.hero-stats div { padding: 22px 18px 0 0; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.hero-stats span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* HUD panel in hero */
.hud {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: rgba(10,12,14,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 22px; overflow: hidden;
}
.hud-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.hud-top span { display: inline-flex; align-items: center; gap: 8px; }
.hud-frame { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: #000; }
.hud-frame img { width: 100%; height: 100%; object-fit: cover; }
.hud-frame .ts { position: absolute; left: 12px; top: 10px; font-family: var(--font-mono); font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 4px; }
.hud-frame .target {
  position: absolute; width: 26%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.85);
  left: 54%; top: 38%; animation: track 7s ease-in-out infinite;
}
.hud-frame .target::before { content: "MOTION"; position: absolute; top: -18px; left: -1px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; background: #fff; color: #000; padding: 1px 5px; }
@keyframes track { 0%,100% { left: 54%; top: 38%; } 33% { left: 22%; top: 48%; } 66% { left: 62%; top: 22%; } }
.hud-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hud-rows div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.hud-rows small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.hud-rows b { font-family: var(--font-head); font-weight: 500; font-size: 15px; }

/* corner brackets */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid rgba(255,255,255,.9); pointer-events: none; z-index: 3;
}
.brackets::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.brackets::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* ---------- Marquee strip ---------- */
.strip { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 56px; align-items: center; white-space: nowrap; }
.strip-track span::after { content: "◆"; font-size: 8px; color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 34px 28px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); transition: background .3s; }
.feature:last-child { border-right: 0; }
.feature:hover { background: rgba(255,255,255,.04); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 24px; background: rgba(255,255,255,.03); }
.icon-box svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); }
.card-media { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px; background: rgba(6,7,8,.88); color: #fff; border: 1px solid rgba(255,255,255,.12);
}
.tag.light { background: #fff; color: #000; border-color: #fff; }
.card-body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.card h3 { font-size: 19px; margin: 6px 0 14px; font-weight: 500; line-height: 1.25; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.chip { font-size: 12px; color: #c9ced4; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.price { font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.price small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); font-weight: 400; text-transform: uppercase; }
.card-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent; transition: background .2s, border-color .2s, color .2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--white); color: #000; border-color: var(--white); }
.icon-btn.wa:hover { background: var(--wa); border-color: var(--wa); color: #04210f; }

.center-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Trail cam spotlight ---------- */
.spotlight { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.spot-media { max-width: 520px; justify-self: center; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.spot-media img { width: 100%; }
.spot-copy h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 16px 0 18px; }
.spot-copy > p { color: var(--muted); margin: 0 0 28px; max-width: 50ch; }
.kit { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit li { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.kit li svg { width: 16px; height: 16px; flex: none; color: var(--signal); }
.spot-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.spot-price strong { font-family: var(--font-head); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.spot-price span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .spot-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .kit { grid-template-columns: 1fr; } }

/* ---------- Footage gallery ---------- */
.footage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.feed { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.feed img, .feed video { width: 100%; height: 100%; object-fit: cover; }
.feed.big { grid-row: span 2; min-height: 420px; }
.feed-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 3; display: flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px);
}
.feed-rec { position: absolute; right: 16px; top: 14px; z-index: 3; display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 6px; }
.feed-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; grid-column: 1 / -1; }
.feed-row .feed { aspect-ratio: 16/9; }
@media (max-width: 860px) {
  .footage { grid-template-columns: 1fr; }
  .feed.big { grid-row: auto; min-height: 0; aspect-ratio: 16/10; }
  .feed-row { grid-template-columns: 1fr; }
  .footage > .feed:not(.big) { aspect-ratio: 16/9; }
}

/* ---------- Captured on Sentra: hunting / surveillance ---------- */
.cap-group { margin-top: 56px; scroll-margin-top: 90px; }
.cap-intro { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; margin-bottom: 24px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.cap-intro h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.2; margin: 8px 0 12px; }
.cap-intro p { color: var(--muted); margin: 0 0 12px; }
.cap-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.cap-link:hover { text-decoration: underline; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { margin: 0; aspect-ratio: 16/9; cursor: zoom-in; }
.cap.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cap-grid.two { grid-template-columns: repeat(2, 1fr); }
.cap-grid.six { grid-template-columns: repeat(6, 1fr); }
.cap-grid.six .cap { grid-column: span 2; }
.cap-grid.six .cap.wide { grid-column: span 4; }
.cap-grid.six .cap.span { grid-column: span 3; }
.cap img, .cap video { display: block; transition: transform .4s; }
.cap:hover img, .cap:hover video { transform: scale(1.03); }
.cap:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (max-width: 860px) {
  .cap-group { margin-top: 40px; }
  .cap-intro { grid-template-columns: 1fr; gap: 4px; }
  .cap-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cap.wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
  .cap-grid.six { grid-template-columns: 1fr 1fr; }
  .cap-grid.six .cap, .cap-grid.six .cap.span { grid-column: auto; }
  .cap-grid.six .cap.wide, .cap-grid.six .cap:last-child { grid-column: 1 / -1; }
  .cap .feed-label { left: 8px; bottom: 8px; font-size: 9px; letter-spacing: .06em; padding: 4px 6px; }
}

/* Footage lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.92); }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* ---------- Product 360 viewer ---------- */
.modal-media { touch-action: pan-y; }
.modal-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: grab; outline: none; touch-action: pan-y; }
.modal-media canvas:active { cursor: grabbing; }
.modal-media.spin canvas { display: block; }
.modal-media.spin > img { visibility: hidden; }
.spin-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: none; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.modal-media.has-spin .spin-bar { display: flex; }
.spin-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #0b0c0e; pointer-events: auto; flex: none; }
.spin-tabs button { border: 0; background: none; color: #c9cdd2; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.spin-tabs button.active { background: #fff; color: #000; }
.spin-note { color: #5b6066; font: 400 10px/1.3 var(--font-mono); text-align: right; }
.modal-media:not(.spin) .spin-note { display: none; }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution { padding: 30px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.solution:hover { border-color: var(--line-2); transform: translateY(-4px); }
.solution .num { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: .14em; }
.solution h3 { font-size: 22px; margin: 44px 0 10px; }
.solution p { color: var(--muted); margin: 0; font-size: 15px; }
.solution .icon-box { position: absolute; top: 24px; right: 24px; margin: 0; }
@media (max-width: 1020px) { .solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); counter-reset: s; }
.step { padding: 32px 32px 0 0; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .14em; }
.step h3 { font-size: 24px; margin: 18px 0 10px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { padding: 28px 0 0; } }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 40px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.contact-card h2 { font-size: clamp(32px, 4vw, 50px); margin: 16px 0 16px; }
.contact-card > p { color: var(--muted); margin: 0 0 32px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.contact-list b { font-weight: 500; word-break: break-word; }
.contact-list a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); min-height: 420px; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: 1fr; } .contact-card { padding: 28px 22px; } .map { min-height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 120px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 64px; width: auto; margin-bottom: 18px; }
.foot-grid p { color: var(--muted); font-size: 14px; max-width: 36ch; margin: 0; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-grid ul a { color: #c9ced4; }
.foot-grid ul a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.hz-credit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hz-credit svg { flex: none; }
.hz-credit b { color: #fff; font-weight: 600; }
.hz-credit:hover b { color: #5cc8ff; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Floating call / WhatsApp ---------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; box-shadow: 0 14px 34px -10px rgba(0,0,0,.7); transition: transform .25s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.02); }
.fab svg { width: 24px; height: 24px; }
.fab-wa { background: var(--wa); color: #fff; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.6s infinite; pointer-events: none; }
.fab-wa { position: relative; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%,100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.fab-call { background: #fff; color: #000; }
@media (max-width: 640px) {
  .float-actions { right: 14px; bottom: 14px; }
  .fab { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab span { display: none; }
}

/* ---------- Products page ---------- */
.page-hero { padding: 160px 0 56px; overflow: hidden; }
.page-hero .grid-bg { position: absolute; inset: 0; opacity: .7; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 18px 0 18px; letter-spacing: -0.035em; }
.page-hero p { color: var(--muted); max-width: 58ch; margin: 0; font-size: 17px; }

.toolbar {
  position: sticky; top: 76px; z-index: 30; padding: 16px 0; margin-bottom: 32px;
  background: rgba(6,7,8,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line);
}
.toolbar .container { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; color: #c9ced4; transition: all .2s;
}
.filter:hover { border-color: #fff; color: #fff; }
.filter.active { background: #fff; color: #000; border-color: #fff; }
.filter .count { font-family: var(--font-mono); font-size: 11px; opacity: .6; margin-left: 4px; }
.tools-right { display: flex; gap: 8px; flex-wrap: wrap; }
.search, .select {
  height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  padding: 0 16px; font: inherit; font-size: 14px; outline: none;
}
.search { width: 220px; padding-left: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa3ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; }
.search:focus, .select:focus { border-color: #fff; }
.select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239aa3ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: var(--surface); }
.results-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); display: none; }
.vat-note { margin-top: 40px; font-size: 13px; color: var(--dim); font-family: var(--font-mono); letter-spacing: .06em; }
@media (max-width: 960px) {
  .toolbar { top: 76px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .tools-right { width: 100%; }
  .search { flex: 1; width: auto; min-width: 0; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); animation: fade .25s; }
.modal-panel {
  position: relative; width: 100%; max-width: 1080px; max-height: calc(100svh - 48px); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1.1fr; animation: rise .35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-media { background: #fff; position: relative; display: flex; align-items: center; }
.modal-media img { width: 100%; height: 100%; object-fit: contain; }
.modal-body { padding: 36px 36px 28px; overflow-y: auto; max-height: calc(100svh - 48px); display: flex; flex-direction: column; }
.modal-body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 16px; font-weight: 500; line-height: 1.2; }
.modal-body .intro { color: var(--muted); margin: 0 0 18px; }
.spec-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 8px 0 10px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 26px; }
.spec-list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #d6dbe0; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 1.5px; background: #fff; }
.modal-foot {
  position: sticky; bottom: -28px; margin: auto -36px -28px; padding: 18px 36px 22px;
  background: linear-gradient(180deg, rgba(16,19,23,.85), var(--surface) 35%); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(6,7,8,.85); border: 1px solid var(--line-2); display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: #fff; color: #000; }
@media (max-width: 860px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { grid-template-columns: 1fr; max-height: 92svh; border-radius: 24px 24px 0 0; overflow-y: auto; }
  .modal-media { aspect-ratio: 4/3; }
  .modal-body { max-height: none; overflow: visible; padding: 26px 20px 20px; }
  .modal-foot { margin: auto -20px -20px; padding: 16px 20px 20px; bottom: 0; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
