/* =====================================================================
   WILD TRAILS ORĂȘTIE 4X4 — Stiluri
   Organizare:
   1. Design tokens (variabile)      4. Header / navigare (taburi)
   2. Reset & baza                   5. Secțiuni & componente
   3. Utilitare & butoane            6. Footer  7. Responsive
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Culori temă (din logo: negru + crem + roșu) */
  --bg:        #0a0a0a;
  --bg-2:      #131211;
  --bg-3:      #1c1a17;
  --line:      #2b2825;

  --cream:     #f2ebda;
  --muted:     #9d968a;

  --red:       #d21f2b;
  --red-hover: #ea3a45;
  --red-dark:  #9c1622;
  --khaki:     #cabfa6;   /* bone — accent secundar subtil */

  /* Culori categorii */
  --cat-turism:    #5f9e4a;
  --cat-explorer:  #e6b422;
  --cat-adventure: #e8641c;
  --cat-special:   #d21f2b;

  /* Tipografie */
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Barlow", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Spațiere & formă */
  --radius:   14px;
  --radius-sm: 8px;
  --maxw:     1160px;
  --shadow:   0 18px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- 2. RESET & BAZĂ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

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

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

.accent { color: var(--red); }

/* ---------- 3. UTILITARE & BUTOANE ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 20px; }
.section.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--khaki);
  margin: 0 0 0.6rem;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 2rem; }
.subhead {
  font-size: 1.2rem; color: var(--cream);
  margin: 2.5rem 0 1.2rem; padding-left: 12px;
  border-left: 4px solid var(--red);
}

.editable-note {
  font-size: 0.85rem; color: var(--khaki);
  background: rgba(201, 180, 88, 0.08);
  border: 1px dashed rgba(201, 180, 88, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px; margin-top: 1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 600; letter-spacing: 1px; font-size: 0.95rem;
  padding: 13px 26px; border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: transform 0.12s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-block { width: 100%; margin-top: 0.5rem; }

/* ---------- 4. HEADER / NAVIGARE (TABURI) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { height: 48px; width: 48px; object-fit: contain; mix-blend-mode: lighten; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 1px; }
.brand-sub { font-family: var(--font-display); font-size: 0.8rem; color: var(--khaki); letter-spacing: 3px; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tab-link {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.9rem; letter-spacing: 0.5px; font-weight: 500;
  color: var(--muted); background: transparent; border: none;
  padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.tab-link:hover { color: var(--cream); background: var(--bg-2); }
.tab-link.active { color: #fff; background: var(--red); }
.tab-link .hash { color: var(--khaki); }
.tab-link.active .hash { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--cream); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. TAB PANELS ---------- */
.tab-panel { animation: fade 0.35s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- HERO (Acasă) — logo ca element central --- */
.hero { position: relative; overflow: hidden; background: #000; }
.hero-bg {
  position: absolute; inset: 0;
  background-color: #0a0a0a;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.hero-bg::before, .hero-bg::after, .hero-bg-extra::before, .hero-bg-extra::after {
  content: ""; position: absolute; inset: 0;
  background-position: center 60%; background-size: cover; background-repeat: no-repeat;
  opacity: 0; animation: heroCrossfade 24s infinite;
}
.hero-bg::before { background-image: url("../images/gallery/1.jpg"); animation-delay: 0s; }
.hero-bg::after { background-image: url("../images/gallery/2.jpg"); animation-delay: 6s; }
.hero-bg-extra { position: absolute; inset: 0; }
.hero-bg-extra::before { background-image: url("../images/gallery/7.jpg"); animation-delay: 12s; }
.hero-bg-extra::after { background-image: url("../images/gallery/4.jpg"); animation-delay: 18s; }

@keyframes heroCrossfade {
  0% { opacity: 0; transform: scale(1); }
  10%, 20% { opacity: 1; transform: scale(1.02); }
  30%, 100% { opacity: 0; transform: scale(1.05); }
}

.hero-content {
  position: relative; padding: 64px 20px 80px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-logo { width: min(430px, 80vw); mix-blend-mode: lighten; }
.hero-tag { font-size: clamp(1.05rem, 2.5vw, 1.45rem); color: var(--cream); font-weight: 500; margin-top: 1.2rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Despre club --- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--cream); }
.about-text p.about-highlight {
  margin: 0 0 1.3rem; padding: 12px 16px; font-weight: 500;
  color: var(--cream); background: rgba(210, 31, 43, 0.08);
  border-left: 3px solid var(--red); border-radius: var(--radius-sm);
}
.about-text p.about-highlight strong { color: var(--red); }
.poster-img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); width: 100%;
}
.about-media { display: flex; justify-content: center; }
.about-media .poster-img { width: auto; max-width: 100%; max-height: 560px; }

/* --- Highlights --- */
.highlights { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 56px 20px; }
.highlight { text-align: center; padding: 8px; }
.highlight-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.highlight h3 { font-size: 1.05rem; }
.highlight p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* --- Galerie --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-3); border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-family: var(--font-display); letter-spacing: 1px;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 24px);
  padding: 10px;
}

/* --- Eveniment --- */
.event-hero {
  position: relative; padding: 96px 0 88px;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.9) 82%), url("../images/wto-hero.png") center 28% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.event-title { font-size: clamp(2rem, 6vw, 3.6rem); }
.event-tag { color: var(--khaki); font-size: 1.15rem; font-weight: 500; }
.event-meta { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.event-meta li {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 18px; min-width: 180px;
}
.meta-label { font-size: 0.78rem; letter-spacing: 2px; color: var(--khaki); text-transform: uppercase; }
.meta-value { font-family: var(--font-display); font-size: 1.15rem; }

/* Afiș oficial eveniment */
.event-poster { display: flex; justify-content: center; margin-bottom: 3rem; }
.event-poster img {
  width: min(340px, 80vw); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* --- Categorii --- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card {
  background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--cat);
  border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-head { display: flex; align-items: center; gap: 12px; }
.category-icon { font-size: 1.8rem; }
.category-name { margin: 0; font-size: 1.4rem; color: var(--cat); }
.category-desc { color: var(--muted); font-size: 0.95rem; flex: 1; margin: 0; }
.btn-category { background: var(--cat); color: #0a0a0a; width: 100%; }
.btn-category:hover { filter: brightness(1.1); color: #0a0a0a; }

.cat-turism    { --cat: var(--cat-turism); }
.cat-explorer  { --cat: var(--cat-explorer); }
.cat-adventure { --cat: var(--cat-adventure); }
.cat-special   { --cat: var(--cat-special); }

/* --- Detalii categorii (acordeon) --- */
.category-details { margin-top: 56px; }
.accordion { display: flex; flex-direction: column; gap: 14px; margin-top: 1.6rem; }

.acc-item {
  background: var(--bg-2); border: 1px solid var(--line);
  border-left: 4px solid var(--cat); border-radius: var(--radius);
  overflow: hidden; scroll-margin-top: 88px;
}
.acc-header {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: transparent; border: 0; cursor: pointer;
  color: var(--cream); text-align: left;
  font-family: var(--font-display); text-transform: uppercase;
}
.acc-header:hover { background: rgba(255, 255, 255, 0.03); }
.acc-icon { font-size: 1.5rem; line-height: 1; }
.acc-title { font-size: 1.25rem; letter-spacing: 0.5px; }
.acc-title strong { color: var(--cat); font-weight: 700; }
.acc-tag {
  margin-left: auto; font-size: 0.7rem; letter-spacing: 1.5px;
  color: var(--cat); border: 1px solid var(--cat); border-radius: 999px;
  padding: 4px 12px; white-space: nowrap;
}
.acc-chevron {
  width: 9px; height: 9px; margin-left: 6px; flex-shrink: 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.3s;
}
.acc-item.open .acc-chevron { transform: rotate(-135deg); }

.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-detail { padding: 6px 22px 26px; border-top: 1px solid var(--line); }

.acc-detail .lead { font-size: 1.08rem; color: var(--cream); font-weight: 500; margin: 20px 0 28px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
.detail-col h5 { color: var(--cat); font-size: 1.05rem; margin: 22px 0 10px; }
.detail-col h5:first-child { margin-top: 0; }
.detail-col p { color: var(--muted); font-size: 0.95rem; }
.detail-col p strong { color: var(--cream); }

.info-box { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 16px; }
.info-box h5 { color: var(--cat); font-size: 1.02rem; margin: 0 0 12px; }
.info-box .box-intro { color: var(--muted); font-size: 0.92rem; margin: 0 0 10px; }
.info-box .box-note {
  margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line);
  color: var(--muted); font-size: 0.88rem; font-style: italic;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--muted); font-size: 0.94rem; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; color: var(--cat); font-weight: 700; }

.acc-cta { margin-top: 24px; }
.btn-enroll { background: var(--cat); color: #0a0a0a; }
.btn-enroll:hover { filter: brightness(1.1); color: #0a0a0a; }

/* --- Taxă & informații eveniment --- */
.event-info { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.event-info h4 { color: var(--cream); font-size: 1.1rem; margin: 0 0 12px; }

.fee-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: stretch; }
.fee-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.fee-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; color: var(--khaki); font-size: 0.82rem; }
.fee-price { font-family: var(--font-display); color: var(--cream); margin: 6px 0 4px; line-height: 1; }
.fee-price strong { font-size: 3.6rem; color: var(--red); }
.fee-price span { display: block; font-size: 1rem; color: var(--muted); margin-top: 4px; }
.fee-sub { color: var(--muted); font-size: 0.9rem; margin: 8px 0 0; }
.fee-included { --cat: var(--cat-turism); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }

.early-bird {
  display: flex; align-items: center; gap: 18px; margin-top: 20px;
  padding: 16px 22px; border-radius: var(--radius);
  background: rgba(230, 180, 34, 0.10); border: 1px solid rgba(230, 180, 34, 0.45);
}
.eb-badge {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: #0a0a0a; background: var(--cat-explorer); border-radius: var(--radius-sm);
  padding: 8px 16px; white-space: nowrap;
}
.eb-text strong { color: var(--cream); }
.eb-text p { margin: 4px 0 0; color: var(--muted); }
.eb-text p strong { color: var(--cat-explorer); }

.location-block { margin-top: 40px; }
.location-block > p { color: var(--muted); }
.loc-amenities { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.amenity {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; color: var(--cream); font-size: 0.92rem;
}
.location-block .note { color: var(--muted); font-size: 0.9rem; font-style: italic; }

.event-closing {
  margin-top: 32px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--red);
}
.event-closing p { color: var(--muted); }
.closing-highlight { color: var(--cream); font-weight: 500; }
.event-closing .btn { margin-top: 12px; }

/* --- Programul evenimentului (timeline) --- */
.program { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; margin-top: 1.6rem; }

.day-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-top: 3px solid var(--red); border-radius: var(--radius); padding: 22px;
}
.day-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.day-icon { font-size: 1.5rem; }
.day-name { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; color: var(--cream); line-height: 1; }
.day-date { display: block; color: var(--khaki); font-size: 0.82rem; letter-spacing: 1px; margin-top: 3px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline > li { display: flex; gap: 12px; }
.timeline > li:not(:last-child) { padding-bottom: 16px; }
.t-time { font-family: var(--font-display); color: var(--red); font-size: 0.98rem; min-width: 52px; white-space: nowrap; padding-top: 1px; }
.t-body { border-left: 2px solid var(--line); padding-left: 14px; flex: 1; }
.t-body strong { display: block; color: var(--cream); font-weight: 600; }
.t-body ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.t-body ul li { margin-bottom: 4px; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-family: var(--font-display); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.5px; padding: 3px 11px; border-radius: 999px; color: #0a0a0a; }
.chip-turism { background: var(--cat-turism); }
.chip-explorer { background: var(--cat-explorer); }
.chip-adventure { background: var(--cat-adventure); }
.chip-special { background: var(--cat-special); }

.day-note {
  margin-top: 16px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(210, 31, 43, 0.08); border: 1px solid rgba(210, 31, 43, 0.3);
  color: var(--muted); font-size: 0.85rem;
}
.program-disclaimer { margin-top: 22px; color: var(--muted); font-size: 0.88rem; font-style: italic; text-align: center; }

/* --- Formular înscriere --- */
.reg-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 1px; color: var(--khaki);
}
.reg-form input, .reg-form select, .reg-form textarea {
  font-family: var(--font-body); font-size: 1rem; text-transform: none; letter-spacing: normal;
  color: var(--cream); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,32,47,0.2);
}
.reg-form textarea { resize: vertical; }
.form-note { min-height: 1.2rem; font-weight: 600; margin: 0; }
.form-note.ok { color: var(--cat-turism); }
.form-note.err { color: var(--red); }

/* --- Sponsori --- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 240px)); gap: 18px; justify-content: center; }
.sponsor-item { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.sponsor-item img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.sponsor-cta {
  margin-top: 3rem; text-align: center; padding: 40px 20px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.sponsor-cta h3 { color: var(--cream); }
.sponsor-cta p { color: var(--muted); }

/* --- Participanți (tabel) --- */
.participants-groups { display: flex; flex-direction: column; gap: 28px; }
.participants-block { }
.participants-cat-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 1.5px;
  color: var(--cream); margin: 0 0 12px; text-transform: uppercase;
}
.participants-cat-icon { font-size: 1.25rem; line-height: 1; }
.participants-block.cat-explorer .participants-cat-title { color: var(--cat-explorer); }
.participants-block.cat-adventure .participants-cat-title { color: var(--cat-adventure); }
.participants-block.cat-special .participants-cat-title { color: var(--cat-special); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.participants { width: 100%; border-collapse: collapse; min-width: 320px; }
.participants thead th {
  text-align: left; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.85rem; color: var(--khaki);
  background: var(--bg-2); padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.participants tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--cream); font-size: 0.95rem; }
.participants tbody tr:last-child td { border-bottom: 0; }
.participants tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.team-code { font-family: var(--font-display); font-size: 1.15rem; color: var(--red); font-weight: 700; letter-spacing: 1px; }
.participants-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; font-style: italic; }

.visitor-counter {
  margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  text-align: right; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.3px;
}

/* --- Banner cod după înscriere --- */
.reg-success {
  margin: 0 0 8px; text-align: center; padding: 32px 24px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--cat-turism); border-radius: var(--radius);
  animation: fade 0.35s ease;
}
.rs-badge {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cat-turism); color: #0a0a0a; font-size: 1.9rem; font-weight: 700;
}
.reg-success h3 { color: var(--cream); margin: 0 0 6px; }
.reg-success p { color: var(--muted); margin: 6px 0; }
.rs-code {
  font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 3.8rem);
  color: var(--red); letter-spacing: 4px; margin: 8px 0; line-height: 1;
}
.rs-note { font-size: 0.9rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.reg-success .btn { margin-top: 16px; }
.reg-success.flooded { border-color: var(--cat-explorer); }
.reg-success.flooded .rs-badge { background: var(--cat-explorer); }
.reg-success.flooded .rs-code { display: none; }

/* ---------- 6. FOOTER ---------- */
.footer-band {
  height: 150px; margin-top: 40px;
  background: url("../images/wto-band.png") center bottom / cover no-repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
  mask-image: linear-gradient(to bottom, transparent, #000 55%);
}
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 20px 32px; }
.footer-col h4 { color: var(--khaki); font-size: 0.95rem; letter-spacing: 2px; }
.footer-col p { color: var(--muted); margin: 0.3rem 0; }
.footer-tag { color: var(--muted); font-family: var(--font-display); letter-spacing: 1px; margin-top: 0.6rem; }
.social { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 20px; }
.footer-bottom span { color: var(--muted); font-size: 0.85rem; }

/* ---------- 7. RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 420px; margin: 0 auto; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .fee-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .tabs {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .tabs.open { display: flex; }
  .tab-link { text-align: left; width: 100%; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .event-meta li { min-width: 100%; }
  .acc-tag { display: none; }
  .acc-header { padding: 16px 16px; gap: 10px; }
  .acc-title { font-size: 1.1rem; }
  .acc-detail { padding-left: 16px; padding-right: 16px; }
  .early-bird { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Accesibilitate: respectă preferința de reducere a mișcării */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tab-panel, .btn, .category-card { animation: none; transition: none; }
}
