/* Importar fuentes profesionales */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Variables CSS para colores profesionales */
:root {
  --primary-color: #f59e0b;
  --primary-dark: #d97706;
  --secondary-color: #0f172a;
  --accent-color: #fbbf24;
  --success-color: #059669;
  --warning-color: #d97706;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

/* Crear un pseudo-elemento para el fondo borroso solo cuando sea necesario */
body.pagina-login::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/fondo_login.png') no-repeat center center fixed;
  background-size: cover;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  z-index: -1;
}

/* Efecto borroso solo para páginas de formularios que lo necesiten */
body.pagina-formulario {
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

/* Asegurar que la página index NO tenga blur */
body.pagina-index {
  filter: none;
  -webkit-filter: none;
}

/* Crear un contenedor para el contenido del login */
.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8); /* Fondo blanco semitransparente */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos del encabezado modernos */
#encabezado {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

#logo-cooperativa {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.subtitulo {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

#menu-navegacion {
  display: flex;
  align-items: center;
  gap: 30px;
}

.enlace-menu {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s ease;
}

.enlace-menu:hover {
  color: var(--primary-color);
}

.enlace-menu.active {
  color: var(--primary-color);
}

.enlace-menu.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.btn-login {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

.btn-login:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Barra superior de contacto */
#barra-superior {
  background: var(--secondary-color);
  color: var(--white);
  padding: 12px 0;
  font-size: 0.9rem;
}

.contenedor-barra {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-contacto-top {
  display: flex;
  gap: 30px;
}

.info-contacto-top span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-contacto-top i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

/* Sección Hero */
#hero-section {
  background: 
    linear-gradient(135deg, rgba(245, 159, 11, 0.382) 0%, rgba(217, 119, 6, 0.404) 100%),
    url('../img/coop_sitio.png') center center / cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.25);
  padding: 12px 18px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(5px);
}

.feature i {
  font-size: 1.1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature span {
  font-weight: 500;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 15px 30px;
  border: 2px solid var(--white);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.taxi-card {
  background: var(--white);
  color: var(--text-dark);
  padding: 35px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  width: 100%;
  max-width: 350px;
  border: 2px solid rgba(245, 158, 11, 0.1);
}

.taxi-card i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  background: rgba(245, 158, 11, 0.1);
  padding: 20px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.taxi-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.taxi-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

/* Estilos del contenido principal mejorados */
#contenido-principal {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

#seccion-bienvenida {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#titulo-bienvenida {
  color: #f59e0b;
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

#titulo-bienvenida::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 2px;
}

.parrafo-informativo {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #555;
}

.parrafo-informativo strong {
  color: #f59e0b;
  font-weight: 600;
}

#info-contacto-destacada {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 25px;
  margin-top: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.telefono-destacado {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.telefono-destacado strong {
  color: rgba(255, 255, 255, 0.9);
}

/* Botón de acción mejorado */
#contenedor-boton {
  text-align: center;
  margin: 40px 0;
}

#boton-ingresar {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#boton-ingresar:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

#boton-ingresar:active {
  transform: translateY(-1px);
}

/* Estilos del pie de página mejorados - estilo moderno como la imagen */
#pie-pagina {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
  margin: 0;
  margin-top: 60px;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

#contenido-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.columna-footer {
  padding: 0 20px;
}

.titulo-footer {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.titulo-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #f59e0b;
}

.lista-footer {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-footer li {
  margin-bottom: 12px;
}

.enlace-footer {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
}

.enlace-footer:hover {
  color: #f59e0b;
  transform: translateX(5px);
}

.texto-footer {
  line-height: 1.7;
  color: #cccccc;
  font-size: 0.95rem;
  margin-top: 20px;
}

/* Estilos para redes sociales */
.redes-sociales {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.red-social {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.red-social.facebook {
  background: #3b5998;
}

.red-social.twitter {
  background: #1da1f2;
}

.red-social.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.red-social.whatsapp {
  background: #25d366;
}

.red-social:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Copyright mejorado */
#copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #888;
}

#copyright p {
  margin: 8px 0;
  font-size: 0.9rem;
}

.desarrollado-por {
  font-size: 0.85rem;
  margin-top: 10px;
}

.highlight {
  color: #f59e0b;
  font-weight: 600;
}

/* Agregar fuente Inter para mejor tipografía */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Agregar Font Awesome para los iconos de redes sociales */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Responsividad mejorada */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 60px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    order: 1;
  }
  
  .hero-image {
    order: 2;
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    margin-bottom: 30px;
  }
  
  .feature {
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .taxi-card {
    max-width: 300px;
    margin: 0 auto;
    transform: translateY(0);
  }
  
  .taxi-card i {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-features {
    margin-bottom: 25px;
  }
  
  .feature {
    padding: 10px 15px;
    max-width: 250px;
  }
  
  .feature i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .feature span {
    font-size: 0.9rem;
  }
  
  .taxi-card {
    padding: 25px 20px;
    max-width: 280px;
  }
  
  .taxi-card h3 {
    font-size: 1.2rem;
  }
  
  .taxi-card p {
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Estilos para efecto de carga de página */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--white);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loading-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.loading-content p {
  font-size: 1rem;
  opacity: 0.8;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animaciones adicionales para elementos interactivos */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mejorar transiciones de hover */
.servicio-tarjeta,
.btn-primary,
.btn-contacto {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto parallax suave */
#hero-section {
  position: relative;
  overflow: hidden;
}

/* Estados de carga para evitar flash */
body:not(.content-loaded) #barra-superior,
body:not(.content-loaded) #encabezado,
body:not(.content-loaded) #hero-section,
body:not(.content-loaded) #servicios-section,
body:not(.content-loaded) #seccion-bienvenida,
body:not(.content-loaded) #contenedor-boton,
body:not(.content-loaded) #pie-pagina,
body:not(.content-loaded) .servicio-tarjeta {
  opacity: 0;
  transform: translateY(30px);
}

/* Cuando el contenido está cargado, aplicar las animaciones */
body.content-loaded #barra-superior {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

body.content-loaded #encabezado {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

body.content-loaded #hero-section {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

body.content-loaded #servicios-section {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

body.content-loaded #seccion-bienvenida {
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

body.content-loaded #contenedor-boton {
  animation: fadeInUp 0.6s ease-out 1.0s both;
}

body.content-loaded #pie-pagina {
  animation: fadeInUp 0.6s ease-out 1.2s both;
}

body.content-loaded .servicio-tarjeta:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 0.8s both;
}

body.content-loaded .servicio-tarjeta:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 1.0s both;
}

body.content-loaded .servicio-tarjeta:nth-child(3) {
  animation: fadeInRight 0.6s ease-out 1.2s both;
}

/* Estados iniciales para elementos animados */
#barra-superior,
#encabezado,
#hero-section,
#servicios-section,
#seccion-bienvenida,
#contenedor-boton,
#pie-pagina,
.servicio-tarjeta {
  opacity: 0;
}

/* Sección de servicios */
#servicios-section {
  padding: 100px 40px;
  background: var(--white);
  margin: 40px auto;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  max-width: 90%;
  border: 1px solid var(--border-color);
}

#servicios-section .container {
  max-width: 100%;
  padding: 0 60px;
}

.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(--primary-color);
  border-radius: 2px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.servicio-card {
  background: var(--white);
  padding: 45px 40px;
  border-radius: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.servicio-icon i {
  font-size: 2rem;
  color: var(--white);
}

.servicio-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.servicio-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Sección de información principal */
#seccion-bienvenida {
  padding: 100px 40px;
  background: var(--background-light);
  margin: 40px auto;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  max-width: 90%;
  border: 1px solid var(--border-color);
}

#seccion-bienvenida .container {
  max-width: 100%;
  padding: 0 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ventaja-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 25px 30px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.ventaja-item i {
  color: var(--success-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.ventaja-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ventaja-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }
  
  #menu-navegacion {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .contenedor-barra {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .info-contacto-top {
    flex-direction: column;
    gap: 10px;
  }
}

/* Responsive Design - Hero Section */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 60px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    order: 1;
  }
  
  .hero-image {
    order: 2;
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    margin-bottom: 30px;
  }
  
  .feature {
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .taxi-card {
    max-width: 300px;
    margin: 0 auto;
    transform: translateY(0);
  }
  
  .taxi-card i {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-features {
    margin-bottom: 25px;
  }
  
  .feature {
    padding: 10px 15px;
    max-width: 250px;
  }
  
  .feature i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .feature span {
    font-size: 0.9rem;
  }
  
  .taxi-card {
    padding: 25px 20px;
    max-width: 280px;
  }
  
  .taxi-card h3 {
    font-size: 1.2rem;
  }
  
  .taxi-card p {
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Animaciones de entrada para la página */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(90px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-90px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animación de entrada para toda la página */
body.pagina-index {
  animation: fadeIn 0.5s ease-out;
}

/* Aplicar animaciones a las secciones principales */
#barra-superior {
  animation: fadeInUp 0.3s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.1s;
}

#encabezado {
  animation: fadeInUp 0.3s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

#hero-section {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.4s;
}

#servicios-section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.6s;
}

#seccion-bienvenida {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.8s;
}

#contenedor-boton {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.0s;
}

#pie-pagina {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.2s;
}

/* Animaciones individuales para las tarjetas de servicios */
.servicio-tarjeta:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.8s;
}

.servicio-tarjeta:nth-child(2) {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.0s;
}

.servicio-tarjeta:nth-child(3) {
  animation: fadeInRight 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.2s;
}

/* Estados iniciales para elementos animados */
#barra-superior,
#encabezado,
#hero-section,
#servicios-section,
#seccion-bienvenida,
#contenedor-boton,
#pie-pagina,
.servicio-tarjeta {
  opacity: 0;
}

/* Sección de servicios */
#servicios-section {
  padding: 80px 0;
  background: var(--white);
}

.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(--primary-color);
  border-radius: 2px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.servicio-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.servicio-icon i {
  font-size: 2rem;
  color: var(--white);
}

.servicio-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.servicio-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Sección de información principal */
#seccion-bienvenida {
  padding: 80px 0;
  background: var(--background-light);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ventaja-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.ventaja-item i {
  color: var(--success-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.ventaja-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ventaja-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }
  
  #menu-navegacion {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .contenedor-barra {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .info-contacto-top {
    flex-direction: column;
    gap: 10px;
  }
}

/* Responsive Design - Hero Section */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 60px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    order: 1;
  }
  
  .hero-image {
    order: 2;
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    margin-bottom: 30px;
  }
  
  .feature {
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .taxi-card {
    max-width: 300px;
    margin: 0 auto;
    transform: translateY(0);
  }
  
  .taxi-card i {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-features {
    margin-bottom: 25px;
  }
  
  .feature {
    padding: 10px 15px;
    max-width: 250px;
  }
  
  .feature i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .feature span {
    font-size: 0.9rem;
  }
  
  .taxi-card {
    padding: 25px 20px;
    max-width: 280px;
  }
  
  .taxi-card h3 {
    font-size: 1.2rem;
  }
  
  .taxi-card p {
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Animaciones de entrada para la página */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animación de entrada para toda la página */
body.pagina-index {
  animation: fadeIn 0.5s ease-out;
}

/* Aplicar animaciones a las secciones principales */
#barra-superior {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.1s;
}

#encabezado {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

#hero-section {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.4s;
}

#servicios-section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.6s;
}

#seccion-bienvenida {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.8s;
}

#contenedor-boton {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.0s;
}

#pie-pagina {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.2s;
}

/* Animaciones individuales para las tarjetas de servicios */
.servicio-tarjeta:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.8s;
}

.servicio-tarjeta:nth-child(2) {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.0s;
}

.servicio-tarjeta:nth-child(3) {
  animation: fadeInRight 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.2s;
}

/* Estados iniciales para elementos animados */
#barra-superior,
#encabezado,
#hero-section,
#servicios-section,
#seccion-bienvenida,
#contenedor-boton,
#pie-pagina,
.servicio-tarjeta {
  opacity: 0;
}

/* Sección de servicios */
#servicios-section {
  padding: 80px 0;
  background: var(--white);
}

.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(--primary-color);
  border-radius: 2px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.servicio-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.servicio-icon i {
  font-size: 2rem;
  color: var(--white);
}

.servicio-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.servicio-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Sección de información principal */
#seccion-bienvenida {
  padding: 80px 0;
  background: var(--background-light);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ventaja-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.ventaja-item i {
  color: var(--success-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.ventaja-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ventaja-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }
  
  #menu-navegacion {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .contenedor-barra {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .info-contacto-top {
    flex-direction: column;
    gap: 10px;
  }
}

/* Responsive Design - Hero Section */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 60px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    order: 1;
  }
  
  .hero-image {
    order: 2;
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    margin-bottom: 30px;
  }
  
  .feature {
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .taxi-card {
    max-width: 300px;
    margin: 0 auto;
    transform: translateY(0);
  }
  
  .taxi-card i {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-features {
    margin-bottom: 25px;
  }
  
  .feature {
    padding: 10px 15px;
    max-width: 250px;
  }
  
  .feature i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .feature span {
    font-size: 0.9rem;
  }
  
  .taxi-card {
    padding: 25px 20px;
    max-width: 280px;
  }
  
  .taxi-card h3 {
    font-size: 1.2rem;
  }
  
  .taxi-card p {
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Estilos para efecto de carga de página */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--white);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loading-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.loading-content p {
  font-size: 1rem;
  opacity: 0.8;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animaciones adicionales para elementos interactivos */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mejorar transiciones de hover */
.servicio-tarjeta,
.btn-primary,
.btn-contacto {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto parallax suave */
#hero-section {
  position: relative;
  overflow: hidden;
}

/* Estados de carga para evitar flash */
body:not(.content-loaded) #barra-superior,
body:not(.content-loaded) #encabezado,
body:not(.content-loaded) #hero-section,
body:not(.content-loaded) #servicios-section,
body:not(.content-loaded) #seccion-bienvenida,
body:not(.content-loaded) #contenedor-boton,
body:not(.content-loaded) #pie-pagina,
body:not(.content-loaded) .servicio-tarjeta {
  opacity: 0;
  transform: translateY(30px);
}

/* Cuando el contenido está cargado, aplicar las animaciones */
body.content-loaded #barra-superior {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

body.content-loaded #encabezado {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

body.content-loaded #hero-section {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

body.content-loaded #servicios-section {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

body.content-loaded #seccion-bienvenida {
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

body.content-loaded #contenedor-boton {
  animation: fadeInUp 0.6s ease-out 1.0s both;
}

body.content-loaded #pie-pagina {
  animation: fadeInUp 0.6s ease-out 1.2s both;
}

body.content-loaded .servicio-tarjeta:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 0.8s both;
}

body.content-loaded .servicio-tarjeta:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 1.0s both;
}

body.content-loaded .servicio-tarjeta:nth-child(3) {
  animation: fadeInRight 0.6s ease-out 1.2s both;
}
