/* ============ frachtai — design system ============ */
:root {
  --dark: #060B1C;
  --dark-2: #0E1730;
  --accent: #7FE8CE;
  --accent-dim: #4ADE80;
  --ink: #16203A;
  --ink-soft: #4A5570;
  --green-deep: #127568;
  --paper: #FAFAF7;
  --paper-2: #F2F3F0;
  --line: #E4E6E4;
  --text-on-dark: #F4F7F2;
  --text-on-dark-dim: #9AA6C2;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 100%;
  opacity: 0;
  background: var(--dark);
  will-change: opacity;
}

h1, h2, h3, .brand-name, .btn, .step-num, .amount { font-family: var(--font-display); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-on-dark-dim); max-width: 620px; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 820px; }
section {
  position: relative; z-index: 1; padding: 110px 0;
  background: transparent;
}
section.alt { background: transparent; }

.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head.centered .lead { margin-left: auto; margin-right: auto; }
section h2, section h3 { color: var(--text-on-dark); }

.grad-text {
  background: linear-gradient(100deg, var(--accent), #B8FFC9 50%, var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
.grad-text-dark {
  background: linear-gradient(100deg, var(--accent), #B8FFC9 50%, #3AA88F);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 15px 28px; border-radius: 999px; font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-sm { padding: 10px 20px; font-size: 0.87rem; }
.btn-primary {
  background: var(--accent); color: var(--dark);
  box-shadow: 0 0 0 rgba(127,232,206,0);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(127,232,206,0.35); }
.btn-ghost {
  background: transparent; color: var(--text-on-dark);
  border: 1px solid rgba(244,247,242,0.25);
}
.btn-ghost:hover { border-color: rgba(127,232,206,0.6); color: var(--accent); }
.btn-outline {
  background: transparent; color: var(--text-on-dark);
  border: 1px solid rgba(244,247,242,0.18);
}
.btn-outline:hover { border-color: rgba(127,232,206,0.65); color: var(--accent); }

/* ============ Nav ============ */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 22px; pointer-events: none; }
.nav {
  max-width: 1220px; margin: 0 auto; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px; border-radius: 0 0 24px 24px;
  transition: opacity .35s ease, transform .35s ease, background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
body.hero-nav-gated:not(.nav-visible) .nav { opacity: 0; transform: translateY(-18px); pointer-events: none; }
body.nav-solid .nav {
  background: rgba(6,11,28,0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.22);
  border: 1px solid rgba(244,247,242,0.1);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.element-card {
  position: relative; display: inline-flex; align-items: flex-end; justify-content: center;
  width: 40px; height: 40px; border-radius: 9px;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding-bottom: 3px; background: rgba(127,232,206,0.06);
  box-shadow: 0 0 18px rgba(127,232,206,0.18);
}
.element-card small { position: absolute; top: 3px; left: 5px; font-size: 0.5rem; font-weight: 500; opacity: 0.85; }
.brand-name { font-weight: 700; font-size: 1.15rem; color: var(--text-on-dark); letter-spacing: -0.01em; transition: color .4s ease; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--accent); }
body.nav-solid .brand-name { color: var(--text-on-dark); }
body.nav-solid .brand-name em { color: var(--accent); }
body.nav-solid .element-card { border-color: var(--accent); color: var(--accent); background: rgba(127,232,206,0.08); box-shadow: none; }
.element-card.brand-mark { align-items: center; padding-bottom: 0; }
.element-card.brand-mark svg { width: 23px; height: 23px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) {
  font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark-dim);
  transition: color .3s ease;
}
.nav-links > a:not(.btn):hover { color: var(--accent); }
body.nav-solid .nav-links > a:not(.btn) { color: var(--text-on-dark-dim); }
body.nav-solid .nav-links > a:not(.btn):hover { color: var(--accent); }

/* ============ Hero + scena ============ */
.hero {
  --hero-shade-opacity: 1;
  position: relative; z-index: 1; height: 100vh; min-height: 640px; overflow: hidden;
  background: transparent;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero::after { /* grain */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.05; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero-copy {
  position: relative; z-index: 4; width: 100%;
  min-height: 100%; padding-top: 80px; padding-bottom: 88px; color: var(--text-on-dark);
  max-width: 1180px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero-copy h1 { max-width: 720px; }
.hero-kicker {
  margin-top: 26px; max-width: 680px;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 2.05rem);
  line-height: 1.15; font-weight: 600; color: var(--text-on-dark);
}
.hero-copy .lead { color: var(--text-on-dark-dim); margin-top: 22px; }
.hero.hero-story .hero-reveal,
.hero.hero-story .hero-cta,
.hero.hero-story .hero-badges {
  opacity: 0; transform: translateY(26px); filter: blur(10px); pointer-events: none;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 38px; }
.hero-badges span {
  font-size: 0.78rem; color: var(--text-on-dark-dim);
  padding-left: 12px; border-left: 2px solid rgba(127,232,206,0.4);
}
.hero-badges strong { color: var(--text-on-dark); font-weight: 600; }

.scroll-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  object-fit: cover; object-position: 68% 100%;
  opacity: 0; pointer-events: none; background: var(--dark);
}
.hero.hero-has-video .scroll-video { opacity: 1; }
/* cień pod tekstem + winieta scalająca wideo ze stroną */
.hero.hero-has-video::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: var(--hero-shade-opacity);
  background:
    linear-gradient(102deg, rgba(3,7,24,0.78) 0%, rgba(3,7,24,0.42) 40%, rgba(3,7,24,0) 62%),
    linear-gradient(to bottom, rgba(3,7,24,0.55) 0%, rgba(3,7,24,0) 20%, rgba(3,7,24,0) 78%, rgba(3,7,24,0.5) 100%);
}

.scroll-cue {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-on-dark); font-size: 1.02rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}
.scroll-cue svg { width: 30px; height: 30px; animation: cueBounce 1.6s ease-in-out infinite; color: var(--accent); filter: drop-shadow(0 0 14px rgba(127,232,206,0.45)); }
@keyframes cueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============ Trust marquee ============ */
.trust {
  position: relative; z-index: 1;
  padding: 44px 0 36px; border-bottom: 1px solid rgba(244,247,242,0.12);
  background: transparent;
}
.trust-label { text-align: center; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-dim); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text-on-dark); opacity: 0.65; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Karty / grid ============ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: rgba(22,32,58,0.82); border: 1px solid rgba(244,247,242,0.16); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  color: var(--text-on-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.18); border-color: rgba(127,232,206,0.38); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--text-on-dark-dim); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(127,232,206,0.12); color: var(--accent);
}
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag {
  position: absolute; top: 18px; right: 18px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep);
  background: rgba(127,232,206,0.16); padding: 4px 10px; border-radius: 999px;
}
.card.card-highlight {
  border-color: rgba(127,232,206,0.55);
  box-shadow: 0 12px 38px rgba(127,232,206,0.16);
}
.card.card-highlight:hover { border-color: rgba(127,232,206,0.8); }
.tag.tag-flagship { color: var(--dark); background: var(--accent); }
.grid-title {
  text-align: center; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text-on-dark); margin: 0 0 22px;
}
.services-more { text-align: center; margin-top: 36px; color: var(--text-on-dark); font-size: 1.2rem; line-height: 1.55; max-width: 680px; margin-left: auto; margin-right: auto; }
.services-more a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ============ Kroki ============ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.step { background: rgba(22,32,58,0.82); border: 1px solid rgba(244,247,242,0.16); border-radius: var(--radius); padding: 24px 20px; color: var(--text-on-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--accent); font-weight: 700;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-on-dark-dim); }

/* ============ O mnie ============ */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.about-grid .lead { margin-top: 20px; }
.about-grid .lead + .lead { margin-top: 18px; }
.about-photo {
  aspect-ratio: 4/5; border-radius: var(--radius); border: 1px solid rgba(244,247,242,0.14);
  background: rgba(22,32,58,0.74); display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark-dim); font-size: 0.82rem; text-align: center; position: sticky; top: 110px;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.about-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--green-deep); line-height: 1; }
.stat .lbl { font-size: 0.78rem; color: var(--text-on-dark-dim); margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags span { font-size: 0.78rem; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(244,247,242,0.14); color: var(--text-on-dark-dim); background: rgba(22,32,58,0.78); }

/* ============ Cennik ============ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.card.price { display: flex; flex-direction: column; }
.card.price .sub { font-size: 0.85rem; margin: 6px 0 18px; }
.amount { font-size: 1.25rem; font-weight: 700; color: var(--text-on-dark); margin-bottom: 18px; }
.amount small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; color: var(--text-on-dark-dim); }
.card.price ul { list-style: none; margin-bottom: 26px; flex: 1; }
.card.price li { font-size: 0.88rem; color: var(--text-on-dark-dim); padding: 7px 0 7px 24px; position: relative; }
.card.price li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card.price .btn { justify-content: center; }
.card.featured {
  background: var(--dark-2); border-color: rgba(127,232,206,0.35); color: var(--text-on-dark);
  box-shadow: 0 20px 60px rgba(7,10,8,0.35); transform: translateY(-10px);
}
.card.featured:hover { transform: translateY(-15px); }
.card.featured h3, .card.featured .amount { color: var(--text-on-dark); }
.card.featured .amount small, .card.featured .sub, .card.featured li { color: var(--text-on-dark-dim); }
.card.featured li::before { color: var(--accent); }
.badge-featured {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--dark); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid rgba(244,247,242,0.14); background: transparent; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 4px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--text-on-dark);
}
.faq-q .plus { font-size: 1.3rem; color: var(--accent); transition: transform .35s ease; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 0.92rem; color: var(--text-on-dark-dim); max-width: 680px; }

/* ============ Kontakt (dark bookend) ============ */
.dark-section {
  background: transparent;
  color: var(--text-on-dark);
}
.dark-section .lead { color: var(--text-on-dark-dim); }
.dark-section .eyebrow { color: var(--accent); }
.cta-head { max-width: 700px; margin-bottom: 52px; }
.cta-head .lead { margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.form label { display: block; font-size: 0.8rem; font-weight: 600; margin: 18px 0 7px; color: var(--text-on-dark-dim); }
.form label:first-child { margin-top: 0; }
.form input, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; font-family: var(--font-body); font-size: 0.92rem;
  background: rgba(22,32,58,0.72); border: 1px solid rgba(244,247,242,0.16); color: var(--text-on-dark);
  transition: border-color .3s ease, box-shadow .3s ease; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(168,181,169,0.55); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: rgba(127,232,206,0.6); box-shadow: 0 0 0 3px rgba(127,232,206,0.12);
}
.form .btn { margin-top: 24px; }
.form-status {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 0.85rem;
  color: var(--dark); background: var(--accent); font-weight: 500;
}
.form-status.form-status-error { color: #ffdede; background: rgba(220,80,80,0.28); }
.form-fallback { margin-top: 14px; font-size: 0.82rem; color: var(--text-on-dark-dim); overflow-wrap: anywhere; }
.form-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
#mascotSlot { min-height: 10px; }
.calendar-box { background: rgba(22,32,58,0.78); border: 1px solid rgba(244,247,242,0.16); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.calendar-box h3 { margin-bottom: 6px; }
.calendar-box > p { font-size: 0.85rem; color: var(--text-on-dark-dim); margin-bottom: 14px; }
.calendar-slot {
  display: flex; justify-content: space-between; padding: 13px 16px; margin-bottom: 8px;
  border: 1px solid rgba(244,247,242,0.12); border-radius: 10px; font-size: 0.88rem;
  transition: border-color .3s ease, background .3s ease; cursor: pointer;
}
.calendar-slot:hover { border-color: rgba(127,232,206,0.55); background: rgba(127,232,206,0.05); }
.calendar-slot .free { color: var(--accent); font-weight: 600; }
.calendar-box .note { font-size: 0.7rem; color: rgba(168,181,169,0.6); margin-top: 12px; }

/* ============ Footer ============ */
footer { background: transparent; color: var(--text-on-dark-dim); border-top: 1px solid rgba(244,247,242,0.08); padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { font-size: 0.82rem; margin-top: 10px; }
.foot .brand-name { color: var(--text-on-dark); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 0.85rem; transition: color .3s; }
.foot-links a:hover { color: var(--accent); }

/* ============ Custom cursor ============ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; display: none; }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); transform: translate(-50%, -50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(127,232,206,0.5); transform: translate(-50%, -50%); transition: width .25s, height .25s, border-color .25s; }
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { display: block; }
body.cursor-on .cursor-ring.grow { width: 56px; height: 56px; border-color: rgba(127,232,206,0.9); }
@media (hover: hover) and (pointer: fine) { body.cursor-on { cursor: none; } body.cursor-on a, body.cursor-on button { cursor: none; } }

/* ============ Reveal (bazowy — finalne animacje w kolejnych etapach) ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .grid-3, .price-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  /* przyciemnienie tla pod sekcja kontaktu: na waskich ekranach wypada ona nad jasna czescia miasta */
  #kontakt { background: linear-gradient(180deg, rgba(6,11,28,0) 0%, rgba(6,11,28,0.86) 10%, rgba(6,11,28,0.93) 100%); }
  .contact-grid > * { min-width: 0; }
  .calendly-inline-widget { min-width: 0 !important; width: 100% !important; }
  .card.featured { transform: none; }
}
@media (max-width: 720px), (max-height: 700px) {
  .scroll-cue span { display: none; }
}
@media (max-width: 720px) {
  body { background-attachment: scroll; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .grid-3, .price-grid, .steps { grid-template-columns: 1fr; }
  .nav-links > a:not(.btn) { display: none; }
  .hero-copy { padding-top: 96px; padding-bottom: 72px; justify-content: center; }
  .hero-badges { gap: 12px; }
  .hero { min-height: 560px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero.hero-story .hero-reveal,
  .hero.hero-story .hero-cta,
  .hero.hero-story .hero-badges { opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .marquee-track { animation: none; }
}

/* ============ Ikony usług: "włączanie zasilania" ============ */
#servicesGrid .card.in .card-icon { animation: iconOn 1s ease .25s both; }
@keyframes iconOn {
  0%   { color: #8A94A8; background: rgba(74,85,112,0.07); box-shadow: none; }
  55%  { color: #2FD9A8; background: rgba(127,232,206,0.2); box-shadow: 0 0 26px rgba(127,232,206,0.55); }
  100% { color: var(--green-deep); background: rgba(18,117,104,0.08); box-shadow: none; }
}

/* ============ Oś kroków z rakietą (Jak działam) ============ */
.steps { position: relative; }
.steps-progress {
  position: absolute; top: 46px; left: 24px; right: 24px; height: 2px;
  background: var(--line); border-radius: 2px; z-index: 0; display: none;
}
.steps-progress-fill {
  position: relative; height: 100%; width: 0;
  background: linear-gradient(to right, rgba(127,232,206,0.4), var(--accent));
  border-radius: 2px;
}
.mini-rocket {
  position: absolute; right: -13px; top: 50%;
  width: 20px; height: 27px;
  transform: translateY(-50%) rotate(90deg);
  fill: var(--green-deep);
}
.mini-rocket .mr-flame { fill: var(--accent); }
@media (min-width: 1021px) {
  .steps-progress { display: block; }
  .step { position: relative; z-index: 1; }
}

/* ============ Footer: rakieta-easter egg ============ */
footer { position: relative; overflow: hidden; }
.foot-rocket {
  position: absolute; left: 0; bottom: 14px; width: 30px; height: 48px;
  fill: #26314F; opacity: 0; pointer-events: none; z-index: 0;
  transform: rotate(45deg);
}
.foot-rocket .fr-flame { fill: var(--accent); transform-origin: 50% 72%; }
.foot .brand { cursor: pointer; }

/* ============ Canvas scrubu (pre-dekodowane klatki wideo) ============ */
.scroll-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  opacity: 0; pointer-events: none;
}
