/* Variables CSS */
:root {
  --primary-color: #d64f00;
  --primary-hover: #b8430a;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --text-muted: #666;
  --background-light: #f8f9fa;
  --border-color: #e9ecef;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navegación suavizada y elegante */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(99, 9, 9, 0.92); /* Más transparencia */
  backdrop-filter: blur(15px) saturate(180%); /* Efecto glassmorphism */
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más suave */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 32px rgba(214, 79, 0, 0.1); /* Sombra sutil */
}

.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 79, 0, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
  pointer-events: none;
}

/* Navbar con scroll */
.nav.scrolled {
  background: rgba(214, 79, 0, 0.98);
  backdrop-filter: blur(20px) saturate(200%);
  box-shadow: 0 8px 32px rgba(214, 79, 0, 0.15);
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px; /* Más padding para respiración */
  position: relative;
}

.nav-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo .logo-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.logo-icon {
  fill: var(--text-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-icon:hover {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px; /* Menos gap para más elegancia */
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 20px;
  border-radius: 25px; /* Bordes redondeados */
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.nav-link:active {
  transform: translateY(0);
}

/* Efecto de línea suavizado */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--text-light), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 60%;
}

/* Toggle button más suave */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animaciones del toggle más suaves */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #fff;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.hero-logo {
  margin-bottom: 30px;
  margin-top: 40px;  /* <- Agregar esta línea para moverlo hacia abajo */
}

.main-logo {
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.main-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--text-light);
  color: var(--primary-color);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-particles::before {
  top: 10%;
  left: -10%;
  animation-delay: -2s;
}

.hero-particles::after {
  bottom: 10%;
  right: -10%;
  animation-delay: -4s;
}

/* Main Slider - Actualizado para imágenes 1250x460px */
.main-slider {
  padding: 80px 0;
  background: var(--background-light);
}

.slider-container {
  position: relative;
  max-width: 60%; /* Cambiado de 1000px fijo a porcentaje */
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.slider-wrapper {
  position: relative;
  height: 0;
  padding-bottom: 36.8%; /* Ratio 1250:460 = 36.8% (460/1250*100) */
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-content {
  position: absolute;
  bottom: 8%; /* Cambiado de 40px a porcentaje */
  left: 4%; /* Cambiado de 40px a porcentaje */
  right: 4%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-light);
  padding: 2.5%;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.slide-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* Responsive font size */
  margin-bottom: 10px;
  font-weight: 600;
}

.slide-content p {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem); /* Responsive font size */
  opacity: 0.9;
  line-height: 1.4;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2%;
  z-index: 3;
  transform: translateY(-50%);
}

.slider-btn {
  width: clamp(40px, 4vw, 50px); /* Responsive button size */
  height: clamp(40px, 4vw, 50px);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--text-light);
  transform: scale(1.1);
}

.slider-indicators {
  position: absolute;
  bottom: 4%; /* Cambiado de 20px a porcentaje */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: clamp(10px, 1.2vw, 12px); /* Responsive indicator size */
  height: clamp(10px, 1.2vw, 12px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--text-light);
  transform: scale(1.2);
}

/* Universities Section */
.universities {
  padding: 80px 0;
  background: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 20px;
}

.university-card {
  background: var(--background-light);
  border-radius: var(--border-radius);
  padding: 10px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.university-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.university-card img {
  max-width: 100%;
  height: 155px;
  object-fit: contain;
  transition: var(--transition);
}

.university-card:hover img {
  transform: scale(1.05);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(214, 79, 0, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 50px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }

  .nav-list.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 200px;
    justify-content: center;
  }

  .slider-wrapper {
    height: 350px;
  }

  .slide-content {
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
  }

  .slide-content h3 {
    font-size: 1.4rem;
  }

  .universities-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 10px;
  }

  .university-card {
    padding: 20px;
  }

  .university-card img {
    height: 80px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .main-logo {
    max-width: 150px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .slider-wrapper {
    height: 250px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
/* Responsive Design específico para el slider */
@media (max-width: 1200px) {
  .slider-container {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .slider-container {
    max-width: 98%;
    margin: 0 1%;
  }
  
  .slider-wrapper {
    padding-bottom: 45%; /* Ratio ajustado para móviles */
  }

  .slide-content {
    bottom: 5%;
    left: 3%;
    right: 3%;
    padding: 4%;
  }
}

@media (max-width: 480px) {
  .slider-wrapper {
    padding-bottom: 55%; /* Ratio más alto para pantallas muy pequeñas */
  }
  
  .slide-content {
    bottom: 3%;
    left: 2%;
    right: 2%;
    padding: 5%;
  }
}
/* Responsive Design mejorado */
@media (max-width: 768px) {
  .nav-container {
    padding: 15px 20px;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, 
      rgba(214, 79, 0, 0.98) 0%, 
      rgba(231, 76, 60, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding-top: 60px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-list.active {
    left: 0;
  }

  .nav-item {
    width: 80%;
    text-align: center;
  }

  .nav-link {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .nav-link::after {
    display: none; /* Ocultar línea en móvil */
  }

  .nav-toggle {
    display: flex;
  }
}

/* Efecto de entrada suave para elementos */
@keyframes fadeInNav {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container > * {
  animation: fadeInNav 0.6s ease-out;
}

/* Scroll behavior mejorado */
.nav.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.nav-visible {
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Estilos adicionales para la página 404 */
/* Agregar al final de styles_11.css */

/* Error Section (404) */
.error-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: 100px 0 60px;
}

.error-content {
  text-align: center;
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.error-icon {
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

.error-svg {
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.error-title {
  font-size: 8rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 0.8;
  background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.error-actions .btn-primary svg,
.error-actions .btn-secondary svg {
  transition: var(--transition);
}

.error-actions .btn-primary:hover svg,
.error-actions .btn-secondary:hover svg {
  transform: translateX(3px);
}

.error-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.error-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.error-particles::before,
.error-particles::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
}

.error-particles::before {
  top: 15%;
  left: -15%;
  animation-delay: -3s;
}

.error-particles::after {
  bottom: 15%;
  right: -15%;
  animation-delay: -6s;
}

/* Suggestions Section */
.suggestions {
  padding: 80px 0;
  background: var(--background-light);
}

.suggestions-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 50px;
  position: relative;
}

.suggestions-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.suggestion-card {
  background: var(--text-light);
  padding: 35px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.suggestion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: var(--transition);
}

.suggestion-card:hover::before {
  transform: translateX(0);
}

.suggestion-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.suggestion-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  animation: bounce 2s infinite;
}

.suggestion-card:nth-child(2) .suggestion-icon {
  animation-delay: -0.5s;
}

.suggestion-card:nth-child(3) .suggestion-icon {
  animation-delay: -1s;
}

.suggestion-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.suggestion-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.suggestion-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.suggestion-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

/* Animaciones adicionales */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -20px, 0);
  }
  70% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

/* Responsive Design para 404 */
@media (max-width: 768px) {
  .error-section {
    min-height: 60vh;
    padding: 80px 0 40px;
  }

  .error-title {
    font-size: 5rem;
  }

  .error-subtitle {
    font-size: 1.8rem;
  }

  .error-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 220px;
    justify-content: center;
  }

  .suggestions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .suggestion-card {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .error-title {
    font-size: 4rem;
  }

  .error-subtitle {
    font-size: 1.5rem;
  }

  .error-icon svg {
    width: 80px;
    height: 80px;
  }

  .suggestions {
    padding: 60px 0;
  }

  .suggestions-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 100vh; /* Más alto para pantallas móviles */
  }

  .hero-content {
    padding-bottom: 60px; /* Espacio adicional debajo de los botones */
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 110vh; /* Aún más espacio para móviles muy pequeños */
  }

  .hero-content {
    padding-bottom: 80px; /* Más margen inferior */
  }
}

@media (max-width: 768px) {
  .slide img {
    object-fit: contain;
    background-color: #000; /* Opcional, para evitar parches blancos */
  }

  .slider-wrapper {
    height: auto;
    padding-bottom: unset; /* Quitamos proporción fija */
    aspect-ratio: 16 / 9;   /* Alternativa moderna y limpia */
  }
}
