/* =====================================================
   OSP Zachowice – Dzień Dziecka i Bezpieczeństwa
   Główny arkusz stylów
   ===================================================== */

/* --- Zmienne i reset --- */
:root {
  --red:      #c0392b;
  --red-dark: #922b21;
  --orange:   #e67e22;
  --yellow:   #f1c40f;
  --green:    #27ae60;
  --blue:     #2980b9;
  --dark:     #2c3e50;
  --mid:      #7f8c8d;
  --light:    #ecf0f1;
  --white:    #ffffff;
  --bg:       #fdf8f0;
  --shadow:   0 4px 16px rgba(0,0,0,.12);
  --radius:   14px;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Typografia --- */
h1,h2,h3,h4 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.2;
}

/* --- Navbar --- */
.navbar {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.nav-brand .flame { font-size: 1.5rem; }

.nav-links {
  list-style: none;
  display: flex;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.88);
  padding: .45rem .85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.18);
  color: var(--white);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- Hero strony głównej --- */
.hero {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 40%, #f39c12 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-poster {
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  max-width: 380px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(0,0,0,.3);
  margin-bottom: 1rem;
}
.hero-content .subtitle {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 1.5rem;
}
.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.badge {
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  backdrop-filter: blur(4px);
}
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
.btn-white { background: var(--white); color: var(--red); }
.btn-outline { background: transparent; color: var(--white); border: 2.5px solid var(--white); margin-left: .5rem; }

/* --- Sekcje ogólne --- */
.section {
  padding: 4rem 1.5rem;
}
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.section-alt { background: var(--white); }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.section-sub {
  text-align: center;
  color: var(--mid);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.divider {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  margin: .75rem auto 2.5rem;
}
.divider-red   { background: var(--red); }
.divider-green { background: var(--green); }
.divider-blue  { background: var(--blue); }
.divider-orange{ background: var(--orange); }

/* --- Karta informacji o wydarzeniu --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.info-card .icon { font-size: 2rem; margin-bottom: .5rem; }
.info-card h3 { font-size: 1rem; color: var(--mid); margin-bottom: .25rem; }
.info-card p { font-weight: 700; font-size: 1.1rem; color: var(--dark); }

/* --- Strefy --- */
.zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.zone-card {
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
}
.zone-fun   { background: linear-gradient(135deg, #f39c12, #e67e22); }
.zone-safe  { background: linear-gradient(135deg, #27ae60, #1e8449); }
.zone-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.zone-card ul { list-style: none; }
.zone-card ul li {
  padding: .35rem 0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .95rem;
}
.zone-card ul li::before { content: '✓'; font-weight: 700; flex-shrink: 0; }

/* --- Atrakcje (ikony) --- */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.25rem;
}
.attraction-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.attraction-item:hover { transform: translateY(-4px); }
.attraction-item .icon { font-size: 2.5rem; margin-bottom: .5rem; }
.attraction-item span { font-weight: 700; font-size: .85rem; color: var(--dark); }

/* --- Strefa bezpieczeństwa (linki do podstron) --- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.safety-card {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.safety-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.25); text-decoration: none; }
.safety-card .icon { font-size: 3rem; margin-bottom: 1rem; }
.safety-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.safety-card p { font-size: .9rem; opacity: .9; }
.safety-fire   { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.safety-aid    { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.safety-road   { background: linear-gradient(135deg, #2980b9, #3498db); }

/* --- Baner bezpłatny wstęp --- */
.free-banner {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.free-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: .5rem;
}
.free-banner p { color: var(--dark); font-size: 1.05rem; }

/* --- Sponsorzy --- */
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.sponsor-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  text-align: center;
}

/* --- Footer --- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  text-align: center;
  padding: 2.5rem 1.5rem;
}
footer a { color: rgba(255,255,255,.65); }
footer .hashtags {
  margin-top: .75rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* =====================================================
   PODSTRONY – wspólne elementy
   ===================================================== */

/* --- Page hero (podstrony) --- */
.page-hero {
  padding: 3rem 1.5rem 2.5rem;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: .5rem; }
.page-hero p  { font-size: 1.1rem; opacity: .9; max-width: 650px; margin: 0 auto; }
.page-hero-fire   { background: linear-gradient(135deg, #922b21, #c0392b, #e74c3c); }
.page-hero-aid    { background: linear-gradient(135deg, #1e8449, #27ae60, #2ecc71); }
.page-hero-road   { background: linear-gradient(135deg, #1a5276, #2980b9, #3498db); }

/* --- Karta edukacyjna --- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.edu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
}
.edu-card.green  { border-left-color: var(--green); }
.edu-card.blue   { border-left-color: var(--blue); }
.edu-card.orange { border-left-color: var(--orange); }
.edu-card .card-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.edu-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.edu-card p, .edu-card li { font-size: .95rem; color: #445; }
.edu-card ul { list-style: none; }
.edu-card ul li { padding: .25rem 0; padding-left: 1.2rem; position: relative; }
.edu-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.edu-card.green ul li::before  { color: var(--green); }
.edu-card.blue  ul li::before  { color: var(--blue); }
.edu-card.orange ul li::before { color: var(--orange); }

/* --- Kroki numerowane --- */
.steps-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
}
.step-num.red    { background: var(--red); }
.step-num.green  { background: var(--green); }
.step-num.blue   { background: var(--blue); }
.step-num.orange { background: var(--orange); }
.step-body h4 { font-size: 1rem; margin-bottom: .2rem; }
.step-body p  { font-size: .9rem; color: var(--mid); }

/* --- Numery alarmowe --- */
.emergency-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}
.emer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
  min-width: 160px;
}
.emer-card .num {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.emer-card.green { border-top-color: var(--green); }
.emer-card.green .num { color: var(--green); }
.emer-card.blue  { border-top-color: var(--blue); }
.emer-card.blue  .num { color: var(--blue); }
.emer-card p { font-weight: 700; font-size: .95rem; color: var(--dark); margin-top: .4rem; }

/* =====================================================
   SLIDESHOW PREZENTACJI
   ===================================================== */
.slideshow-wrap {
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  margin: 0 auto 2.5rem;
  max-width: 860px;
}
.slides-container {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}
.slide {
  display: none;
  width: 100%;
  padding: 2.5rem 3rem;
  flex-direction: column;
  justify-content: center;
  animation: fadeSlide .4s ease;
  min-height: 420px;
}
.slide.active { display: flex; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slajd 1 – tytułowy */
.slide-title {
  background: linear-gradient(135deg, #922b21 0%, #c0392b 60%, #e74c3c 100%);
  color: var(--white);
  text-align: center;
}
.slide-title .s-eyebrow { font-size: .9rem; opacity: .8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.slide-title h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .75rem; }
.slide-title .s-subtitle { font-size: 1rem; opacity: .85; margin-bottom: 1.5rem; }
.slide-title .osp-tag { font-size: .85rem; opacity: .7; }

/* Slajd 2 – dwie kolumny */
.slide-two-col {
  background: #f8f9fa;
  color: var(--dark);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.col-card {
  border-radius: 10px;
  padding: 1.25rem;
}
.col-friend { background: #fff3cd; border-left: 4px solid #f39c12; }
.col-foe    { background: #fde8e8; border-left: 4px solid var(--red); }
.col-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.col-card ul { list-style: none; }
.col-card ul li { padding: .2rem 0; font-size: .9rem; }
.col-card ul li::before { content: '• '; font-weight: 700; }

/* Slajd 3 – trójkąt ognia */
.slide-triangle {
  background: #1a252f;
  color: var(--white);
}
.triangle-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.triangle-item {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.triangle-item .t-num { font-size: 2rem; font-weight: 900; }
.triangle-item h4 { font-size: 1rem; margin: .25rem 0; }
.triangle-item p { font-size: .85rem; opacity: .8; }
.t-fuel  .t-num { color: #f39c12; }
.t-air   .t-num { color: #3498db; }
.t-heat  .t-num { color: #e74c3c; }
.slide-triangle .s-tip {
  margin-top: 1rem;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .9rem;
  text-align: center;
  border-left: 3px solid var(--yellow);
}

/* Slajd 4 – przyczyny */
.slide-causes { background: #fff8f0; color: var(--dark); }
.causes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
}
.cause-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cause-item .c-icon { font-size: 1.6rem; flex-shrink: 0; }
.cause-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.cause-item p  { font-size: .8rem; color: var(--mid); }

/* Slajd 5 – zasady */
.slide-rules { background: #f0fff4; color: var(--dark); }
.rules-list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.rules-list li {
  background: var(--white);
  border-radius: 8px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .92rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.rules-list li .r-num {
  width: 1.8rem;
  height: 1.8rem;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .85rem;
  flex-shrink: 0;
}

/* Slajd 6 – czad */
.slide-co { background: #1c2833; color: var(--white); }
.co-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.co-item {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.co-item .co-icon { font-size: 2rem; margin-bottom: .5rem; }
.co-item h4 { font-size: .95rem; font-weight: 700; }
.co-item p { font-size: .8rem; opacity: .8; margin-top: .25rem; }
.co-alert {
  background: rgba(231,76,60,.25);
  border: 1px solid rgba(231,76,60,.5);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .9rem;
  text-align: center;
  margin-top: .5rem;
}

/* Slajd 7 – co robić */
.slide-action { background: #fdf2e9; color: var(--dark); }
.action-steps { display: flex; flex-direction: column; gap: .45rem; margin-top: .75rem; }
.action-step {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--white);
  border-radius: 8px;
  padding: .65rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.action-step .a-num {
  width: 1.8rem; height: 1.8rem;
  background: var(--red); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; flex-shrink: 0;
}
.action-step h4 { font-size: .88rem; font-weight: 700; margin-bottom: .1rem; }
.action-step p { font-size: .8rem; color: var(--mid); }

/* Slajd 8 – numery */
.slide-numbers {
  background: linear-gradient(135deg, #1a5276, #2980b9);
  color: var(--white);
  text-align: center;
}
.slide-numbers h2 { margin-bottom: 1.25rem; font-size: 1.5rem; }
.num-row { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.num-box {
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
}
.num-box .big-num { font-size: 3rem; font-weight: 900; line-height: 1; }
.num-box p { font-size: .85rem; opacity: .85; margin-top: .25rem; }
.slide-numbers .num-tip {
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Slajd 9 – podsumowanie */
.slide-end {
  background: linear-gradient(135deg, #1e8449, #27ae60, #2ecc71);
  color: var(--white);
  text-align: center;
}
.slide-end .big-emoji { font-size: 4rem; margin-bottom: 1rem; }
.slide-end h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5rem; }
.slide-end p { opacity: .9; margin-bottom: .75rem; font-size: .95rem; }
.slide-end .osp-tag { font-size: .85rem; opacity: .7; margin-top: 1rem; }

/* --- Kontrolki slideshow --- */
.slide-controls {
  background: #1a1a2e;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.slide-nav { display: flex; gap: .5rem; }
.slide-btn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 8px;
  padding: .4rem .9rem;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition);
}
.slide-btn:hover { background: rgba(255,255,255,.25); }
.slide-btn:disabled { opacity: .35; cursor: default; }
.slide-counter {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
}
.slide-dots {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.dot.active { background: var(--white); transform: scale(1.25); }
.slide-autoplay {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 8px;
  padding: .35rem .8rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  transition: background var(--transition);
}
.slide-autoplay:hover { background: rgba(255,255,255,.25); }
.slide-autoplay.playing { background: rgba(39,174,96,.35); border-color: var(--green); }

/* --- Przycisk fullscreen --- */
#fullscreenBtn {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  font-size: .82rem;
  letter-spacing: .3px;
}
#fullscreenBtn.active-fs {
  background: rgba(231,76,60,.35);
  border-color: var(--red);
}

/* --- Tryb pełnoekranowy --- */
.slideshow-wrap.is-fullscreen {
  border-radius: 0;
  max-width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
}
.slideshow-wrap.is-fullscreen .slides-container {
  flex: 1;
  min-height: 0;
}
.slideshow-wrap.is-fullscreen .slide {
  min-height: 0;
  height: 100%;
  padding: 3rem 5rem;
  font-size: 1.1em;
}
.slideshow-wrap.is-fullscreen .slide-controls {
  flex-shrink: 0;
  padding: 1rem 2rem;
  background: #000;
}
/* W pełnym ekranie powiększ elementy slajdów */
.slideshow-wrap.is-fullscreen .slide-title h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.slideshow-wrap.is-fullscreen .two-col-grid,
.slideshow-wrap.is-fullscreen .triangle-grid,
.slideshow-wrap.is-fullscreen .co-grid        { gap: 2rem; }
.slideshow-wrap.is-fullscreen .rules-list li,
.slideshow-wrap.is-fullscreen .action-step    { font-size: 1rem; }
.slideshow-wrap.is-fullscreen .big-num        { font-size: 4.5rem; }
.slideshow-wrap.is-fullscreen .num-box        { padding: 1.5rem 3rem; }

/* Webkit prefix dla Safari */
.slideshow-wrap:-webkit-full-screen { border-radius: 0; }
.slideshow-wrap:-moz-full-screen    { border-radius: 0; }

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--red); padding: 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-poster { max-width: 280px; }
  .event-badges { justify-content: center; }

  .zones-grid { grid-template-columns: 1fr; }
  .two-col-grid { grid-template-columns: 1fr; }
  .triangle-grid, .co-grid, .causes-grid { grid-template-columns: 1fr; }

  .slide { padding: 1.5rem; min-height: 380px; }

  .num-row { gap: 1rem; }
  .num-box .big-num { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .slideshow-wrap { margin: 0 -1rem 2rem; border-radius: 0; }
}
