/* =========================================================
   IMEO-SV — v2 « BTP pro » · Design tokens
   ========================================================= */
:root {
  --bg: #f2f2ef;
  --bg-2: #e7e7e3;
  --surface: #ffffff;
  --ink: #16171b;
  --ink-2: #1f2025;
  --ink-3: #2a2b31;
  --text: #16171b;
  --text-2: #4a4c54;
  --muted: #7c7e86;
  --line: #deded9;
  --line-2: #cbccc6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --red: #e5262f;
  --red-dark: #c41d26;
  --red-soft: #fde8e9;
  --red-glow: rgba(229, 38, 47, 0.35);
  --hazard: repeating-linear-gradient(-45deg, var(--red) 0 12px, var(--ink) 12px 24px);

  --f-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --section: clamp(88px, 11vw, 160px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 24px 60px -36px rgba(22, 23, 27, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(15.5px, 0.92rem + 0.15vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-family: var(--f-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hl { color: var(--red); }

.h2 {
  font-family: var(--f-head);
  font-weight: 800;
  font-stretch: 85%;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 1rem + 3.3vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--f-head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow span { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 7px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: 0.04em; }
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.link { position: relative; display: inline-block; }
.link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

.split-line { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

.dot, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 38, 47, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(229, 38, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 38, 47, 0); } }

/* =========================================================
   Progress & cursor
   ========================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 300; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(22, 23, 27, 0.25);
    display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s, border-color 0.3s;
  }
  .cursor__label { font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.3s; }
  .cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--red); background: rgba(229, 38, 47, 0.08); }
  .cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); border-color: var(--red); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
}

/* =========================================================
   Preloader
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--bg); color: var(--ink); display: grid; animation: plFallback 0.6s 6s forwards; }
@keyframes plFallback { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 4vw, 48px); }
.preloader__top, .preloader__bottom { display: flex; justify-content: space-between; color: var(--muted); }
.preloader__count {
  display: flex; align-items: flex-start; font-family: var(--f-head); font-weight: 800; font-stretch: 75%;
  line-height: 0.8; letter-spacing: -0.02em; font-size: clamp(7rem, 26vw, 24rem); font-variant-numeric: tabular-nums;
}
.preloader__unit { font-size: 0.25em; margin-top: 0.1em; color: var(--red); }
.preloader__bar { height: 12px; border-radius: 6px; background: var(--bg-2); position: relative; overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; border-radius: inherit; background: var(--hazard); background-size: 34px 34px; transform-origin: left; transform: scaleX(0); animation: hazard 0.8s linear infinite; }
@keyframes hazard { to { background-position: 34px 0; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h);
  padding: 0 24px; border-radius: 12px; font-family: var(--f-head); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.06em; text-transform: uppercase; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.76rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px var(--red-glow); }
.btn--red::before { background: var(--ink); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: #fff; }
.btn--ghost-white { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost-white::before { background: #fff; }
.btn--ghost-white:hover { color: var(--ink); border-color: #fff; }

/* =========================================================
   Header & menu
   ========================================================= */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; padding-inline: var(--gutter); transition: transform 0.6s var(--ease); }
.header.is-hidden { transform: translateY(-140%); }
.header__inner {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; padding: 8px 8px 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow 0.4s;
}
.header.is-scrolled .header__inner { box-shadow: 0 14px 40px -24px rgba(22, 23, 27, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; transition: transform 0.8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-90deg); }
.brand__word { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.brand__word sup { font-size: 0.48em; color: var(--red); margin-left: 2px; letter-spacing: 0; vertical-align: 0.9em; }

.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; color: var(--text-2); transition: color 0.3s, background 0.3s; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a.is-active { color: #fff; background: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.header__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform 0.5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 110px var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 8px; }
.menu__nav a {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--f-head); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: clamp(1.6rem, 8vw, 2.6rem); line-height: 1.1;
}
.menu__nav a i { font-style: normal; font-size: 0.45em; color: var(--red); }
.menu__foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--text-2); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 104px 0 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(20px, 3vw, 40px); min-height: calc(100svh - 128px); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 9px 14px; margin-bottom: clamp(18px, 3vh, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.hero__title {
  font-family: var(--f-head); font-weight: 800; font-stretch: 82%; text-transform: uppercase;
  font-size: min(clamp(2.4rem, 0.6rem + 4.1vw, 5.4rem), max(10.5vh, 2.4rem));
  line-height: 0.9; letter-spacing: -0.01em; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .line > span { display: inline-block; white-space: nowrap; }
.hero__lead { max-width: 560px; margin-top: clamp(20px, 3vh, 32px); color: var(--text-2); font-size: clamp(1rem, 0.92rem + 0.25vw, 1.12rem); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 3.4vh, 36px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(22px, 3.4vh, 36px); padding-top: 20px; border-top: 1px solid var(--line); }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero__trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--red); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.hero__visual { position: relative; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; min-height: 460px; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 55% 45%, rgba(229, 38, 47, 0.18), transparent 55%), radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(22, 23, 27, 0.9) 100%); }
.hv-card { position: absolute; z-index: 2; background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: var(--r); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55); animation: float 6s ease-in-out infinite; }
.hv-card--top { top: 24px; left: 24px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.hv-card__big { font-family: var(--f-head); font-weight: 800; font-stretch: 80%; font-size: 2.6rem; line-height: 1; color: var(--red); }
.hv-card__txt { font-size: 0.82rem; line-height: 1.35; color: var(--text-2); }
.hv-card--side { right: 24px; bottom: 88px; padding: 18px 20px; min-width: 200px; animation-delay: -3s; }
.hv-card--side .label { color: var(--muted); display: block; margin-bottom: 10px; }
.hv-card--side li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-family: var(--f-head); font-weight: 700; font-size: 0.95rem; border-top: 1px solid var(--line); }
.hv-card--side li:first-child { border-top: 0; }
.hv-card--side li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hv-status {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px; color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}
.hv-status .sep { opacity: 0.4; }

/* =========================================================
   Marquee band
   ========================================================= */
.band { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 26px 0; margin-top: clamp(24px, 4vw, 48px); }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: var(--hazard); }
.band::before { top: 0; }
.band::after { bottom: 0; }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__item { font-family: var(--f-head); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: clamp(1.2rem, 0.8rem + 1.5vw, 2.2rem); white-space: nowrap; }
.band__item b { display: inline-block; width: 0.42em; height: 0.42em; margin: 0 0.8em; border-radius: 3px; background: var(--red); vertical-align: 0.14em; }

/* =========================================================
   Manifesto
   ========================================================= */
.manifesto { padding-block: var(--section); }
.manifesto__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 24px clamp(32px, 5vw, 80px); }
.manifesto__text { font-family: var(--f-head); font-weight: 600; font-stretch: 95%; font-size: clamp(1.5rem, 0.9rem + 2.3vw, 3.3rem); line-height: 1.14; letter-spacing: -0.015em; color: var(--ink); }
.manifesto__text .word { display: inline-block; }
.manifesto__sign { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.manifesto__avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; }
.manifesto__sign b { display: block; font-family: var(--f-head); font-size: 1.05rem; }
.manifesto__sign small { color: var(--muted); font-size: 0.85rem; }

/* =========================================================
   Expertises — horizontal scroll
   ========================================================= */
.expertises { position: relative; background: var(--bg-2); overflow: hidden; }
.h-track { display: flex; align-items: center; height: 100vh; height: 100svh; width: max-content; padding-right: var(--gutter); will-change: transform; }
.panel { flex: none; position: relative; display: flex; }
.panel--intro {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --pad-r: clamp(32px, 5vw, 72px);
  /* the left offset grows on wide screens, so the width must grow with it */
  width: calc(var(--edge) + min(36vw, 520px) + var(--pad-r));
  height: 100%; flex-direction: column; justify-content: center; padding: 0 var(--pad-r) 0 var(--edge);
}
.panel--intro .h2 { font-size: clamp(2.2rem, 1rem + 3vw, 4.2rem); }
.panel__lead { color: var(--text-2); margin-top: 24px; max-width: 440px; }
.panel__hint { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-top: 40px; }
.panel__hint i { width: 64px; height: 3px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.panel__hint i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: hint 2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.panel--service {
  width: min(80vw, 1120px); height: calc(100% - 150px); max-height: 760px; margin-right: 20px; margin-top: 50px;
  align-items: center; gap: clamp(28px, 3.5vw, 56px); padding: clamp(28px, 3.5vw, 52px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.svc__text { flex: 1 1 46%; min-width: 0; }
.svc__head { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.svc__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 800; }
.svc__tag { padding: 7px 12px; border-radius: 9px; background: var(--bg); font-family: var(--f-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.svc__title { font-family: var(--f-head); font-weight: 800; font-stretch: 82%; text-transform: uppercase; font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem); line-height: 0.92; margin-bottom: 18px; color: var(--ink); }
.svc__text > p { color: var(--text-2); max-width: 480px; }
.svc__list { margin-top: 22px; max-width: 480px; display: grid; gap: 6px; }
.svc__list li {
  display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 10px; background: var(--bg);
  font-weight: 500; font-size: 0.94rem; transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.svc__list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); flex: none; }
.svc__list li:hover { background: var(--ink); color: #fff; transform: translateX(6px); }

.svc__fig { flex: 1 1 54%; min-width: 0; }
.fig__frame { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; background: radial-gradient(circle at 50% 50%, rgba(229, 38, 47, 0.16), transparent 60%), var(--ink); overflow: hidden; }
.svc__fig figcaption { margin-top: 12px; color: var(--muted); }
.fig { width: 100%; height: 100%; }
.fig__lbl { font-family: var(--f-head); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; fill: rgba(255, 255, 255, 0.55); text-transform: uppercase; }

.w { fill: none; stroke-width: 2.2; }
.w--1 { stroke: var(--red); filter: drop-shadow(0 0 6px var(--red)); }
.w--2 { stroke: rgba(255, 255, 255, 0.85); }
.w--3 { stroke: rgba(255, 255, 255, 0.3); }
.wave-move { animation: waveMove 2.4s linear infinite; }
@keyframes waveMove { to { transform: translateX(-120px); } }

.net__lines path { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.net__nodes circle { fill: var(--ink); stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.5; }
.net__pkts circle { fill: var(--red); filter: drop-shadow(0 0 4px var(--red)); }
.net__hub { fill: var(--red); filter: drop-shadow(0 0 14px var(--red-glow)); }

.air path { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 6 10; animation: air 1.4s linear infinite; }
.air .air--out { stroke: var(--red); }
@keyframes air { to { stroke-dashoffset: -32; } }
.fan__ring { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.fan__ring--in { stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 3 5; }
.fan__rotor { transform-origin: 200px 150px; animation: spin 2.6s linear infinite; }
.fan__rotor path { fill: rgba(255, 255, 255, 0.88); }
.fan__hub { fill: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

.ev__box, .ev__bat, .ev__plug { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.5; }
.ev__screen { fill: rgba(229, 38, 47, 0.14); stroke: var(--red); stroke-width: 1; }
.ev__bolt { fill: var(--red); }
.ev__cable { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 3; stroke-linecap: round; }
.ev__fill { fill: var(--red); transform-origin: 240px 126px; transform: scaleX(0); filter: drop-shadow(0 0 8px var(--red)); }

/* =========================================================
   Figures (bento stats)
   ========================================================= */
.figures { padding-top: clamp(56px, 7vw, 96px); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.figure { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.figure .label { color: var(--muted); }
.figure__n { display: flex; align-items: flex-start; margin: 20px 0 12px; font-family: var(--f-head); font-weight: 800; font-stretch: 78%; font-size: clamp(3.2rem, 1.6rem + 4vw, 6.4rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.figure__n sup { font-size: 0.45em; color: var(--red); margin-top: 0.08em; }
.figure p { color: var(--text-2); font-size: 0.92rem; margin-top: auto; }
.figure--red { background: var(--red); border-color: var(--red); color: #fff; }
.figure--red .label, .figure--red p { color: rgba(255, 255, 255, 0.85); }
.figure--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.figure--dark .label, .figure--dark p { color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   Section head (shared)
   ========================================================= */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-head__txt { color: var(--text-2); max-width: 520px; }

/* =========================================================
   About / cards
   ========================================================= */
.about { padding-block: var(--section); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start;
  padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; isolation: isolate; transition: border-color 0.4s, transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(229, 38, 47, 0.08), transparent 60%);
}
.card:hover { border-color: rgba(229, 38, 47, 0.45); transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--red-soft); display: grid; place-items: center; transition: background 0.4s; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.card:hover .card__icon { background: var(--red); }
.card:hover .card__icon svg { stroke: #fff; }
.card h3 { font-family: var(--f-head); font-weight: 800; font-stretch: 88%; text-transform: uppercase; font-size: clamp(1.25rem, 1rem + 0.7vw, 1.65rem); line-height: 1.05; margin: 6px 0 10px; padding-right: 32px; }
.card p { color: var(--text-2); max-width: 460px; }
.card__n { position: absolute; top: 22px; right: 24px; font-family: var(--f-head); font-weight: 800; color: var(--line-2); }

.certs { margin-top: 16px; display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 36px); background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.certs__label .label { color: var(--red); }
.certs__label p { margin-top: 8px; color: rgba(255, 255, 255, 0.7); }
.certs__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.certs__list li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); transition: background 0.3s, border-color 0.3s; }
.certs__list li:hover { background: rgba(229, 38, 47, 0.12); border-color: rgba(229, 38, 47, 0.5); }
.certs__list b { font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; }
.certs__list span { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; line-height: 1.35; }

/* =========================================================
   Method (dark rounded slab)
   ========================================================= */
.method { padding-inline: clamp(8px, 1.5vw, 20px); }
.method__slab { background: var(--ink); color: #fff; border-radius: clamp(24px, 3vw, 40px); padding-block: var(--section); }
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__side { position: sticky; top: 130px; }
.method__lead { color: rgba(255, 255, 255, 0.68); margin: 24px 0 32px; max-width: 400px; }
.steps { position: relative; }
.steps__line { position: absolute; left: 27px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; background: var(--line-dark); }
.steps__line span { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(18px, 3vw, 36px); padding: clamp(26px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line-dark); }
.step:last-child { border-bottom: 0; }
.step__n { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-dark); font-family: var(--f-head); font-weight: 800; color: rgba(255, 255, 255, 0.6); position: relative; z-index: 1; transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s; }
.step.is-on .step__n { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 30px var(--red-glow); }
.step h3 { font-family: var(--f-head); font-weight: 800; font-stretch: 88%; text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 2rem); line-height: 1.05; margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, 0.65); max-width: 460px; }

/* =========================================================
   References
   ========================================================= */
.refs { padding-block: var(--section); }
.logos { display: flex; flex-direction: column; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__row { display: flex; width: max-content; will-change: transform; }
.logos__set { display: flex; gap: 14px; padding-right: 14px; }
.logos__set img {
  width: clamp(130px, 13vw, 180px); aspect-ratio: 3 / 2; object-fit: contain; padding: 18px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  filter: grayscale(1); opacity: 0.75; transition: filter 0.5s, opacity 0.5s, transform 0.6s var(--ease), border-color 0.4s;
}
.logos__set img:hover { filter: none; opacity: 1; transform: translateY(-4px); border-color: var(--red); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-bottom: var(--section); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__help { margin-top: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.faq__help p { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 clamp(18px, 2vw, 26px); transition: border-color 0.3s; }
.acc__item[open] { border-color: rgba(229, 38, 47, 0.5); }
.acc__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.02rem, 0.92rem + 0.35vw, 1.25rem); line-height: 1.3; transition: color 0.3s;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { color: var(--red); }
.acc__item summary i { position: relative; width: 38px; height: 38px; border-radius: 10px; background: var(--bg); flex: none; color: var(--ink); transition: background 0.4s, color 0.4s, transform 0.6s var(--ease); }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i { background: var(--red); color: #fff; transform: rotate(180deg); }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--text-2); padding-bottom: 22px; max-width: 640px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding-bottom: var(--section); }
.cta__block { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 40px); background: var(--red); color: #fff; padding: clamp(40px, 6vw, 96px); padding-bottom: calc(clamp(40px, 6vw, 96px) + 10px); }
.cta__block::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--hazard); }
.cta__bg {
  position: absolute; inset: -20%; z-index: -1; opacity: 0.6;
  background:
    radial-gradient(40% 50% at 15% 25%, rgba(255, 255, 255, 0.25), transparent 70%),
    radial-gradient(45% 55% at 85% 80%, rgba(22, 23, 27, 0.45), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 64px);
}
.cta__inner { position: relative; max-width: 900px; }
.cta__kicker { opacity: 0.9; margin-bottom: 20px; }
.cta__title { font-family: var(--f-head); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2.6rem, 1rem + 5.6vw, 7rem); line-height: 0.9; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.cta__btn {
  --s: clamp(120px, 13vw, 190px);
  position: absolute; right: clamp(40px, 6vw, 96px); top: calc(50% - var(--s) / 2); width: var(--s); height: var(--s);
  border-radius: 28px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background 0.4s, color 0.4s;
}
.cta__btn svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.6s var(--ease); }
.cta__btn:hover { background: #fff; color: var(--ink); }
.cta__btn:hover svg { transform: rotate(45deg); }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.coords { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.coord { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; transition: border-color 0.3s, transform 0.5s var(--ease); }
.coord:hover { border-color: var(--red); transform: translateX(6px); }
.coord small { display: block; color: var(--muted); margin-bottom: 2px; }
.coord__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; flex: none; }
.coord__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linejoin: round; }

.form { padding: clamp(22px, 3.5vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.form__chips { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { color: var(--muted); margin-bottom: 12px; padding: 0; }
.form__chips label { cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 10px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: 0.9rem; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.form__chips label:hover span { border-color: var(--ink); }
.form__chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.form__chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1.5px solid transparent; border-radius: 12px; color: var(--ink);
  font: inherit; padding: 26px 16px 10px; outline: none; resize: vertical; transition: border-color 0.3s, background 0.3s;
}
.field textarea { min-height: 130px; }
.field span { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transform-origin: left; transition: transform 0.35s var(--ease), color 0.3s; }
.field input:focus, .field textarea:focus { border-color: var(--red); background: #fff; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(0.76); color: var(--text-2); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); background: var(--red-soft); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form__msg { color: var(--text-2); font-size: 0.88rem; max-width: 320px; }
.form__msg.is-error { color: var(--red-dark); }
.form__msg.is-ok { color: #1f8a3c; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #fff; border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0; padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__claim { font-family: var(--f-head); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 2.4vw, 3.4rem); line-height: 0.98; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 100px); }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, 0.78); }
.footer__cols .label { color: var(--red); margin-bottom: 6px; }
.footer__word {
  display: flex; justify-content: space-between; margin-top: clamp(56px, 7vw, 100px); overflow: hidden; padding-top: 0.18em;
  font-family: var(--f-head); font-weight: 900; font-stretch: 75%; font-size: clamp(4.5rem, 1rem + 17vw, 20rem); line-height: 0.78;
}
.footer__word span { display: inline-block; }
.footer__word .r { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; margin-top: 26px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.55); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { min-height: 420px; }
  .h-track { flex-direction: column; align-items: stretch; height: auto; width: 100%; padding: 0 var(--gutter) var(--gutter); }
  .panel--intro { width: 100%; height: auto; padding: var(--section) 0 32px; }
  .panel__hint { display: none; }
  .panel--service { width: 100%; height: auto; max-height: none; margin: 0 0 16px; flex-direction: column; align-items: stretch; }
  .manifesto__grid, .section-head, .method__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .method__side { position: static; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr; }
  .certs__list { grid-template-columns: repeat(2, 1fr); }
  .cta__btn { display: none; }
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__readings, .hv-card--side { display: none; }
  .hv-card--top { left: 16px; top: 16px; }
  .hv-status { left: 16px; right: 16px; bottom: 16px; }
  .figures__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
