/* ===================================================
   ELPA European Liver Screening Tour 2026
   Main Stylesheet — Mobile First
   =================================================== */

/* --- CSS Variables --- */
:root {
  --orange-primary:   #f79421;
  --orange-light:     #f7ad40;
  --orange-lighter:   #fac270;
  --orange-lightest:  #fcebcf;
  --orange-dark:      #e88021;
  --orange-darker:    #db6b21;
  --green-primary:    #6ba14d;
  --green-dark:       #336330;
  --green-darker:     #264a26;
  --green-light:      #adde8c;
  --green-lightest:   #e3f5d9;
  --green-mid:        #5c9145;
  /* Prevention Village blue palette */
  --blue-primary:     #1a5fab;
  --blue-dark:        #134d99;
  --blue-darker:      #0d3d7a;
  --blue-light:       #4d88d0;
  --blue-lighter:     #85aede;
  --blue-lightest:    #dce8f6;
  --text-dark:        #2f2f2f;
  --text-medium:      #4d4d4d;
  --text-gray:        #808080;
  --white:            #ffffff;
  --gray-light:       #f5f5f5;
  --gray-mid:         #e5e5e5;
  --shadow-sm:        0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:        0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:        0 8px 32px rgba(0,0,0,0.16);
  --radius-sm:        8px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --radius-xl:        28px;
  --nav-height:       64px;
  --max-width:        1200px;
  --page-padding:     20px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Parkinsans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-medium); line-height: 1.7; }

/* ===================================================
   NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: transparent;
  z-index: 1000;
  box-shadow: none;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  background: orange;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--page-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { width: 70px; height: 70px; flex-shrink: 0; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: green;
  letter-spacing: 0.05em;
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav menu — mobile overlay */
.nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--green-darker);
  padding: 80px 32px 40px;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 1001;
  overflow-y: auto;
}
.nav-menu.open { right: 0; }

.nav-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.nav-close:hover { background: rgba(255,255,255,0.1); }

.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-links a.active { color: #fff; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.nav-overlay.show { display: block; }

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    transition: none;
  }
  .nav-close { display: none; }
  .nav-links { flex-direction: row; gap: 4px; }
  .nav-links a {
    font-size: 0.875rem;
    padding: 8px 12px;
    color: rgba(255,255,255,0.85);
  }
}

/* ===================================================
   LAYOUT HELPERS
   =================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.section-lg { padding: 72px 0; }

.text-center { text-align: center; }
.text-orange { color: var(--orange-primary); }
.text-green { color: var(--green-dark); }
.text-white { color: var(--white); }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.tag-orange { background: var(--orange-lightest); color: var(--orange-darker); }
.tag-green { background: var(--green-lightest); color: var(--green-dark); }

/* ===================================================
   HERO SECTIONS
   =================================================== */
.hero {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
  padding: 56px var(--page-padding) 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero p  { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 24px; }


.hero-orange{
    background: url("/assets/images/European_map_orange.jpg");
  background-size: cover;
}
.hero-green {
  background: url("/assets/images/European_map_ green.jpg");
  background-size: cover;
}
.hero-green h1 { color: var(--white); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--orange-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(247,148,33,0.4);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 18px rgba(247,148,33,0.5); }

.btn-white {
  background: var(--white);
  color: var(--orange-primary);
}
.btn-white:hover { background: var(--orange-lightest); }

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(51,99,48,0.3);
}
.btn-green:hover { background: var(--green-darker); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline-green:hover { background: var(--green-lightest); }

.btn-icon {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}
.btn-arrow {
  background: var(--orange-primary);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.btn-arrow:hover { background: var(--orange-dark); transform: translateX(2px); }
.btn-arrow svg { width: 18px; height: 18px; }

/* CTA row */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 480px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
}

/* ===================================================
   CARDS
   =================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-body { padding: 20px; }

.card-green {
  background: var(--green-lightest);
  border-radius: var(--radius-md);
  padding: 24px;
}
.card-orange {
  background: var(--orange-lightest);
  border-radius: var(--radius-md);
  padding: 24px;
}
.card-dark-green {
  background: var(--green-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
}
.card-dark-green h2, .card-dark-green h3 { color: var(--white); }
.card-dark-green p { color: rgba(255,255,255,0.85); }

/* ===================================================
   WEEK CALENDAR STRIP
   =================================================== */
.calendar-strip {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin: -24px var(--page-padding) 0;
  position: relative;
  z-index: 10;
}
.calendar-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar-month {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.calendar-day-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
}
.calendar-day {
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: background 0.2s;
}
.calendar-day.today {
  background: var(--orange-lightest);
  color: var(--orange-darker);
  font-weight: 700;
}
.calendar-day.event-day {
  background: var(--orange-primary);
  color: var(--white);
  font-weight: 700;
}
.calendar-day.past { color: var(--gray-mid); }

/* ===================================================
   CURRENT LOCATION SECTION
   =================================================== */
.current-location-section {
  background: var(--gray-light);
  padding: 32px var(--page-padding);
}
.current-location-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.current-location-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.current-location-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.current-location-flag { font-size: 1.4rem; margin-right: 8px; }
.current-location-dates {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.current-location-dates svg { width: 16px; height: 16px; color: var(--green-primary); }

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
  height: 200px;
  background: var(--gray-mid);
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-lightest), var(--gray-mid));
  color: var(--text-gray);
  font-size: 0.875rem;
  gap: 8px;
}

/* ===================================================
   FEATURE CARDS (Why / How)
   =================================================== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange-primary);
  margin-bottom: 16px;
}
.feature-card-green { border-left-color: var(--green-primary); }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.feature-icon-orange { background: var(--orange-lightest); }
.feature-icon-green { background: var(--green-lightest); }
.feature-icon svg { width: 24px; height: 24px; }

/* ===================================================
   LOCATION LIST
   =================================================== */
.locations-list { display: flex; flex-direction: column; gap: 12px; }
.location-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1.5px solid var(--gray-mid);
}
.location-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.location-item.ongoing {
  border-color: var(--orange-primary);
  background: linear-gradient(135deg, var(--orange-lightest) 0%, #fff8f0 100%);
}
.location-item.past { opacity: 0.55; }
.location-item.past:hover { opacity: 0.8; }

.location-flag { font-size: 1.6rem; flex-shrink: 0; }
.location-info { flex: 1; min-width: 0; }
.location-country {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.location-city { font-size: 0.8rem; color: var(--text-gray); }
.location-dates {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 2px;
}
.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}
.status-ongoing { background: var(--orange-primary); color: var(--white); }
.status-upcoming { background: var(--green-lightest); color: var(--green-dark); }
.status-past { background: var(--gray-mid); color: var(--text-gray); }

/* ===================================================
   STEPS (3 Simple Steps)
   =================================================== */
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(51,99,48,0.3);
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.step-content h3 { font-size: 1rem; margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; }

/* ===================================================
   WHAT WE MEASURE
   =================================================== */
.measure-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.measure-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.measure-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 4px;
}
.measure-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.measure-desc { font-size: 0.875rem; color: var(--text-medium); line-height: 1.6; }

/* ===================================================
   RESULTS CARDS
   =================================================== */
.results-list { display: flex; flex-direction: column; gap: 10px; }
.result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--gray-mid);
}
.result-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.result-healthy  { border-left-color: #4caf50; }
.result-fatty    { border-left-color: #ffc107; }
.result-fibrosis { border-left-color: #ff9800; }
.result-cirrhosis{ border-left-color: #f44336; }
.result-cancer   { border-left-color: #9c27b0; }
.result-healthy  .result-icon { background: #e8f5e9; }
.result-fatty    .result-icon { background: #fff8e1; }
.result-fibrosis .result-icon { background: #fff3e0; }
.result-cirrhosis .result-icon { background: #fce4ec; }
.result-cancer   .result-icon { background: #f3e5f5; }

.result-title { font-weight: 700; font-size: 0.95rem; }
.result-desc { font-size: 0.82rem; color: var(--text-medium); margin-top: 2px; line-height: 1.5; }

/* ===================================================
   CHECKLIST ITEMS
   =================================================== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-medium);
}
.check-list li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-lightest);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23336330'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Orange checklist variant */
.check-list-orange li::before {
  background-color: var(--orange-lightest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e88021'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* ===================================================
   DAMAGE GRID
   =================================================== */
.damage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.damage-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.damage-icon { font-size: 2rem; margin-bottom: 8px; }
.damage-label { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.damage-sub { font-size: 0.7rem; color: var(--text-gray); margin-top: 2px; }
@media (min-width: 480px) {
  .damage-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================
   QUICK FACTS BAR
   =================================================== */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quick-fact {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-mid);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quick-fact:hover { border-color: var(--orange-lighter); box-shadow: var(--shadow-md); }
.quick-fact-icon { font-size: 1.7rem; margin-bottom: 8px; }
.quick-fact-text { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }

/* ===================================================
   OBJECTIVES
   =================================================== */
.objectives-list { display: flex; flex-direction: column; gap: 14px; }
.objective-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.objective-number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.objective-content h4 { margin-bottom: 4px; color: var(--green-dark); font-size: 0.9rem; }
.objective-content p { font-size: 0.875rem; }

/* ===================================================
   SECTION DIVIDERS
   =================================================== */
.wave-divider {
  height: 40px;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
  clip-path: ellipse(55% 100% at 50% 0%);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 24px;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-darker) 100%);
  padding: 56px var(--page-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: 'Take a few minutes. Check your liver. Take a few minutes. Check your liver.';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.cta-banner-text {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.marquee-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.12;
  white-space: nowrap;
  overflow: hidden;
  padding: 12px 0;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--green-darker);
  color: var(--white);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) 40px;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo { display: block; flex-direction: column; gap: 2px; }
.footer-logo-title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.footer-logo-sub { font-size: 0.75rem; color: var(--orange-light); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 12px; max-width: 280px; }
.footer-links h4,
.footer-locations h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.footer-links ul,
.footer-locations ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a,
.footer-locations a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-locations a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px var(--page-padding);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-elpa-link a { color: var(--orange-light); }

/* ===================================================
   PAGE-SPECIFIC: HOMEPAGE
   =================================================== */
.home-hero {
  background-image: url("https://events.elpa.eu/assets/images/European_map_orange.jpg");
  background-position: center bottom;
  background-size: cover;
  padding: 56px var(--page-padding) 64px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Decorative circles */
.home-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -50px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* ELPA logo in hero — hidden on mobile, visible on desktop */
.hero-elpa-logo-wrap {
  display: none;
  flex-shrink: 0;
}
.hero-elpa-logo {
  height: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
  transition: opacity 0.2s;
}
.hero-elpa-logo:hover { opacity: 1; }

@media (min-width: 768px) {
  .hero-elpa-logo-wrap { display: block; }
  .hero-elpa-logo { height: 160px; }
}
@media (min-width: 1024px) {
  .hero-elpa-logo { height: 190px; }
}

.home-section-why {
  background: var(--white);
  padding: 56px var(--page-padding);
}
.home-section-how {
  background: var(--green-lightest);
  padding: 56px var(--page-padding);
}
.home-section-locations {
  background: var(--gray-light);
  padding: 56px var(--page-padding);
}

/* ===================================================
   PAGE-SPECIFIC: EVENT PAGE
   =================================================== */
.event-hero {
  padding: 48px var(--page-padding);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.event-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.event-hero-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.event-hero-flag { font-size: 2rem; }
.event-map-section { padding: 32px var(--page-padding); background: var(--white); }
.event-map-full { height: 350px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.event-map-full iframe { width: 100%; height: 100%; border: 0; }

/* ===================================================
   DESKTOP GRID LAYOUTS
   =================================================== */
@media (min-width: 768px) {
  :root { --page-padding: 32px; }

  .section { padding: 64px 0; }
  .section-lg { padding: 96px 0; }

  .home-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .home-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .quick-facts { grid-template-columns: repeat(4, 1fr); }
  .damage-grid { grid-template-columns: repeat(3, 1fr); }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .step-item { flex-direction: column; align-items: center; text-align: center; }
  .step-number { margin-bottom: 4px; }

  .locations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-strip {
    margin: -32px var(--page-padding) 0;
  }

  .map-embed { height: 300px; }
  .event-map-full { height: 450px; }
}

@media (min-width: 1024px) {
  :root { --page-padding: 48px; }

  .home-hero { min-height: 460px; padding: 88px var(--page-padding) 88px; }
  .home-hero h1 { font-size: 3rem; }

  .current-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .results-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-list { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================
   ANIMATIONS
   =================================================== */

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   ADMIN NOTICE
   =================================================== */
.db-error {
  background: #fff0e0;
  border: 1px solid var(--orange-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px;
  font-size: 0.9rem;
}
.db-error a { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }

/* ===================================================
   LEAFLET OVERRIDES
   =================================================== */
.leaflet-container {
  font-family: 'Parkinsans', sans-serif;
  background: #e8f0e8;
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 0 !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  padding: 14px 16px !important;
  min-width: 180px;
}
.leaflet-popup-tip { background: white; }
.leaflet-popup-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.leaflet-popup-dates {
  font-size: .78rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.leaflet-popup-address {
  font-size: .75rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  line-height: 1.5;
}
.leaflet-popup-link {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.elpa-marker-pin {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
  transition: transform .2s;
  cursor: pointer;
}
.elpa-marker-pin:hover { transform: translateY(-2px); }

/* ===================================================
   MAP HERO SECTION (Homepage)
   =================================================== */
.map-hero-section {
  position: relative;
  height: 420px;
  //overflow: hidden;
  background: #e8f0e8;
}
@media (min-width: 640px)  { .map-hero-section { height: 480px; } }
@media (min-width: 1024px) { .map-hero-section { height: 560px; } }

.map-hero-leaflet {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.map-hero-leaflet,
.map-hero-leaflet .leaflet-container {
  width: 100% !important;
  height: 100% !important;
}

/* Floating calendar strip */
.map-calendar-strip {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 14px 16px 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  width: calc(100% - 40px);
  max-width: 400px;
}
.map-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.map-calendar-month-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-gray);
}
.map-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.map-cal-day-name {
  font-size: .62rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 4px;
}
.map-cal-day {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: background .15s;
}
.map-cal-day.is-today {
  background: var(--orange-lightest);
  color: var(--orange-darker);
  font-weight: 700;
}
.map-cal-day.is-event {
  background: var(--orange-primary);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(247,148,33,.4);
}
.map-cal-day.is-past { color: var(--gray-mid); }
@media (max-width: 360px) {
  .map-cal-day { width: 28px; height: 28px; font-size: .8rem; }
}

/* Floating info card */
.map-location-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  z-index: 10;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 18px 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  min-width: 220px;
  max-width: calc(100% - 40px);
}
@media (min-width: 480px) {
  .map-location-card { max-width: 300px; }
}
.map-location-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-location-label .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-primary);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.map-location-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Event page — full Leaflet map */
.event-map-leaflet {
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #e8f0e8;
}
@media (min-width: 768px) { .event-map-leaflet { height: 420px; } }
@media (min-width: 1024px) { .event-map-leaflet { height: 480px; } }
.event-map-leaflet .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--radius-lg);
}

/* ===================================================
   UTILITY
   =================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ===================================================
   VISUAL ASSET SVG ICONS
   =================================================== */
.damage-icon img     { width: 60px; height: 60px; object-fit: contain; display: block; margin: 0 auto;}
.quick-fact-icon img { width: 44px; height: 44px; object-fit: contain; display: block; margin: 0 auto; }
.result-icon img     { width: 22px; height: 22px; object-fit: contain; display: block; }
.measure-icon        { display: flex; align-items: flex-start; }
.measure-icon img    { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.step-icon-img       { width: 40px; height: 40px; object-fit: contain; margin:0 auto; }
.mascot-img          { display: block; margin: 0 auto 16px; object-fit: contain; }
.footer-logo-img     { height: 52px; width: auto; display: block; margin-bottom: 10px; }



img.mascot-img {
    width: 330px;
}
img.about_liver {
    width: 500px;
    margin: 0 auto;
    margin-top: 70px;
    margin-bottom: 70px;
}
section.section.about_us {
    position: relative;
    top: -50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
section.section {
    position: relative;
    top: -50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.hero-orange{
    padding: 150px 0px;
}
.inline-logos span {
    display: inline-block !important;
}
@media only screen and (max-width: 600px) {
img.mascot-img {
    position: absolute;
    top: -110px;
    right: 0;
    width: 150px;
}
.about_us img.mascot-img {
    position: relative;
    top: 0px;
    right: 0;
    width: 150px;
}
.leaflet-popup.leaflet-zoom-animated {
    display: none;
}
.hero-orange{
    padding: 100px 30px;
}
.card-dark-green {
    margin-bottom: 30px;
}
.logo-title {
    font-size: 0.6rem;
}

}

/* ===================================================
   PREVENTION VILLAGE — Blue Theme
   =================================================== */

/* Buttons */
.btn-blue {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,95,171,0.35);
}
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 6px 18px rgba(26,95,171,0.5); transform: translateY(-1px); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}
.btn-outline-blue:hover { background: var(--blue-lightest); }

/* Tags */
.tag-blue { background: var(--blue-lightest); color: var(--blue-dark); }

/* Status badge */
.status-pv { background: var(--blue-lightest); color: var(--blue-dark); }

/* Location card — Prevention Village variant */
.location-item.pv-item {
  border: 2px solid var(--blue-primary);
  background: linear-gradient(135deg, var(--blue-lightest) 0%, #f0f5ff 100%);
}
.location-item.pv-item:hover {
  border-color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(26,95,171,0.2);
  transform: translateY(-2px);
}
.location-item.pv-item .btn-arrow {
  background: var(--blue-primary);
}
.location-item.pv-item .btn-arrow:hover {
  background: var(--blue-dark);
}
.location-item.pv-item .location-dates {
  color: var(--blue-primary);
}

/* Hero — blue */
.hero-blue {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
  padding: 56px var(--page-padding) 48px;
  position: relative;
  overflow: hidden;
}
.hero-blue::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.hero-blue::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-blue .hero-inner { position: relative; z-index: 1; }
.hero-blue h1 { color: var(--white); margin-bottom: 12px; }
.hero-blue p  { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 24px; }
.hero-blue .tag-blue { background: rgba(255,255,255,0.2); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }

/* Header hero override for locations page */
.hero-blue-full {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
}

/* Card — blue variant */
.card-dark-blue {
  background: var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
}
.card-dark-blue h2, .card-dark-blue h3 { color: var(--white); }
.card-dark-blue p { color: rgba(255,255,255,0.85); }

/* PV Section */
.pv-section {
  background: var(--blue-lightest);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

/* Partner org cards */
.partner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--blue-primary);
  height: 100%;
}
.partner-card h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.partner-card p { font-size: 0.85rem; color: var(--text-medium); line-height: 1.6; }

/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }

/* Path icons strip */
.pv-path-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 32px 0;
  overflow-x: auto;
}
.pv-path-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pv-path-node-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.pv-path-connector {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-bottom: 24px;
}
.pv-path-node-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 60px;
  line-height: 1.3;
}

/* Supporters logos section */
.supporters-section {
  background: var(--white);
  padding: 40px var(--page-padding);
  border-top: 1px solid var(--gray-mid);
}
.supporters-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
}
.supporters-logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}
.supporters-logos img:hover { filter: none; }
.supporters-disclaimer {
  font-size: 0.78rem;
  color: var(--text-gray);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Header Prevention Village badge */
.pv-header-badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(26,95,171,0.25);
  border: 1px solid rgba(26,95,171,0.4);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}
.pv-header-badge:hover { background: rgba(26,95,171,0.4); }
.pv-header-badge-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.pv-header-badge-text {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.2;
}
@media (min-width: 640px) {
  .pv-header-badge { display: flex; }
}

/* EU Parliament note */
.eu-parliament-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
}
.eu-parliament-note svg { flex-shrink: 0; }

