```css
:root {
  --f1-red: #e10600;
  --f1-dark-blue: #0a192f;
  --f1-gray: #1f2937;
  --f1-mid-gray: #374151;
  --f1-light-gray: #e2e8f0;
  --f1-white: #ffffff;
  --f1-name-font: 'Titillium Web', sans-serif;
  --youtube-red: #FF0000;
  --youtube-black: #282828;
  --youtube-gray: #f1f1f1;
  --text-primary: #0f0f0f;
  --text-secondary: #606060;
  --text-muted: #8e8e8e;
  --bg-light: #fff;
  --bg-off-light: #f8f8f8;
  --border-light: #e0e0e0;
  --border-medium: #ddd;
  --santi-orange: #FF4A00;
  --nav-link-hover-bg: rgba(255, 74, 0, 0.08);
  --futuristic-accent: var(--santi-orange);
  --futuristic-text: #e0e7ff;
  --futuristic-bubble-user: var(--santi-orange);
  --futuristic-bubble-assistant: rgba(30, 41, 59, 0.8);
  --futuristic-bubble-thinking: rgba(55, 65, 81, 0.7);
  --futuristic-input-bg: rgba(0, 0, 0, 0.2);
  --futuristic-input-border: rgba(129, 140, 153, 0.4);
  --chat-overlay-bg: rgba(15, 23, 42, 0.75);
  --chat-text-light: #e0e7ff;
  --chat-border-light: rgba(255, 255, 255, 0.1);
  --carbon: #1a1a1a;
  --gold-500: #D4AF37;
}

html, body {
  overflow-y: hidden;
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-light);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.full-section {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.full-section:first-child {
  justify-content: space-between;
}

.full-section:not(:first-child) {
  border-top: 1px solid var(--border-medium);
  justify-content: flex-start;
  padding-top: 56px;
}

.full-section:not(#bio):not(#hero):not(#equipo-santi) > .container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  height: calc(100% - 56px);
}

#equipo-santi > .container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  height: calc(100% - 56px);
}

@media (min-width: 768px) {
  #equipo-santi > .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  #equipo-santi > .container {
    padding: 0 2.5rem;
  }
}

#bio > .container {
  padding: 0;
  height: 100%;
  max-width: none;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- NAVBAR STYLES --- */
#navbar {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 56px;
  border-bottom: none;
}
#navbar.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}
.nav-links-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.navbar-brand-centered img {
  height: 32px;
  width: auto;
  transition: filter 0.3s ease, transform 0.3s ease;
  border: none;
}
#navbar .navbar-brand-centered img {
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
}

.nav-link-new {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.8rem;
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out, opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
  border-bottom: 2px solid transparent;
  line-height: 1.5;
  color: var(--santi-orange);
  border-radius: 4px;
}
.nav-link-new:hover {
  color: var(--santi-orange);
  opacity: 0.9;
  background-color: var(--nav-link-hover-bg);
}
.nav-link-new.active {
  color: var(--santi-orange);
  border-bottom-color: var(--santi-orange);
  opacity: 1;
  font-weight: 600;
  background-color: var(--nav-link-hover-bg);
}

.menu-icon div {
  background-color: var(--text-primary);
  height: 2px;
  width: 22px;
  margin: 3.5px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 1px;
}
#navbar:not(.navbar-scrolled) .menu-icon div {
  background-color: var(--f1-white);
}
#navbar.navbar-scrolled .menu-icon div {
  background-color: var(--text-primary);
}

.menu-icon.active .bar1 {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.menu-icon.active .bar2 {
  opacity: 0;
  transform: translateX(-10px);
}
.menu-icon.active .bar3 {
  transform: rotate(45deg) translate(-5px, -5px);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}
.lang-selector button {
  background: none;
  border: none;
  color: var(--santi-orange);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.25rem 0.4rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}
.lang-selector button:hover {
  opacity: 1;
  background-color: var(--nav-link-hover-bg);
}
.lang-selector button.active-lang {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--santi-orange);
  text-underline-offset: 3px;
  background-color: var(--nav-link-hover-bg);
}

.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  background-color: var(--bg-light);
  position: fixed;
  height: 100%;
  width: 250px;
  top: 0;
  left: 0;
  z-index: 999;
  padding-top: 56px;
  border-right: 1px solid var(--border-light);
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  color: var(--santi-orange);
}
.mobile-nav-link:hover {
  background-color: var(--bg-off-light);
  opacity: 0.85;
}
.mobile-nav-link:last-child {
  border-bottom: none;
}

/* --- HERO SECTION STYLES --- */
#hero {
  background-color: var(--f1-dark-blue);
}
.hero-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  background-size: cover;
  background-position: center center;
  cursor: pointer;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slideshow-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}
.hero-slideshow-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-slideshow-dot.active {
  background-color: var(--f1-white);
  border-color: var(--f1-white);
  transform: scale(1.2);
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hero-content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 4.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.hero-name-title {
  display: none;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--f1-light-gray);
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  animation: bounce 2.5s infinite ease-in-out;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(-10px); opacity: 1; }
}

/* --- BIO SECTION --- */
#bio {
  background-image: url('https://s4nt1.com/files/bgchat.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 15, 25, 0.55);
  z-index: 1;
}
h2[data-lang-key="bio_title"] {
  display: none !important;
}

#santi-avatar-video-wrapper {
  width: auto;
  height: 100%;
  max-width: 100vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.santi-avatar-video {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
#santi-talk-video {
  display: none;
}

#chat-interface-overlay {
  width: 90%;
  max-width: 480px;
  background-color: var(--chat-overlay-bg);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: 45vh;
  min-height: 160px;
  z-index: 10;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}
#chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: pre-line;
}
#chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-message {
  padding: 0.6rem 1rem;
  border-radius: 16px;
  max-width: 85%;
  line-height: 1.4;
  font-size: 0.85rem;
  word-wrap: break-word;
  color: var(--futuristic-text);
  background-color: var(--futuristic-bubble-assistant);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.chat-message.assistant-thinking-message {
  background-color: var(--futuristic-bubble-thinking);
  font-style: italic;
}
.user-message {
  background-color: var(--futuristic-bubble-user);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}
.assistant-message {
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

#chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 22px;
  border: 1px solid var(--futuristic-input-border);
  align-items: center;
  pointer-events: auto;
}
#chat-input, #mensaje {
  flex: 1;
  padding: 0.7rem 1.1rem;
  border: none;
  border-radius: 18px;
  background: transparent;
  color: var(--futuristic-text);
  font-family: 'Titillium Web', sans-serif;
  font-size: 0.875rem;
  outline: none;
}
#chat-input::placeholder, #mensaje::placeholder {
  color: rgba(224,231,255,0.5);
}

#chat-send-button, #chat-voice-button {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--futuristic-accent);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.65rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
#chat-send-button:hover, #chat-voice-button:hover {
  background-color: #ff6200;
  transform: scale(1.05);
}
#chat-send-button:active, #chat-voice-button:active {
  transform: scale(0.95);
}
#chat-send-button i, #chat-voice-button i {
  font-size: 0.9rem;
}
#chat-voice-button.listening {
  background-color: #cc0000;
  animation: pulse 1.2s infinite ease-in-out;
}
@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  50% { transform: scale(1.1); box-shadow: 0 0 5px 8px rgba(255,0,0,0); }
}

/* --- TRAYECTORIA SECTION --- */
#trayectoria {
  background-color: var(--bg-off-light);
}
#trayectoria .container h2 {
  color: var(--text-primary);
  text-shadow: none;
  margin-top: 0;
  margin-bottom: 1rem;
}
#trayectoria .container h2::after {
  background-color: var(--santi-orange);
  opacity: 1;
}
#trayectoria .intro-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 0.5rem;
  text-align: center;
}
#trayectoria .intro-text strong {
  color: var(--text-primary);
  font-weight: 600;
}
#trayectoria .intro-text:last-of-type {
  margin-bottom: 2rem;
}

.timeline-slider-container {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  padding: 1rem 0;
  flex-grow: 1;
  display: flex;
  position: relative;
}
.timeline-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--santi-orange) var(--border-light);
  flex-grow: 1;
  align-items: stretch;
}
.timeline-slider::-webkit-scrollbar {
  height: 8px;
}
.timeline-slider::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 4px;
}
.timeline-slider::-webkit-scrollbar-thumb {
  background-color: var(--santi-orange);
  border-radius: 4px;
  border: 2px solid var(--border-light);
}

.timeline-item {
  background-color: var(--f1-white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  min-width: 280px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-medium);
  overflow: hidden;
  cursor: pointer;
}
.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.timeline-item-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: var(--f1-light-gray);
  border-bottom: 1px solid var(--border-light);
}
.timeline-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--bg-off-light);
}
.timeline-item .year {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Titillium Web', sans-serif;
  color: var(--santi-orange);
}
.timeline-item .event-logos {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.timeline-item .event-logos img.logo-inline,
.timeline-item .event-logos .logo-placeholder {
  height: 18px;
  filter: grayscale(30%) opacity(0.9);
}
.timeline-item .event-logos .logo-placeholder {
  font-size: 0.65rem;
  padding: 0.1rem 0.3rem;
  background-color: var(--f1-light-gray);
  color: var(--text-secondary);
  border-radius: 3px;
}

.timeline-item-content {
  padding: 0.75rem 1rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.timeline-item-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
  font-family: 'Titillium Web', sans-serif;
}
.timeline-item-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  white-space: normal;
  flex-grow: 1;
}
.timeline-item .location-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--border-light);
  white-space: normal;
  font-style: italic;
}

/* Generic Section Title */
.full-section .container > h2:not(#equipo-santi-heading) {
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}
.full-section .container > h2:not(#equipo-santi-heading)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--santi-orange);
  border-radius: 2px;
}

/* Generic Intro Text */
.full-section .container > .intro-text:not(.equipo-santi-intro) {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 650px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.full-section .container > .intro-text:not(.equipo-santi-intro):last-of-type {
  margin-bottom: 2rem;
}

/* Equipo Santi Section */
.equipo-santi-cinematic-intro {
  background-color: black;
  color: white;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.equipo-santi-cinematic-intro h3 {
  font-family: 'Titillium Web', sans-serif;
}
.equipo-santi-cinematic-intro p {
  font-family: 'Poppins', sans-serif;
}

#equipo-santi {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
#equipo-santi .equipo-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#equipo-santi .equipo-card:hover {
  box-shadow: 0 0 20px 5px rgba(255, 200, 0, 0.4);
  transform: scale(1.05);
}
#equipo-santi .equipo-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
#equipo-santi .equipo-info {
  padding: 1.5rem;
}
#equipo-santi .equipo-nombre {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}
#equipo-santi .equipo-rol {
  color: #f87171;
  font-weight: 500;
}
#equipo-santi .equipo-desc {
  color: #9ca3af;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
#equipo-santi .piloto-card {
  border-width: 2px;
  border-color: var(--gold-500) !important;
}
#equipo-santi .piloto-card:hover {
  box-shadow: 0 0 25px 8px rgba(212, 175, 55, 0.6);
  transform: scale(1.05) rotate(-1deg);
}
#equipo-santi .piloto-card .equipo-nombre {
  color: var(--gold-500);
  font-size: 1.875rem;
}
#equipo-santi .piloto-card .equipo-rol {
  color: #fde047;
  font-size: 1.125rem;
}

/* CALENDARIO Section */
#calendario {
  background-color: var(--bg-light);
}
.calendar-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.calendar-nav-button {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background-color: var(--bg-light);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.calendar-nav-button img.logo-inline {
  height: 16px;
  margin-right: 0.5em;
  filter: grayscale(100%) brightness(0.5) contrast(1);
  transition: filter 0.2s ease;
}
.calendar-nav-button:hover {
  border-color: #bbb;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  color: var(--text-primary);
}
.calendar-nav-button.active {
  background-color: var(--santi-orange);
  color: var(--f1-white);
  border-color: var(--santi-orange);
  box-shadow: 0 1px 3px rgba(255, 74, 0, 0.4);
  transform: translateY(0);
}
.calendar-nav-button.active img.logo-inline {
  filter: brightness(0) invert(1);
}
#calendar-display-area {
  width: 100%;
  max-width: 1100px;
  padding: 1rem 0.25rem;
  overflow-y: auto;
  scrollbar-color: var(--santi-orange) var(--bg-light);
  flex-grow: 1;
}
#calendar-display-area::-webkit-scrollbar {
  width: 8px;
}
#calendar-display-area::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}
#calendar-display-area::-webkit-scrollbar-thumb {
  background-color: var(--santi-orange);
  border-radius: 4px;
  border: 1px solid var(--bg-light);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.calendar-grid-item {
  background-color: var(--f1-white);
  border-radius: 6px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.calendar-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.calendar-grid-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background-color: var(--f1-light-gray);
  padding: 0.25rem;
  border-bottom: 1px solid var(--border-light);
}
.calendar-grid-content {
  padding: 0.9rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.calendar-grid-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}
.calendar-grid-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.calendar-grid-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.calendar-grid-result {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--santi-orange);
  margin-bottom: 0.6rem;
}
.calendar-grid-result.no-final {
  color: var(--text-muted);
  font-style: italic;
}
.calendar-grid-links {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  flex-wrap: wrap;
}
.calendar-grid-links a {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  background-color: #eee;
  border: 1px solid #ccc;
  color: var(--text-secondary);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.calendar-grid-links a:hover {
  background-color: var(--santi-orange);
  color: var(--f1-white);
  border-color: var(--santi-orange);
}
.calendar-source {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.calendar-source a {
  color: var(--santi-orange);
  text-decoration: underline;
}

/* RESULTADOS Section */
#resultados {
  background-color: var(--bg-off-light);
}
.results-table-wrapper {
  width: 100%;
  max-width: 900px;
  overflow-x: auto;
  border-radius: 6px;
  padding: 0.25rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  background-color: var(--f1-white);
}
#resultados table {
  width: 100%;
  border-collapse: collapse;
}
#resultados th,
#resultados td {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  white-space: nowrap;
}
#resultados th {
  background-color: var(--bg-off-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
#resultados td {
  color: var(--text-secondary);
}
#resultados tbody tr:hover {
  background-color: #fdfdfd;
}
#resultados .result-highlight {
  font-weight: 600;
  color: var(--santi-orange);
}
#resultados .result-highlight i {
  margin-right: 0.3em;
}

/* MI-KART Section */
#mi-kart {
  background-color: var(--bg-light);
}
.kart-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.kart-display-area {
  width: 100%;
  max-width: 900px;
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: inset 0 -80px 70px -40px rgba(255,255,255,0.95), 0 3px 8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: background-image 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.full-section:nth-of-type(even):not(#hero):not(#bio) .kart-display-area {
  box-shadow: inset 0 -80px 70px -40px rgba(248,248,248,0.95), 0 3px 8px rgba(0,0,0,0.08);
}
.kart-text-overlay {
  background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.98) 30%, var(--bg-light) 100%);
  padding: 1.25rem 1.5rem;
  max-height: 45%;
  overflow-y: auto;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.kart-text-overlay.visible {
  opacity: 1;
}
.full-section:nth-of-type(even):not(#hero):not(#bio) .kart-text-overlay {
  background: linear-gradient(to top, rgba(248,248,248,0.9) 0%, rgba(248,248,248,0.98) 30%, var(--bg-off-light) 100%);
}
.kart-text-overlay h3 {
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.kart-text-overlay p {
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.kart-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.kart-logos img.logo-inline {
  height: 18px;
  filter: grayscale(50%) opacity(0.8);
}
.kart-logos .kart-logo-placeholder {
  height: 18px;
  font-size: 0.65rem;
  line-height: 14px;
  padding: 0.1rem 0.3rem;
  background-color: var(--f1-light-gray);
  color: var(--text-secondary);
  border-radius: 3px;
}

/* TIENDA Section */
#tienda {
  background-color: var(--bg-off-light);
}
#tienda .grid {
  width: 100%;
}
#tienda .shop-item {
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-color: var(--f1-white);
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
#tienda .shop-item:hover {
  background-color: #fdfdfd;
  transform: scale(1.02);
}
#tienda .shop-item i {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  color: var(--santi-orange);
}
#tienda .shop-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
#tienda .shop-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CONTACTO Section */
#contacto {
  background-color: var(--bg-light);
}
#contacto .contact-box {
  padding: 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 550px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 1.25rem;
  background-color: var(--f1-white);
}
#contacto .contact-box h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--santi-orange);
  margin-bottom: 0.75rem;
}
#contacto .contact-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
#contacto .contact-box i {
  width: 22px;
  margin-right: 0.7rem;
  color: var(--santi-orange);
  text-align: center;
}
#contacto .contact-box a {
  color: var(--santi-orange);
  text-decoration: none;
  word-break: break-all;
}
#contacto .contact-box a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
#contacto .social-prompt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
}
#contacto .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.8rem;
  margin-top: 0.75rem;
}
#contacto .social-icons a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
#contacto .social-icons a:hover {
  color: var(--santi-orange);
  transform: scale(1.1);
}

/* FOOTER */
footer {
  padding: 1.25rem 0;
  font-size: 0.75rem;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
}
footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;  
}
footer p {
  margin-bottom: 0.5rem;
}
footer .flex {
  display: flex;
  justify-content: center;
}
footer a {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--santi-orange);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .full-section:not(:first-child) {
    padding-top: 56px;
  }
  .full-section:not(#bio):not(#hero):not(#equipo-santi) > .container {
    padding: 1.5rem 1rem;
    height: calc(100% - 56px);
  }
  #bio {
    padding-top: 56px;
  }
  #bio > .container {
    justify-content: flex-start;
    padding-top: 1rem;
  }
  #santi-avatar-video-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 80%;
    max-width: 280px;
    height: auto;
    max-height: 40vh;
    margin-bottom: 1rem;
  }
  .santi-avatar-video {
    width: 100%;
    height: 100%;
  }
  #chat-interface-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 90%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    height: auto;
    max-height: 45vh;
    min-height: 180px;
  }
  .full-section .container > h2:not(#equipo-santi-heading) {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 1rem;
  }
  .full-section .container > .intro-text:not(.equipo-santi-intro) {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  #trayectoria .container h2,
  #calendario .container h2,
  #resultados .container h2,
  #mi-kart .container h2,
  #tienda .container h2,
  #contacto .container h2 {
    margin-top: 1rem;
  }
  #equipo-santi-heading {
    font-size: 2.5rem !important;
  }
  .equipo-santi-intro {
    font-size: 1rem !important;
  }
  .timeline-slider {
    padding: 1rem 1rem;
  }
  .timeline-item {
    min-width: 260px;
    max-width: 280px;
  }
  .calendar-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .kart-display-area {
    height: 350px;
  }
  .kart-text-overlay {
    max-height: 50%;
  }
  #equipo-santi .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .full-section:not(:first-child) {
    padding-top: 56px;
  }
  .full-section:not(#bio):not(#hero):not(#equipo-santi) > .container {
    height: calc(100% - 56px);
  }
  .navbar-brand-centered img {
    height: 28px;
  }
  .nav-link-new {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
  }
  .hero-content-container {
    padding: 1.5rem 1rem 3.5rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
  .hero-slideshow-dots {
    bottom: 60px;
  }
  .scroll-down {
    font-size: 1.4rem;
    bottom: 15px;
  }
  #santi-avatar-video-wrapper {
    max-width: 200px;
    max-height: 35vh;
  }
  #chat-interface-overlay {
    max-height: 50vh;
    min-height: 140px;
    padding: 0.6rem;
  }
  #chat-messages {
    min-height: 70px;
    gap: 0.4rem;
  }
  #chat-input, #mensaje {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  #chat-send-button, #chat-voice-button {
    width: 34px;
    height: 34px;
    padding: 0.5rem;
  }
  #chat-send-button i, #chat-voice-button i {
    font-size: 0.8rem;
  }
  .full-section .container > h2:not(#equipo-santi-heading) {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }
  #trayectoria .container h2,
  #calendario .container h2,
  #resultados .container h2,
  #mi-kart .container h2,
  #tienda .container h2,
  #contacto .container h2 {
    margin-top: 0.5rem;
  }
  #equipo-santi-heading {
    font-size: 2rem !important;
  }
  .equipo-santi-intro {
    font-size: 0.9rem !important;
  }
  .timeline-item {
    min-width: 240px;
  }
  .calendar-nav-buttons {
    gap: 0.5rem;
  }
  .calendar-nav-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
  .kart-nav-buttons {
    gap: 0.5rem;
  }
  .kart-nav-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
  #tienda .grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
  }
  #tienda .shop-item i {
    font-size: 1.8rem;
  }
  #tienda .shop-item h4 {
    font-size: 0.8rem;
  }
  #contacto .contact-box {
    padding: 1.25rem;
  }
  #contacto .contact-box p {
    font-size: 0.9rem;
  }
  #contacto .social-icons {
    font-size: 1.6rem;
  }
  footer .container {
    padding: 0 1rem;
  }
  #equipo-santi .grid {
    grid-template-columns: 1fr;
  }
  #equipo-santi .grid > div {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}
```