/* =============================================
   Parma 2026 – Main Stylesheet
   Third International Days of Phlebology
   ============================================= */

/* VARIABLES */
:root {
  --blue-deep: #0d1f3c;
  --blue-mid: #122847;
  --blue-light: #1a3a5e;
  --blue-pale: #e8f0f8;
  --red: #c8192e;
  --red-light: #e8394f;
  --white: #f4f8ff;
  --white-muted: rgba(244,248,255,0.7);
  --white-dim: rgba(244,248,255,0.4);
  --gold: #c9a84c;
  --gold-bright: #e8c86a;
  --border: rgba(200,220,255,0.15);
  --border-strong: rgba(200,220,255,0.3);
  /* Legacy aliases for inner sections */
  --bg: #f4f8ff;
  --bg-2: #dde8f5;
  --bg-dark: #0d1f3c;
  --text: #0d1f3c;
  --text-muted: #1a3a5e;
  --text-light: #2a4a6e;
  --gold-light: #c9a84c;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 20px; overflow-x: hidden; }

/* Red accent top bar */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue-deep), var(--red), var(--gold), var(--red), var(--blue-deep));
  z-index: 9999;
  pointer-events: none;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 3rem;
  background: rgba(13,31,60,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,220,255,0.1);
}
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(244,248,255,0.65); text-decoration: none; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.3s; font-weight: 400; }
.nav-links a:hover { color: var(--gold); }

/* HERO — BATTISTERO FULL SCREEN */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}
.hero-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 4rem 4rem 5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #0a1828 0%, var(--blue-deep) 60%, #0f2040 100%);
}
.hero-panel-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 5%, rgba(201,168,76,0.5) 30%, rgba(200,25,46,0.4) 70%, transparent 95%);
}
.hero-panel-right {
  position: relative;
  overflow: hidden;
}
.hero-panel-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.9) contrast(1.05);
}
.hero-panel-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,31,60,0.6) 0%, rgba(13,31,60,0.1) 40%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-panel-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--blue-deep), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-tag { font-size: 0.72rem; letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s; display: flex; align-items: center; gap: 1rem; }
.hero-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--red); flex-shrink: 0; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.2rem, 6vw, 6.5rem); font-weight: 300; line-height: 0.95; color: var(--white); margin-bottom: 0.6rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s; letter-spacing: -0.01em; }
.hero-title span { color: var(--gold); font-style: italic; }
.hero-year { font-family: 'Cormorant Garamond', serif; font-size: clamp(6rem, 12vw, 11rem); font-weight: 300; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px rgba(201,168,76,0.5); letter-spacing: -0.03em; margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.5s; }
.hero-divider { width: 50px; height: 2px; background: var(--red); margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s; }
.hero-subtitle { font-size: 1.0rem; letter-spacing: 0.12em; color: var(--white-muted); text-transform: uppercase; line-height: 2.0; opacity: 0; animation: fadeUp 0.8s ease forwards 0.7s; }
.hero-subtitle strong { color: var(--white); display: block; font-size: 1.1rem; letter-spacing: 0.1em; margin-top: 0.5rem; font-weight: 400; }
.hero-date { margin-top: 3rem; display: inline-flex; align-items: center; gap: 1.2rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.9s; }
.hero-date-line { width: 35px; height: 1px; background: rgba(201,168,76,0.5); }
.hero-date-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; letter-spacing: 0.15em; color: var(--gold); font-style: italic; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-label { font-size: 1.4rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.8rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; }
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--gold); opacity: 0.4; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 400; color: var(--text); margin-bottom: 2rem; line-height: 1.2; }
.section-title em { color: var(--red); font-style: italic; }

/* DECO */
.deco-sep { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem 0; max-width: 400px; margin: 0 auto; }
.deco-sep span { flex: 1; height: 1px; background: var(--border); }
.deco-sep i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); display: block; opacity: 0.5; }

/* PRESENTAZIONE */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.intro-left p { font-size: 1.4rem; line-height: 2.2; color: var(--text-muted); margin-bottom: 1.5rem; }
.intro-right { border-left: 2px solid var(--border); padding-left: 3rem; }
.intro-right blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-style: italic; font-weight: 400; color: var(--text); line-height: 1.9; margin-bottom: 2rem; }
.intro-right blockquote em { color: var(--text-muted); font-size: 1.25rem; display: block; margin-top: 1.5rem; line-height: 2.0; }

/* SPEAKER */
.speaker-wrap { background: var(--blue-deep); border-top: 1px solid rgba(200,220,255,0.12); border-bottom: 1px solid rgba(200,220,255,0.12); }
.speaker-inner { display: flex; gap: 4rem; align-items: center; padding: 4rem 0; }
.speaker-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,0.5); flex-shrink: 0; }
.speaker-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 400; color: var(--white); margin-bottom: 0.3rem; }
.speaker-info .role { font-size: 1.25rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.speaker-info p { font-size: 1.4rem; line-height: 2.1; color: var(--white-muted); }
.speaker-info .section-label { color: var(--gold); }

/* PROGRAMMA */
.prog-wrap { background: var(--bg-2); }
.day-tabs { display: flex; gap: 0; margin-bottom: 3rem; border-bottom: 2px solid rgba(13,31,60,0.2); }
.day-tab { padding: 1rem 2.5rem; font-size: 1.25rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.3s; font-weight: 400; background: none; border-top: none; border-left: none; border-right: none; font-family: 'Josefin Sans', sans-serif; }
.day-tab.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.day-content { display: none; }
.day-content.active { display: block; }
.simposio-block { margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(13,31,60,0.15); }
.simposio-block:last-child { border-bottom: none; }
.simposio-title { font-family: 'Cormorant Garamond', serif; font-size: 1.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.simposio-title-en { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--text-light); margin-bottom: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--red); }
.simposio-intro { font-size: 1.25rem; line-height: 2.0; color: var(--text-muted); margin-bottom: 1.5rem; font-style: italic; border-left: 3px solid var(--red); padding-left: 1.5rem; }
.moderatori { font-size: 1.25rem; color: var(--text-light); letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.moderatori strong { color: var(--blue-deep); font-weight: 600; }
.talk { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgba(13,31,60,0.08); align-items: start; }
.talk-time { font-size: 1.25rem; color: var(--red); font-weight: 600; letter-spacing: 0.05em; padding-top: 2px; }
.talk-speaker { font-size: 1.4rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.talk-title { font-size: 1.4rem; color: var(--text-muted); line-height: 2.0; }
.talk-title em { display: block; font-style: italic; color: var(--text-light); margin-top: 0.3rem; font-size: 0.92em; }
.break-row { background: rgba(13,31,60,0.07); padding: 0.7rem 1rem; font-size: 1.15rem; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; margin: 1rem 0; border-left: 3px solid var(--gold); }
.flag { font-size: 1.25rem; margin-right: 0.3rem; }

/* FACULTY */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(13,31,60,0.12);
  border-left: 1px solid rgba(13,31,60,0.12);
}
.faculty-item {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(13,31,60,0.12);
  border-right: 1px solid rgba(13,31,60,0.12);
  font-size: 1.1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.faculty-item img { width: 22px; margin-right: 12px; flex-shrink: 0; }
.faculty-item:hover { background: rgba(13,31,60,0.06); color: var(--blue-deep); }

/* SPONSOR */
.sponsor-wrap { background: var(--blue-deep); border-top: 1px solid rgba(200,220,255,0.1); border-bottom: 1px solid rgba(200,220,255,0.1); }
.sponsor-intro { font-size: 1.4rem; color: var(--white-muted); margin-bottom: 3rem; text-align: center; font-style: italic; }
.sponsor-logos { display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; }
.sponsor-logos img { max-height: 70px; max-width: 200px; object-fit: contain; filter: none; opacity: 1; transition: opacity 0.3s, box-shadow 0.3s; background: #ffffff; padding: 0.7rem 1.2rem; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.sponsor-logos img:hover { opacity: 1; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

/* ISCRIZIONE */
.form-wrap { background: var(--bg); }
.reg-form { max-width: 700px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 1.4rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.85rem 1rem; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font-family: 'Josefin Sans', sans-serif;
  font-size: 1.25rem; font-weight: 300; outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  display: inline-block; padding: 1.1rem 3.5rem; border: 2px solid var(--gold);
  color: var(--gold); font-family: 'Josefin Sans', sans-serif; font-size: 1.15rem;
  letter-spacing: 0.3em; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s; background: transparent; font-weight: 600; width: 100%; margin-top: 1rem;
}
.btn-submit:hover { background: var(--gold); color: #fff; }
.form-note { font-size: 1.15rem; color: var(--text-light); margin-top: 1rem; line-height: 2.0; text-align: center; }

/* INFORMAZIONI */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
.info-block { padding: 2rem; border: 1px solid rgba(200,220,255,0.18); background: rgba(255,255,255,0.04); }
.info-block h4 { font-size: 0.8rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(200,220,255,0.15); font-weight: 600; }
.info-block p, .info-block a { font-size: 0.95rem; line-height: 2.0; color: var(--white-muted); text-decoration: none; display: block; }
.info-block a:hover { color: var(--gold); }
.info-block strong { color: var(--white); font-weight: 400; font-size: 1rem; }

/* FOOTER */
footer { background: #070f1e; text-align: center; padding: 2.5rem; font-size: 1.05rem; letter-spacing: 0.15em; color: rgba(200,220,255,0.35); }

/* ENGLISH TEXT */
.en {
  display: block;
  font-style: italic;
  color: var(--text-light);
  margin-top: 0.3rem;
  padding-top: 0.3rem;
  border-top: 1px dashed rgba(13,31,60,0.2);
  font-size: 0.92em;
}
.hero-subtitle .en-sub {
  display: block;
  font-style: italic;
  color: #a09070;
  font-size: 0.88em;
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}
.btn-register {
  display: inline-block;
  padding: 1.3rem 4rem;
  background: var(--red);
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  border: 2px solid var(--red);
}
.btn-register:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
}

/* BLOCKQUOTE BILINGUAL */
.bq-it {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.bq-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.9;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(138,106,46,0.25);
}

/* HOTEL / ACCOMMODATION */
.hotel-card {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #c9a84c;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Josefin Sans', sans-serif;
}
.hotel-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #0d1f3c; margin-bottom: 0.3rem; }
.hotel-info p { color: #4a4a4a; font-size: 0.95rem; margin: 0; }
.lang-en { color: #888; font-style: italic; display: block; margin-top: 2px; font-size: 0.9rem; }
.hotel-links { display: flex; align-items: center; }
.btn-booking {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 0.3s;
  font-weight: 600;
  text-align: center;
  background: #003580;
  color: white;
  white-space: nowrap;
}
.btn-booking:hover { background: #00224f; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open { position: fixed; top: 1.2rem; right: 1.5rem; z-index: 10000; }
.hamburger.open span { background: var(--gold); }
.hamburger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }


/* =============================
   RESPONSIVE / MOBILE
   ============================= */

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-right { border-left: none; padding-left: 0; border-top: 2px solid rgba(200,25,46,0.2); padding-top: 2rem; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-panel-right {
    order: 1;
    height: 70vw;
    min-height: 280px;
    max-height: 480px;
  }
  .hero-panel-right img {
    object-position: center top;
  }
  .hero-panel-right::before {
    background: linear-gradient(to bottom, transparent 60%, rgba(13,31,60,0.5) 100%);
  }
  .hero-panel-left {
    order: 2;
    padding: 2.5rem 1.8rem 3rem;
    text-align: center;
  }
  .hero-panel-left::after { display: none; }
  .hero-tag { justify-content: center; font-size: 0.58rem; }
  .hero-divider { margin: 0 auto 2rem; }
  .hero-date { justify-content: center; }
  .hero-year { font-size: clamp(5rem, 20vw, 9rem); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* NAV */
  nav { padding: 1rem 1.5rem; }
  .nav-logo { font-size: 1rem; }

  /* HERO */
  .hero-tag { font-size: 0.55rem; letter-spacing: 0.14em; }
  .hero-date-text { font-size: 1rem; }
  .hero-panel-right { height: 75vw; }

  /* SECTIONS */
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem) !important; }

  /* INTRO */
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-right { border-left: none; padding-left: 0; border-top: 2px solid rgba(200,25,46,0.2); padding-top: 2rem; }
  .intro-right blockquote { font-size: 1.2rem; }

  /* SPEAKER */
  .speaker-inner { flex-direction: column; text-align: center; gap: 2rem; padding: 3rem 0; }
  .speaker-photo { width: 140px; height: 140px; }
  .speaker-info h3 { font-size: 2rem; }

  /* FACULTY */
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .faculty-item { font-size: 0.88rem; padding: 0.7rem 0.9rem; }

  /* PROGRAMMA */
  .day-tabs { gap: 0; }
  .day-tab { padding: 0.8rem 1.2rem; font-size: 0.78rem; letter-spacing: 0.1em; }
  .simposio-title { font-size: 1.2rem; }
  .simposio-title-en { font-size: 1rem; }
  .talk { grid-template-columns: 50px 1fr; gap: 0.6rem; }
  .talk-time { font-size: 0.82rem; }
  .talk-speaker { font-size: 0.9rem; }
  .talk-title { font-size: 0.88rem; }
  /* SPONSOR */
  .sponsor-logos { gap: 1.5rem; flex-wrap: wrap; }
  .sponsor-logos img { max-height: 50px; max-width: 120px; }

  /* ISCRIZIONE */
  .btn-register { padding: 1rem 2rem; font-size: 0.85rem; letter-spacing: 0.15em; }

  /* INFO */
  .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .info-grid-4 { grid-template-columns: 1fr 1fr !important; gap: 1.5rem !important; }
  .info-block { padding: 1.5rem; }

  /* SEDE */
  #sede .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #sede iframe { height: 280px !important; }

  /* FOOTER */
  footer { font-size: 0.7rem; padding: 2rem 1rem; line-height: 2; }

  /* BANNER */
  .banner-text-left { display: none !important; }
  .banner-text-right { display: none !important; }
  .banner-battistero-col { left: 50% !important; transform: translateX(-50%) !important; width: 90% !important; }
  .banner-mobile-label { display: flex !important; }

  /* HAMBURGER */
  .hamburger { display: flex; }
  .nav-links {
    display: none !important;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    background: #0a1525;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 5rem 2rem 2rem;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-bottom: 1px solid rgba(184,151,90,0.2);
  }
  .nav-links li:last-child { border-bottom: none; margin-top: 1.5rem; }
  .nav-links a {
    display: block;
    padding: 1.1rem 1.5rem;
    font-size: 1rem !important;
    color: rgba(244,248,255,0.85) !important;
    background: none !important;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold) !important; }
  .nav-links li:last-child a {
    background: var(--red) !important;
    color: #fff !important;
    padding: 0.9rem 2.5rem;
  }

  /* HOTEL */
  .hotel-card { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .btn-booking { width: 100%; }
}

@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
  .hero-year { font-size: clamp(4rem, 22vw, 7rem); }
  .day-tab { padding: 0.7rem 0.8rem; font-size: 0.72rem; }
  .talk { grid-template-columns: 45px 1fr; }
  .hero-panel-right { height: 85vw; }
  .info-grid-4 { grid-template-columns: 1fr !important; }
}


/* ── SPONSOR / PATROCINI uniform tier grid ── */
.sp-tier { margin-bottom: 3rem; }
.sp-tier-bordered { padding-top: 2rem; border-top: 1px solid rgba(200,220,255,0.1); }
.sp-tier-patrocini { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(200,220,255,0.12); }

.sp-tier-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.7rem; letter-spacing: 0.4em;
  text-transform: uppercase; text-align: center;
  margin-bottom: 0.5rem; font-weight: 600;
}
.sp-color-platinum { color: #e5e4e2; }
.sp-color-gold     { color: var(--gold); }
.sp-color-standard { color: rgba(200,220,255,0.6); }

.sp-tier-divider { width: 80px; height: 2px; margin: 0 auto 2rem; }
.sp-divider-platinum { background: linear-gradient(90deg, transparent, #e5e4e2, transparent); }
.sp-divider-gold     { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sp-divider-standard { background: linear-gradient(90deg, transparent, rgba(200,220,255,0.4), transparent); }

.sp-patrocini-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--white-muted); text-align: center;
  margin-bottom: 2rem;
}

.sp-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 1.25rem;
}

.sp-card {
  background: #fff; border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.sp-card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.32); }
.sp-card img {
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  padding: 1rem;
  box-sizing: border-box;
}

/* DESKTOP sizing */
.sp-card-platinum { width: 280px; padding: 1.25rem; }
.sp-card-gold     { width: 200px; }
.sp-card-standard { width: 150px; }
.sp-card-platinum img { padding: 1.4rem; }
.sp-card-standard img { padding: 0.85rem; }

/* MOBILE: 2 per row for gold/standard/patrocini, 1 per row for platinum */
@media (max-width: 700px) {
  .sp-grid { gap: 0.85rem; max-width: 380px; margin: 0 auto; }
  .sp-card-platinum { width: min(280px, 70vw); }
  .sp-card-gold     { width: calc(50% - 0.45rem); max-width: 180px; }
  .sp-card-standard { width: calc(50% - 0.45rem); max-width: 150px; }
  .sp-card-standard img { padding: 0.7rem; }
  .sp-card-gold img { padding: 0.8rem; }
}

