/* Variables CSS */
:root {
  /* Colores principales */
  --primary-color: #1e3c72;
  --secondary-color: #2a5298;
  --accent-color: #00bfff;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  
  /* Colores de fondo */
  --bg-primary: #111;
  --bg-secondary: #1a1a1a;
  --bg-dark: #0d1117;
  --bg-light: #f8f9fa;
  
  /* Colores de texto */
  --text-primary: #f5f5f5;
  --text-secondary: #c9d1d9;
  --text-white: #8b949e;
  --text-dark: #333;
  
  /* Bordes */
  --border-color: #30363d;
  --border-radius: 8px;
  
  /* Espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Transiciones */
  --transition: all 0.3s ease;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111;
  color: #f5f5f5;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
}

/* ========================================
   HEADER PROFESIONAL
   ======================================== */

.professional-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e3c72;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-item {
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.nav-item:hover {
  background: #f5f5f5;
  color: #1e3c72;
  text-decoration: none;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  display: none;
  padding: 0.5rem 0;
  margin-top: 0;
}

.nav-item.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown-menu.show,
.dropdown-menu[style*="display: block"] {
  display: block !important;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  margin: 0.5rem 0;
  background: #e0e0e0;
  border: none;
}

.nav-item.btn-login {
  background: #1e3c72;
  color: white !important;
  font-weight: 600;
}

.nav-item.btn-login:hover {
  background: #2a5298;
  color: white !important;
}

.nav-item.btn-admin {
  background: #6c757d;
  color: white !important;
  font-weight: 600;
}

.nav-item.btn-admin:hover {
  background: #5a6268;
  color: white !important;
}

.nav-item.btn-profile {
  background: #28a745;
  color: white !important;
  font-weight: 600;
}

.nav-item.btn-profile:hover {
  background: #218838;
  color: white !important;
}

.nav-item.btn-logout {
  background: #dc3545;
  color: white !important;
  font-weight: 600;
}

.nav-item.btn-logout:hover {
  background: #c82333;
  color: white !important;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Menú Móvil */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.show {
  max-height: 500px;
}

.mobile-nav-item {
  padding: 1rem 2rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-item:hover {
  background: #f5f5f5;
  text-decoration: none;
  color: #333;
}

.mobile-nav-item i {
  width: 20px;
  text-align: center;
}

.mobile-nav-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 992px) {
  .header-nav {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 0.75rem 1rem;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .header-wrapper {
    padding: 0.5rem 0.75rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-img {
    height: 35px;
  }
}

/* ========================================
   HERO SECTION NUEVO
   ======================================== */

.home-hero {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%), url('../img/hero-bg.jpeg') center/cover no-repeat;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-hero.primary {
  background: white;
  color: #1e3c72;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-hero.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  color: #1e3c72;
  text-decoration: none;
}

.btn-hero.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Características */
.features-section {
  padding: 4rem 0;
  background: #111;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(30, 60, 114, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00bfff;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #ccc;
  margin: 0;
}

/* Servicios */
.services-section {
  padding: 4rem 0;
  background: #1a1a1a;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #999;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-item {
  background: #222;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  position: relative;
  border: 2px solid transparent;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.15);
}

.service-item.featured {
  border-color: #00bfff;
  transform: scale(1.05);
}

.service-item.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
}

.service-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-desc {
  color: #999;
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.service-features {
list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features li i {
  color: #28a745;
  font-size: 1.2rem;
}

.service-btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid #00bfff;
  color: #00bfff;
  background: transparent;
}

.service-btn:hover {
  background: #00bfff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
  text-decoration: none;
}

.service-btn.primary {
  background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
  color: white;
  border: none;
}

.service-btn.primary:hover {
  background: linear-gradient(135deg, #0080ff 0%, #00bfff 100%);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

/* Horarios */
/* ========================================
   SECCIÓN B2B - EMPRESAS
   ======================================== */

.b2b-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00bfff 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.b2b-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.b2b-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.b2b-content {
    text-align: center;
    color: white;
}

.b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.b2b-badge i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.b2b-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.b2b-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.b2b-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.b2b-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.b2b-benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.b2b-benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.b2b-benefit-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00bfff;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.b2b-benefit-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.b2b-benefit-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.b2b-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-b2b {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-b2b.primary {
    background: white;
    color: #1e3c72;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-b2b.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-b2b.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-b2b.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-b2b i {
    font-size: 1.2rem;
}

/* Responsive B2B Section */
@media (max-width: 768px) {
    .b2b-section {
        padding: 3rem 1.5rem;
    }
    
    .b2b-title {
        font-size: 2rem;
    }
    
    .b2b-subtitle {
        font-size: 1.2rem;
    }
    
    .b2b-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .b2b-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .b2b-benefit-item {
        padding: 1.5rem;
    }
    
    .b2b-benefit-item i {
        font-size: 2.5rem;
    }
    
    .b2b-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-b2b {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

/* ========================================
   HORARIOS
   ======================================== */

.hours-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 100%);
  color: white;
}

.hours-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hours-section .section-header h2,
.hours-section .section-header p {
  color: white;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.hours-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.hours-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.1);
}

.hours-item i {
  font-size: 2.5rem;
  color: #00bfff;
  margin-bottom: 1rem;
}

.hours-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hours-item p {
  color: #ccc;
  margin: 0;
}

/* Responsive Index */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item.featured {
    transform: scale(1);
  }
  
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .home-hero {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
}

/* Antiguo CSS removido */

/* ========================================
   FOOTER PROFESIONAL
   ======================================== */

.site-footer {
  background: #1a1a1a !important;
  border-top: 1px solid #333 !important;
  padding: 2rem 0 0 !important;
  margin-top: 4rem !important;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: white !important;
  margin: 0 !important;
  letter-spacing: 1px !important;
}

.footer-brand p {
  color: #888 !important;
  margin: 0.25rem 0 0 0 !important;
  font-size: 0.9rem !important;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s !important;
}

.footer-links a:hover {
  color: #00bfff !important;
  text-decoration: none !important;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #2a2a2a !important;
  border-radius: 50% !important;
  color: #ccc !important;
  font-size: 1.2rem !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
}

.social-icon:hover {
  background: #00bfff !important;
  color: white !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.footer-bottom {
  background: #111 !important;
  padding: 1.5rem 0 !important;
  text-align: center !important;
  border-top: 1px solid #333 !important;
}

.footer-bottom p {
  margin: 0.5rem 0 !important;
  color: #888 !important;
  font-size: 0.9rem !important;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  color: #00bfff !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: color 0.2s !important;
}

.contact-link:hover {
  color: white !important;
  text-decoration: none !important;
}

.contact-link i {
  font-size: 1.1rem !important;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-links {
    gap: 1rem;
    flex-direction: column;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 40vh;
    padding: 2rem 0;
  }
  .service-card, .tarifa-card, .extra-card, .card {
    margin-bottom: 1rem;
  }
  .instagram-post {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 0;
  }
  .logo {
    height: 36px;
  }
  .btn, .btn-primary, .btn-outline-primary {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

/* Selector de coches */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #181818;
    border-radius: 14px;
    padding: 20px;
    outline: none;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    outline: none;
}

.car-item {
    flex: 0 0 100%;
    width: 100%;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.car-item img {
    width: auto;
    height: 180px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.car-item h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: #fff;
    width: 100%;
    text-align: center;
}

.car-item .multiplicador {
    color: #00bfff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 10px 0;
    width: 100%;
    text-align: center;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-button {
    background: transparent;
    color: #fff;
    border: 2px solid #00bfff;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    outline: none;
}

.carousel-button:hover:not(:disabled) {
    background: #00bfff;
    color: #fff;
}

.carousel-button:disabled {
    border-color: #444;
    color: #666;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 10px;
    }

    .carousel {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
    }

    .car-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .car-item img {
        height: 120px;
        width: 100%;
        max-width: 200px;
        object-fit: contain;
    }
    
    .car-item h3 {
        font-size: 1.2rem;
        margin: 15px 0 8px;
    }
    
    .car-item .multiplicador {
        font-size: 1rem;
        margin: 8px 0;
    }

    .carousel-nav {
        margin-top: 15px;
        gap: 10px;
    }

    .carousel-button {
        padding: 8px 15px;
        min-width: auto;
        font-size: 0.9rem;
    }
}

/* Estilos para el popup de cookies */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-content h4 {
    margin-bottom: 15px;
    color: #fff;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-content {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Estilos mejorados para el sistema interno de cookies */
.cookie-popup {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-top: 3px solid #007bff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content h4 {
    font-weight: 600;
    font-size: 1.3rem;
}

.cookie-content p {
    opacity: 0.9;
    line-height: 1.6;
}

.cookie-options label {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cookie-options label:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-options small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.85rem;
}

.cookie-info {
    text-align: center;
    margin-top: 15px;
}

.cookie-info small a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cookie-info small a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Modal de configuración avanzada */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-settings-content h4 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.cookie-categories {
    margin-bottom: 25px;
}

.cookie-categories .category {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.cookie-categories .category h5 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-categories .category p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cookie-categories .category label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    background: transparent;
    padding: 0;
}

.cookie-categories .category input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Toast de notificaciones */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-toast {
    animation: slideIn 0.3s ease-out;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .cookie-settings-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}

/* ========================================
   PÁGINA DE CONTACTO
   ======================================== */

.contact-page {
    padding: 3rem 0;
    background: #111;
    min-height: calc(100vh - 200px);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Información de Contacto */
.contact-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: fit-content;
    margin: 0 auto;
    max-width: 700px;
}

@media (min-width: 1200px) {
    .contact-grid {
        max-width: 100%;
    }
    
    .contact-info {
        max-width: 700px;
    }
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #888;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.contact-method:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.method-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.method-content a,
.method-content p {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.2s;
}

.method-content a:hover {
    color: #00bfff;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.contact-social h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-color: #00bfff;
    color: white;
    transform: translateY(-3px);
}

/* Formulario */
.contact-form-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #888;
    font-size: 1rem;
}

.alert-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.alert-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #4caf50;
}

.alert-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ccc;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #00bfff;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bfff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.submit-btn i {
    font-size: 1.3rem;
}

/* Mapa */
.contact-map-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 900px;
}

.contact-map-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid #00bfff;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    width: fit-content;
    margin: 0 auto;
}

.map-link-btn:hover {
    background: #00bfff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

/* Responsive Contacto */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 2rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-info,
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-title,
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-info,
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ========================================
   PÁGINA DE SERVICIOS
   ======================================== */

.services-page {
    padding: 4rem 0;
    background: #111;
    min-height: calc(100vh - 200px);
}

.services-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.services-page-subtitle {
    font-size: 1.2rem;
    color: #999;
    margin: 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card-page {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.15);
    border-color: #00bfff;
}

.service-card-page.featured-service {
    border-color: #00bfff;
    transform: scale(1.02);
}

.service-card-page.featured-service:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.25);
}

.featured-badge-page {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    z-index: 1;
}

.service-card-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon-page {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-page i {
    font-size: 2.5rem;
    color: white;
}

.service-header-page {
    flex: 1;
    min-width: 0;
}

.service-title-page {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
}

.service-badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid #00bfff;
    border-radius: 8px;
    padding: 0.25rem 0.75rem;
    color: #00bfff;
    font-weight: 600;
    font-size: 0.85rem;
}

.service-description-page {
    color: #ccc;
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features-list li {
    padding: 0.75rem 0;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-features-list li i {
    color: #28a745;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-btn-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #00bfff;
    color: #00bfff;
    background: transparent;
    margin-top: auto;
}

.service-btn-page:hover {
    background: #00bfff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
    text-decoration: none;
}

.service-btn-page.primary {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    color: white;
    border: none;
}

.service-btn-page.primary:hover {
    background: linear-gradient(135deg, #0080ff 0%, #00bfff 100%);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.service-btn-page i {
    font-size: 1.2rem;
}

/* Responsive Página Servicios */
@media (max-width: 992px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 3rem 0;
    }
    
    .services-page-container {
        padding: 0 1rem;
    }
    
    .services-page-title {
        font-size: 2rem;
    }
    
    .services-page-subtitle {
        font-size: 1rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-page {
        padding: 2rem 1.5rem;
    }
    
    .service-card-page.featured-service {
        transform: scale(1);
    }
    
    .service-card-page.featured-service:hover {
        transform: translateY(-5px);
    }
    
    .service-card-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-icon-page {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-page i {
        font-size: 2rem;
    }
    
    .service-title-page {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-page {
        padding: 2rem 0;
    }
    
    .services-page-title {
        font-size: 1.75rem;
    }
    
    .service-card-page {
        padding: 1.5rem 1rem;
    }
    
    .service-icon-page {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-page i {
        font-size: 1.8rem;
    }
    
    .service-title-page {
        font-size: 1.3rem;
    }
    
    .service-features-list li {
        font-size: 0.9rem;
    }
    
    .service-btn-page {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
} 