/*
Theme Name: Pomoc Drogowa3
Theme URI: https://example.com
Description: Profesjonalny szablon dla firmy pomocy drogowej - holowanie, obsługa kolizji, pojazdy zastępcze, zdarzenia drogowe.
Author: Twoja Firma
Author URI: https://example.com
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pomoc-drogowa
Tags: automotive, mixed-light-dark, responsive, custom-post-type
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --- Akcenty --- */
  --red:        #cc1111;
  --red-dark:   #a00d0d;
  --red-light:  #e52222;

  /* --- Ciemna paleta (header, footer, hero, sekcje dark) --- */
  --dark:       #111111;
  --dark2:      #1a1a1a;
  --dark3:      #222222;
  --dark4:      #2d2d2d;
  --dark-border:#333333;
  --dark-text:  #dddddd;
  --dark-muted: #888888;

  /* --- Jasna paleta (sekcje light) --- */
  --light-bg:   #ffffff;
  --light-bg2:  #f4f5f7;
  --light-bg3:  #eaedf1;
  --light-text: #1e2328;
  --light-sub:  #4a5260;
  --light-muted:#6b7280;
  --light-border:#d1d5db;
  --light-card: #ffffff;
  --light-card-border: #e5e7eb;
  --light-shadow: 0 4px 20px rgba(0,0,0,0.09);

  /* --- Ogólne --- */
  --white:      #ffffff;
  --off-white:  #f0f0f0;
  --font-main:  'Montserrat', 'Segoe UI', Arial, sans-serif;
  --radius:     6px;
  --shadow:     0 4px 20px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--light-bg2);
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--light-text);
  margin-bottom: .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; color: var(--light-sub); }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }

/* ============================================================
   CONTAINER & SEKCJE
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 76px 0; }

/* Jasne sekcje */
.section--light  { background: var(--light-bg);  }
.section--light2 { background: var(--light-bg2); }
.section--light3 { background: var(--light-bg3); }

/* Ciemne sekcje */
.section--dark   { background: var(--dark2); }
.section--dark2  { background: var(--dark);  }
.section--dark3  { background: var(--dark3); }

/* Na jasnym tle: korekta kolorów tekstu */
.section--light  h1, .section--light  h2, .section--light  h3, .section--light  h4,
.section--light2 h1, .section--light2 h2, .section--light2 h3, .section--light2 h4,
.section--light3 h1, .section--light3 h2, .section--light3 h3, .section--light3 h4 {
  color: var(--light-text);
}
.section--light  p, .section--light2 p, .section--light3 p { color: var(--light-sub); }

/* Na ciemnym tle: korekta kolorów tekstu */
.section--dark  h1, .section--dark  h2, .section--dark  h3, .section--dark  h4,
.section--dark2 h1, .section--dark2 h2, .section--dark2 h3, .section--dark2 h4,
.section--dark3 h1, .section--dark3 h2, .section--dark3 h3, .section--dark3 h4 {
  color: #ffffff;
}
.section--dark p, .section--dark2 p, .section--dark3 p { color: var(--dark-text); }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title h2 { margin-bottom: .3em; }
.section-title p { max-width: 600px; margin: 0 auto; font-size: 1rem; }
.section-title .accent-line {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section--dark  .section-title p,
.section--dark2 .section-title p,
.section--dark3 .section-title p { color: var(--dark-muted); }

.text-red   { color: var(--red) !important; }
.text-white { color: #fff !important; }
.text-dark  { color: var(--light-text) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--light-text);
  border-color: var(--light-text);
}
.btn-outline-dark:hover { background: var(--light-text); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--dark); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

.btn-sm  { padding: 9px 20px; font-size: .82rem; }
.btn-lg  { padding: 17px 40px; font-size: 1.05rem; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  padding: 9px 0;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #aaa; }
.topbar a:hover { color: #fff; }
.topbar .phone-emergency { color: var(--red) !important; font-weight: 700; font-size: 1rem; }
.topbar .phone-emergency:hover { color: #ff4444 !important; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  background: var(--dark3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,.55);
  transition: background var(--transition);
}
#site-header.scrolled { background: rgba(17,17,17,.97); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 50px; width: auto; }
.site-logo-text .logo-main { display: block; font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: .02em; }
.site-logo-text .logo-sub  { display: block; font-size: .7rem; color: var(--red); text-transform: uppercase; letter-spacing: .15em; }

#main-nav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
#main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: .855rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #e8e8e8;
  border-radius: 4px;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a,
#main-nav ul li.current-page-ancestor a {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.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); }

.header-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 1024px) { .header-cta .btn { display: none; } }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    border-top: 2px solid var(--red);
    padding: 20px;
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  #main-nav ul li a { padding: 12px 10px; border-bottom: 1px solid var(--dark-border); border-radius: 0; }
}

/* ============================================================
   HERO (ciemny – efektowny kontrast z jasną treścią)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(.3);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.85) 40%, rgba(180,10,10,.18) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 span { color: var(--red); }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-phone { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-size: .9rem; color: rgba(255,255,255,.6); }
.hero-phone strong { color: #fff; font-size: 1.3rem; }
.hero-phone .phone-icon { font-size: 1.4rem; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.35); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
}
.hero-scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:.35;} 50%{opacity:.9;} }

/* ============================================================
   EMERGENCY STRIP (ciemny czerwony)
   ============================================================ */
.emergency-strip {
  background: var(--red);
  padding: 20px 0;
}
.emergency-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.emergency-strip h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.emergency-strip p  { color: rgba(255,255,255,.88); margin: 0; font-size: .9rem; }
.emergency-strip .emergency-phone { font-size: 1.9rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; }

/* ============================================================
   SERVICES GRID (JASNE TŁO)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--light-card);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--light-shadow);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,.14); border-color: var(--red); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.service-card h3 { font-size: 1.1rem; margin-bottom: .5em; color: var(--light-text); }
.service-card p  { color: var(--light-muted); font-size: .9rem; margin-bottom: 20px; line-height: 1.65; }

/* ============================================================
   STATS BAR (czerwony – bez zmian)
   ============================================================ */
.stats-bar { background: var(--red); padding: 44px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; text-align: center;
}
.stat-item .stat-number { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-item .stat-label  { font-size: .85rem; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* ============================================================
   HOW WE WORK – STEPS (ciemna sekcja)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 38px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--dark-border); z-index: 0;
}
.step-item { text-align: center; padding: 20px; position: relative; z-index: 1; }
.step-number {
  width: 76px; height: 76px;
  background: var(--dark3);
  border: 3px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: var(--red);
  margin: 0 auto 18px;
}
.step-item h4 { color: #fff; margin-bottom: .4em; }
.step-item p  { color: var(--dark-muted); font-size: .875rem; }

/* ============================================================
   WHY US – FEATURES (jasna sekcja)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon-box {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(204,17,17,.3);
}
.feature-item h4 { color: var(--light-text); margin-bottom: .3em; font-size: 1rem; }
.feature-item p  { color: var(--light-muted); font-size: .875rem; margin: 0; }

/* ============================================================
   EVENTS GRID (naprzemiennie – karty na jasnym tle)
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Jasna karta zdarzenia */
.event-card {
  background: var(--light-card);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--light-shadow);
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.14); }
.event-card-img {
  height: 200px;
  background: var(--light-bg3);
  overflow: hidden; position: relative;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-card:hover .event-card-img img { transform: scale(1.05); }
.event-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 20px;
}
.event-card-body { padding: 22px; }
.event-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--light-muted); margin-bottom: 10px; flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: 4px; }
.event-card h3 { font-size: 1.05rem; margin-bottom: .5em; color: var(--light-text); }
.event-card h3 a { color: var(--light-text); }
.event-card h3 a:hover { color: var(--red); }
.event-card p { font-size: .875rem; color: var(--light-muted); margin-bottom: 16px; }

/* Ciemna karta zdarzenia (do archiwum na ciemnym tle) */
.event-card--dark {
  background: var(--dark3);
  border-color: var(--dark-border);
  box-shadow: var(--shadow);
}
.event-card--dark .event-card-img { background: var(--dark4); }
.event-card--dark .event-meta      { color: var(--dark-muted); }
.event-card--dark h3               { color: #fff; }
.event-card--dark h3 a             { color: #fff; }
.event-card--dark h3 a:hover       { color: var(--red); }
.event-card--dark p                { color: var(--dark-muted); }

/* ============================================================
   TESTIMONIALS (ciemna sekcja)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--dark3);
  border: 1px solid var(--dark-border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card .quote { font-size: 3rem; color: var(--red); opacity: .3; line-height: 1; margin-bottom: -6px; }
.testimonial-card p { color: var(--dark-text); font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar { width: 44px; height: 44px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: .9rem; }
.testimonial-author strong { color: #fff; display: block; font-size: .9rem; }
.testimonial-author span   { color: var(--dark-muted); font-size: .8rem; }
.stars { color: var(--red); font-size: .9rem; margin-bottom: 12px; }

/* ============================================================
   CONTACT SECTION (jasna sekcja)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { color: var(--light-text); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(204,17,17,.25);
}
.contact-item h4   { color: var(--light-text); font-size: .85rem; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.contact-item p    { color: var(--light-sub); margin: 0; font-size: .95rem; }
.contact-item a    { color: var(--light-sub); }
.contact-item a:hover { color: var(--red); }

/* Contact Form – jasny styl */
.contact-form {
  background: var(--light-bg);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--light-shadow);
}
.contact-form h3 { margin-bottom: 24px; color: var(--light-text); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--light-text); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--light-bg2);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  color: var(--light-text);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,17,17,.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   MAP
   ============================================================ */
.map-container { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--light-card-border); }
.map-container iframe { display: block; width: 100%; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--dark);
  padding: 70px 0 50px;
  border-bottom: 3px solid var(--red);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: var(--red); opacity: .06; border-radius: 50%;
}
.page-header h1 { margin-bottom: .3em; color: #fff; }
.page-header p  { color: #aaa; }
.page-header .breadcrumb { font-size: .8rem; color: #888; margin-bottom: 10px; }
.page-header .breadcrumb a { color: #888; }
.page-header .breadcrumb a:hover { color: var(--red); }

.page-content { padding: 60px 0; background: var(--light-bg2); }
.page-content-inner { max-width: 860px; }
.page-content-inner h2 { margin-top: 1.8em; margin-bottom: .5em; }
.page-content-inner p  { line-height: 1.85; }

/* ============================================================
   SINGLE ZDARZENIE
   ============================================================ */
.single-event-header { background: var(--dark); padding: 60px 0 40px; border-bottom: 3px solid var(--red); }
.single-event-header .breadcrumb { font-size: .8rem; color: #888; margin-bottom: 16px; }
.single-event-header .breadcrumb a { color: #888; }
.single-event-header .breadcrumb a:hover { color: var(--red); }
.single-event-header h1 { color: #fff; margin-bottom: .4em; }

.event-meta-bar {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border);
  margin: 20px 0; font-size: .875rem; color: #999;
}
.event-meta-bar .meta-item { display: flex; align-items: center; gap: 7px; }
.event-meta-bar .meta-item strong { color: #fff; }

.event-content-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 40px; padding: 50px 0;
  background: var(--light-bg2);
}
@media (max-width: 768px) { .event-content-grid { grid-template-columns: 1fr; } }

.event-body { font-size: 1rem; line-height: 1.8; color: var(--light-sub); }
.event-body h2, .event-body h3 { color: var(--light-text); margin-top: 1.5em; }
.event-body img { border-radius: var(--radius); margin: 24px 0; }

.event-sidebar {}
.event-sidebar-box {
  background: var(--light-bg);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--light-shadow);
}
.event-sidebar-box h4 {
  color: var(--light-text); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.event-map-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--light-card-border); }
.event-map-wrapper iframe { display: block; width: 100%; height: 300px; }

/* ============================================================
   ARCHIVE EVENTS
   ============================================================ */
.archive-header { background: var(--dark); padding: 60px 0 40px; border-bottom: 3px solid var(--red); }
.archive-header h1 { color: #fff; margin-bottom: .3em; }
.archive-header p  { color: #aaa; }

.archive-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 7px 18px; border-radius: 20px;
  border: 1px solid var(--light-border);
  background: transparent; color: var(--light-muted);
  font-size: .85rem; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   FOOTER (ciemny)
   ============================================================ */
#site-footer { background: var(--dark); border-top: 3px solid var(--red); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 18px;
  position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--red);
}
.footer-col p   { color: #999; font-size: .875rem; line-height: 1.7; }
.footer-col ul  { list-style: none; padding: 0; }
.footer-col ul li  { margin-bottom: 8px; }
.footer-col ul li a { color: #999; font-size: .875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item span.icon { color: var(--red); font-size: 1rem; margin-top: 2px; }
.footer-contact-item p { margin: 0; color: #999; font-size: .875rem; }
.footer-contact-item a { color: #999; }
.footer-contact-item a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--dark-border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: .8rem; color: #555;
}
.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: var(--red); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
  color: var(--light-sub); font-size: .875rem;
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--red); color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; z-index: 999;
  box-shadow: 0 4px 14px rgba(204,17,17,.4);
  transition: background var(--transition);
}
#scroll-top:hover { background: var(--red-dark); }
#scroll-top.visible { display: flex; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-0  { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.d-flex { display: flex; }
.gap-16 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .hero { min-height: 80vh; }
  .steps-grid::before { display: none; }
  .emergency-strip .container { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .event-content-grid { background: var(--light-bg2); padding: 30px 0; }
}
@media (max-width: 480px) {
  .section { padding: 36px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
