/* ============================================
   Liver Innovation Hub - Landing Page
   Pure CSS (converted from React + Tailwind)
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --brand-blue-dark: #005F9E;
  --brand-blue-darker: #004477;
  --brand-cyan: #00A9CE;
  --brand-peach: #F5D5C8;
  --brand-peach-light: #FBE9E1;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-30px);
}

.animate-on-scroll.from-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(30px);
}

.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-8 { transition-delay: 0.8s; }

/* Hero initial animations (play on load) */
.hero-animate {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-animate.scale {
  animation: fadeInScale 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-animate.delay-03 {
  animation-delay: 0.3s;
}

.hero-animate.delay-05 {
  animation-delay: 0.5s;
}

.hero-animate.delay-06 {
  animation-delay: 0.6s;
}

.hero-animate.delay-08 {
  animation-delay: 0.8s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Liver shape background */
.hero__liver-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 900px;
  height: 700px;
  opacity: 0.2;
  pointer-events: none;
}

.hero__liver-shape svg {
  width: 100%;
  height: 100%;
}

/* Pisa illustration */
.hero__pisa {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
  width: 500px;
  height: 500px;
  opacity: 0.7;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .hero__pisa {
    display: block;
  }
}

.hero__pisa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent, rgba(245, 213, 200, 0.05), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  width: 100%;
  padding: 5rem 0;
}

.hero__inner {
  max-width: 56rem;
}

.hero__space {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid var(--brand-blue-dark);
  background: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.badge__text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-blue-dark);
}

/* Headings */
.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 4.5rem; }
}

@media (min-width: 1280px) {
  .hero__title { font-size: 6rem; }
}

.hero__title-blue {
  display: block;
  color: var(--brand-blue-dark);
}

.hero__title-gradient {
  display: block;
  background: linear-gradient(to right, var(--brand-cyan), var(--brand-blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle line */
.hero__subtitle-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__subtitle-bar {
  height: 6px;
  width: 6rem;
  background: linear-gradient(to right, var(--brand-cyan), var(--brand-peach));
  border-radius: 9999px;
}

.hero__subtitle {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-cyan);
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 2.25rem; }
}

/* Hero description */
.hero__description {
  font-size: 1.25rem;
  color: var(--gray-700);
  line-height: 1.75;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .hero__description { font-size: 1.5rem; }
}

.hero__description strong {
  font-weight: 700;
}

/* Key Pillars */
.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid;
}

.pillar--blue {
  background: linear-gradient(to bottom right, rgba(0, 95, 158, 0.05), rgba(0, 169, 206, 0.05));
  border-color: rgba(0, 95, 158, 0.1);
}

.pillar--cyan {
  background: linear-gradient(to bottom right, rgba(0, 169, 206, 0.05), rgba(245, 213, 200, 0.1));
  border-color: rgba(0, 169, 206, 0.1);
}

.pillar--peach {
  background: linear-gradient(to bottom right, rgba(245, 213, 200, 0.3), rgba(245, 213, 200, 0.1));
  border-color: var(--brand-peach);
}

.pillar__icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar__icon-box--blue {
  background: linear-gradient(to bottom right, var(--brand-blue-dark), var(--brand-cyan));
}

.pillar__icon-box--cyan {
  background: linear-gradient(to bottom right, var(--brand-cyan), var(--brand-peach));
}

.pillar__icon-box--peach {
  background: linear-gradient(to bottom right, var(--brand-peach), var(--brand-blue-dark));
}

.pillar__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.pillar__label {
  font-size: 0.875rem;
  font-weight: 700;
}

.pillar__label--blue { color: var(--brand-blue-dark); }
.pillar__label--cyan { color: var(--brand-cyan); }

.pillar__sublabel {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Wave divider */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: auto;
}

/* ============================================
   SECTION: IL PROGETTO
   ============================================ */
.section-progetto {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--gray-50), var(--white));
}

@media (min-width: 768px) {
  .section-progetto { padding: 7rem 0; }
}

/* Section header (shared style) */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-header__badge--blue {
  background: rgba(0, 95, 158, 0.1);
  color: var(--brand-blue-dark);
}

.section-header__badge--cyan {
  background: rgba(0, 169, 206, 0.1);
  color: var(--brand-cyan);
}

.section-header__badge-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.section-header__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

@media (min-width: 768px) {
  .section-header__title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-header__title { font-size: 3rem; }
}

.section-header__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 1rem auto 0;
}

/* Progetto grid */
.progetto-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .progetto-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.progetto-text p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.progetto-text p:last-child {
  margin-bottom: 0;
}

.progetto-text strong {
  font-weight: 700;
}

/* Pillar cards */
.pillar-cards {
  display: grid;
  gap: 1rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  border: 1px solid;
}

.pillar-card--blue { border-color: rgba(0, 95, 158, 0.1); }
.pillar-card--cyan { border-color: rgba(0, 169, 206, 0.1); }
.pillar-card--peach { border-color: var(--brand-peach); }

.pillar-card__icon {
  padding: 0.75rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.pillar-card__icon--blue { background: rgba(0, 95, 158, 0.1); }
.pillar-card__icon--cyan { background: rgba(0, 169, 206, 0.1); }
.pillar-card__icon--peach { background: rgba(245, 213, 200, 0.5); }

.pillar-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pillar-card__icon--blue svg { color: var(--brand-blue-dark); }
.pillar-card__icon--cyan svg { color: var(--brand-cyan); }
.pillar-card__icon--peach svg { color: var(--brand-blue-dark); }

.pillar-card__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pillar-card__title--blue { color: var(--brand-blue-dark); }
.pillar-card__title--cyan { color: var(--brand-cyan); }

.pillar-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ============================================
   SECTION: 30 ANNI DI ECCELLENZA
   ============================================ */
.section-eccellenza {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--brand-blue-dark), var(--brand-blue-darker));
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-eccellenza { padding: 7rem 0; }
}

.section-eccellenza .section-header__badge {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
}

.section-eccellenza .section-header__title {
  color: var(--white);
}

.section-eccellenza .section-header__subtitle {
  color: rgba(255,255,255,0.8);
}

/* Background decorations */
.eccellenza__bg-deco {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.eccellenza__bg-circle {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
}

.eccellenza__bg-circle--cyan {
  top: 25%;
  left: 0;
  background: var(--brand-cyan);
}

.eccellenza__bg-circle--peach {
  bottom: 25%;
  right: 0;
  background: var(--brand-peach);
}

/* Stats grid */
.stats-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-card__icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-card__icon-box--1 {
  background: linear-gradient(to bottom right, var(--brand-cyan), var(--brand-blue-dark));
}

.stat-card__icon-box--2 {
  background: linear-gradient(to bottom right, var(--brand-peach), var(--brand-cyan));
}

.stat-card__icon-box--3 {
  background: linear-gradient(to bottom right, var(--brand-cyan), var(--brand-peach));
}

.stat-card__icon {
  width: 2rem;
  height: 2rem;
}

.stat-card__icon--dark {
  color: var(--brand-blue-dark);
}

.stat-card__number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  color: rgba(255,255,255,0.8);
}

.stat-card__sublabel {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

/* Mission statement */
.mission-block {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .mission-block { padding: 3rem; }
}

.mission-block blockquote {
  text-align: center;
}

.mission-block__text {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .mission-block__text { font-size: 1.5rem; }
}

.mission-block__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.mission-block__line {
  height: 4px;
  width: 4rem;
  background: var(--brand-cyan);
  border-radius: 9999px;
}

.mission-block__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--brand-peach);
}

/* ============================================
   SECTION: LE AREE DEL PROGETTO
   ============================================ */
.section-aree {
  position: relative;
  padding: 5rem 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .section-aree { padding: 7rem 0; }
}

.aree-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .aree-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .aree-grid { grid-template-columns: repeat(3, 1fr); }
}

.area-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid;
  transition: box-shadow 0.5s, transform 0.5s;
}

.area-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.area-card--blue {
  background: linear-gradient(to bottom right, rgba(0, 95, 158, 0.05), rgba(0, 169, 206, 0.05));
  border-color: rgba(0, 95, 158, 0.1);
}

.area-card--cyan {
  background: linear-gradient(to bottom right, rgba(0, 169, 206, 0.05), rgba(245, 213, 200, 0.1));
  border-color: rgba(0, 169, 206, 0.1);
}

.area-card--peach {
  background: linear-gradient(to bottom right, rgba(245, 213, 200, 0.2), rgba(0, 95, 158, 0.05));
  border-color: var(--brand-peach);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .area-card--peach {
    grid-column: span 2;
  }
}

.area-card__icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.5s;
}

.area-card:hover .area-card__icon-box {
  transform: scale(1.1);
}

.area-card__icon-box--blue {
  background: linear-gradient(to bottom right, var(--brand-blue-dark), var(--brand-cyan));
}

.area-card__icon-box--cyan {
  background: linear-gradient(to bottom right, var(--brand-cyan), var(--brand-peach));
}

.area-card__icon-box--peach {
  background: linear-gradient(to bottom right, var(--brand-peach), var(--brand-blue-dark));
}

.area-card__icon {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

.area-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.area-card__title--blue { color: var(--brand-blue-dark); }
.area-card__title--cyan { color: var(--brand-cyan); }

.area-card__desc {
  color: var(--gray-700);
  line-height: 1.75;
}

/* ============================================
   SECTION: EVENTS
   ============================================ */
.section-events {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--gray-50), var(--white));
}

@media (min-width: 768px) {
  .section-events { padding: 7rem 0; }
}

/*.events-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
} */

.events-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr); /* forziamo 2 card per riga */
}

/* Opzionale: responsive */
@media (max-width: 639px) {
  .events-grid {
    grid-template-columns: 1fr; /* 1 card per riga su mobile */
  }
}


@media (min-width: 1024px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .events-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Event Card */
.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.event-card__image-wrap {
  position: relative;
  height: 12rem;
  overflow: hidden;
  flex-shrink: 0;
}

.event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.event-card:hover .event-card__image {
  transform: scale(1.05);
}

.event-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.2), transparent);
}

.event-card__date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem;
}

.event-card__date-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--white);
}

.event-card__date-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.event-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.event-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.25rem;
}

.event-card__location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--brand-cyan);
  flex-grow: 1;
}

.event-card__location svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.event-card__location-text {
  font-size: 0.875rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(to right, var(--brand-blue-dark), var(--brand-cyan));
  color: var(--white);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: box-shadow 0.3s, transform 0.2s;
  margin-top: auto;
}

.event-card__btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.event-card__btn:focus-visible {
  outline: 2px solid var(--brand-blue-dark);
  outline-offset: 2px;
}

.event-card__btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}

.event-card__btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  background: linear-gradient(to bottom right, var(--brand-blue-dark), var(--brand-blue-darker));
  color: var(--white);
  overflow: hidden;
}

.footer__bg-deco {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.footer__bg-circle {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
}

.footer__bg-circle--cyan {
  top: 0;
  right: 0;
  background: var(--brand-cyan);
}

.footer__bg-circle--peach {
  bottom: 0;
  left: 0;
  background: var(--brand-peach);
}

.footer__content {
  position: relative;
  padding: 4rem 0;
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__about-text {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}

/* 30-year badge */
.footer__years-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__years-number {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer__years-text {
  font-size: 0.875rem;
}

.footer__years-text strong {
  display: block;
  font-weight: 600;
}

.footer__years-text span {
  color: rgba(255,255,255,0.6);
}

/* Footer event links */
.footer__event-link {
  display: block;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.footer__event-link:hover {
  color: var(--white);
}

/* Footer contact */
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  margin-bottom: 0.75rem;
}

.footer__contact-item:hover {
  color: var(--white);
}

.footer__contact-icon {
  padding: 0.625rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__contact-item:hover .footer__contact-icon {
  background: rgba(255,255,255,0.2);
}

.footer__contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer__contact-text {
  font-size: 0.875rem;
}

/* Bottom bar */
.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__website {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .modal-container { padding: 2rem; }
}

.modal-container.active {
  pointer-events: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.modal-container.active .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  padding: 0.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  background: var(--white);
}

.modal__close:focus-visible {
  outline: 2px solid var(--brand-blue-dark);
  outline-offset: 2px;
}

.modal__close svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-700);
}

.modal__hero-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
  border-radius: 1.5rem 1.5rem 0 0;
}

@media (min-width: 768px) {
  .modal__hero-image { height: 20rem; }
}

.modal__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent, transparent);
}

.modal__body {
  padding: 2rem;
}

@media (min-width: 768px) {
  .modal__body { padding: 3rem; }
}

.modal__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .modal__title { font-size: 2.25rem; }
}

.modal__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .modal__meta {
    flex-direction: row;
    gap: 2rem;
  }
}

.modal__meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal__meta-icon {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(245, 213, 200, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__meta-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal__meta-icon--date svg { color: var(--brand-blue-dark); }
.modal__meta-icon--location svg { color: var(--brand-cyan); }

.modal__meta-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal__meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.modal__description {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.75;
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .modal__actions { flex-direction: row; }
}

.modal__btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, var(--brand-blue-dark), var(--brand-cyan));
  color: var(--white);
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.modal__btn-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.modal__btn-primary:focus-visible {
  outline: 2px solid var(--brand-blue-dark);
  outline-offset: 2px;
}

.modal__btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--brand-blue-dark);
  color: var(--brand-blue-dark);
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.modal__btn-secondary:hover {
  background: var(--brand-blue-dark);
  color: var(--white);
}

.modal__btn-secondary:focus-visible {
  outline: 2px solid var(--brand-blue-dark);
  outline-offset: 2px;
}

.modal__btn-primary svg,
.modal__btn-secondary svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Decorative corner */
.modal__deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: linear-gradient(to top left, rgba(245, 213, 200, 0.2), transparent);
  border-top-left-radius: 100%;
  pointer-events: none;
}

/* Body no-scroll when modal open */
body.modal-open {
  overflow: hidden;
}
