/* =====================================================================
   HIZERO — landing page przedstawicielki
   Mobile first. Paleta i typografia wg specyfikacji.
   ===================================================================== */

/* Inter — self-hosted (bez Google Fonts): szybciej, własny cache, zgodne z RODO.
   Font zmienny — jeden plik pokrywa wagi 100–900 (w tym polskie znaki). */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  /* subset: latin + polskie znaki, osie przycięte — 28 KB zamiast 343 KB */
  src:url('../fonts/InterVariable.subset.woff2') format('woff2');
}

:root{
  --navy:#0B1220;
  --accent:#C21B17;                 /* czerwień Hizero (z logo) */
  --accent-hover:#9E140F;
  --accent-soft:#fdeceb;            /* jasny czerwony tint pod ikony */
  --accent-ring:rgba(194,27,23,.18);
  --accent-glow:rgba(194,27,23,.45);
  --text:#111827;
  --muted:#6B7280;
  --bg:#F8FAFC;
  --white:#FFFFFF;
  --border:#E5E7EB;
  --success:#16A34A;
  --star:#FACC15;

  --maxw:1180px;
  --radius:16px;
  --radius-sm:12px;
  --shadow:0 14px 40px -18px rgba(15,23,42,.28);
  --shadow-sm:0 2px 10px rgba(15,23,42,.06);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after{ 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; } *{ transition:none !important; animation:none !important; } }
body{
  font-family:'Inter',Arial,system-ui,sans-serif;
  color:var(--text); background:var(--white);
  font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:0; background:none; }
.ic{ width:22px; height:22px; flex:none; }
.ic-sm{ width:15px; height:15px; display:inline-block; vertical-align:-2px; }

/* ---------- typografia ---------- */
h1,h2,h3{ color:var(--navy); line-height:1.15; letter-spacing:-.01em; }
h1{ font-size:38px; font-weight:800; line-height:1.08; }
h2{ font-size:28px; font-weight:700; }
h3{ font-size:18px; font-weight:700; }
@media (min-width:768px){ h1{ font-size:52px; } h2{ font-size:36px; } }

/* ---------- layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:20px; }
.section{ padding-block:56px; }
.section--alt{ background:var(--bg); }
.section__title{ font-size:28px; }
.section__title.center{ text-align:center; }
.section__title.light{ color:#fff; }
.section__sub{ color:var(--muted); max-width:640px; margin:12px auto 0; font-size:17px; }
.section__sub.center{ text-align:center; }
@media (min-width:768px){ .section{ padding-block:84px; } }

.skip-link{ position:absolute; left:-999px; top:0; background:#fff; padding:10px 16px; z-index:200; border-radius:8px; }
.skip-link:focus{ left:12px; top:12px; box-shadow:var(--shadow); }

/* ---------- przyciski ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:15px; font-weight:700; line-height:1;
  padding:13px 20px; border-radius:12px; text-align:center;
  transition:transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn .ic{ width:18px; height:18px; }
.btn--primary{ background:var(--accent); color:#fff; box-shadow:0 10px 22px -10px var(--accent-glow); }
.btn--primary:hover{ background:var(--accent-hover); transform:translateY(-1px); }
.btn--ghost{ background:#fff; color:var(--navy); border:1.5px solid var(--border); }
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn--sm{ padding:10px 16px; font-size:14px; }
.btn--lg{ padding:15px 26px; font-size:16px; }
.btn--block{ width:100%; }

/* ---------- header ---------- */
.header{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px); border-bottom:1px solid var(--border);
}
.header__inner{ display:flex; align-items:center; gap:14px; height:64px; }
.brand{ display:flex; align-items:center; gap:9px; font-weight:800; font-size:18px; color:var(--navy); letter-spacing:.01em; }
.brand__mark{ display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:var(--navy); color:#fff; font-weight:800; }
.brand__logo{ display:block; height:36px; width:auto; }
.nav{ display:none; }
.header__cta{ display:none; }
.nav a{ padding:8px 12px; border-radius:8px; font-weight:600; color:#334155; font-size:15px; transition:color .2s, background .2s; }
.nav a:hover{ color:var(--accent); background:var(--bg); }
.burger{ margin-left:auto; width:44px; height:44px; display:grid; gap:5px; place-content:center; border-radius:10px; border:1.5px solid var(--border); }
.burger span{ width:20px; height:2px; background:var(--navy); border-radius:2px; transition:transform .25s, opacity .2s; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
/* menu mobilne jako NAKŁADKA — nie przesuwa treści strony */
.mobile-menu{
  position:absolute; top:100%; left:0; right:0; z-index:40;
  display:grid; gap:4px; padding:0 20px; max-height:0; overflow:hidden;
  background:#fff; box-shadow:0 14px 26px -12px rgba(15,23,42,.22);
  transition:max-height .3s var(--ease), padding .3s;
}
.mobile-menu.open{ max-height:340px; padding:10px 20px 16px; border-bottom:1px solid var(--border); }
.mobile-menu a{ padding:13px 8px; font-weight:600; border-radius:8px; }
.mobile-menu a:hover{ background:var(--bg); color:var(--accent); }
@media (min-width:980px){
  .nav{ display:flex; margin-inline:auto; gap:4px; }
  .header__cta{ display:inline-flex; }
  .burger{ display:none; }
  .header__inner{ height:72px; }
  .brand{ font-size:20px; }
  .brand__logo{ height:42px; }
}

/* ---------- hero (pełne zdjęcie + tonalne przejście pod tekstem) ---------- */
.hero{ position:relative; isolation:isolate; overflow:hidden; background:#efe8dc; }
.hero__bg{ position:absolute; inset:0; z-index:-2; background:#efe8dc; }
/* dwie warstwy zdjęć z płynnym przejściem (crossfade) + delikatny zoom.
   MOBILE: dedykowane zdjęcie pionowe (--bg-m). DESKTOP: szerokie (--bg-d, ustawiane niżej). */
.hero__slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  opacity:0; will-change:opacity, transform;
}
.hero__slide.is-active{ opacity:1; }
/* przejścia i zoom włączają się DOPIERO po załadowaniu (klasa .is-ready dodawana przez JS)
   — dzięki temu 1. slajd (element LCP) maluje się natychmiast, bez fade-in/zoom. */
.is-ready .hero__slide{ transition:opacity 1.4s ease; }
.is-ready .hero__slide.is-active{ animation:heroZoom 7s ease-out both; }
@keyframes heroZoom{ from{ transform:scale(1.08); } to{ transform:scale(1); } }
.hero__overlay{
  position:absolute; inset:0; z-index:-1;
  /* mobile: minimalna nakładka — zdjęcie wyraźnie widoczne (jasne foto + ciemny tekst) */
  background:linear-gradient(180deg,
    rgba(255,255,255,.48) 0%,
    rgba(255,255,255,.28) 45%,
    rgba(255,255,255,.10) 75%,
    rgba(255,255,255,0) 100%);
}
.hero__inner{ position:relative; }
.hero__copy{ max-width:600px; padding-block:38px 30px; }
.hero__brand{ display:inline-block; font-weight:800; letter-spacing:.04em; color:var(--navy); font-size:22px; margin-bottom:4px; }
.hero__logo{ height:38px; width:auto; margin-bottom:14px; }
.hero__title{ font-size:33px; line-height:1.1; margin-bottom:14px; }
.hero__title .accent{ color:var(--accent); }
.hero__lead{ color:#374151; font-size:16px; max-width:470px; }
.nm{ display:none; }
.hero__list{ display:grid; gap:10px; margin:20px 0; }
.hero__list li{ display:flex; align-items:center; gap:11px; font-weight:600; color:#1f2937; }
.tick{ width:24px; height:24px; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--accent); color:#fff; }
.tick .ic{ width:14px; height:14px; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:4px; }
/* na telefonie jedyne CTA to dolny pasek (sticky) — chowamy przycisk w hero */
@media (max-width:767px){ .hero__cta{ display:none; } }
.hero__note{ margin-top:16px; color:var(--muted); font-size:14px; display:flex; align-items:center; gap:7px; }
.hero__note .ic{ width:16px; height:16px; color:var(--accent); }

/* okrągły badge (desktop) */
.hero__badge2{ display:none; }

@media (min-width:768px){
  .hero__slide{ background-position:center right; }
  /* desktop: poziome przejście — biel po lewej pod tekstem, zdjęcie po prawej */
  .hero__overlay{
    background:linear-gradient(90deg,
      #ffffff 0%,
      rgba(255,255,255,.99) 30%,
      rgba(255,255,255,.86) 45%,
      rgba(255,255,255,.4) 57%,
      rgba(255,255,255,0) 70%);
  }
  .hero__brand{ font-size:26px; }
  .hero__logo{ height:48px; }
  .hero__title{ font-size:46px; }
  .hero__lead{ font-size:17px; }
  .nm{ display:inline; }
  .hero__copy{ padding-block:72px; }
  .hero__badge2{
    display:grid; place-content:center; text-align:center; gap:1px;
    position:absolute; z-index:2; right:6%; top:50%; transform:translateY(-50%);
    width:152px; height:152px; border-radius:50%; background:var(--navy); color:#fff;
    padding:10px; box-shadow:0 22px 44px -16px rgba(0,0,0,.55);
  }
  .hero__badge2 strong{ font-size:16px; line-height:1.12; letter-spacing:.04em; }
  .hero__badge2 small{ font-size:11px; color:#cbd5e1; margin-top:4px; }
  .hero__badge2 em{ font-style:normal; font-weight:800; font-size:19px; color:#ff6b5e; letter-spacing:.05em; }
}
@media (min-width:1024px){
  .hero__title{ font-size:52px; }
  .hero__copy{ padding-block:92px; }
  .hero__badge2{ width:170px; height:170px; right:7%; }
}

/* ---------- trust bar ---------- */
.trustbar--dark{ background:var(--navy); color:#fff; }
.trustbar{ padding-block:22px; }
.trustbar__grid{ display:grid; gap:16px; }
.trustbar__item{ display:flex; align-items:center; gap:12px; }
.trustbar__ic{ width:42px; height:42px; flex:none; display:grid; place-items:center; border-radius:11px; background:rgba(255,255,255,.08); color:#ff9d94; }
.trustbar__item p{ font-size:14px; color:#c7d0e0; }
.trustbar__item strong{ color:#fff; font-weight:700; }
@media (min-width:760px){
  .trustbar__grid{ grid-template-columns:repeat(3,1fr); }
  .trustbar--4 .trustbar__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1024px){ .trustbar--4 .trustbar__grid{ grid-template-columns:repeat(4,1fr); } }

/* ---------- benefits (Dlaczego Hizero) — minimalistyczne ikony konturowe ---------- */
.benefits{ display:grid; gap:34px; margin-top:40px; text-align:center; }
.benefit__ic{ height:46px; margin:0 auto 16px; display:grid; place-items:center; color:var(--navy); }
.benefit__ic .ic{ width:42px; height:42px; stroke-width:1.6; }
.benefit h3{ margin-bottom:8px; font-size:17px; }
.benefit p{ color:var(--muted); font-size:15px; line-height:1.5; }
@media (min-width:680px){ .benefits{ grid-template-columns:repeat(2,1fr); gap:30px; } }
@media (min-width:980px){ .benefits{ grid-template-columns:repeat(4,1fr); gap:24px; } }

/* ---------- action / video (Zobacz Hizero w akcji) ---------- */
.action{ background:var(--navy); color:#fff; padding-block:56px; }
.action__grid{ display:grid; gap:30px; align-items:center; }
.action .section__title{ color:#fff; }
.action__lead{ color:#aab4c8; margin:14px 0 22px; font-size:17px; }
.action__hint{ margin-top:16px; color:#8b97ac; font-size:14px; }
@media (min-width:900px){ .action__grid{ grid-template-columns:.8fr 1.2fr; gap:48px; } }

/* before/after */
.compare{ position:relative; aspect-ratio:8/5; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); user-select:none; background:#000; }
.compare img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.compare__after{ clip-path:inset(0 0 0 var(--pos,50%)); }
.compare__tag{ position:absolute; top:12px; z-index:4; background:rgba(11,18,32,.8); color:#fff; font-size:12px; font-weight:800; letter-spacing:.08em; padding:6px 11px; border-radius:999px; }
.compare__tag--l{ left:12px; } .compare__tag--r{ right:12px; }
.compare__line{ position:absolute; top:0; bottom:0; left:var(--pos,50%); width:2px; background:#fff; transform:translateX(-1px); z-index:5; }
.compare__handle{ position:absolute; top:50%; left:var(--pos,50%); z-index:6; width:44px; height:44px; transform:translate(-50%,-50%); border-radius:50%; background:#fff; color:var(--accent); display:grid; place-items:center; box-shadow:var(--shadow); cursor:ew-resize; touch-action:none; }
.compare__handle .ic2{ width:18px; height:18px; }
.compare__play{ position:absolute; right:14px; bottom:14px; z-index:6; width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--accent); display:grid; place-items:center; box-shadow:var(--shadow); }
.compare__play .ic{ width:22px; height:22px; margin-left:2px; }

/* ---------- problems ---------- */
.problems{ display:grid; gap:18px; margin-top:34px; }
.problem{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); transition:transform .2s var(--ease), box-shadow .2s; }
.problem:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.problem__ic{ width:50px; height:50px; display:grid; place-items:center; border-radius:13px; background:var(--accent-soft); color:var(--accent); margin-bottom:14px; }
.problem__ic .ic{ width:26px; height:26px; }
.problem h3{ margin-bottom:6px; }
.problem p{ color:var(--muted); font-size:14px; }
@media (min-width:680px){ .problems{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .problems{ grid-template-columns:repeat(5,1fr); gap:16px; } }

/* ---------- kalkulator ratalny ---------- */
.calc__card{ position:relative; max-width:960px; margin:36px auto 0; background:#fff; border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow); padding:28px; }
.calc__badge{ position:absolute; top:-16px; right:20px; transform:rotate(6deg); background:var(--star); color:var(--navy); font-weight:800; font-size:14px; letter-spacing:.05em; text-transform:uppercase; padding:8px 14px; border:2.5px solid var(--navy); border-radius:10px; box-shadow:4px 4px 0 var(--navy); }
.calc__grid{ display:grid; gap:24px; }
.calc__form{ display:grid; gap:16px; }
.calc__field{ display:grid; gap:6px; font-size:13.5px; font-weight:600; color:#374151; }
.calc__field select,.calc__field input{ width:100%; font-size:16px; font-weight:500; color:var(--text); background:#fff; padding:13px 14px; border:1.5px solid var(--border); border-radius:12px; appearance:none; transition:border-color .2s, box-shadow .2s; }
.calc__field select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; cursor:pointer; }
.calc__field select:focus,.calc__field input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-ring); }
.calc__result{ background:#fdf1ef; border:1px solid #f6dad6; border-radius:16px; padding:24px 22px; text-align:center; }
.calc__result-label{ display:block; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.calc__amount{ margin:6px 0 0; font-size:18px; color:var(--navy); font-weight:600; }
.calc__amount strong{ font-size:44px; line-height:1; color:var(--accent); font-weight:800; }
.calc__disclaimer{ font-size:12px; line-height:1.5; color:var(--muted); margin:14px 0 16px; }
.calc__cta{ display:grid; gap:10px; }
@media (min-width:560px){ .calc__form{ grid-template-columns:1fr 1fr; } }
@media (min-width:860px){
  .calc__card{ padding:34px 38px; }
  .calc__grid{ grid-template-columns:1.05fr .95fr; gap:34px; align-items:center; }
}

/* ---------- formularz + przedstawicielka ---------- */
.lead{ background:#fff; padding-block:50px; }
.lead__grid{ display:grid; gap:26px; align-items:center;
  background:#fdf1ef; border:1px solid #f6dad6; border-radius:24px; padding:24px; }
.lead .section__title{ color:var(--accent); }
.lead__sub{ color:#4b5563; margin:6px 0 20px; }
.form-alert{ background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; border-radius:10px; padding:12px 14px; margin-bottom:14px; font-size:14px; font-weight:600; }
.form__row{ display:grid; gap:14px; margin-bottom:14px; }
@media (min-width:560px){ .form__row{ grid-template-columns:1fr 1fr; } }
.field{ position:relative; }
.field input,.field select{
  width:100%; font-size:16px; color:var(--text); background:#fff;
  padding:14px 15px; border:1.5px solid var(--border); border-radius:12px;
  transition:border-color .2s, box-shadow .2s; appearance:none;
}
.field select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:42px; cursor:pointer; }
.field input:focus,.field select:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-ring); }
.field.is-invalid input,.field.is-invalid select{ border-color:#ef4444; box-shadow:0 0 0 4px rgba(239,68,68,.14); }
.field__err{ display:block; color:#ef4444; font-size:12.5px; margin-top:5px; }
.check{ display:flex; align-items:flex-start; gap:10px; margin:10px 0; font-size:14px; color:#334155; cursor:pointer; }
.check input{ width:18px; height:18px; margin-top:2px; accent-color:var(--accent); flex:none; }
.check a{ color:var(--accent); text-decoration:underline; }
.check.is-invalid span{ color:#b91c1c; }
.form button[type=submit]{ margin-top:6px; }
.form__legal{ margin-top:12px; font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.form__legal .ic{ width:15px; height:15px; }
/* honeypot — schowany przed użytkownikiem, widoczny dla botów */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* przedstawicielka — zdjęcie + dymek + podpis */
.rep{ display:grid; gap:14px; }
.rep__photo{ width:100%; max-width:300px; margin:0 auto; aspect-ratio:4/5; overflow:hidden; border-radius:18px; background:#dde8f7; }
.rep__photo img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center top; }
.rep__bubble{ position:relative; background:#fff; border-radius:16px; padding:18px 20px; box-shadow:var(--shadow-sm); }
.rep__bubble p{ color:#1f2937; font-size:15px; line-height:1.55; }
.rep__bubble p + p{ margin-top:8px; }
.rep__sign{ display:block; margin-top:12px; color:var(--accent); font-style:italic; font-weight:600; font-size:17px; }
@media (min-width:900px){
  .lead__grid{ grid-template-columns:1fr 1fr; gap:32px; padding:34px 40px; }
  .rep{ grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:end; column-gap:10px; }
  .rep__photo{ align-self:end; max-width:340px; border-radius:18px 18px 0 18px; }
  .rep__bubble{ align-self:center; margin-bottom:22px; }
  .rep__bubble::before{ content:""; position:absolute; left:-8px; top:40px; width:16px; height:16px; background:#fff; transform:rotate(45deg); border-radius:3px; }
}

/* ---------- infobar (Ważne informacje) + magiczne gwiazdki na hover ---------- */
.infobar{ display:grid; gap:22px; margin-top:32px; text-align:center; }
.infobar__item{ position:relative; }
.infobar__ic{ position:relative; width:48px; height:48px; margin:0 auto 10px; display:grid; place-items:center; border-radius:12px; background:var(--accent-soft); color:var(--accent); overflow:visible; transition:transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.infobar__ic .ic{ width:24px; height:24px; position:relative; z-index:1; }
.infobar__item:hover .infobar__ic{ transform:translateY(-4px) scale(1.08) rotate(-3deg); background:var(--accent); color:#fff; box-shadow:0 14px 26px -10px rgba(194,27,23,.5); }
.infobar__item p{ font-size:14px; font-weight:600; color:#334155; }

/* warstwa gwiazdek wokół ikony */
.sparkles{ position:absolute; inset:-16px; pointer-events:none; z-index:2; }
.sparkles i{ position:absolute; width:13px; height:13px; opacity:0; background-repeat:no-repeat; background-position:center; background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FACC15'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E"); }
.sparkles i:nth-child(2),.sparkles i:nth-child(4){ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C21B17'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E"); }
.sparkles i:nth-child(1){ left:2px;  top:-6px; }
.sparkles i:nth-child(2){ right:0;   top:6px;  width:10px; height:10px; }
.sparkles i:nth-child(3){ right:6px; bottom:-4px; }
.sparkles i:nth-child(4){ left:-4px; bottom:4px; width:11px; height:11px; }
.sparkles i:nth-child(5){ left:50%;  top:-12px; width:9px; height:9px; }
.infobar__item:hover .sparkles i{ animation:sparkle 1.1s ease-in-out infinite; }
.infobar__item:hover .sparkles i:nth-child(2){ animation-delay:.18s; }
.infobar__item:hover .sparkles i:nth-child(3){ animation-delay:.36s; }
.infobar__item:hover .sparkles i:nth-child(4){ animation-delay:.54s; }
.infobar__item:hover .sparkles i:nth-child(5){ animation-delay:.72s; }
@keyframes sparkle{
  0%{ opacity:0; transform:scale(.2) rotate(0deg); }
  35%{ opacity:1; transform:scale(1) rotate(20deg); }
  70%{ opacity:.6; transform:scale(.8) translateY(-8px) rotate(35deg); }
  100%{ opacity:0; transform:scale(.3) translateY(-16px) rotate(50deg); }
}
@media (prefers-reduced-motion:reduce){ .infobar__item:hover .sparkles i{ animation:none; opacity:0; } }
@media (min-width:680px){ .infobar{ grid-template-columns:repeat(4,1fr); } }

/* ---------- opinie (styl Google, przewijany marquee) ---------- */
.reviews{ background:var(--navy); color:#fff; padding-block:56px; overflow:hidden; }
.reviews__sub{ text-align:center; color:#aab4c8; margin-top:8px; font-size:15px; }
.reviews__viewport{ margin-top:30px; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track{ display:flex; gap:18px; width:max-content; animation:marquee 48s linear infinite; }
/* zatrzymanie przewijania po najechaniu na opinie */
.reviews__viewport:hover .reviews__track{ animation-play-state:paused; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){
  .reviews__track{ animation:none; flex-wrap:wrap; width:auto; justify-content:center; }
}

/* karta opinii w stylu Google */
.greview{ position:relative; flex:0 0 320px; max-width:320px; background:#fff; color:var(--text);
  border-radius:14px; padding:20px; box-shadow:0 10px 30px -16px rgba(0,0,0,.5);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.greview:hover{ transform:translateY(-8px) scale(1.03); box-shadow:0 26px 50px -18px rgba(0,0,0,.6); }
.greview__logo{ position:absolute; right:16px; top:16px; }
.greview .gicon{ width:20px; height:20px; }
.greview__head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; padding-right:30px; }
.greview__avatar{ width:42px; height:42px; flex:none; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:700; font-size:18px; }
.greview__who{ display:flex; flex-direction:column; line-height:1.25; }
.greview__who b{ font-size:15px; color:#202124; }
.greview__who small{ color:#6B7280; font-size:12.5px; }
.gstars{ color:#e6e8eb; letter-spacing:2px; font-size:16px; margin-bottom:8px; }
.gstars .on{ color:#FBBC05; }
.greview p{ font-size:14.5px; line-height:1.55; color:#3c4043; }

/* ---------- popup z filmem ---------- */
.modal{ position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:20px; }
.modal[hidden]{ display:none; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(7,13,24,.78); backdrop-filter:blur(3px); animation:fade .25s ease; }
.modal__dialog{ position:relative; width:min(960px,100%); animation:pop .3s var(--ease); }
.modal__video{ position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-lg2,0 40px 80px -30px rgba(0,0,0,.7)); }
.modal__video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.modal__close{ position:absolute; top:-46px; right:0; width:38px; height:38px; border-radius:50%; background:#fff; color:var(--navy); font-size:24px; line-height:1; display:grid; place-items:center; box-shadow:var(--shadow); }
.modal__close:hover{ background:var(--accent); color:#fff; }
@keyframes fade{ from{ opacity:0 } to{ opacity:1 } }
@keyframes pop{ from{ opacity:0; transform:translateY(14px) scale(.97) } to{ opacity:1; transform:none } }

/* ---------- proces krok po kroku (ikony konturowe + strzałki) ---------- */
.steps{ display:grid; gap:18px; margin-top:34px; }
.step{ display:flex; align-items:center; gap:14px; position:relative; }
.step__ic{ width:54px; height:54px; flex:none; display:grid; place-items:center; color:var(--navy); }
.step__ic .ic{ width:34px; height:34px; stroke-width:1.6; }
.step b{ font-size:13.5px; color:var(--navy); text-transform:uppercase; letter-spacing:.01em; line-height:1.3; }
@media (min-width:760px){
  .steps{ grid-template-columns:repeat(5,1fr); gap:6px; }
  .step{ flex-direction:column; text-align:center; gap:10px; padding:0 4px; }
  /* strzałka między krokami */
  .step:not(:last-child)::after{
    content:""; position:absolute; top:18px; right:-11px; width:22px; height:22px; pointer-events:none;
    background:no-repeat center/contain;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C21B17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  }
}

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin:30px auto 0; display:grid; gap:12px; }
.faq__item{ background:#fff; border:1px solid var(--border); border-radius:13px; overflow:hidden; transition:border-color .2s, box-shadow .2s; }
.faq__item.open{ border-color:#f3c3bf; box-shadow:var(--shadow); }
.faq__q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:18px 20px; text-align:left; font-weight:700; color:var(--navy); font-size:16px; }
.faq__pm{ width:28px; height:28px; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--bg); color:var(--accent); transition:transform .25s, background .2s, color .2s; }
.faq__pm .ic{ width:16px; height:16px; }
.faq__item.open .faq__pm{ transform:rotate(45deg); background:var(--accent); color:#fff; }
.faq__a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s var(--ease); }
.faq__a > div{ overflow:hidden; }
.faq__item.open .faq__a{ grid-template-rows:1fr; }
.faq__a p{ padding:0 20px 20px; color:var(--muted); }

/* ---------- stopka ---------- */
.footer{ background:#070d18; color:#9aa6bd; padding-top:40px; }
.footer__grid{ display:grid; gap:22px; }
.footer__brand{ color:#fff; font-weight:800; font-size:20px; margin-bottom:8px; }
.footer__logo{ display:block; height:56px; width:auto; margin-bottom:10px; }
.footer__desc{ font-size:14px; line-height:1.7; }
.footer__desc a:hover{ color:#fff; }
.socials{ display:flex; gap:10px; margin-top:14px; }
.socials a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.06); display:grid; place-items:center; transition:background .2s, transform .2s; }
.socials a:hover{ background:var(--accent); transform:translateY(-2px); }
.socials .ic{ width:18px; height:18px; }
.footer__links{ display:flex; flex-wrap:wrap; gap:16px; align-content:start; }
.footer__links a{ font-size:14px; }
.footer__links a:hover{ color:#fff; }
.footer__bar{ border-top:1px solid rgba(255,255,255,.1); margin-top:30px; padding:20px 0; font-size:12.5px; display:grid; gap:6px; }
.footer__disclaimer{ color:#6b7791; max-width:760px; }
@media (min-width:760px){ .footer__grid{ grid-template-columns:1.6fr 1fr; } .footer__links{ justify-content:flex-end; } }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:90;
  display:flex; align-items:center; justify-content:center; gap:9px;
  background:var(--accent); color:#fff; font-weight:700; font-size:15px;
  padding:14px 18px; border-radius:14px; box-shadow:0 14px 30px -10px var(--accent-glow);
}
.sticky-cta .ic{ width:18px; height:18px; }
.sticky-cta:hover{ background:var(--accent-hover); }
@media (min-width:980px){ .sticky-cta{ display:none; } }
/* dodatkowy margines na dole, by sticky CTA nie zasłaniało stopki na mobile */
@media (max-width:979px){ .footer__bar{ padding-bottom:84px; } }

/* ---------- WhatsApp – pływający przycisk ---------- */
.wa-fab{ position:fixed; right:18px; bottom:24px; z-index:96; width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; display:grid; place-items:center;
  box-shadow:0 12px 26px -8px rgba(37,211,102,.7); transition:transform .2s var(--ease), box-shadow .2s; }
.wa-fab__icon{ width:32px; height:32px; position:relative; z-index:2; }
/* puls: transform+opacity (kompozytowany na GPU — bez repaintu co klatkę) */
.wa-fab::after{ content:""; position:absolute; inset:0; border-radius:50%; z-index:-1;
  background:#25D366; animation:waPulse 2.4s ease-out infinite; }
@keyframes waPulse{ 0%{ transform:scale(1); opacity:.5; } 70%{ transform:scale(1.7); opacity:0; } 100%{ transform:scale(1.7); opacity:0; } }
.wa-fab:hover{ transform:translateY(-2px) scale(1.05); box-shadow:0 16px 30px -8px rgba(37,211,102,.85); }
.wa-fab__tip{ position:absolute; right:72px; top:50%; transform:translateY(-50%) translateX(6px);
  background:var(--navy); color:#fff; font-weight:600; font-size:13px; white-space:nowrap;
  padding:8px 12px; border-radius:10px; box-shadow:var(--shadow); opacity:0; pointer-events:none;
  transition:opacity .2s, transform .2s; }
.wa-fab__tip::after{ content:""; position:absolute; right:-4px; top:50%; transform:translateY(-50%) rotate(45deg); width:10px; height:10px; background:var(--navy); border-radius:2px; }
@media (hover:hover){ .wa-fab:hover .wa-fab__tip{ opacity:1; transform:translateY(-50%) translateX(0); } }
@media (max-width:979px){ .wa-fab{ bottom:84px; } .wa-fab__tip{ display:none; } }
@media (prefers-reduced-motion:reduce){ .wa-fab::after{ animation:none; } }

/* =====================================================================
   STRONY PROSTE (thank-you / legal)
   ===================================================================== */
.page-simple{ background:var(--bg); }
.thankyou{ min-height:100vh; display:grid; place-items:center; padding:40px 20px; }
.thankyou__card{ background:#fff; border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow); padding:40px 28px; max-width:520px; text-align:center; }
.thankyou__check{ width:72px; height:72px; margin:0 auto 18px; border-radius:50%; background:rgba(22,163,74,.12); color:var(--success); display:grid; place-items:center; }
.thankyou__check svg{ width:36px; height:36px; }
.thankyou h1{ font-size:34px; margin-bottom:10px; }
.thankyou__lead{ font-size:18px; color:#1f2937; }
.thankyou__muted{ color:var(--muted); margin-top:14px; font-size:15px; }
.thankyou__contact{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:20px; }
.thankyou__note{ margin-top:20px; color:var(--muted); font-style:italic; font-size:14px; }

.legal{ max-width:760px; margin:0 auto; padding:48px 20px 80px; }
.legal__back{ color:var(--accent); font-weight:600; font-size:14px; }
.legal h1{ margin:18px 0 6px; font-size:34px; }
.legal h2{ font-size:20px; margin:26px 0 8px; }
.legal__meta{ color:var(--muted); font-size:14px; }
.legal p{ color:#374151; margin-bottom:10px; }
.legal a{ color:var(--accent); text-decoration:underline; }
.legal__disclaimer{ margin-top:28px; padding:14px 16px; background:#fff; border:1px solid var(--border); border-radius:12px; color:var(--muted); font-size:14px; }
