@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;800&display=swap');

:root {
  --primary: #23a0e6;
  /* Celeste */
  --cta: #cb0020;
  /* Rosso CTA */
  --cta-hover: #a9001b;
  --cta-soft: rgba(203, 0, 32, 0.12);
  --bg-color: #FFFFFF;
  --bg-secondary: #f4f8fb;
  --text-main: #222222;
  --text-light: #666666;
  --border-color: #e0e6ed;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* Animations Base */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: calc(0.1s * var(--delay, 0));
}

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

section:target,
footer:target {
  scroll-margin-top: 110px;
}

section:target.fade-up,
section:target .fade-up,
footer:target.fade-up {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 62px;
  object-fit: contain;
  display: block;
}

nav {
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--cta);
}

nav a.active {
  color: var(--cta);
}

.menu-toggle,
.mobile-nav-cta {
  display: none;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--cta);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.28s ease, width 0.28s ease, opacity 0.2s ease;
}

.btn {
  padding: 12px 28px;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(203, 0, 32, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--cta-hover);
  box-shadow: 0 6px 15px rgba(203, 0, 32, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--cta);
  border: 2px solid var(--cta);
}

.btn-outline:hover {
  background: var(--cta);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--cta);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
  background: var(--cta);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 72px);
  padding: 150px clamp(28px, 6vw, 96px) 80px;
  position: relative;
  background: var(--bg-secondary);
  /* Puoi inserire un pattern o un'immagine chiara qui */
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 1 560px;
  max-width: 560px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-video {
  flex: 1 1 520px;
  width: min(100%, 760px);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-video .video-cover,
.hero-video .video-cover picture,
.hero-video .video-cover img,
.hero-video .inline-video-player {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-video .video-cover img {
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  background: #000;
}

.hero-video .inline-video-player {
  object-fit: contain;
}

.hero-subtitle {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-subtitle::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--cta);
  display: inline-block;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* General Sections */
section {
  padding: 80px 10%;
}

section:nth-child(even) {
  background-color: var(--bg-secondary);
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text-main);
  position: relative;
}

/*.section-title::after {
  content: "";
  width: 72px;
  height: 3px;
  background: var(--cta);
  display: block;
  margin: 12px auto 0;
}*/

.section-title span {
  color: var(--primary);
}

/* Evento Bullet Points */
.event-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.hero-bullets {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.bullet-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: transform 0.3s;
}

.bullet-item:hover {
  transform: translateY(-5px);
  border-color: var(--cta);
}

.hero-bullet {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  border-left: 3px solid var(--cta);
}

.line-ref {
  min-width: 34px;
  color: var(--cta);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.bullet-item p {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Location Checkerboard (Scacchiera) */
.checker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

.checker-row:nth-child(even) {
  flex-direction: row-reverse;
}

.checker-text,
.checker-img,
.checker-slider,
.location-video {
  width: 50%;
  padding: 50px;
}

/* Slider Styles */
.checker-slider {
  padding: 0;
  position: relative;
  height: clamp(400px, 42vw, 560px);
  min-height: 400px;
  overflow: hidden;
  background: var(--text-main);
}

.slider-container {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  border: 0;
  cursor: zoom-in;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--text-main);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--cta);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.48);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus {
  background: var(--cta);
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 22px;
}

.slider-next {
  right: 22px;
}

.location-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.location-lightbox.active {
  display: flex;
}

.lightbox-open {
  overflow: hidden;
}

.location-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-arrow:hover,
.lightbox-arrow:focus {
  background: var(--cta);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.location-video {
  height: clamp(400px, 42vw, 560px);
  min-height: 400px;
  padding: 0;
  background: var(--text-main);
}

.video-cover,
.video-cover picture,
.inline-video-player {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

.video-cover {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--text-main);
}

.video-cover img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.video-cover:hover img,
.video-cover:focus img {
  transform: scale(1.035);
  filter: brightness(0.7);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

.video-play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #fff;
  margin-left: 7px;
}

.inline-video-player {
  object-fit: cover;
  background: #000;
}

.checker-text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
}

.checker-text h3::after {
  content: "";
  width: 52px;
  height: 3px;
  background: var(--cta);
  display: block;
  margin-top: 10px;
}

.checker-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.checker-img {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-color: var(--border-color);
}

.checker-img-mark {
  background: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.location-mark {
  border-top: 3px solid var(--cta);
  border-bottom: 3px solid var(--cta);
  padding: 28px 36px;
  text-align: center;
}

.location-mark span {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 0.9;
}

.location-mark small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 900px) {

  .checker-text,
  .checker-img,
  .checker-slider,
  .location-video {
    width: 100%;
    padding: 30px 10%;
  }

  .checker-img,
  .checker-slider {
    height: 320px;
    min-height: 300px;
    padding: 0;
  }

  .location-video {
    width: min(100%, 520px);
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
    margin-inline: auto;
    padding: 0;
  }

  .video-cover,
  .video-cover picture,
  .video-cover img,
  .inline-video-player {
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .slider-prev {
    left: 12px;
  }

  .slider-next {
    right: 12px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 2.4rem;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .video-play {
    width: 68px;
    height: 68px;
  }
}

/* Teachers Grid */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.teacher-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.teacher-card:hover {
  border-color: var(--cta);
  box-shadow: 0 10px 20px var(--cta-soft);
  transform: translateY(-5px);
}

.teacher-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 3px solid var(--primary);
  margin: 0 auto 15px auto;
  object-fit: cover;
  display: block;
}

.teacher-card h4 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.teacher-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Competition Section */
.competition {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 100px 10%;
}

.competition .section-title {
  color: #fff;
  font-size: 4rem;
}

.competition .section-title span {
  color: #fff;
  border-bottom: 4px solid var(--cta);
}

.comp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
  text-align: left;
}

.comp-poster {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-poster img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.comp-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.comp-awards {
  list-style: none;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.comp-awards li {
  position: relative;
  padding-left: 30px;
}

.comp-awards li::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--cta);
  position: absolute;
  left: 0;
  top: 0.9em;
}

.comp-pricing {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.comp-pricing h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.comp-pricing ul {
  list-style: none;
}

.comp-pricing li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.comp-pricing li span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--cta);
}

.competition-jury {
  margin-top: 70px;
  padding-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.competition-jury h3 {
  margin-bottom: 28px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.jury-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.jury-card {
  padding: 22px 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.jury-card h4 {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1.05;
}

.jury-card p {
  color: var(--text-light);
}

.jury-card-director {
  border-color: var(--cta);
}

.jury-card-director p {
  color: var(--cta);
}

/* Timetable Tabs */
.schedule-actions {
  margin-top: 26px;
  text-align: center;
}

.timetable-container {
  max-width: 900px;
  margin: 34px auto 0 auto;
}

.tabs-wrap {
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tab-btn {
  padding: 10px 25px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
  letter-spacing: 0;
}

.tab-btn.active {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.tabs-swipe-hint {
  display: none;
}

@media (max-width: 768px) {
  .timetable-container {
    width: calc(100% + 20%);
    margin-left: -10%;
    margin-right: -10%;
    overflow: hidden;
  }

  .tabs-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    padding: 0 10%;
  }

  .tabs {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 12px;
    scroll-padding-left: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .tabs::-webkit-scrollbar {
    height: 0;
  }

  .tab-btn {
    flex: 0 0 auto;
    min-width: 136px;
    padding: 11px 20px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .tabs-swipe-hint {
    width: 18px;
    min-width: 18px;
    height: 44px;
    color: var(--cta);
    display: grid;
    place-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    pointer-events: none;
    animation: swipeHintPulse 1.35s ease-in-out infinite;
  }

  .tab-content {
    margin: 0 10%;
  }
}

@keyframes swipeHintPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }

  50% {
    opacity: 0.95;
    transform: translateX(4px);
  }
}

.tab-content {
  display: none;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.timeline-item {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.timeline-item:last-child {
  border-bottom: none;
}

.time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--cta);
  width: 120px;
  line-height: 1.1;
  flex-shrink: 0;
}

.timeline-item-special .time {
  color: var(--primary);
}

.event-details h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.12;
}

.event-details p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-placeholder {
  margin: 0;
  padding: 25px 0;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.section-action {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 600px) {
  .timeline-item {
    display: block;
    padding: 17px 0;
  }

  .time {
    width: auto;
    margin-bottom: 7px;
    font-size: 1.35rem;
  }

  .event-details h4 {
    font-size: 1.1rem;
  }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.pricing-note {
  max-width: 760px;
  margin: -10px auto 0;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.price-card {
  --card-color: var(--cta);
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border: 2px solid var(--card-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.price-card-featured {
  box-shadow: 0 10px 30px rgba(203, 0, 32, 0.1);
}

.price-card-rainbow {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #cb0020, #f05a28, #ffd23f, #00a36c, #23a0e6, #7b2ff7) border-box;
  box-shadow: 0 12px 34px rgba(123, 47, 247, 0.16);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--card-color) 18%, transparent);
}

.price-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--card-color);
}

.price-card-rainbow h3 {
  background: linear-gradient(90deg, #cb0020, #f05a28, #ffd23f, #00a36c, #23a0e6, #7b2ff7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--card-color);
  line-height: 1;
}

.price span {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  text-transform: none;
}

.price-extra {
  margin: -8px 0 22px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-description {
  margin: -8px 0 18px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: left;
}

.price-list {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex: 1;
}

.price-list li {
  margin-bottom: 10px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.price-list li::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--card-color);
  position: absolute;
  left: 0;
  top: 0.75em;
}

.price-options {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  text-align: left;
}

.price-option {
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--card-color);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.35;
  background: var(--bg-secondary);
}

.price-option strong,
.price-option span {
  display: block;
}

.price-option span {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pricing-note {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .price-card {
    padding: 28px 18px;
  }

  .price {
    font-size: 3.35rem;
  }

  .price-card .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }
}

/* Simple Grid for Hotel and Raggiungerci */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.info-card h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card h4::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--cta);
  display: inline-block;
  flex-shrink: 0;
}

.info-card p,
.info-card li {
  color: var(--text-light);
  margin-bottom: 10px;
}

.info-card ul {
  list-style: none;
}

/* Footer */
footer {
  background: var(--text-main);
  color: #fff;
  padding: 50px 10% 100px;
  text-align: center;
}

.fixed-call-pill {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  color: #fff;
  background: var(--cta);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(203, 0, 32, 0.34), 0 5px 14px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.fixed-call-pill:hover,
.fixed-call-pill:focus {
  background: var(--cta-hover);
  box-shadow: 0 16px 34px rgba(203, 0, 32, 0.42), 0 6px 16px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%) translateY(-2px);
}

.fixed-call-pill span {
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.88;
  white-space: nowrap;
}

.fixed-call-pill strong {
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus,
.footer-contact-link:active {
  color: var(--cta);
  text-decoration: underline;
  text-decoration-color: var(--cta);
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--cta);
  border-bottom-color: var(--cta);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .comp-layout {
    grid-template-columns: 1fr;
  }

  .jury-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .jury-card {
    padding: 12px 6px;
  }

  .time {
    width: 80px;
    font-size: 1.2rem;
  }

  section:target,
  footer:target {
    scroll-margin-top: 92px;
  }

  header {
    min-height: 72px;
    padding: 12px 20px;
    flex-direction: row;
    gap: 0;
  }

  .logo {
    font-size: 0;
  }

  .logo img {
    width: auto;
    height: 48px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
  }

  .menu-toggle:hover span,
  .menu-toggle:focus span {
    background: var(--cta);
  }

  header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 20px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  }

  header.menu-open nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav li {
    border-bottom: 1px solid var(--border-color);
  }

  nav a {
    display: block;
    padding: 14px 0;
    font-size: 0.98rem;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 10px;
    border-bottom: 0;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    padding: 13px 18px;
    color: #fff;
    text-align: center;
  }

  .nav-indicator {
    display: none;
  }

  .hero {
    padding-top: 130px;
    flex-direction: column;
    gap: 40px;
  }

  .fixed-call-pill {
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 7px;
    padding: 11px 16px;
  }

  .fixed-call-pill span {
    font-size: 0.68rem;
  }

  .fixed-call-pill strong {
    font-size: 0.88rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    justify-content: center;
  }

  .hero-video {
    flex: 0 0 auto;
    width: min(100%, 520px);
    height: min(78svh, 900px);
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 768px) {
  .teachers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
  }

  .teacher-card {
    padding: 12px 6px;
    border-radius: 6px;
  }

  .teacher-photo {
    width: 72px;
    height: 72px;
    border-width: 2px;
    margin-bottom: 10px;
  }

  .teacher-card h4 {
    font-size: 1rem;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .teacher-card p {
    font-size: 0.62rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}

/* Accordion Hotel */
.hotel-accordion {
  margin-top: 20px;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  background: none;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--cta);
}

.accordion-header .icon {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header {
  color: var(--cta);
}

.accordion-item.active .icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 10px 0 20px 0;
}

.hotel-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hotel-info-list li {
  margin-bottom: 5px;
  padding-left: 0 !important;
  border: none !important;
}

.hotel-info-list li strong {
  color: var(--text-main);
}
