/* ==========================================================================
   Czysta Praktyka — style.css
   Struktura pliku:
   1. Reset / podstawy
   2. Zmienne (custom properties)
   3. Typografia i elementy wspólne (eyebrow, h2, przyciski, karty...)
   4. Header
   5. Hero
   6. Sekcje treści (specjalizacja, standard, cennik, dlaczego my, proces, zasięg)
   7. Stopka / CTA na końcu
   8. Animacje (scroll reveal)
   9. Media queries (RWD)
   ========================================================================== */

/* 1. Reset / podstawy ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* 2. Zmienne --------------------------------------------------------------- */
:root {
  --paper: #FFFFFF;
  --canvas: #F8F6F3;
  --ink: #1E2328;
  --stone: #E8E4DE;
  --accent: #5E7D6D;
  --accent-hover: #4E6A5C;
  --text-sec: #6B7280;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-w: 1120px;
  --container-pad: 24px;

  --section-py: clamp(64px, 9vw, 96px);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* 3. Elementy wspólne -------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
}
.eyebrow--onDark { color: rgba(255,255,255,0.5); }

.h2 {
  font-family: var(--font-display);
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.h2--narrow { max-width: 18ch; }
.h2--onDark { color: #fff; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 0.98; }

.lead {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-sec);
}
.lead--narrow { max-width: 48ch; }
.lead--onDark { color: rgba(255,255,255,0.6); max-width: 52ch; margin-top: 20px; }

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.99); }

.btn--sm { height: 36px; padding-inline: 16px; font-size: 13px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--accent {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  height: 48px;
  padding-inline: 28px;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 20px -8px rgba(94,125,109,0.5);
}
.btn--accent:hover { background: var(--accent-hover); }

.btn--lg { padding: 10px 24px; font-size: 16px; font-weight: 500; display:flex; flex-wrap:wrap; gap: 4px;}

.btn--outline {
  background: var(--canvas);
  border: 1px solid var(--stone);
  color: var(--ink);
}
.btn--outline:hover { background: #fff; }

.btn--white {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.btn--white:hover { background: var(--canvas); }

/* header default size for standalone .btn */
.header-actions .btn { height: 40px; padding-inline: 20px; font-size: 14px; }

/* Karty ogólne (grid 3 kol.) */
.card-grid { display: grid; gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--stone);
  background: var(--paper);
  border-radius: 12px;
  padding: 28px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.card__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sec);
}

/* Sekcje - tła i odstępy */
.section { padding-block: var(--section-py); }
.section--canvas { background: var(--canvas); }
.section--bordered { border-block: 1px solid var(--stone); }
.section--dark { background: var(--ink); color: #fff; }

.section-intro { max-width: 720px; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
.section-header__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sec);
  max-width: 38ch;
}

/* 4. Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--stone);
  box-shadow: 0 1px 0 0 var(--stone), 0 8px 24px -16px rgba(0,0,0,0.12);
}

.header-bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 1px; letter-spacing: -0.02em; line-height: 1; }
.logo__light { font-family: var(--font-display); font-weight: 400; font-size: 21px; }
.logo__bold { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.logo__light--onDark { color: rgba(255,255,255,0.8); }
.logo__bold--onDark { color: #fff; }

.header-divider {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--stone);
  margin-inline: 4px;
}
.header-location {
  display: none;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-sec);
  font-weight: 500;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-hours {
  display: none;
  font-size: 13px;
  color: var(--text-sec);
  margin-right: 4px;
}

/* 5. Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(64px, 9vw, 96px); }

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero__subtitle {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-sec);
  max-width: 52ch;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero__cta-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-sec);
}

.hero__pills {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pill__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 6px;
}

.hero__img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--canvas);
  aspect-ratio: 4 / 3;
  box-shadow: 0 1px 0 0 var(--stone), 0 20px 60px -24px rgba(0,0,0,0.22);
}
.hero__img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-sec);
  letter-spacing: -0.01em;
}

/* 6. Bloki treści wielokrotnego użytku ------------------------------------ */

.media-frame {
  overflow: hidden;
  border-radius: 16px;
  background: var(--canvas);
  border: 1px solid var(--stone);
  aspect-ratio: 4 / 3;
  box-shadow: 0 1px 0 0 var(--stone), 0 24px 60px -24px rgba(0,0,0,0.18);
}
.media-frame--tall { aspect-ratio: 4 / 3.3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-sec);
}
.media-caption strong { color: var(--ink); font-weight: 500; }

/* Standard: dwukolumnowy układ + checklisty */
.standard__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
.standard__media { position: sticky; top: 104px; }

.checklist-grid {
  margin-top: 40px;
  display: grid;
  gap: 32px;
}
.checklist__head {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.checklist ul { margin-top: 16px; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-sec);
}
.checklist li::before {
  content: "";
  margin-top: 7px;
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
}

.note-box {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: var(--canvas);
}
.note-box__dot {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.note-box__dot span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.note-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-sec);
}
.note-box strong { color: var(--ink); font-weight: 500; }

/* Cennik / warianty */
.pricing-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: #fff;
  padding: 28px;
}
.pricing-card__bestseller {
  border-color: var(--ing);
  filter: drop-shadow(0px 4px 6px #00000029);
}
.pricing-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--stone);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-sec);
}
.badge__bestseller {
  color: white;
  background: var(--ink);
}
.pricing-card__meta { font-size: 12.5px; font-weight: 500; color: var(--accent); text-align: right;}
.pricing-card__title {
  font-family: var(--font-display);
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-card__list { margin-top: 20px; display: grid; gap: 10px; }
.pricing-card__list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
}
.pricing-card__list li::before {
  content: "";
  margin-top: 8px;
  width: 12px;
  height: 3px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--stone);
}
.pricing-card__list li { color: var(--text-sec); }
.pricing-card__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-sec);
}

/* Orientacyjna cena — hint pod cennikiem */
.price-hint {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: var(--canvas);
}

.price-hint__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.price-hint__disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--stone);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-sec);
}

.price-hint__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-hint__icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.price-hint__text {
  flex: 1 1 240px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-sec);
}
.price-hint__text strong {
  color: var(--ink);
  font-weight: 500;
}

.price-hint__value {
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@media (max-width: 480px) {
  .price-hint__value { margin-left: 44px; }
}

/* Benefits box — "W każdym wariancie" */
.benefits-box {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 20px 24px;
}

.benefits-box__list {
  display: grid;
  gap: 24px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--canvas);
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit__icon svg {
  width: 16px;
  height: 16px;
  color: #2F5D50; /* akcent z tego fragmentu — podmień na var(--accent), jeśli chcesz jeden kolor w całym projekcie */
}

.benefit__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.benefit__text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-sec);
}

/* Dark CTA — sprzątanie doraźne */
.urgent-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--ink);
  border-radius: 12px;
  padding: 20px 24px;
}

.urgent-cta__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.urgent-cta__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding-inline: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.urgent-cta__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.urgent-cta__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

/* Od tabletów w górę: 3 kolumny w boksie i układ poziomy w CTA */
@media (min-width: 768px) {
  .benefits-box__list { grid-template-columns: repeat(3, 1fr); }
  .urgent-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .urgent-cta__text { max-width: 45ch; text-align: right; }
}

/* Standard czystości — środki i sprzęt */
.chemicals__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.chem-grid {
  display: grid;
  gap: 12px;
}

.chem-card {
  border: 1px solid var(--stone);
  background: var(--canvas);
  border-radius: 12px;
  padding: 16px 18px;
}

.chem-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chem-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.chem-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stone);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.chem-card__text {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--accent);
}

@media (min-width: 768px) {
  .chem-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .chemicals__grid { grid-template-columns: 0.85fr 1.15fr; }
}

.center-cta { margin-top: 32px; display: flex; justify-content: center; }

/* Dlaczego my: karty z ikoną */
.feature-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.feature {
  display: flex;
  gap: 16px;
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: #fff;
  padding: 28px;
}
.feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.feature__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature__text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-sec);
}

/* Proces: kroki z numerem */
.steps-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.step {
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: #fff;
  padding: 28px;
}
.step__no {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--stone);
}
.step__title {
  font-family: var(--font-display);
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step__text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-sec);
}

/* Zasięg */
.reach__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
.reach-box {
  margin-top: 32px;
  border-radius: 12px;
  border: 1px solid var(--stone);
  background: #fff;
  padding: 20px;
}
.reach-box__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-sec);
}
.reach-box__list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-sec);
}
.reach-box__list span {
  position: relative;
  padding-left: 18px;
}
.reach-box__list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--stone);
}

.reach-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.reach-box__footer-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.reach-box__footer-text { margin-top: 2px; font-size: 12px; color: var(--text-sec); }

.map-mock {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--stone);
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
/*
.map-mock__dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(var(--stone) 1px, transparent 1px);
  background-size: 20px 20px;
}
  */
.map-mock__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 130px;
}
.map-mock__badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.map-mock__line {
  margin-top: 8px;
  width: 1px;
  height: 24px;
  background: rgba(30,35,40,0.2);
}
.map-mock__radius {
  margin-top: 4px;
  height: 24px;
  padding-inline: 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
}

.dark-cta-box {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  padding: 24px;
}
.dark-cta-box__title { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dark-cta-box__text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}
.dark-cta-box .btn { flex-shrink: 0; }

/* 7. Sekcja końcowa / stopka ---------------------------------------------- */
.quote-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.quote-cta__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}

.footer-bar {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.footer-bar__brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-bar__divider {
  display: none;
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
  margin-inline: 4px;
}

/* 8. Animacje: scroll reveal ------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1);
}
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }

.reveal-in {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 800ms cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--delay, 0ms);
}
.hero__media {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: heroImgIn 900ms cubic-bezier(.16,1,.3,1) 200ms forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes heroImgIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.mobile-only { display: inline; }

/* 9. RWD -------------------------------------------------------------------
   Punkty przełamania dopasowane do reszty projektów: 992px / 768px / 480px */

@media (min-width: 480px) {
  .header-hours { display: inline; }
}

@media (min-width: 768px) {
  .mobile-only { display: none; }
  .header-divider { display: inline-flex; }
  .header-location { display: inline; }

  .hero__title { font-size: 52px; line-height: 0.98; }
  .hero__subtitle { font-size: 18px; }

  .section { padding-block: clamp(64px, 9vw, 96px); }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }

  .section-header { flex-direction: row; align-items: flex-end; }
  .footer-bar { flex-direction: row; align-items: center; }
  .footer-bar__divider { display: inline-block; }
}

@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__media { position: sticky; top: 104px; }

  .standard__grid { grid-template-columns: 1.15fr 0.85fr; }
  .reach__grid { grid-template-columns: 1fr 1.1fr; }
}

@media (max-width: 767px) {
  .card-grid--3,
  .checklist-grid,
  .pricing-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
