/* ==========================================================================
   Myjnia Bezdotykowa 24h Czastary — style.css
   Motyw: głęboki granat + aqua/cyan • szkło • woda • Poppins
   ========================================================================== */

:root {
  --bg:          #060A14;
  --bg-2:        #08101F;
  --surface:     #0E1726;
  --surface-2:   #132133;
  --border:      rgba(120, 200, 255, 0.10);
  --border-2:    rgba(120, 200, 255, 0.22);

  --text:        #EAF3FF;
  --muted:       #9DB2CC;
  --muted-2:     #64768F;

  --aqua:        #35E0FF;
  --blue:        #2E7CF6;
  --deep:        #0B3A8C;
  --grad:        linear-gradient(120deg, #0B3A8C 0%, #2E7CF6 45%, #35E0FF 100%);
  --grad-aqua:   linear-gradient(120deg, #2E7CF6, #35E0FF);
  --grad-soft:   linear-gradient(120deg, rgba(46,124,246,.16), rgba(53,224,255,.16));

  --radius:      20px;
  --radius-sm:   14px;
  --shadow:      0 30px 70px -24px rgba(0,0,0,.75);
  --glow:        0 20px 60px -12px rgba(46,124,246,.5);

  --container:   1200px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Poświata tła */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 560px at 82% -8%, rgba(53,224,255,.14), transparent 60%),
    radial-gradient(700px 520px at 8% 4%, rgba(46,124,246,.14), transparent 58%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1,h2,h3,h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--grad-aqua);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Przyciski ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: .97rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -10px rgba(46,124,246,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.04rem; }

/* Header -------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(6,10,20,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.18rem; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad); font-size: 1.05rem; box-shadow: 0 6px 18px -6px rgba(46,124,246,.9); }
.brand-accent { background: var(--grad-aqua); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a { padding: 9px 14px; border-radius: 100px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-list a:hover, .nav-list a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO z wideo -------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #071228; background-size: cover; background-position: center;
  animation: heroZoom 28s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: transparent; }
.hero-overlay { position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,10,20,.66) 0%, rgba(6,10,20,.52) 40%, rgba(6,10,20,.94) 100%),
    radial-gradient(1000px 600px at 70% 20%, rgba(53,224,255,.12), transparent 60%);
}
.hero-inner { position: relative; z-index: 3; min-width: 0; width: 100%; padding-top: 120px; padding-bottom: 80px; max-width: 860px; }
.hero h1, .hero .lead { overflow-wrap: break-word; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 22px;
  border-radius: 100px; background: rgba(53,224,255,.10); border: 1px solid var(--border-2);
  color: var(--aqua); font-weight: 600; font-size: .84rem; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #D3E1F2; max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); backdrop-filter: blur(6px);
  font-size: .92rem; font-weight: 500;
}
.hero-badge b { color: var(--aqua); font-weight: 700; }

/* Wskaźnik scrolla */
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; display: grid; place-items: center; gap: 8px; color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-mouse { width: 24px; height: 40px; border: 2px solid var(--border-2); border-radius: 14px; position: relative; }
.scroll-mouse::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 3px; background: var(--aqua); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } }

/* Pasek zaufania ------------------------------------------------------------ */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 30px; padding-bottom: 30px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-ico { font-size: 1.7rem; flex: none; width: 2.2rem; text-align: center; line-height: 1; }
.trust-item .t { font-weight: 700; font-size: 1.02rem; }
.trust-item .s { color: var(--muted); font-size: .86rem; }

/* Sekcje -------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* Karty oferty -------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-soft); -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 .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.1rem; margin-bottom: 16px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Cennik -------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.price-hero {
  padding: 42px 36px; border-radius: var(--radius); background: var(--grad);
  box-shadow: var(--glow); position: relative; overflow: hidden;
}
.price-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(10px); }
.price-hero .big { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.05; margin: 8px 0 6px; }
.price-hero .sub { font-size: 1.05rem; opacity: .92; letter-spacing: .04em; text-transform: uppercase; }

/* Cennik – pojedynczy baner */
.price-banner { max-width: 760px; margin: 0 auto; }
.price-hero-solo { text-align: center; padding: 54px 40px; }
.extras { max-width: 900px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-box {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border);
}
.info-box .ic { font-size: 1.9rem; flex: none; line-height: 1; }
.info-box p { color: var(--muted); font-size: .95rem; }
.info-box b { color: var(--text); display: block; margin-bottom: 2px; }
@media (max-width: 720px) { .extras { grid-template-columns: 1fr; } }

.price-list { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row .name { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.price-row .name .ic { font-size: 1.3rem; }
.price-row .val { color: var(--aqua); font-weight: 700; white-space: nowrap; }

/* Kroki --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--aqua); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* Dlaczego / feature split -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-list { display: grid; gap: 18px; margin-top: 24px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .fic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border-2); font-size: 1.2rem; }
.feature h4 { font-size: 1.05rem; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: .92rem; }
.media-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4/3; background: linear-gradient(160deg, #0a1c38, #0d3a7a); display: grid; place-items: center; color: var(--muted); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }

/* Galeria ------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(160deg, #0a1c38, #0d3a7a); display: grid; place-items: center; color: var(--muted-2); font-size: .85rem; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* Lokalizacja --------------------------------------------------------------- */
.loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.loc-info { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.loc-info h3 { font-size: 1.4rem; margin-bottom: 18px; }
.loc-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.loc-line:last-of-type { border-bottom: none; }
.loc-line .ic { font-size: 1.25rem; }
.loc-line .lbl { color: var(--muted-2); font-size: .82rem; }
.loc-line .val { font-weight: 500; }
.badge-open { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: rgba(38,209,120,.14); border: 1px solid rgba(38,209,120,.35); color: #4ade80; font-weight: 600; font-size: .86rem; margin-bottom: 18px; }
.badge-open .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* FAQ ----------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { flex: none; font-size: 1.4rem; color: var(--aqua); transition: transform .3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); }

/* CTA końcowe --------------------------------------------------------------- */
.cta-band { text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-tagline { color: var(--muted); font-size: .93rem; margin-top: 14px; max-width: 360px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; color: var(--text); }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--aqua); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem; flex-wrap: wrap; }

/* Reveal animacje ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-mouse::before, .badge-open .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsywność ------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing, .split, .loc { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: rgba(6,10,20,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
    max-height: calc(100svh - 74px); overflow-y: auto; z-index: 90;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 10px; }
  .nav-list a {
    display: block; padding: 16px 18px; border-radius: 14px; font-size: 1.05rem;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
  }
  .nav-list a:hover, .nav-list a.active { background: var(--grad-soft); border-color: var(--border-2); }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-cta-mobile a { border: none; }
  .nav-cta-mobile .btn { width: 100%; }
  .nav-toggle { display: flex; z-index: 100; }
}
@media (max-width: 767px) {
  /* na telefonie tło hero statyczne - koniec migotania 1px przy skalowaniu */
  .hero-bg { animation: none; transform: none; }
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-hero-solo { padding: 44px 24px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .hero .lead { font-size: 1.02rem; }
}
@media (max-width: 460px) {
  .grid-4, .steps, .trust-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}
