/* ============================================================
   DMUCHOLANDIA — wynajem dmuchańców, Bełchatów
   Charakter: electric-pop / festyn. Poppins + Work Sans (seed),
   czerwień #8A0000 + balonowy żółty #FFD112 z logo, duże
   zaokrąglenia, konfetti-kropki, magazine-grid hero.
   ============================================================ */

:root {
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --red: #8A0000;
  --red-bright: #C22525;
  --yellow: #FFD112;
  --blue: #2673C9;
  --green: #2E9E4F;
  --ink: #221A1A;
  --cream: #FFFDF6;
  --paper: #FFF6E5;
  --line: rgba(34, 26, 26, .12);
  --color-bg: var(--cream);
  --color-text: #3A3232;
  --color-heading: var(--ink);
  --color-accent: var(--red-bright);
  --color-border: var(--line);
}

body { background: var(--color-bg); font-family: var(--font-body); color: var(--color-text); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-heading); letter-spacing: -.015em; }

/* --- HEADER ----------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px clamp(14px, 3.5vw, 36px);
  background: rgba(255, 253, 246, .985);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(17px, 4.4vw, 21px); color: var(--red); white-space: nowrap; }
.brand-tag { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(58,50,50,.65); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 24px); list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); opacity: .8; text-decoration: none; transition: opacity .2s, color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; color: var(--red-bright); }
.site-nav a.nav-cta {
  opacity: 1; background: var(--red); color: #fff; padding: 11px 20px; border-radius: 999px;
  transition: background .2s;
}
.site-nav a.nav-cta:hover { background: var(--red-bright); color: #fff; }

/* --- HERO: magazine-grid (seed) ---------------------------------------------- */
.hero-mag {
  padding: clamp(104px, 15vh, 150px) 0 clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.hero-mag__grid {
  display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; position: relative;
}
@media (min-width: 900px) { .hero-mag__grid { grid-template-columns: 48fr 52fr; } }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero-mag h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; line-height: 1.06; margin: 0 0 18px; }
.hero-mag h1 em { font-style: normal; color: var(--red-bright); }
.hero-lead { font-size: clamp(16.5px, 1.9vw, 19.5px); line-height: 1.6; max-width: 54ch; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 15.5px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0;
  transition: background .2s, transform .15s, box-shadow .2s; min-height: 48px;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(138,0,0,.28); }
.btn-red:hover { background: var(--red-bright); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 20px rgba(255,209,18,.35); }
.btn-yellow:hover { background: #FFDD4D; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(34,26,26,.25); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost-light:hover { border-color: #fff; }
.hero-note { margin-top: 20px; font-size: 14px; color: rgba(58,50,50,.75); font-weight: 600; }

/* kolaż zdjęć hero */
.hero-collage { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 380px; }
.hero-collage figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; border: 3px solid #fff; box-shadow: 0 10px 30px rgba(34,26,26,.14); }
.hero-collage figure:first-child { grid-row: 1 / 3; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .hero-collage { min-height: 300px; } }

/* --- SEKCJE ------------------------------------------------------------------ */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--paper { background: var(--paper); }
.section--red { background: var(--red); color: #FFEFDB; }
.section--red h2, .section--red h3 { color: #fff; }
.container { max-width: 1140px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sec-head { max-width: 700px; margin-bottom: clamp(28px, 4.6vw, 52px); }
.sec-head .eyebrow {
  display: inline-block; background: rgba(194,37,37,.1); color: var(--red-bright);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section--red .sec-head .eyebrow { background: rgba(255,209,18,.18); color: var(--yellow); }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.1; margin: 0 0 14px; }
.sec-head .lead { font-size: clamp(16px, 1.8vw, 18.5px); line-height: 1.6; color: rgba(58,50,50,.82); margin: 0; }
.section--red .sec-head .lead { color: rgba(255,239,219,.85); }

/* pas liczb ---------------------------------------------------------------------*/
.stats-band { background: var(--red); color: #fff; padding-block: clamp(30px, 4.6vw, 48px); }
.stats-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: center; }
.stat b { display: block; font-family: var(--font-heading); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--yellow); line-height: 1.1; }
.stat > span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255,239,219,.9); }

/* karty benefitów ----------------------------------------------------------------*/
.why-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(22px, 2.8vw, 30px);
  box-shadow: 0 6px 22px rgba(34,26,26,.06);
}
.why-card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
}
.why-card:nth-child(1) .ico { background: rgba(255,209,18,.25); }
.why-card:nth-child(2) .ico { background: rgba(38,115,201,.14); }
.why-card:nth-child(3) .ico { background: rgba(46,158,79,.14); }
.why-card:nth-child(4) .ico { background: rgba(194,37,37,.12); }
.why-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.why-card p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(58,50,50,.8); }

/* atrakcje — karty ------------------------------------------------------------------*/
.atr-grid { display: grid; gap: clamp(18px, 2.6vw, 28px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.atr-card {
  background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(34,26,26,.08);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.atr-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(34,26,26,.14); }
.atr-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.atr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atr-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.atr-card__tag {
  align-self: flex-start; background: var(--yellow); color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.atr-card h3 { font-size: 20px; font-weight: 700; margin: 2px 0 0; }
.atr-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(58,50,50,.8); flex: 1; }
.atr-note { margin-top: clamp(20px, 3vw, 30px); font-size: 14px; color: rgba(58,50,50,.65); max-width: 72ch; }

/* kroki -------------------------------------------------------------------------------*/
.steps-grid { display: grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: krok; list-style: none; margin: 0; padding: 0; }
.step-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,239,219,.2);
  border-radius: 18px; padding: 24px 22px 26px; position: relative;
}
.step-card::before {
  counter-increment: krok; content: counter(krok);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-heading); font-weight: 800; font-size: 19px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 18.5px; margin: 0 0 8px; }
.step-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,239,219,.85); }

/* opinie -----------------------------------------------------------------------------*/
.rev-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 22px; margin: 0; box-shadow: 0 6px 22px rgba(34,26,26,.06); }
.rev-card .stars { color: #F5A623; letter-spacing: 3px; margin-bottom: 10px; font-size: 16px; }
.rev-card blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.62; color: rgba(58,50,50,.9); }
.rev-card figcaption { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.rev-card figcaption span { display: block; font-weight: 500; color: rgba(58,50,50,.6); margin-top: 2px; }
.rev-note { margin-top: 20px; font-size: 13.5px; color: rgba(58,50,50,.62); }

/* cennik ------------------------------------------------------------------------------*/
.price-grid { display: grid; gap: clamp(18px, 2.6vw, 28px); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; box-shadow: 0 6px 22px rgba(34,26,26,.06); }
.price-card h3 { font-size: 20px; margin: 0 0 4px; }
.price-list { list-style: none; margin: 12px 0 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-list li:last-child { border-bottom: 0; }
.price-val { font-weight: 800; color: var(--red-bright); white-space: nowrap; font-family: var(--font-heading); }
.price-note { margin-top: clamp(22px, 3.4vw, 34px); font-size: 13.5px; line-height: 1.6; color: rgba(58,50,50,.62); max-width: 76ch; }

/* CTA finał + sticky -------------------------------------------------------------------*/
.cta-final { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-final h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin: 0 0 14px; color: #fff; }
.cta-final p { font-size: 17px; line-height: 1.6; color: rgba(255,239,219,.88); margin: 0 0 26px; }
.cta-final .cluster { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.section-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4.4vw, 44px); width: 100%; max-width: none; }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 14px;
  background: rgba(255,253,246,.97); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 14.5px; }
@media (max-width: 767px) { .mobile-cta { display: flex; } body { padding-bottom: 74px; } }

/* stopka ---------------------------------------------------------------------------------*/
.site-footer { background: #241417; color: rgba(255,239,219,.78); padding: clamp(40px, 6.4vw, 64px) 0 26px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 16.5px; margin: 0 0 13px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,239,219,.78); text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; margin: 10px 0 0; }
.footer-bottom { margin-top: clamp(28px, 4.4vw, 42px); padding-top: 18px; border-top: 1px solid rgba(255,239,219,.16); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; }

/* podstrony -------------------------------------------------------------------------------*/
.page-hero { padding: clamp(112px, 16vh, 160px) 0 clamp(30px, 5vw, 52px); }
.page-hero h1 { font-size: clamp(30px, 4.8vw, 52px); font-weight: 800; line-height: 1.08; margin: 0 0 12px; max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.page-hero .lead { font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.6; color: rgba(58,50,50,.8); max-width: 60ch; margin: 0; }
.hr-dots { border: 0; margin: 24px 0 0; height: 8px; width: 120px; background: radial-gradient(circle 3.5px, var(--red-bright) 97%, transparent) 0 0 / 16px 8px repeat-x; }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(23px, 3.2vw, 32px); margin: 0 0 12px; }
.prose p { line-height: 1.7; margin: 0 0 15px; font-size: 16px; }
.prose ul { margin: 0 0 15px; padding: 0; list-style: none; display: grid; gap: 9px; }
.prose li { display: flex; gap: 10px; align-items: baseline; line-height: 1.55; }
.prose li::before { content: "🎈"; flex: none; font-size: 14px; }

/* kontakt -----------------------------------------------------------------------------------*/
.contact-grid { display: grid; gap: clamp(24px, 4.4vw, 48px); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 6px 22px rgba(34,26,26,.06); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 15px;
  border: 1.5px solid rgba(34,26,26,.22); border-radius: 12px; background: var(--cream); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: 2.5px solid var(--yellow); border-color: var(--red-bright); }
.form-rodo { font-size: 12.5px; line-height: 1.55; color: rgba(58,50,50,.62); margin: 12px 0 16px; }
.map-embed { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 18px; }

/* faq ------------------------------------------------------------------------------------------*/
.faq-list { max-width: 800px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2px 22px; }
.faq-item summary { cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; padding: 17px 30px 17px 0; color: var(--ink); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red-bright); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 18px; line-height: 1.62; font-size: 15px; color: rgba(58,50,50,.82); }

img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .atr-card, .btn { transition: none !important; }
}

/* pomocnicza siatka 2-kol dla sekcji tekst+foto na podstronach */
[data-grid-2] { grid-template-columns: 1fr; }
@media (min-width: 880px) { [data-grid-2] { grid-template-columns: 11fr 9fr; } }

/* ikony SVG w kaflach dlaczego */
.why-card .ico svg { width: 24px; height: 24px; color: var(--red); }

/* --- KONFETTI latające po ekranie (lekkie, transform-only) -------------------- */
.konfetti-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; --rise: -600px; }
.konfetti-layer span {
  position: absolute; top: 100%; border-radius: 50%; opacity: .5;
  animation: konfetti-fly linear infinite;
  will-change: transform;
}
@keyframes konfetti-fly {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(16px, calc(var(--rise) * 0.25)) rotate(90deg); }
  50%  { transform: translate(-12px, calc(var(--rise) * 0.5)) rotate(180deg); }
  75%  { transform: translate(14px, calc(var(--rise) * 0.75)) rotate(270deg); }
  100% { transform: translate(0, var(--rise)) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .konfetti-layer { display: none; }
}

/* konfetti tylko w hero, pod trescia */
.hero-mag__grid { z-index: 1; }
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }

/* --- MENU MOBILNE: bazowy panel nav.open (styles.css+scripts.js), brand ----- */
.nav-toggle { display: none; border-color: rgba(138, 0, 0, .25); background: var(--cream); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--red); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  nav[aria-label="Główna"] {
    position: fixed; left: 0; right: 0; top: var(--header-h, 69px); bottom: auto;
    justify-self: stretch; width: auto;
    display: block; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 6px 18px 18px; transform: translateY(-120%);
    transition: transform .28s ease; box-shadow: 0 18px 40px rgba(34, 26, 26, .16);
    z-index: 98; max-height: calc(100dvh - var(--header-h, 69px)); overflow-y: auto;
  }
  nav[aria-label="Główna"].open { transform: translateY(0); }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { width: 100%; }
  .site-nav a {
    display: flex; align-items: center; width: 100%; min-height: 52px;
    font-size: 17px; opacity: 1; border-bottom: 1px solid var(--line); padding: 0 4px;
  }
  .site-nav a.nav-cta {
    justify-content: center; margin-top: 14px; border-bottom: 0;
    background: var(--red); color: #fff; border-radius: 999px; min-height: 50px;
  }
}
@media (max-width: 560px) {
  .brand-tag { font-size: 9px; letter-spacing: .09em; }
  .brand img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  nav[aria-label="Główna"] { transition: none; }
}
