/* ═══════════════════════════════════════════════════════
   SalsoScena — Kubańskie lato z pazurem
   Paleta: terrakota · bursztyn · malachit · kremowa biel
═══════════════════════════════════════════════════════ */

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

:root {
  /* Kolory kubańskie */
  --terra:        #C1440E;   /* terrakota – główny */
  --terra-dark:   #8B2500;
  --terra-light:  #E05530;
  --amber:        #C8841A;   /* bursztyn – akcent */
  --amber-light:  #E8A84A;
  --malachite:    #1B7A6B;   /* malachit – kontrast */
  --malachite-dark: #0F5248;
  --forest:       #2D6A4F;

  /* Tła */
  --espresso:     #1E0E06;   /* hero tło */
  --tobacco:      #2C1810;   /* tekst ciemny */
  --cream:        #FEF9EF;   /* główne tło */
  --cream-warm:   #F5EDD8;   /* sekcje alternatywne */
  --cream-card:   #FFFDF8;   /* karty */
  --sand:         #E8D5B0;   /* granice */
  --sand-light:   #F0E6CC;

  /* Tekst */
  --text:         #2C1810;
  --text-soft:    #6B4226;
  --text-muted:   #A08870;

  /* Cienie */
  --shadow-sm:    0 2px 8px rgba(44,24,16,.08);
  --shadow-md:    0 6px 24px rgba(44,24,16,.12);
  --shadow-lg:    0 16px 48px rgba(44,24,16,.18);
  --shadow-terra: 0 6px 24px rgba(193,68,14,.25);

  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--terra); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }

/* Tabler icons – bazowy rozmiar */
.ti { font-size: 1.1em; vertical-align: -0.15em; }

/* ── Container ───────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nawigacja ───────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--cream);
  border-bottom: 2px solid var(--sand);
  box-shadow: 0 2px 12px rgba(44,24,16,.07);
}

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

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Pacifico', cursive; font-size: 21px;
  color: var(--terra) !important; text-decoration: none !important;
  letter-spacing: .5px;
}

.nav-brand-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--terra); display: flex; align-items: center; justify-content: center;
  animation: pulse-ring 3s ease-in-out infinite;
}
.nav-brand-icon .ti { color: #fff; font-size: 18px; }

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,68,14,.4); }
  50% { box-shadow: 0 0 0 8px rgba(193,68,14,0); }
}

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  color: var(--text-soft); font-size: 13.5px; font-weight: 600;
  padding: 6px 13px; border-radius: 20px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: #F5EDD8; color: var(--terra);
}

/* ── Flash messages ──────────────────────────────── */
.flash-container { padding: 10px 24px; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; animation: slideIn .3s ease; }
@keyframes slideIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:none} }
.flash .ti { font-size: 18px; }
.flash-error   { background: #FFF0EB; color: #8B2500; border-left: 3px solid var(--terra); }
.flash-warning { background: #FFF8E8; color: #7A4E00; border-left: 3px solid var(--amber); }
.flash-success { background: #E8F5F0; color: #0F5248; border-left: 3px solid var(--malachite); }

/* ── Sekcje ──────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--cream-warm); }

.section-title {
  font-family: 'Playfair Display', 'Pacifico', serif;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  color: var(--tobacco);
  text-align: center;
  margin-bottom: 10px;
}

.section-title-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--terra), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center; color: var(--text-soft); font-size: 15px;
  margin-bottom: 44px; max-width: 580px; margin-left: auto; margin-right: auto;
}

/* ═══════════════════════════════════════════════════
   HERO – Vintage kubański plakat
═══════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--espresso);
  padding: 90px 24px 80px;
  /* Faktura – subtelna kratka jak płótno */
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,.012) 40px, rgba(255,255,255,.012) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.012) 40px, rgba(255,255,255,.012) 41px),
    radial-gradient(ellipse at 75% 40%, rgba(193,68,14,.55) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 70%, rgba(200,132,26,.3) 0%, transparent 45%),
    linear-gradient(175deg, #1E0E06 0%, #3A1408 60%, #1A0A00 100%);
}

/* Dekoracyjne ramki w rogach – styl vintage */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border: 2px solid rgba(200,132,26,.35);
  pointer-events: none;
}
.hero::before { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hero::after  { bottom: 24px; right: 24px; border-left: none; border-top: none; }

/* Duże tło – "SALSA" napis */
.hero-bg-text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Pacifico', cursive; font-size: clamp(120px, 22vw, 280px);
  color: rgba(193,68,14,.07); pointer-events: none; user-select: none;
  line-height: 1; letter-spacing: -10px;
  text-shadow: none;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }

/* Górna etykieta */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(200,132,26,.5);
  color: var(--amber-light);
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 2px; margin-bottom: 22px;
}

.hero-free-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--malachite); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; margin-left: 10px;
}

.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(52px, 10vw, 104px);
  color: #FEF9EF;
  text-shadow: 0 4px 32px rgba(0,0,0,.5), 3px 3px 0 rgba(193,68,14,.4);
  margin-bottom: 0; line-height: 1; letter-spacing: -1px;
}

.hero-title-edition {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: var(--amber-light);
  letter-spacing: 4px;
  text-shadow: none;
  margin-top: 2px;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 2.2vw, 20px);
  color: var(--amber-light); font-style: italic;
  margin-top: 18px; margin-bottom: 40px; letter-spacing: .5px;
  opacity: .75;
}

/* Karty wydarzenia – styl vintage badge */
.event-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }

.event-card {
  background: rgba(254,249,239,.06);
  border: 1px solid rgba(200,132,26,.3);
  border-radius: 4px;
  padding: 20px 16px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}
.event-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,68,14,.08), transparent);
  pointer-events: none;
}
.event-card:hover { border-color: rgba(200,132,26,.6); background: rgba(254,249,239,.1); }

.event-card-icon { margin-bottom: 10px; }
.event-card-icon .ti { font-size: 26px; color: var(--amber-light); }

.event-card-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 2.5px;
  color: rgba(254,249,239,.45); margin-bottom: 6px; font-weight: 700;
}
.event-card-value { font-size: 14px; font-weight: 700; color: rgba(254,249,239,.95); line-height: 1.35; }
.event-card-sub   { font-size: 12px; color: var(--amber-light); margin-top: 5px; }

.event-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 11px; font-weight: 700;
  color: var(--malachite); border-bottom: 1px dotted rgba(27,122,107,.5);
  text-decoration: none;
}
.event-card-link .ti { font-size: 13px; }
.event-card-link:hover { color: #4ECFBD; }

.hero-description {
  font-size: 15px; color: rgba(254,249,239,.78); line-height: 1.75;
  margin: 0 auto 26px; max-width: 620px;
}

/* Spots badge */
.hero-spots { margin-bottom: 28px; }
.spots-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 2px; font-weight: 700; font-size: 14px;
}
.spots-badge .ti { font-size: 16px; }
.spots-normal   { background: rgba(27,122,107,.2); color: #5DE0CB; border: 1px solid rgba(27,122,107,.5); }
.spots-reserve  { background: rgba(200,132,26,.2); color: var(--amber-light); border: 1px solid rgba(200,132,26,.4); }
.spots-waitlist { background: rgba(193,68,14,.2);  color: #F5967A; border: 1px solid rgba(193,68,14,.4); }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 3px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  border: 2px solid transparent; text-decoration: none !important;
  white-space: nowrap; letter-spacing: .3px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ti { font-size: 16px; }

.btn-primary {
  background: var(--terra); color: #fff;
  box-shadow: var(--shadow-terra);
}
.btn-primary:hover { background: var(--terra-light); box-shadow: 0 8px 28px rgba(193,68,14,.38); }

.btn-amber {
  background: var(--amber); color: #fff;
  box-shadow: 0 4px 16px rgba(200,132,26,.3);
}
.btn-amber:hover { background: var(--amber-light); }

.btn-ghost {
  background: transparent; color: rgba(254,249,239,.85);
  border-color: rgba(254,249,239,.3);
}
.btn-ghost:hover { border-color: var(--amber-light); color: var(--amber-light); }

.btn-malachite {
  background: var(--malachite); color: #fff;
  box-shadow: 0 4px 14px rgba(27,122,107,.3);
}
.btn-malachite:hover { background: var(--malachite-dark); }

.btn-outline {
  background: transparent; color: var(--text-soft);
  border-color: var(--sand);
}
.btn-outline:hover { border-color: var(--terra); color: var(--terra); }

.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook:hover { background: #166FE5; }

.btn-success { background: var(--forest); color: #fff; }
.btn-success:hover { background: var(--malachite-dark); }

.btn-large { padding: 14px 32px; font-size: 15px; }
.btn-sm    { padding: 7px 16px; font-size: 13px; border-radius: 3px; }
.btn-outline-sm { padding: 7px 16px; font-size: 13px; border: 1.5px solid var(--sand); color: var(--text-soft); border-radius: 3px; }
.btn-outline-sm:hover { border-color: var(--terra); color: var(--terra); }

/* ═══════════════════════════════════════════════════
   O WARSZTATACH
═══════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.about-card {
  background: var(--cream-card);
  border: 1.5px solid var(--sand-light);
  border-top: 3px solid var(--terra);
  border-radius: var(--radius-sm);
  padding: 28px 22px; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.about-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--amber);
  box-shadow: 0 10px 30px rgba(44,24,16,.1);
}

.about-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terra), var(--amber));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.about-icon .ti { font-size: 24px; color: #fff; }

.about-card h3 { font-size: 16px; font-weight: 800; color: var(--tobacco); margin-bottom: 8px; }
.about-card p  { color: var(--text-soft); font-size: 13.5px; line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   PLAN DNIA
═══════════════════════════════════════════════════ */
.section-schedule { background: var(--espresso); position: relative; overflow: hidden; }

/* Subtelna faktura na ciemnej sekcji */
.section-schedule::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(193,68,14,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(200,132,26,.15) 0%, transparent 45%);
  pointer-events: none;
}

.section-schedule .section-title { color: var(--cream); }
.section-schedule .section-subtitle { color: rgba(254,249,239,.6); }

.schedule-timeline {
  max-width: 680px; margin: 0 auto; position: relative;
}
.schedule-timeline::before {
  content: ''; position: absolute; left: 74px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--terra) 0%, var(--amber) 50%, var(--malachite) 100%);
}

.schedule-item {
  display: grid; grid-template-columns: 74px 44px 1fr;
  align-items: flex-start; margin-bottom: 8px;
}

.schedule-time {
  font-size: 13px; font-weight: 700; color: var(--amber-light);
  padding-top: 15px; text-align: right; padding-right: 14px;
  font-variant-numeric: tabular-nums; font-family: 'Playfair Display', serif;
}

.schedule-dot-wrap {
  display: flex; justify-content: center; padding-top: 17px; position: relative; z-index: 1;
}

.schedule-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--espresso); flex-shrink: 0;
}
.dot-start  { background: var(--terra); box-shadow: 0 0 0 3px rgba(193,68,14,.3); }
.dot-block  { background: var(--amber); box-shadow: 0 0 0 3px rgba(200,132,26,.3); }
.dot-break  { background: #5A4030; }
.dot-party  { background: var(--malachite); box-shadow: 0 0 0 3px rgba(27,122,107,.3); }

.schedule-content {
  background: rgba(254,249,239,.05);
  border: 1px solid rgba(254,249,239,.1);
  border-left: 2px solid rgba(200,132,26,.4);
  border-radius: 4px; padding: 13px 16px;
  margin-left: 12px; margin-bottom: 10px;
  transition: var(--transition);
}
.schedule-content:hover { background: rgba(254,249,239,.09); border-left-color: var(--amber); }

.schedule-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px; }
.label-start  { color: rgba(193,68,14,.9); }
.label-block  { color: var(--amber-light); }
.label-break  { color: rgba(254,249,239,.35); }
.label-party  { color: var(--malachite); }

.schedule-content h3 { font-size: 14.5px; font-weight: 700; color: rgba(254,249,239,.9); margin-bottom: 3px; }
.schedule-content p  { font-size: 13px; color: rgba(254,249,239,.55); line-height: 1.5; margin: 0; }

.schedule-info-box {
  max-width: 680px; margin: 24px auto 0;
  background: rgba(27,122,107,.15);
  border: 1px solid rgba(27,122,107,.4);
  border-radius: 4px; padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.schedule-info-box .ti { font-size: 24px; color: var(--malachite); flex-shrink: 0; }
.schedule-info-box h4 { font-size: 14px; font-weight: 700; color: rgba(254,249,239,.9); margin-bottom: 4px; }
.schedule-info-box p  { font-size: 13px; color: rgba(254,249,239,.55); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════
   FORMULARZ ZAPISÓW
═══════════════════════════════════════════════════ */
.spots-info-banner {
  max-width: 740px; margin: 0 auto 28px;
  border-radius: 4px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 14px; border-left: 4px solid;
}
.spots-info-banner .ti { font-size: 22px; flex-shrink: 0; }
.banner-normal   { background: #E8F5F0; border-color: var(--malachite); color: #0F5248; }
.banner-reserve  { background: #FFF5E0; border-color: var(--amber);     color: #7A4E00; }
.banner-waitlist { background: #FFF0EB; border-color: var(--terra);     color: #8B2500; }
.banner-text small { display: block; font-weight: 500; font-size: 12px; opacity: .8; margin-top: 2px; }

.registration-form {
  background: var(--cream-card);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  padding: 40px; max-width: 740px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px dashed var(--sand); }
.form-section:last-of-type { border-bottom: none; }

.form-section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-section-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terra), var(--amber));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-section-icon .ti { font-size: 18px; color: #fff; }
.form-section-header h3 { font-size: 16px; font-weight: 800; color: var(--tobacco); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label { font-size: 11.5px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .7px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px; font-family: 'Poppins', sans-serif;
  color: var(--text); transition: var(--transition); outline: none;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus {
  border-color: var(--terra);
  background: #FFF5EE;
  box-shadow: 0 0 0 3px rgba(193,68,14,.1);
}
.form-group input:valid:not(:placeholder-shown) { border-color: var(--malachite); }
.form-group small { font-size: 12px; color: var(--text-muted); }

/* Poziom zaawansowania */
.skill-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skill-card { cursor: pointer; }
.skill-card input[type="radio"] { display: none; }
.skill-card-inner {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 18px 12px;
  background: var(--cream); border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm); text-align: center; transition: var(--transition);
}
.skill-card:hover .skill-card-inner { border-color: var(--amber); background: #FFF8EE; }
.skill-card input:checked + .skill-card-inner {
  border-color: var(--terra); background: #FFF5EE;
  box-shadow: 0 0 0 3px rgba(193,68,14,.12); transform: translateY(-2px);
}
.skill-icon .ti { font-size: 28px; color: var(--terra); }
.skill-card input:checked + .skill-card-inner .skill-icon .ti { color: var(--terra); }
.skill-card-inner strong { font-size: 13px; color: var(--tobacco); font-weight: 800; }
.skill-card-inner small  { font-size: 11px; color: var(--text-soft); line-height: 1.4; }

/* RODO */
.form-section-rodo {
  background: #FFF8E8; border: 1.5px solid #E8D5A0;
  border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 16px;
}
.checkbox-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 13.5px; color: var(--text-soft); line-height: 1.6;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px; height: 20px; min-width: 20px;
  border: 2px solid var(--sand); border-radius: 3px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); margin-top: 2px;
}
.checkbox-label input:checked + .checkbox-custom { background: var(--terra); border-color: var(--terra); }
.checkbox-label input:checked + .checkbox-custom::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 800; }
.link-inline { color: var(--terra); font-weight: 600; }

.form-submit { text-align: center; margin-top: 28px; }
.btn-submit  { min-width: 240px; }
.form-note   { margin-top: 12px; font-size: 12.5px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   POPRZEDNIE EDYCJE
═══════════════════════════════════════════════════ */
.editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.edition-card {
  background: var(--cream-card); border: 1.5px solid var(--sand-light);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.edition-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(44,24,16,.1); border-color: var(--sand); }

.edition-photo { height: 175px; overflow: hidden; }
.edition-photo img { width: 100%; height: 100%; object-fit: cover; }
.edition-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F5EDD8, #E8D5B0); font-size: 48px;
}

.edition-body { padding: 18px 20px; }
.edition-date  { font-size: 10.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.edition-body h3 { color: var(--tobacco); font-size: 16px; margin-bottom: 8px; font-weight: 800; }
.edition-body p  { color: var(--text-soft); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.edition-links   { display: flex; gap: 10px; flex-wrap: wrap; }
.no-editions     { text-align: center; color: var(--text-muted); font-size: 15px; padding: 40px; }

/* ═══════════════════════════════════════════════════
   FUNDACJA MUSA
═══════════════════════════════════════════════════ */
.section-musa {
  background: linear-gradient(135deg, #2C1810 0%, #3A1E0E 50%, #1E0E06 100%);
  position: relative; overflow: hidden;
}
.section-musa::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(193,68,14,.2) 0%, transparent 60%);
  pointer-events: none;
}

.musa-wrapper { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }

.musa-logo-box {
  background: rgba(254,249,239,.07); border: 1px solid rgba(200,132,26,.3);
  border-radius: 4px; padding: 24px;
  display: flex; align-items: center; justify-content: center;
}
.musa-logo-large { max-width: 150px; max-height: 90px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }

.musa-content h2 {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900;
  color: var(--cream); margin-bottom: 6px;
}
.musa-tagline { font-style: italic; color: var(--amber-light); font-size: 14px; margin-bottom: 14px; }
.musa-content p  { color: rgba(254,249,239,.65); font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
.musa-links      { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   RODO
═══════════════════════════════════════════════════ */
.section-rodo { background: var(--cream-warm); }
.section-rodo .section-title { color: var(--tobacco); }

.rodo-content { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.rodo-block { background: var(--cream-card); border: 1px solid var(--sand-light); border-radius: var(--radius-sm); padding: 18px 22px; }
.rodo-block h3 { font-size: 12px; font-weight: 800; color: var(--terra); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.rodo-block p, .rodo-block ul { color: var(--text-soft); font-size: 13.5px; line-height: 1.75; }
.rodo-block ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* ═══════════════════════════════════════════════════
   STRONY POMOCNICZE (confirm / success / admin)
═══════════════════════════════════════════════════ */
.page-center {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px; background: var(--cream);
}

.confirm-card, .success-card, .admin-login-card {
  background: var(--cream-card); border: 1.5px solid var(--sand);
  border-radius: var(--radius-lg); padding: 48px 40px;
  max-width: 500px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}

.confirm-icon, .success-icon, .admin-login-icon { margin-bottom: 16px; }
.confirm-icon .ti, .success-icon .ti, .admin-login-icon .ti { font-size: 56px; color: var(--terra); }

.confirm-card h1, .success-card h1, .admin-login-card h1 {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900;
  color: var(--tobacco); margin-bottom: 14px;
}

.confirm-info { color: var(--text-soft); margin-bottom: 10px; font-size: 15px; line-height: 1.6; }
.confirm-hint { color: var(--text-soft); margin-bottom: 20px; font-size: 14px; }
.admin-login-card p { color: var(--text-soft); margin-bottom: 24px; }

.confirm-email {
  display: inline-block; background: #FFF5EE; border: 1.5px solid var(--sand);
  color: var(--terra); padding: 4px 14px; border-radius: 20px;
  font-weight: 700; margin-top: 6px; font-size: 14px;
}

/* Code input – 6 cyfr */
.code-form { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 22px 0; }
.code-inputs input {
  font-size: 32px; font-weight: 900; letter-spacing: 12px;
  text-align: center; width: 300px;
  padding: 16px 20px 16px 32px;
  background: var(--cream); border: 2px solid var(--sand);
  border-radius: var(--radius-sm); color: var(--tobacco);
  outline: none; font-family: 'Courier New', monospace; transition: var(--transition);
}
.code-inputs input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(193,68,14,.12); background: #FFF5EE; }
.code-inputs input::placeholder { color: #CDB99A; letter-spacing: 8px; font-size: 22px; }

.confirm-spam { font-size: 13px; color: var(--text-muted); margin-top: 14px; }
.confirm-back { margin-top: 20px; }
.link-back { color: var(--text-muted); font-size: 13.5px; }
.link-back:hover { color: var(--terra); }

.alert { padding: 11px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.alert-error { background: #FFF0EB; color: #8B2500; border: 1px solid #E8C0AE; }

/* Success */
.success-anim { font-size: 44px; margin-bottom: 6px; animation: bounce .65s ease-in-out infinite alternate; }
@keyframes bounce { from{transform:translateY(0)} to{transform:translateY(-7px)} }
.success-name { font-size: 19px; color: var(--amber); font-weight: 800; margin-bottom: 10px; }
.success-info { color: var(--text-soft); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

.success-type-badge { display: inline-block; padding: 8px 20px; border-radius: 3px; font-weight: 800; font-size: 13px; margin-bottom: 20px; letter-spacing: .3px; }
.badge-normal   { background: #E8F5F0; color: #0F5248; border: 1px solid #A8D8CC; }
.badge-reserve  { background: #FFF5E0; color: #7A4E00; border: 1px solid #E8C870; }
.badge-waitlist { background: #FFF0EB; color: #8B2500; border: 1px solid #E8C0AE; }

.success-event-info {
  background: var(--cream-warm); border: 1px solid var(--sand);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px;
  text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.success-detail { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 14px; }
.detail-icon .ti { font-size: 18px; color: var(--terra); }
.success-actions { display: flex; flex-direction: column; gap: 10px; }

/* Admin form */
.admin-form { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; text-align: left; }
.admin-form label { color: var(--text-soft); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; display: block; }
.admin-form input[type="password"] {
  width: 100%; background: var(--cream); border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm); padding: 11px 14px;
  font-size: 15px; color: var(--text); outline: none; transition: var(--transition);
}
.admin-form input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(193,68,14,.1); }

/* ═══════════════════════════════════════════════════
   ADMIN DASHBOARD
═══════════════════════════════════════════════════ */
.admin-section { padding: 90px 0 60px; min-height: 100vh; background: var(--cream); }

.admin-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.admin-header h1 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--tobacco); margin-bottom: 4px; }
.admin-header p  { color: var(--text-soft); font-size: 14px; }
.admin-header-actions { display: flex; gap: 10px; align-items: center; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { border-radius: var(--radius-sm); padding: 20px; text-align: center; border: 1.5px solid; background: var(--cream-card); }
.stat-confirmed { border-color: #A8D8CC; background: #E8F5F0; }
.stat-reserve   { border-color: #E8C870; background: #FFF5E0; }
.stat-waitlist  { border-color: #E8C0AE; background: #FFF0EB; }
.stat-pending   { border-color: var(--sand);  background: var(--cream-warm); }

.stat-number { font-size: 38px; font-weight: 900; color: var(--tobacco); font-family: 'Playfair Display', serif; }
.stat-label  { font-size: 11px; color: var(--text-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

.fill-bar-wrapper { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.fill-bar { flex: 1; height: 8px; background: var(--sand-light); border-radius: 4px; overflow: hidden; }
.fill-bar-inner { height: 100%; background: linear-gradient(90deg, var(--malachite), var(--amber), var(--terra)); border-radius: 4px; min-width: 2px; }
.fill-bar-label { font-size: 13px; color: var(--text-soft); white-space: nowrap; font-weight: 600; }

.admin-section h2 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--tobacco); margin-bottom: 12px; }

.table-wrapper { overflow-x: auto; border-radius: var(--radius-sm); border: 1.5px solid var(--sand); margin-bottom: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: var(--cream-warm); color: var(--text-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 10px 13px; text-align: left; white-space: nowrap; border-bottom: 1.5px solid var(--sand); }
.admin-table td { padding: 10px 13px; color: var(--text); border-top: 1px solid var(--sand-light); }
.admin-table tbody tr:hover { background: #FFF8F0; }

.type-badge { display: inline-block; padding: 3px 10px; border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.type-normal   { background: #E8F5F0; color: #0F5248; }
.type-reserve  { background: #FFF5E0; color: #7A4E00; }
.type-waitlist { background: #FFF0EB; color: #8B2500; }
.no-data { color: var(--text-muted); font-style: italic; padding: 14px 0; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--espresso); padding: 56px 0 0;
  border-top: 3px solid var(--terra);
}
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--terra); display: flex; align-items: center; justify-content: center; }
.footer-brand-icon .ti { font-size: 22px; color: #fff; }
.footer-brand-text strong { display: block; color: var(--amber-light); font-size: 17px; font-family: 'Pacifico', cursive; }
.footer-brand-text small  { color: rgba(254,249,239,.4); font-size: 11px; }

.footer-col h4 { color: rgba(254,249,239,.9); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; border-bottom: 1px solid rgba(200,132,26,.3); padding-bottom: 8px; }
.footer-col p  { color: rgba(254,249,239,.5); font-size: 13px; line-height: 1.7; }
.footer-col a  { color: rgba(254,249,239,.55); font-size: 13px; transition: var(--transition); }
.footer-col a:hover { color: var(--amber-light); }
.footer-links  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { display: flex; align-items: center; gap: 6px; }
.footer-links .ti  { font-size: 14px; color: var(--terra); }

.musa-logo-footer { max-height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(.75); transition: var(--transition); }
.musa-logo-footer:hover { filter: brightness(0) invert(1); }

.footer-bottom { margin-top: 40px; padding: 14px 24px; background: rgba(0,0,0,.35); text-align: center; }
.footer-bottom p { color: rgba(254,249,239,.3); font-size: 12px; }
.footer-bottom a { color: rgba(254,249,239,.35); }
.footer-bottom a:hover { color: var(--amber-light); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .event-cards       { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .skill-options     { grid-template-columns: 1fr; }
  .registration-form { padding: 24px 18px; }
  .musa-wrapper      { grid-template-columns: 1fr; text-align: center; }
  .musa-links        { justify-content: center; }
  .admin-stats       { grid-template-columns: repeat(2, 1fr); }
  .nav-links         { display: none; }
  .confirm-card, .success-card, .admin-login-card { padding: 32px 20px; }
  .code-inputs input { width: 260px; font-size: 26px; letter-spacing: 9px; padding-left: 27px; }
  .schedule-timeline::before { left: 60px; }
  .schedule-item { grid-template-columns: 60px 40px 1fr; }
  .schedule-time { font-size: 11px; padding-right: 10px; }
  .hero::before, .hero::after { display: none; }
}

@media (max-width: 480px) {
  .hero-title        { font-size: 40px; }
  .hero-bg-text      { display: none; }
  .admin-stats       { grid-template-columns: 1fr 1fr; }
  .admin-header      { flex-direction: column; }
  .hero-cta          { flex-direction: column; align-items: stretch; }
  .schedule-timeline::before { display: none; }
  .schedule-item     { grid-template-columns: 56px 1fr; }
  .schedule-dot-wrap { display: none; }
}
