/* ==========================================================================
   TERRITORI BORA - WEB OFICIAL
   Cursa BTT de Serinyà · 08/11/2026
   Estètica Oficial: Clar, lluminós, tons verd muntanya, terra cuita / carbó
   Fons: Perfils d'elevació i corbes de nivell topogràfiques del cartell
   ========================================================================== */

:root {
  /* Fons Clars & Naturals (Concordants amb el cartell) */
  --bg-page: #f6f4ee;
  --bg-page-alt: #ece9e1;
  --bg-card: #ffffff;
  --bg-card-warm: #fcfbf8;
  --bg-elevated: #f1eee6;
  
  /* Color Terra Cuita / Taronja Bora del Cartell */
  --orange-bora: #c84920;
  --orange-light: #df5a31;
  --orange-dark: #a93a15;
  --orange-glow: rgba(200, 73, 32, 0.28);
  --orange-badge: rgba(200, 73, 32, 0.1);

  /* Verds Naturals / Bosc i Muntanya */
  --green-forest: #1b4332;
  --green-pine: #2d6a4f;
  --green-accent: #2e7d32;
  --green-light: #40916c;
  --green-badge: rgba(45, 106, 79, 0.1);
  --green-glow: rgba(45, 106, 79, 0.25);

  /* Negre Carbó & Text d'Alt Contrast */
  --text-primary: #181615;
  --text-secondary: #44403c;
  --text-muted: #6b6661;
  --text-dim: #948d85;
  --text-white: #ffffff;

  /* Vores i ombres */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-orange: rgba(200, 73, 32, 0.35);
  --border-green: rgba(45, 106, 79, 0.3);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -8px rgba(24, 22, 21, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 18px 40px -10px rgba(200, 73, 32, 0.18), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 8px 25px rgba(200, 73, 32, 0.35);

  /* Tipografia */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ràdios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  /* Fons de perfils d'elevació i corbes de nivell topogràfiques com al cartell */
  background-image: url('../imatges/topographic-bg.svg');
  background-repeat: repeat;
  background-size: 1000px auto;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar estilitzada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: #cfc8be;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-bora);
}

/* Tipografia Comuna */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Contenidor Universal */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Seccions globals */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: rgba(236, 233, 225, 0.65);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(4px);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--orange-badge);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  color: var(--orange-bora);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge.green-badge {
  background: var(--green-badge);
  border-color: var(--border-green);
  color: var(--green-forest);
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-title span.text-orange {
  color: var(--orange-bora);
}

.section-title span.text-green {
  color: var(--green-forest);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   BARRA SUPERIOR I NAVEGACIÓ (CLARA I NETEJA)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(200, 73, 32, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange-bora);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-bora);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botons principals */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.65rem;
  background: linear-gradient(135deg, var(--orange-bora) 0%, var(--orange-dark) 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px var(--orange-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 73, 32, 0.45);
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-bora) 100%);
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta-green {
  background: linear-gradient(135deg, #1b4332 0%, #0d281e 100%);
  box-shadow: 0 4px 18px var(--green-glow);
}

.btn-cta-green:hover {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  box-shadow: 0 8px 25px rgba(27, 67, 50, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #faf8f5;
  border-color: var(--orange-bora);
  color: var(--orange-bora);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-pulse {
  animation: pulse-glow-orange 2.5s infinite;
}

@keyframes pulse-glow-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 73, 32, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(200, 73, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 73, 32, 0);
  }
}

/* Botó Hamburger per mòbils */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (LLUMINÓS & AMB EL DISSENY DEL CARTELL)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding-top: 115px;
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: var(--bg-page);
}

/* Fons de l'inici amb la foto de portada nítida i viva */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(246, 244, 238, 0.76) 0%, rgba(246, 244, 238, 0.45) 38%, rgba(246, 244, 238, 0.1) 70%, transparent 100%),
    url('../imatges/portada.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

.hero-topo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('../imatges/topographic-bg.svg');
  background-size: 1100px auto;
  opacity: 0.15;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-poster-col {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  transition: margin-top 0.25s ease;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(200, 73, 32, 0.09);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange-bora);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-pill .status-dot {
  width: 9px;
  height: 9px;
  background: var(--orange-bora);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-bora);
  animation: blink 1.8s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-subtitle-top {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-bora);
  margin-bottom: 0.4rem;
}

.hero-logo-heading {
  margin-top: 0.2rem;
  margin-bottom: 1.6rem;
  line-height: 1;
}

.hero-main-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.hero-main-logo:hover {
  transform: scale(1.02);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hero-desc {
  max-width: 620px;
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Pins de distància estilitzats com al cartell oficial */
.hero-circuits-brush {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.brush-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.4rem;
  background: var(--orange-bora);
  color: #ffffff;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px var(--orange-glow);
  position: relative;
  transform: skewX(-5deg);
}

.brush-badge span {
  transform: skewX(5deg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brush-badge.dark-brush {
  background: var(--green-forest);
  box-shadow: 0 4px 15px var(--green-glow);
}

/* Dades Clau (Data, Hora, Lloc) */
.hero-key-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.fact-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fact-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.fact-icon {
  width: 24px;
  height: 24px;
  color: var(--orange-bora);
  margin-bottom: 0.2rem;
}

.fact-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fact-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.fact-detail {
  font-size: 0.82rem;
  color: var(--green-forest);
  font-weight: 600;
}

/* Compte enrere esportiu clar */
.countdown-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-bora);
  margin-bottom: 1rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.countdown-box {
  background: var(--bg-card-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-bora);
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Botons Hero */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-hero-primary {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

.hero-meta-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-meta-note strong {
  color: var(--text-primary);
}

/* Columna Dreta de l'Hero: Targeta del Cartell Oficial */
.hero-poster-card {
  max-width: 500px;
  width: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(24, 22, 21, 0.16), 0 5px 15px rgba(200, 73, 32, 0.15);
  border: 4px solid #ffffff;
  background: #ffffff;
  transition: var(--transition-slow);
}

.hero-poster-card:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: 0 25px 55px rgba(24, 22, 21, 0.22);
}

.hero-poster-card img {
  width: 100%;
  height: auto;
  display: block;
}

.poster-badge-float {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.poster-badge-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.poster-badge-text span {
  font-size: 0.8rem;
  color: var(--orange-bora);
  font-weight: 600;
}

/* Barra de característiques inferiors de l'Hero */
.hero-features-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.4rem 0;
  box-shadow: var(--shadow-sm);
}

.features-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-bar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-badge);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bora);
  flex-shrink: 0;
}

.feature-bar-text {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.feature-bar-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 0.98rem;
}

/* ==========================================================================
   SECCIÓ LA CURSA (CIRCUITS AMB LES IMATGES OFICIALS DE PERFIL)
   ========================================================================== */
.circuits-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tab-btn:hover {
  background: #faf8f5;
  color: var(--orange-bora);
  border-color: var(--orange-bora);
}

.tab-btn.active {
  background: var(--orange-bora);
  border-color: var(--orange-bora);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--orange-glow);
}

.tab-btn.active .tab-indicator {
  background: #ffffff;
}

.tab-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: var(--transition);
}

/* Graella dels Circuits */
.circuits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.circuit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
  position: relative;
}

.circuit-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.circuit-badge-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--orange-bora);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

/* Imatge Oficial de Perfil & Track */
.circuit-profile-box {
  position: relative;
  background: #f6f4ee;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.circuit-profile-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: opacity 0.3s ease;
}

.circuit-card:hover .circuit-profile-box img {
  opacity: 0.96;
}

.circuit-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.circuit-header {
  margin-bottom: 1.2rem;
}

.circuit-title {
  font-size: 1.85rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.circuit-lead {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Grans mètriques */
.circuit-metrics-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-card-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.metric-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--orange-badge);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bora);
  flex-shrink: 0;
}

.metric-info .m-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.metric-info .m-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.metric-info .m-val span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Llista de detalls tècnics */
.circuit-specs-list {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.circuit-specs-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.circuit-specs-list li span.spec-name {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.circuit-specs-list li span.spec-name svg {
  color: var(--orange-bora);
}

.circuit-specs-list li strong.spec-val {
  color: var(--text-primary);
  font-weight: 700;
}

/* Caixa Especial Strava */
.strava-badge-box {
  background: rgba(200, 73, 32, 0.07);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.strava-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--orange-bora);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.strava-text {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.strava-text strong {
  display: block;
  color: var(--orange-bora);
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

/* Botons de circuit */
.circuit-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: auto;
}

.circuit-actions .btn-cta,
.circuit-actions .btn-secondary {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   SECCIÓ SERVEIS INCLOSOS (CONCORDANT AMB CARTELL-INSCRIPCIONS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  background: var(--bg-card-warm);
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-badge);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bora);
  margin-bottom: 1.15rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--orange-bora);
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   SECCIÓ RECURSOS & NORMATIVA
   ========================================================================== */
.recursos-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: flex-start;
}

.recursos-lead-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-card);
}

.recursos-lead-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.recursos-lead-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pdf-download-card {
  background: var(--bg-card-warm);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pdf-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(200, 73, 32, 0.12);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bora);
  flex-shrink: 0;
}

.pdf-info strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.pdf-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recursos-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.recursos-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.recursos-checklist li svg {
  color: var(--orange-bora);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Acordió de la Normativa */
.normativa-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--border-medium);
}

.accordion-item.active {
  border-color: var(--border-orange);
  box-shadow: var(--shadow-card);
}

.accordion-trigger {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}

.accordion-trigger:hover {
  color: var(--orange-bora);
}

.accordion-item.active .accordion-trigger {
  color: var(--orange-bora);
}

.accordion-icon-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.accordion-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--orange-bora);
  background: var(--orange-badge);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.chevron-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .chevron-icon {
  transform: rotate(180deg);
  color: var(--orange-bora);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.75rem;
}

.accordion-item.active .accordion-body {
  padding-bottom: 1.5rem;
}

.accordion-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.accordion-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.accordion-content li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   SECCIÓ HORARIS / TIMELINE
   ========================================================================== */
.timeline-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 110px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-bora), var(--orange-dark), rgba(0,0,0,0.06));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.2rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-time {
  width: 90px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange-bora);
  text-align: right;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--orange-bora);
  position: absolute;
  left: 102px;
  top: 4px;
  box-shadow: 0 0 10px var(--orange-glow);
  z-index: 2;
}

.timeline-content {
  margin-left: 45px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  border-color: var(--border-orange);
  transform: translateX(5px);
  box-shadow: var(--shadow-card);
}

.timeline-content h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓ GALERIA D'IMATGES — CARRUSEL
   ========================================================================== */
.gallery-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #181615;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center bottom;
}

.carousel-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(24, 22, 21, 0.85) 0%, transparent 100%);
}

.carousel-caption-bar span {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Botons de navegació */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--orange-bora);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Indicadors (punts) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 0;
  background: #181615;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--orange-bora);
  border-color: var(--orange-bora);
}

@media (max-width: 768px) {
  .carousel-slide img {
    height: 320px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
  }
  .carousel-prev { left: 0.5rem; }
  .carousel-next { right: 0.5rem; }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18, 16, 15, 0.94);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 50px rgba(0,0,0,0.7);
  background: #ffffff;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--orange-bora);
}

/* ==========================================================================
   SECCIÓ UBICACIÓ
   ========================================================================== */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
}

.location-info {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.location-lead h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.location-lead p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.loc-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.loc-icon {
  width: 42px;
  height: 42px;
  background: var(--orange-badge);
  border: 1px solid var(--border-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bora);
  flex-shrink: 0;
}

.loc-icon.green {
  background: var(--green-badge);
  border-color: var(--border-green);
  color: var(--green-forest);
}

.loc-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.loc-text p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.directions-box {
  background: var(--bg-card-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.directions-box h5 {
  font-size: 0.92rem;
  text-transform: uppercase;
  color: var(--orange-bora);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.directions-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.location-map-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.location-map-box iframe {
  width: 100%;
  flex: 1;
  border: 0;
}

.map-footer-bar {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-coords {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.map-links {
  display: flex;
  gap: 0.75rem;
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange-bora);
  padding: 0.45rem 0.9rem;
  background: var(--orange-badge);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-orange);
  transition: var(--transition);
}

.btn-map-link:hover {
  background: var(--orange-bora);
  color: #ffffff;
}

/* ==========================================================================
   SECCIÓ PREGUNTES FREQÜENTS (FAQ)
   ========================================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   ORGANITZACIÓ I COL·LABORADORS (AMB ELS LOGOS DEL CARTELL)
   ========================================================================== */
.partners-section {
  padding: 4.5rem 0 3.5rem 0;
  background: #181615;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a8a29e;
  margin-bottom: 2.2rem;
}

.partners-category-row {
  margin-bottom: 2.5rem;
}

.partners-cat-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-light);
  margin-bottom: 1.2rem;
}

.partners-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partner-logo-item {
  color: #d6d3d1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.partner-logo-item:hover {
  color: #ffffff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.partner-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #11100f;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #a8a29e;
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-col h5 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #a8a29e;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--orange-light);
  padding-left: 4px;
}

.footer-contact p {
  color: #a8a29e;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact strong {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #78716c;
}

.footer-bottom a {
    color: inherit; /* O el color que vulguis per defecte */
    text-decoration: none;
    transition: color 0.3s ease; /* Fa que el canvi de color sigui suau */
}

.footer-bottom a:hover {
    color: rgb(238, 52, 88);
}

/* Barra flotant mòbil d'inscripcions */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-orange);
  padding: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
}

.mobile-bar-info {
  display: flex;
  flex-direction: column;
}

.mobile-bar-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.mobile-bar-date {
  font-size: 0.78rem;
  color: var(--orange-bora);
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-poster-col {
    justify-content: center;
    margin-top: 0 !important;
  }

  .hero-poster-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(246, 244, 238, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    border-top: 1px solid var(--border-medium);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions .btn-cta {
    display: none;
  }

  .circuits-grid {
    grid-template-columns: 1fr;
  }

  .recursos-wrapper {
    grid-template-columns: 1fr;
  }

  .recursos-lead-box {
    position: static;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
  }

  .location-map-box {
    min-height: 400px;
  }


  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .mobile-sticky-bar {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-header-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-main-logo {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-circuits-brush {
    justify-content: center;
  }

  .hero-key-facts {
    grid-template-columns: 1fr;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-number {
    font-size: 1.7rem;
  }

  .countdown-wrapper {
    padding: 1.2rem 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta, .btn-secondary {
    width: 100%;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-dot {
    left: 12px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-time {
    width: auto;
    text-align: left;
    margin-left: 45px;
    margin-bottom: 0.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
