/* ===================================================================
   Ebatt.pl — Serwis baterii litowych · Warszawa
   Design system: dark "tech / HUD" theme, brand gradient sky→teal→emerald
   =================================================================== */

:root {
  /* Brand */
  --sky:      #0ea5e9;
  --sky-2:    #38bdf8;
  --cyan:     #06b6d4;
  --cyan-2:   #67e8f9;
  --emerald:  #10b981;
  --emerald-2:#34d399;
  --blue-deep:#0284c7;
  --green-deep:#059669;

  --grad: linear-gradient(120deg, var(--sky) 0%, var(--cyan) 50%, var(--emerald) 100%);
  --grad-soft: linear-gradient(120deg, var(--sky-2), var(--emerald-2));

  /* Surfaces (dark) */
  --bg:       #060b14;
  --bg-2:     #0a1322;
  --panel:    #0e1828;
  --panel-2:  #111f33;
  --line:     rgba(56,189,248,.14);
  --line-2:   rgba(56,189,248,.28);

  /* Text */
  --fg:       #e8f1fa;
  --fg-soft:  #aebccd;
  --fg-mute:  #6f8298;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --glow:   0 0 0 1px var(--line), 0 18px 50px -22px rgba(14,165,233,.55);

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1240px;
  --nav-h: 76px;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient brand glow background */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(16,185,129,.18), transparent 60%),
    radial-gradient(55% 45% at 8% 8%, rgba(14,165,233,.20), transparent 55%),
    radial-gradient(70% 60% at 50% 110%, rgba(6,182,212,.12), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(56,189,248,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan-2);
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(8,20,34,.6);
}
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--emerald-2); box-shadow: 0 0 10px var(--emerald-2); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 18px 0 16px; }
.section-head p { color: var(--fg-soft); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { color: #021018; background: var(--grad); box-shadow: 0 14px 34px -12px rgba(16,185,129,.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -14px rgba(16,185,129,.75); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line-2); background: rgba(14,24,40,.5); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--cyan-2); box-shadow: var(--glow); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,11,20,.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--fg-soft);
  padding: 9px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(56,189,248,.08); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* Language switch */
.lang-switch { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: rgba(10,19,34,.6); }
.lang-switch button {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 100px; color: var(--fg-mute); transition: .2s;
}
.lang-switch button.active { color: #021018; background: var(--grad-soft); }
.lang-switch button:not(.active):hover { color: var(--fg); }

.nav-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--emerald-2); }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(10,19,34,.6); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fg); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(4,8,15,.96); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 24px) 28px 36px;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
}
body.menu-open .drawer { transform: translateX(0); }
.drawer a.d-link { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer .d-contacts { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer .d-contacts .d-head { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 4px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: .2s; }
.contact-row:hover { border-color: var(--line-2); transform: translateX(4px); }
.contact-row .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; }
.contact-row .ic svg { width: 22px; height: 22px; }
.contact-row .meta { display: flex; flex-direction: column; line-height: 1.3; }
.contact-row .meta small { color: var(--fg-mute); font-size: .76rem; }
.contact-row .meta b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.ic-phone { background: rgba(14,165,233,.16); color: var(--sky-2); }
.ic-wa { background: rgba(37,211,102,.16); color: #25d366; }
.ic-tg { background: rgba(41,171,226,.16); color: #29abe2; }
.ic-mail { background: rgba(16,185,129,.16); color: var(--emerald-2); }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); margin: 22px 0 22px; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-soft); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--fg-soft); }
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--emerald-2); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  aspect-ratio: 16/10;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(6,11,20,.55)); }
.hero-scan { position:absolute; left:0; right:0; height: 28%; top:-30%;
  background: linear-gradient(180deg, transparent, rgba(103,232,249,.16), transparent);
  animation: scan 5.5s var(--ease) infinite; }
@keyframes scan { 0%{ top:-30% } 100%{ top:120% } }

.hud-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: 14px;
  background: rgba(8,16,28,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.8);
  animation: floaty 6s ease-in-out infinite;
}
.hud-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald-2); box-shadow: 0 0 12px var(--emerald-2); }
.hud-chip .hv { font-family: var(--font-display); }
.hud-chip small { display:block; font-size: .66rem; letter-spacing:.12em; text-transform:uppercase; color: var(--fg-mute); }
.hud-chip b { font-size: 1.15rem; font-weight: 700; }
.hud-1 { top: 12%; left: -22px; animation-delay: 0s; }
.hud-2 { bottom: 16%; right: -26px; animation-delay: 1.5s; }
.hud-3 { bottom: -16px; left: 22%; animation-delay: .8s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* ===================================================================
   STATS STRIP
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 30px 18px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), rgba(10,19,34,.4));
}
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); }
.stat .lbl { color: var(--fg-soft); font-size: .92rem; margin-top: 6px; }

/* ===================================================================
   CARDS / GRID
   =================================================================== */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), rgba(8,16,28,.5));
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: .9; }
.card .card-ic { width: 58px; height: 58px; margin-bottom: 18px; border-radius: 15px;
  display: grid; place-items: center; background: rgba(56,189,248,.08); border: 1px solid var(--line); }
.card .card-ic img { width: 34px; height: 34px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--fg-soft); font-size: .96rem; }
.card .tag { position: absolute; top: 20px; right: 20px; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-2); }

/* Transport tiles (image cards) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 280px;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .4s var(--ease), border-color .4s;
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,11,20,.05) 25%, rgba(6,11,20,.92)); }
.tile .tile-body { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.tile .tile-ic { display: block; width: 50px; height: 50px; margin-bottom: 14px; padding: 11px; border-radius: 13px; background: rgba(8,16,28,.72); border: 1px solid var(--line-2); }
.tile h3 { font-size: 1.25rem; }
.tile p { color: var(--fg-soft); font-size: .9rem; margin-top: 4px; }
.tile:hover { transform: translateY(-6px); border-color: var(--line-2); }
.tile:hover > img { transform: scale(1.07); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.step .step-n { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.step p { color: var(--fg-soft); font-size: .94rem; }
.step:not(:last-child)::after { content:"→"; position:absolute; top: 38px; right: -22px; color: var(--line-2); font-size: 1.5rem; z-index: 2; }

/* Why-us split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(14,24,40,.45); transition: .3s; }
.feature:hover { border-color: var(--line-2); transform: translateX(5px); }
.feature .f-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); }
.feature .f-ic svg { width: 24px; height: 24px; color: #021018; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { color: var(--fg-soft); font-size: .92rem; }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 16px; }
.review .stars { color: #fbbf24; letter-spacing: 3px; }
.review p { color: var(--fg-soft); font-size: 1rem; flex-grow: 1; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #021018; }
.review .who b { font-family: var(--font-display); display: block; font-size: .95rem; }
.review .who small { color: var(--fg-mute); font-size: .82rem; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; transition: border-color .3s; }
.qa.open { border-color: var(--line-2); }
.qa .q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.qa .q .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .3s; position: relative; }
.qa .q .pm::before, .qa .q .pm::after { content:""; position:absolute; background: var(--cyan-2); border-radius: 2px; }
.qa .q .pm::before { width: 12px; height: 2px; } .qa .q .pm::after { width: 2px; height: 12px; transition: .3s; }
.qa.open .q .pm { background: var(--grad); border-color: transparent; }
.qa.open .q .pm::before, .qa.open .q .pm::after { background: #021018; }
.qa.open .q .pm::after { transform: scaleY(0); }
.qa .a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa .a p { padding: 0 24px 24px; color: var(--fg-soft); }

/* CTA banner */
.cta-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; border: 1px solid var(--line-2); }
.cta-banner::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 120% at 15% 10%, rgba(14,165,233,.32), transparent 60%),
  radial-gradient(60% 120% at 85% 90%, rgba(16,185,129,.32), transparent 60%),
  var(--bg-2); z-index:-1; }
.cta-banner h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.cta-banner p { color: var(--fg-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta-banner .hero-cta { justify-content: center; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { max-width: 940px; margin-inline: auto; }
.contact-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-info .map-note { margin-top: 16px; }
.contact-info .map-note img { height: 240px; }
.contact-cards { display: grid; gap: 16px; }
.map-note { margin-top: 8px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-note img { width: 100%; height: 200px; object-fit: cover; }
.map-note .mn-body { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(6,11,20,.92)); }
.map-note .mn-body b { font-family: var(--font-display); }

.form { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; color: var(--fg-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--fg);
  padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: rgba(6,11,20,.6); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-2); box-shadow: 0 0 0 3px rgba(103,232,249,.14); }
.field textarea { resize: vertical; min-height: 110px; }
.form .form-note { font-size: .82rem; color: var(--fg-mute); }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: var(--emerald-2); font-size: .92rem; }
.form-ok.show { display: block; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; background: rgba(8,14,24,.5); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.foot-brand img { height: 46px; margin-bottom: 16px; }
.foot-brand p { color: var(--fg-soft); font-size: .92rem; max-width: 300px; }
.foot-col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--fg-soft); font-size: .94rem; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--cyan-2); }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); transition: .25s; }
.foot-social a svg { width: 21px; height: 21px; }
.foot-social a:hover { transform: translateY(-3px); border-color: var(--line-2); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-mute); font-size: .86rem; flex-wrap: wrap; }
.foot-bottom a { color: var(--fg-mute); } .foot-bottom a:hover { color: var(--cyan-2); }

/* ===================================================================
   FLOATING CONTACT FAB
   =================================================================== */
.fab-wrap { position: fixed; right: 20px; bottom: 14px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-main {
  width: 62px; height: 62px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(16,185,129,.6);
  transition: transform .3s var(--ease); position: relative;
}
.fab-main svg { width: 28px; height: 28px; color: #021018; transition: opacity .25s, transform .3s; }
.fab-main .ic-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
body.fab-open .fab-main { transform: rotate(0); }
body.fab-open .fab-main .ic-chat { opacity: 0; transform: rotate(90deg); }
body.fab-open .fab-main .ic-close { opacity: 1; transform: rotate(0); }
.fab-main::after { content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--emerald-2); opacity:.6; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0%{ transform:scale(.9); opacity:.6 } 70%,100%{ transform:scale(1.4); opacity:0 } }

.fab-items { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab-item {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
body.fab-open .fab-item { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
body.fab-open .fab-item:nth-child(1) { transition-delay: .04s; }
body.fab-open .fab-item:nth-child(2) { transition-delay: .09s; }
body.fab-open .fab-item:nth-child(3) { transition-delay: .14s; }
.fab-item .lab { font-family: var(--font-display); font-size: .86rem; font-weight: 600; padding: 7px 13px; border-radius: 100px; background: rgba(8,16,28,.9); border: 1px solid var(--line); white-space: nowrap; }
.fab-item .b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); flex-shrink: 0; }
.fab-item .b svg { width: 26px; height: 26px; }
.b-phone { background: #0ea5e9; color: #fff; } .b-wa { background: #25d366; color: #fff; } .b-tg { background: #29abe2; color: #fff; }

/* ===================================================================
   COOKIE BANNER
   =================================================================== */
.cookie { position: fixed; left: 22px; bottom: 22px; max-width: 420px; z-index: 95;
  padding: 22px 24px; border-radius: var(--r-lg); background: rgba(10,18,32,.97); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .5s var(--ease); }
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie p { color: var(--fg-soft); font-size: .88rem; margin-bottom: 16px; }
.cookie p a { color: var(--cyan-2); text-decoration: underline; }
.cookie .ck-btns { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 20px; font-size: .9rem; }

/* ===================================================================
   LEGAL PAGES
   =================================================================== */
.legal { padding: calc(var(--nav-h) + 60px) 0 40px; max-width: 860px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal .updated { color: var(--fg-mute); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan-2); text-decoration: underline; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.nf .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 8px 0 14px; }
.nf p { color: var(--fg-soft); max-width: 480px; margin: 0 auto 28px; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal { opacity: 1; transform: translateY(26px); transition: transform .7s var(--ease); }
.reveal.in { transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hud-chip, .hero-scan, .fab-main::after { animation: none; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g-3, .g-4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .steps { grid-template-columns: 1fr; }
  .hud-1 { left: 6px; } .hud-2 { right: 6px; } .hud-3 { left: 30%; }
  .hud-chip { transform: scale(.86); }
  .nav-right .lang-switch { display: flex; padding: 3px; }
  .nav-right .lang-switch button { padding: 6px 9px; font-size: .74rem; }
  .drawer .lang-switch { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .cookie { left: 14px; right: 14px; max-width: none; }
}
@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .hero-cta .btn { flex: 1; }
  .nav-right { gap: 9px; }
  .brand img { height: 34px; }
  .nav-right .lang-switch button { padding: 6px 7px; font-size: .7rem; }
}
