/* ==========================================================================
   WR Automação — design tokens
   Refs: Apple (glass nav, display type, pill CTAs, solid dark/light tiles)
         Human Academy (iridescent 3D, liquid-glass cards, expo easing)
   ========================================================================== */
:root {
  --bg: #05070a;
  --bg-2: #0b0f15;
  --light: #f5f5f7;
  --light-2: #ffffff;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #6e6e73;
  --dark-ink: #1d1d1f;
  --dark-ink-2: #515154;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(0, 0, 0, .1);
  --blue: #1f6bff;
  --cyan: #3de0ff;
  --fire: #ff5a36;
  --ok: #30d158;
  --grad: linear-gradient(100deg, #3de0ff 0%, #5b8cff 45%, #9d7bff 100%);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-apple: cubic-bezier(.28, .11, .32, 1);
  --r: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --display: "Inter Tight", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Inter", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* WebGL canvas: fixed; visible only where sections are transparent (hero + CTA) */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none; opacity: 1; transition: opacity .6s var(--ease);
}
#gl.is-off { opacity: 0; }
main, .footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.eyebrow--fire { color: var(--fire); }
.display {
  font-weight: 700; font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.045em;
}
.h1 { font-weight: 700; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; letter-spacing: -.015em; color: var(--ink); max-width: 44ch; }
.lead--muted { color: var(--ink-2); }
.lead--muted strong.w { color: var(--ink); font-weight: 600; }
.lead--dark { color: var(--dark-ink); }
.body-muted { color: var(--ink-2); max-width: 52ch; }
.body-dark { color: var(--dark-ink-2); max-width: 52ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* split-text masks */
.line-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word { display: inline-block; will-change: transform; }

/* ---------- Buttons (Apple pill) ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 980px; border: 1px solid transparent;
  font: 500 16px/1 var(--text); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, box-shadow .5s var(--ease), color .3s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 34px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(31, 107, 255, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background: #3b7dff; box-shadow: 0 16px 40px -10px rgba(31, 107, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--dark { background: var(--dark-ink); color: #fff; }
.btn--dark:hover { background: #000; }
.arrow { width: 14px; height: 14px; position: relative; display: inline-block; transition: transform .5s var(--ease); }
.arrow::before { content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn:hover .arrow, .card:hover .arrow { transform: translateX(4px); }

/* ---------- Nav (Apple glass) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5, 7, 10, .62);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.nav.is-light { background: rgba(245, 245, 247, .78); color: var(--dark-ink); border-bottom-color: rgba(0,0,0,.06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 60px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__img { height: 44px; width: auto; }
/* the logo's silver lettering is made for dark backgrounds, so on the light nav it sits on a dark badge */
.nav .logo { padding: 3px 8px; margin-left: -8px; border-radius: 12px; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.nav.is-light .logo { background: #05070a; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; }
.nav__links a { opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet { display: none; }

@media (max-width: 1140px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__sheet {
    display: grid; gap: 4px; padding: 0 var(--gutter); max-height: 0; overflow: hidden;
    transition: max-height .6s var(--ease), padding .6s var(--ease);
  }
  .nav__sheet a { font: 600 26px/1.2 var(--display); letter-spacing: -.02em; padding: 8px 0; }
  .nav__sheet .btn { font: 500 16px/1 var(--text); margin-top: 12px; }
  .nav.is-open { background: rgba(5,7,10,.94); color: var(--ink); }
  .nav.is-open .nav__sheet { max-height: 90vh; padding: 12px var(--gutter) 28px; }
}

/* ---------- Hero (sticky scroll sequence) ---------- */
.hero { position: relative; height: 340vh; background: transparent; }
.hero::before { /* soft studio vignette behind the lens */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(31,107,255,.16), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(61,224,255,.06), transparent 70%);
}
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0 var(--gutter); }
.hero__frame--1 { align-items: center; text-align: center; padding-top: clamp(96px, 13vh, 130px); }
.hero__frame--1 .display { max-width: 13ch; }
.hero__frame--1 .lead { margin-top: 24px; color: var(--ink-2); max-width: 40ch; }
.hero__frame--2, .hero__frame--3 {
  justify-content: center; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
  opacity: 0; visibility: hidden;
}
.hero__big { font: 700 clamp(38px, 5.6vw, 84px)/1 var(--display); letter-spacing: -.045em; max-width: 13ch; }
.hero__big span { display: block; }
.hero__big--dim { color: var(--ink-3); margin-top: .35em; }
.hero__frame--3 .h2 { max-width: 16ch; margin-bottom: 36px; }
.hero__frame--3 .btn { align-self: flex-start; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(var(--ink-3), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero__specs {
  position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  padding: 0 var(--gutter); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0;
}
@media (max-width: 760px) {
  .hero__frame--2, .hero__frame--3 { justify-content: flex-start; padding-top: 110px; }
  .hero__specs { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 900px; }
.sec-head .h1 { margin-bottom: 28px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .h1 { margin-left: auto; margin-right: auto; }

[data-theme="dark"].section { background: var(--bg); }
[data-theme="light"] { background: var(--light); color: var(--dark-ink); }
[data-theme="light"] .eyebrow { color: var(--blue); }

/* rounded "sheet" edges between themes — the cinematic stacking feel */
.projects, .maintenance, .home, .partners { border-radius: var(--r) var(--r) 0 0; }
.solutions, .cftv, .automation, .fire, .diff { border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1); }
.projects, .maintenance, .home, .partners { margin-top: calc(var(--r) * -1); }

/* ---------- 2. Solutions bento ---------- */
.solutions { padding-top: clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 380px; padding: 36px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(22,27,39,.92) 0%, rgba(10,13,20,.96) 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -1px rgba(255,255,255,.03), 0 20px 50px rgba(0,0,0,.45);
  transition: transform .8s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 1px rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(61,160,255,.08); }
.card__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61,180,255,.18), transparent 60%);
}
.card:hover .card__glow { opacity: 1; }
.card--wide { grid-column: span 2; }
.card__num { position: absolute; top: 32px; right: 36px; font: 500 13px/1 var(--text); color: var(--ink-3); letter-spacing: .08em; }
.icon { width: 52px; height: 52px; fill: none; stroke: url(#lg); stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.card h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; margin: 56px 0 12px; }
.card p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.card__more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 15px; font-weight: 500; }
.card--wide { background:
  radial-gradient(80% 120% at 100% 0%, rgba(31,107,255,.28), transparent 60%),
  linear-gradient(160deg, rgba(22,27,39,.92) 0%, rgba(10,13,20,.96) 100%); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card--wide { grid-column: auto; } .card { min-height: 320px; padding: 28px; } .card__num { top: 26px; right: 28px; } }

/* ---------- 3. Projects ---------- */
.projects__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.projects__side { position: sticky; top: 120px; }
.highlight { font: 600 clamp(26px, 2.9vw, 40px)/1.22 var(--display); letter-spacing: -.028em; margin-bottom: 40px; }
.highlight .hw { color: rgba(29, 29, 31, .16); transition: color .2s; }
.highlight--dark .hw { color: rgba(245, 245, 247, .16); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid var(--line-dark); }
.steps li { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font: 600 clamp(19px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -.02em; }
.steps span { font: 500 13px/1 var(--text); color: var(--blue); letter-spacing: .08em; }
@media (max-width: 860px) { .projects__grid { grid-template-columns: 1fr; } .projects__side { position: static; } }

/* ---------- 4. CFTV ---------- */
.plan {
  margin: 0 0 clamp(56px, 7vw, 96px); padding: clamp(12px, 2vw, 24px); border-radius: var(--r);
  background: linear-gradient(180deg, #0b1018, #070a0f);
  box-shadow: inset 0 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.05), 0 40px 100px rgba(0,0,0,.5);
}
.plan__svg { width: 100%; height: auto; }
.plan__walls path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 3; stroke-linecap: round; }
.plan__cones .cone { transform-box: fill-box; }
.plan__cables path { fill: none; stroke: #5b8cff; stroke-width: 2; stroke-dasharray: 6 8; opacity: .7; }
.plan__cams circle { fill: #fff; stroke: var(--cyan); stroke-width: 4; }
.plan__rack rect { fill: #111827; stroke: #5b8cff; stroke-width: 2; }
.plan__rack text { fill: #cfe0ff; font: 600 13px var(--text); letter-spacing: .08em; }
.plan__target rect { fill: rgba(61,224,255,.06); stroke: var(--cyan); stroke-width: 2; }
.plan__target circle { fill: var(--cyan); }
.plan__target text { fill: var(--cyan); font: 600 13px var(--text); }
.plan__target--b rect { stroke: #9d7bff; fill: rgba(157,123,255,.06); }
.plan__target--b circle { fill: #9d7bff; } .plan__target--b text { fill: #b9a5ff; }
.plan__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 18px 8px 6px; color: var(--ink-2); font-size: 14px; }
.plan__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--cam { background: #fff; box-shadow: 0 0 0 3px var(--cyan) inset; }
.dot--cone { background: rgba(61,224,255,.5); }
.dot--cable { background: #5b8cff; }
.dot--ai { background: #9d7bff; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-bottom: 64px; color: var(--ink-2); }
.cols3 strong { color: var(--ink); font: 600 22px/1.3 var(--display); letter-spacing: -.02em; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }

/* ---------- 5. Access (sticky steps) ---------- */
.access { height: 360vh; position: relative; border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1); }
.access__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.access__copy .h1 { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 22px; }
.access__steps { list-style: none; padding: 0; margin: 36px 0 0; }
.access__steps li { padding: 16px 0 16px 22px; border-left: 2px solid var(--line-dark); transition: border-color .5s var(--ease), opacity .5s var(--ease); opacity: .38; }
.access__steps li.is-active { border-left-color: var(--blue); opacity: 1; }
.access__steps b { display: block; font: 600 19px/1.3 var(--display); letter-spacing: -.02em; }
.access__steps span { display: block; color: var(--dark-ink-2); font-size: 15.5px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.access__steps li.is-active span { max-height: 90px; margin-top: 6px; }

.terminal { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.terminal__device {
  width: min(320px, 70vw); aspect-ratio: 9 / 15; border-radius: 42px; padding: 22px 20px;
  background: linear-gradient(160deg, #2a2f38, #0c0f14 60%);
  box-shadow: inset 0 1px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -20px rgba(0,0,0,.45), 0 20px 30px -10px rgba(0,0,0,.25);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transform: perspective(1200px) rotateY(-14deg) rotateX(4deg); transition: transform 1.2s var(--ease);
}
.terminal:hover .terminal__device { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.terminal__cam { width: 44px; height: 8px; border-radius: 8px; background: #05070a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); position: relative; }
.terminal__cam::after { content: ""; position: absolute; right: 6px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.terminal__screen { position: relative; width: 100%; flex: 1; border-radius: 24px; background: radial-gradient(120% 80% at 50% 0%, #0f2240, #05070a 70%); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: #cfe0ff; font-size: 14px; letter-spacing: .02em;
  opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.gate { display: flex; gap: 8px; } .gate i { width: 40px; height: 90px; border-radius: 8px; border: 2px solid var(--cyan); }
.scr--0.is-on .gate i:first-child { animation: gateL 3s var(--ease) infinite; } .scr--0.is-on .gate i:last-child { animation: gateR 3s var(--ease) infinite; }
@keyframes gateL { 40%, 70% { transform: translateX(-16px); opacity: .4; } }
@keyframes gateR { 40%, 70% { transform: translateX(16px); opacity: .4; } }
.bars { width: 150px; display: grid; gap: 10px; } .bars i { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.scr--1.is-on .bars i::after { animation: fill 2.4s var(--ease) forwards; }
.bars i:nth-child(2)::after { animation-delay: .25s !important; } .bars i:nth-child(3)::after { animation-delay: .5s !important; } .bars i:nth-child(4)::after { animation-delay: .75s !important; }
@keyframes fill { to { transform: scaleX(1); } }
.users { display: flex; } .users i { width: 52px; height: 52px; border-radius: 50%; margin: 0 -7px; border: 3px solid #0b1628;
  background: radial-gradient(circle at 50% 38%, #cfe0ff 0 22%, transparent 23%), radial-gradient(circle at 50% 110%, #cfe0ff 0 45%, transparent 46%), #1f3558; }
.users i:nth-child(2) { background-color: #274a7a; } .users i:nth-child(3) { background-color: #33406b; }
.ok { width: 92px; height: 92px; border-radius: 50%; background: rgba(48,209,88,.12); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(48,209,88,.4), 0 0 60px rgba(48,209,88,.25); }
.ok svg { width: 44px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.scr--3.is-on .ok svg { animation: tick .8s .2s var(--ease) forwards; }
.scr--3 p { color: var(--ok); font-weight: 600; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.terminal__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 60%; }
.terminal__pad i { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); }
.terminal__progress { width: 160px; height: 3px; border-radius: 3px; background: var(--line-dark); overflow: hidden; }
.terminal__progress i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .access { height: 320vh; }
  .access__grid { grid-template-columns: 1fr; gap: 20px; }
  .access__copy .lead { display: none; }
  .access__steps { margin-top: 16px; }
  .access__steps li { padding: 10px 0 10px 16px; }
  .terminal { order: -1; } .terminal__device { width: 150px; border-radius: 26px; padding: 12px; gap: 10px; transform: none; }
  .terminal__pad { display: none; } .scr { font-size: 11px; gap: 10px; } .gate i { width: 22px; height: 48px; } .ok { width: 56px; height: 56px; } .ok svg { width: 28px; }
  .users i { width: 32px; height: 32px; } .bars { width: 90px; }
  .terminal__progress { display: none; }
}

/* ---------- 6. Automation tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border-radius: var(--r); padding: 28px 28px 36px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 28px 0 10px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile__ui { height: 280px; border-radius: 20px; background: radial-gradient(120% 100% at 50% 0%, #121a28, #07090d); box-shadow: inset 0 1px rgba(255,255,255,.08); position: relative; overflow: hidden; }
.thermo { display: grid; place-items: center; }
.thermo__dial { width: 190px; position: absolute; top: 22px; left: 50%; transform: translateX(-50%) rotate(135deg); }
.thermo__track, .thermo__arc { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 377 503; }
.thermo__track { stroke: rgba(255,255,255,.07); }
.thermo__arc { stroke: url(#lg); stroke: var(--cyan); stroke-dasharray: var(--arc, 180) 503; transition: stroke-dasharray .8s var(--ease), stroke .5s; filter: drop-shadow(0 0 8px rgba(61,224,255,.5)); }
.thermo__val { position: absolute; top: 88px; left: 0; right: 0; text-align: center; font: 600 56px/1 var(--display); letter-spacing: -.04em; }
.thermo__val sup { font-size: 18px; color: var(--ink-2); margin-left: 2px; vertical-align: 26px; }
.thermo__ctrl { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.thermo__ctrl button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); font-size: 20px; transition: background .2s; }
.thermo__ctrl button:hover { background: rgba(255,255,255,.16); }
.lights { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lights__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.lights__grid button { border: 0; border-radius: 14px; background: rgba(255,255,255,.05); color: var(--ink-2); font-size: 13px; text-align: left; padding: 10px 12px; position: relative; transition: background .5s var(--ease), color .3s, box-shadow .5s; }
.lights__grid button::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .4s, box-shadow .4s; }
.lights__grid button.on { background: rgba(255, 214, 120, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,214,120,.3); }
.lights__grid button.on::after { background: #ffd678; box-shadow: 0 0 12px #ffd678; }
.lights__scene { border: 0; border-radius: 14px; padding: 12px; background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 500; }
.pump { padding: 22px; }
.pump__head { display: flex; justify-content: space-between; align-items: baseline; }
.pump__head span { color: var(--ink-2); font-size: 14px; } .pump__head b { font: 600 44px/1 var(--display); letter-spacing: -.04em; }
.pump__timeline { position: relative; height: 70px; margin-top: 64px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px calc(100% / 24)); box-shadow: inset 0 0 0 1px var(--line); }
.pump__timeline i { position: absolute; top: 12px; bottom: 12px; left: calc(var(--s) / 24 * 100%); width: calc((var(--e) - var(--s)) / 24 * 100%); border-radius: 8px; background: var(--grad); box-shadow: 0 0 20px rgba(61,224,255,.3); transform-origin: left; }
.pump__hours { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.pump__now { position: absolute; left: 22px; top: 138px; height: 94px; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; animation: now 12s linear infinite; }
@keyframes now { from { transform: translateX(0); } to { transform: translateX(calc(min(340px, 80vw) - 60px)); } }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- 7. Maintenance ---------- */
.maintenance__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.maintenance .h1 { margin-bottom: 28px; }
.maintenance .lead { margin-bottom: 20px; }
.maintenance .body-dark { margin-bottom: 40px; }
.status { position: relative; overflow: hidden; border-radius: var(--r); padding: 32px; background: var(--light-2); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -30px rgba(0,0,0,.18); }
.status__title { font: 600 22px/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 24px; }
.status__list { list-style: none; margin: 0; padding: 0; }
.status__list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-dark); font-size: 15.5px; }
.status__list i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(48,209,88,.15); }
.status__list li:last-child i { background: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,255,.15); }
.status__list span { margin-left: auto; font-size: 13px; color: var(--dark-ink-2); }
.status__scan { position: absolute; left: 0; right: 0; top: 0; height: 80px; background: linear-gradient(180deg, transparent, rgba(31,107,255,.08), transparent); animation: scan 4s var(--ease-apple) infinite; pointer-events: none; }
@keyframes scan { from { transform: translateY(-80px); } to { transform: translateY(420px); } }
@media (max-width: 860px) { .maintenance__grid { grid-template-columns: 1fr; } }

/* ---------- 8/9. Fire + Intrusion ---------- */
.fire { background: radial-gradient(60% 60% at 20% 50%, rgba(255,90,54,.12), transparent 70%), var(--bg) !important; }
.intrusion { padding-top: 0; }
.fire__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.fire__grid--rev { grid-template-columns: 7fr 5fr; }
.fire .h1, .intrusion .h1 { margin-bottom: 28px; }
.fire .lead, .intrusion .lead { margin-bottom: 28px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 28px; }
.pills span { font: 600 clamp(24px, 2.6vw, 36px)/1 var(--display); letter-spacing: -.03em; }
.pills i { color: var(--fire); font-style: normal; font-size: 28px; }
.detector { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; display: grid; place-items: center; margin: 0 auto; }
.detector__body { width: 46%; aspect-ratio: 1; border-radius: 50%; position: relative; z-index: 2;
  background: radial-gradient(circle at 40% 30%, #fafafa, #cfd3d8 55%, #9aa0a8);
  box-shadow: inset 0 -10px 30px rgba(0,0,0,.25), 0 40px 80px rgba(0,0,0,.6), 0 0 0 10px rgba(255,255,255,.04); }
.detector__body::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: repeating-radial-gradient(circle, #b9bec5 0 3px, #e7e9ec 3px 7px); box-shadow: inset 0 2px 6px rgba(0,0,0,.2); }
.detector__led { position: absolute; right: 18%; top: 22%; width: 12px; height: 12px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 16px var(--fire); animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ripple { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,90,54,.5); animation: ripple 3.6s var(--ease-apple) infinite; }
.ripple:nth-child(3) { animation-delay: 1.2s; } .ripple:nth-child(4) { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.radar { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 calc(12.5% - 1px), rgba(61,224,255,.18) calc(12.5% - 1px) 12.5%), radial-gradient(circle, #0b1a26, #05070a 70%);
  box-shadow: inset 0 0 0 1px rgba(61,224,255,.25), 0 0 80px rgba(31,107,255,.12); overflow: hidden; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(61,224,255,.18); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; } .radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(61,224,255,.45), rgba(61,224,255,0) 60deg, transparent 360deg); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); opacity: 0; animation: blipA 4s var(--d) infinite; }
@keyframes blipA { 0% { opacity: 1; transform: scale(1.4); } 60% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.radar__label { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); background: rgba(5,7,10,.7); padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
@media (max-width: 860px) { .fire__grid, .fire__grid--rev { grid-template-columns: 1fr; } .detector, .radar { max-width: 300px; } .fire__grid--rev .radar { order: -1; } }

/* ---------- 10. Home ---------- */
.home__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: center; margin-bottom: clamp(64px, 8vw, 120px); }
.home .h1 { margin-bottom: 28px; } .home .lead { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips span { padding: 9px 16px; border-radius: 40px; background: var(--light-2); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 14px; font-weight: 500; }
.phone { display: flex; justify-content: center; }
.phone__body { width: min(300px, 78vw); aspect-ratio: 9 / 19; border-radius: 48px; padding: 50px 18px 20px; position: relative;
  background: #0b0d12; color: #fff;
  box-shadow: 0 0 0 10px #1d1f24, 0 0 0 11px #3a3d44, 0 60px 100px -30px rgba(0,0,0,.45); }
.phone__notch { position: absolute; top: 14px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #000; }
.phone__hi { font: 600 26px/1.1 var(--display); letter-spacing: -.03em; }
.phone__sub { font-size: 12.5px; color: var(--ink-2); margin: 4px 0 18px; }
.phone__scenes { display: flex; gap: 6px; margin-bottom: 14px; }
.phone__scenes button { flex: 1; border: 0; border-radius: 14px; padding: 10px 4px; font-size: 11px; background: rgba(255,255,255,.07); color: var(--ink-2); transition: background .4s var(--ease), color .3s; }
.phone__scenes button.on { background: var(--blue); color: #fff; }
.phone__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-bottom: 6px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: 13px; }
.sw { width: 36px; height: 22px; border-radius: 22px; background: rgba(255,255,255,.15); position: relative; transition: background .4s var(--ease); cursor: pointer; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); }
.sw.on { background: var(--ok); } .sw.on::after { transform: translateX(14px); }
.phone__lock { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(48,209,88,.12); color: var(--ok); font-size: 12.5px; }
.phone__lock svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features article { padding: 32px; border-radius: var(--r); background: var(--light-2); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 20px 40px -30px rgba(0,0,0,.2); }
.features h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 10px; }
.features p { color: var(--dark-ink-2); font-size: 16px; }
@media (max-width: 860px) { .home__grid, .features { grid-template-columns: 1fr; } }

/* ---------- 11. Eletropostos ---------- */
.ev { border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1); overflow: hidden;
  background: radial-gradient(55% 45% at 88% 12%, rgba(48,209,88,.11), transparent 70%), var(--bg) !important; }
.eyebrow--ev { color: var(--ok); }
.grad-ev, .grad-ev .word { background: linear-gradient(100deg, #30d158 0%, #3de0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: center; margin-bottom: clamp(96px, 12vw, 180px); }
.ev__copy .h1 { margin-bottom: 28px; }
.ev__copy .lead { margin-bottom: 20px; }
.charger { width: 100%; max-width: 420px; margin: 0 auto; }
.charger svg { width: 100%; height: auto; overflow: visible; }
.charger__arc { fill: none; stroke: url(#evg); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: 55.3; filter: drop-shadow(0 0 6px rgba(48,209,88,.55)); }
.charger__val { font: 700 32px/1 var(--display); letter-spacing: -.04em; fill: var(--ink); }
.charger__unit { font-size: 16px; font-weight: 600; fill: var(--ink-2); }
.charger__state { font: 600 10px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; fill: var(--ok); }
.charger__led { animation: evled 2.4s var(--ease-apple) infinite; }
@keyframes evled { 50% { opacity: .35; } }
.charger__cable { fill: none; stroke: #1f2630; stroke-width: 10; stroke-linecap: round; }
.charger__flow { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; animation: evflow 1.1s linear infinite; filter: drop-shadow(0 0 4px var(--ok)); }
@keyframes evflow { to { stroke-dashoffset: -16; } }
.ev__block { margin-bottom: clamp(64px, 8vw, 120px); }
.ev__block .eyebrow { line-height: 1.5; }
.ev__block .h2 { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 56px); }
.ev__apps { list-style: none; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ev__apps li { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 184px; padding: 26px 24px;
  border-radius: 22px; background: linear-gradient(160deg, rgba(22,27,39,.92), rgba(10,13,20,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06);
  font: 600 20px/1.2 var(--display); letter-spacing: -.02em; transition: box-shadow .4s var(--ease); }
.ev__apps li:hover { box-shadow: inset 0 1px rgba(255,255,255,.18), inset 0 0 0 1px rgba(48,209,88,.4), 0 0 50px rgba(48,209,88,.1); }
.ev__apps .icon { width: 44px; height: 44px; margin: 0; stroke: var(--ok); }
.ev__weg { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(64px, 8vw, 120px); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(22,27,39,.92), rgba(10,13,20,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.45); }
.ev__weg-plate { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px -24px rgba(0,100,166,.55); }
.ev__weg-plate img { width: 44%; height: auto; }
.ev__weg .h2 { margin-bottom: 16px; }
.ev__cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.ev__cta .h2 { max-width: 18ch; margin-bottom: 16px; }
@media (max-width: 1080px) { .ev__apps { grid-template-columns: repeat(3, 1fr); } .ev__apps li:last-child { grid-column: span 2; } }
@media (max-width: 860px) {
  .ev__grid, .ev__weg { grid-template-columns: 1fr; }
  .charger { max-width: 320px; }
  .ev__weg-plate { aspect-ratio: auto; padding: 36px 0; }
  .ev__weg-plate img { width: min(38%, 180px); }
}
@media (max-width: 560px) { .ev__apps { grid-template-columns: 1fr 1fr; } .ev__apps li:last-child { grid-column: 1 / -1; } .ev__apps li { min-height: 150px; padding: 22px 20px; font-size: 18px; } }

/* ---------- 12. Diferencial ---------- */
.diff { padding-top: clamp(120px, 16vw, 220px); overflow: hidden; }
.diff__zoom { padding: 0 var(--gutter); margin-bottom: clamp(80px, 12vw, 180px); }
.diff__statement { font: 700 clamp(44px, 8.4vw, 132px)/.98 var(--display); letter-spacing: -.05em; text-align: center; max-width: 14ch; margin: 0 auto; transform-origin: 50% 50%; }
.diff__statement span { display: block; }
.diff__grid { max-width: 960px; }
.chain { position: relative; margin: 72px 0; }
.chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.chain li { padding-top: 34px; position: relative; font: 600 16px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink-3); transition: color .5s var(--ease); }
.chain li::before { content: ""; position: absolute; top: 4px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink-3); transition: box-shadow .5s var(--ease), background .5s; }
.chain li.is-on { color: var(--ink); }
.chain li.is-on::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(61,224,255,.18), 0 0 20px var(--cyan); }
.chain__line { position: absolute; top: 10px; left: 7px; right: 7px; height: 2px; background: rgba(255,255,255,.1); }
.chain__line i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
@media (max-width: 700px) {
  .chain ol { grid-template-columns: 1fr; gap: 18px; }
  .chain li { padding: 0 0 0 34px; }
  .chain__line { top: 4px; bottom: 4px; left: 6px; right: auto; width: 2px; height: auto; }
  .chain__line i { width: 100%; height: 100%; transform-origin: top; transform: scaleY(0); }
}

/* ---------- 13. Partners marquee ---------- */
.partners { overflow: hidden; }
.partners .sec-head { margin-bottom: 64px; }
.marquee { -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: clamp(56px, 8vw, 120px); align-items: center; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand { height: clamp(28px, 3.2vw, 40px); width: auto; max-width: none; opacity: .68; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.brand:hover { opacity: 1; filter: grayscale(0); }
/* WEG is a near-square mark next to wide wordmarks — a bit taller so it reads with the same visual weight */
.brand--weg { height: clamp(40px, 4.6vw, 58px); }

/* ---------- 14. CTA (transparent over the 3D lens) ---------- */
.cta { position: relative; min-height: 100vh; padding: clamp(120px, 14vw, 200px) 0; background: transparent; border-radius: var(--r) var(--r) 0 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 80% 40%, rgba(31,107,255,.14), transparent 70%); }
.cta__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.cta .h1 { margin-bottom: 28px; max-width: 14ch; }
.contact-card { padding: 32px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(22,27,39,.72), rgba(10,13,20,.82));
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.5); }
.contact-card__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 30px; font-size: 13px; font-weight: 500; color: var(--ok); background: rgba(48,209,88,.1); box-shadow: inset 0 0 0 1px rgba(48,209,88,.3); }
.contact-card__title { margin: 20px 0 18px; font: 600 clamp(22px, 2vw, 26px)/1.25 var(--display); letter-spacing: -.02em; }
.contact-card__tags { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-card__tags li { padding: 7px 13px; border-radius: 30px; font-size: 13.5px; color: var(--ink-2); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-card { padding: 22px; } }

/* ---------- Footer ---------- */
.footer { background: #000; padding: 64px 0 40px; color: var(--ink-3); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; }
.footer .logo__img { height: 72px; }
.footer p { margin-top: 12px; max-width: 36ch; }
.footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer nav a:hover { color: var(--ink); }
.footer__copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal defaults (JS enhances; no-JS stays visible) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.grad .word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nowrap { white-space: nowrap; }

/* wide CFTV card: lens / analytics art */
.card__art { position: absolute; right: -40px; top: 50%; width: min(46%, 380px); transform: translateY(-50%); z-index: -1; opacity: .9; }
.card__art circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.5; }
.card__art .core { fill: radial-gradient(#000, #000); fill: #05070a; stroke: rgba(61,224,255,.5); stroke-width: 2; }
.card__art .tick { stroke: rgba(61,224,255,.5); stroke-width: 2; stroke-linecap: round; }
.card__art .scan { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; transform-origin: 150px 150px; animation: sweep 6s linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.card__art .box { fill: none; stroke: #9d7bff; stroke-width: 2; stroke-dasharray: 16 8; animation: boxpulse 3s var(--ease) infinite; transform-origin: 150px 150px; }
@keyframes boxpulse { 50% { transform: scale(1.12); opacity: .5; } }
.card--wide h3, .card--wide p, .card--wide .card__more { position: relative; }
.card--wide p { max-width: 40ch; }
@media (max-width: 640px) { .card__art { width: 60%; right: -30%; opacity: .5; } }
.plan__cones .cone { animation: conePulse 4s ease-in-out infinite; }
.plan__cones .cone:nth-child(odd) { animation-delay: -2s; }
@keyframes conePulse { 50% { fill-opacity: .6; } }
.nav.is-hidden .btn { box-shadow: none; }
.scr p { text-align: center; padding: 0 12px; }
@media (max-width: 760px) { .cta { padding-top: 230px; } }

/* ---------- WhatsApp CTAs ---------- */
.wa-ico { width: 18px; height: 18px; flex: none; display: inline-block; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 00-8.6 15.1L2 22l5-1.3A10 10 0 1012 2zm0 18.2a8.2 8.2 0 01-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1112 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 01-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 00-.7.3 3 3 0 00-.9 2.2 5.2 5.2 0 001.1 2.7 11.8 11.8 0 004.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 001.8-1.3 2.2 2.2 0 00.1-1.3c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 00-8.6 15.1L2 22l5-1.3A10 10 0 1012 2zm0 18.2a8.2 8.2 0 01-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1112 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 01-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 00-.7.3 3 3 0 00-.9 2.2 5.2 5.2 0 001.1 2.7 11.8 11.8 0 004.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 001.8-1.3 2.2 2.2 0 00.1-1.3c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn--sm .wa-ico { width: 15px; height: 15px; }
.sec-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; text-align: center; }
.sec-cta p { font: 600 clamp(20px, 1.9vw, 24px)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
.inline-cta { margin-top: 32px; }
.access__cta { margin-top: 28px; }
/* the sticky access stage is exactly one viewport tall — no room for the button on phones or short screens (the floating button covers it) */
@media (max-width: 860px), (max-height: 760px) { .access__cta { display: none; } }
.wa-fab { position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 980px;
  background: #1fa855; color: #fff; font: 600 15px/1 var(--text); letter-spacing: -.01em;
  box-shadow: 0 14px 34px -10px rgba(31,168,85,.75), inset 0 1px 0 rgba(255,255,255,.25);
  opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .3s; }
.wa-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { background: #23bd60; }
.wa-fab .wa-ico { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-fab { width: 56px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }
