@import url('theme-vars.css');
/* ==========================================================================
   Bajaj Carrera Motos - Estilos principales
   Usa variables de theme-vars.css para colores, fuentes, espaciados, etc.
   ========================================================================== */

/* Estilos generales y tipografía profesional */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background-light);
  overflow-x: hidden;
}

/* Tipografía mejorada */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.2rem); }
h6 { font-size: clamp(0.9rem, 1.5vw, 1.1rem); }

p {
  margin-bottom: var(--spacing-md);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover, a:focus {
  color: var(--clr-primary-hover);
  text-decoration: underline;
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

/* Contenido principal optimizado */
main {
  width: 100%;
  min-height: calc(100vh - 80px);
  padding-top: 0;
}

.main-content {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-sm);
}

.section {
  width: 100%;
  padding: var(--spacing-xl) 0;
}

.section-content {
  width: var(--container-width);
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Grid system optimizado */
.grid {
  display: grid;
  gap: var(--spacing-lg);
  width: 100%;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Flexbox layout complementario */
.flex {
  display: flex;
  width: 100%;
}

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.flex-column { flex-direction: column; }

/* Cards y componentes */
.card {
  background: var(--background-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Botones unificados */

/* Botón CTA (principal) */
.btn-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--clr-primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  text-align: center;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--clr-primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
  text-decoration: none;
}

/* Botón estándar */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--clr-primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  text-align: center;
}

.btn:hover, 
.btn:focus {
  background: var(--clr-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  color: var(--text-light);
}

/* Botón outline */
.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
}

.btn-outline:hover, 
.btn-outline:focus {
  background: var(--clr-primary);
  color: var(--text-light);
  text-decoration: none;
}

/* Botón secundario */
.btn-secondary {
  background: var(--clr-secondary);
  color: var(--text-light);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--clr-secondary-hover);
  box-shadow: 0 6px 20px rgba(0,32,74,0.3);
}

/* Botón tamaños */
.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Footer unificado */
.footer-dark {
  background: var(--clr-secondary) !important;
  color: var(--text-light) !important;
  padding: var(--spacing-lg) var(--spacing-sm);
}

.footer-container {
  background: v rgb(61, 61, 61) !important;
  color: var(--text-light) !important;
}

.footer-dark a, .footer-container a, .footer-links a {
  color: var(--text-light) !important;
  transition: color var(--transition-fast);
}

.footer-dark a:hover, .footer-container a:hover, .footer-links a:hover {
  color: var(--clr-primary) !important;
}

.footer-dark a {
  color: #ccc;
}

.footer-dark a:hover {
  color: var(--clr-primary);
} 

/* Las utilidades responsive han sido movidas a theme-vars.css para centralizar */

/* Responsive adjustments */
@media (max-width: 1200px) {
  .main-content, .section-content {
    width: 96%;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--spacing-lg) var(--spacing-xs);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-content {
    width: 98%;
    padding: 0 var(--spacing-xs);
  }
  
  .grid {
    gap: var(--spacing-md);
  }
  
  .card {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .main-content, .section-content {
    width: 100%;
    padding-left: var(--spacing-xs);
    padding-right: var(--spacing-xs);
  }
  
  .grid {
    gap: var(--spacing-sm);
  }
}

/* Contenedores optimizados para aprovechar el ancho */
header, nav, main, footer {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-fluid {
  width: 100%;
  padding: 0 2vw;
}

@media (min-width: 1200px) {
  .container {
    width: 92%;
    max-width: 1600px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 96%;
    padding: 0 var(--spacing-xs);
  }
  .container-fluid {
    padding: 0 1vw;
  }
}

/* Header/Slider optimizado y profesional */
.header-slider {
  position: relative;
  width: 100vw;
  height: calc(100vh - 80px);
  min-height: 500px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--clr-dark);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0,0,0,0.6) 0%, 
    rgba(0,0,0,0.3) 50%, 
    rgba(224,43,32,0.2) 100%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
  animation: slideInUp 1s ease-out;
}

.slide-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.1;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.slide-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.slide-content .btn {
  display: inline-block;
  background: var(--clr-primary);
  color: var(--text-light);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-btn);
  border: 2px solid transparent;
}

.slide-content .btn:hover,
.slide-content .btn:focus {
  background: transparent;
  border-color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(224, 43, 32, 0.6);
}

/* Controles del slider mejorados */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--clr-primary);
  border-color: var(--text-light);
  transform: scale(1.2);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.slider-nav:hover,
.slider-nav:focus {
  background: #E02B20;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(224, 43, 32, 0.4);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* Animaciones */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive para el slider */
@media (max-width: 768px) {
  .header-slider {
    height: calc(100vh - 70px);
    min-height: 400px;
  }
  
  .slide-content {
    padding: 0 1rem;
  }
  
  .slider-nav {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .slider-prev { left: 15px; }
  .slider-next { right: 15px; }
  
  .slider-controls {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .header-slider {
    min-height: 350px;
  }
  
  .slide-content .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Navbar fijo superior mejorado */
#navbar.navbar-pc {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  background: #1a1a1a;
  z-index: 2000;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 1px solid #333;
}
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2rem;
}
.navbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.2s ease;
}
.navbar-logo:hover {
  transform: scale(1.05);
}
.navbar-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 980px) {
  .navbar-logo img { height: 40px; }
}
.navbar-pc ul.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-pc ul.navbar > li {
  position: relative;
}
.navbar-pc ul.navbar > li > a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 1.5rem 1.2rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  background: none;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  border-bottom: none;
}
.navbar-pc ul.navbar > li > a:hover,
.navbar-pc ul.navbar > li > a:focus {
  border-bottom: none;
  background: transparent;
  transform: none;
}
/* Submenús mejorados */
.navbar-pc ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  color: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1);
  min-width: 200px;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 2px solid #E02B20;
  z-index: 999;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.navbar-pc ul ul li {
  position: relative;
}

.navbar-pc ul ul li a {
  color: #fff;
  padding: 12px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.navbar-pc ul ul li a:focus {
  outline: 2px solid #E02B20;
  outline-offset: 2px;
}
.navbar-pc ul ul li:last-child a {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}
.navbar-pc ul ul li a:hover,
.navbar-pc ul ul li a:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #E02B20 0%, #c41e17 100%);
  transform: translateX(6px);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.navbar-pc ul.navbar > li:hover > ul,
.navbar-pc ul.navbar > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menú móvil profesional mejorado */
.menu-movil {
  display: none;
  background: none;
  border: none;
  position: absolute;
  top: 20px;
  right: 2rem;
  z-index: 3100;
  cursor: pointer;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.menu-movil:hover {
  background: rgba(224, 43, 32, 0.1);
}
.menu-movil .hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  position: relative;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin: 0 auto;
}
.menu-movil .hamburger::before,
.menu-movil .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-movil .hamburger::before { top: -9px; }
.menu-movil .hamburger::after { top: 9px; }
.menu-movil[aria-expanded="true"] .hamburger {
  background: transparent;
}
.menu-movil[aria-expanded="true"] .hamburger::before {
  transform: translateY(9px) rotate(45deg);
  background: #E02B20;
}
.menu-movil[aria-expanded="true"] .hamburger::after {
  transform: translateY(-9px) rotate(-45deg);
  background: #E02B20;
}

.navbar-movil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  z-index: 3000;
  padding-top: 100px;
  overflow-y: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(10px);
}
.navbar-movil[hidden] {
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
}
.navbar-movil ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}
.navbar-movil li {
  width: 100%;
  text-align: center;
  position: relative;
}

.navbar-movil-header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3100;
}



.navbar-movil-close:hover,
.navbar-movil-close:focus {
  background: var(--clr-primary-hover);
  transform: scale(1.05);
  outline: none;
}


.navbar-movil .submenu {
  display: none;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-top: 0.5rem;
  padding: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.navbar-movil li[aria-expanded="true"] .submenu {
  display: flex;
  max-height: 400px;
  opacity: 1;
}

.navbar-movil .submenu a {
  padding: 0.8rem;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.12);
}

.navbar-movil [aria-haspopup="true"] > a::after {
  content: ' ▼';
  display: inline-block;
  font-size: 0.8em;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.navbar-movil [aria-expanded="true"] > a::after {
  transform: rotate(180deg);
}
.navbar-movil a {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1); /* Aumentado contraste */
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.2); /* Borde visible para mejor contraste */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Mejora legibilidad */
}
.navbar-movil a:hover, 
.navbar-movil a:focus {
  background: #E02B20;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 43, 32, 0.4);
}

/* Responsive breakpoints mejorados */
@media (max-width: 1024px) {
  .navbar-pc ul.navbar { gap: 2rem; }
  .navbar-inner { padding: 0 1.5rem; }
}

@media (max-width: 980px) {
  .navbar-pc ul.navbar { display: none; }
  .menu-movil { display: block !important; }
  .navbar-inner { 
    padding: 0 1rem; 
    height: 70px;
  }
  .navbar-logo img { height: 48px; }
}

@media (max-width: 768px) {
  .navbar-inner { padding: 0 0.5rem; }
  .menu-movil { right: 1rem; }
  .navbar-movil a { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .navbar-movil ul { padding: 1rem; }
  .navbar-movil a { 
    font-size: 1.3rem; 
    padding: 1rem 1.5rem;
  }
}

/* ===== VARIABLES CSS ===== */
:root {
  /* Colores principales */
  --primary-color: #00204A;
  --secondary-color: #E02B20;
  --accent-color: #e02b20;
  --text-dark: #222222;
  --text-light: #666666;
  --text-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-color: #E5E5E5;
  --shadow: 0 2px 10px rgba(0, 32, 74, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 32, 74, 0.15);
  
  /* Tipografía */
  --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Espaciado */
  --container-max-width: 1400px;
  --container-padding: 1rem;
  --section-padding: 3rem 0;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 95%;
}

.container-full {
  width: 100%;
  padding: 0 2.5%;
}

/* ===== NAVEGACIÓN ===== */
.navbar-pc {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2.5%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.navbar li a:hover,
.navbar li a[aria-current="page"] {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.navbar li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar li a:hover::after,
.navbar li a[aria-current="page"]::after {
  width: 80%;
}

/* ===== MENÚ MÓVIL ===== */
.menu-movil {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
  width: 30px;
  height: 30px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.menu-movil[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.menu-movil[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-movil[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar-movil {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.navbar-movil:not([hidden]) {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.navbar-movil ul {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.navbar-movil li a {
  display: block;
  padding: 1rem 2.5%;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  opacity: 0.8;
}

.navbar-movil li a:hover,
.navbar-movil li a[aria-current="page"] {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

/* ===== MAIN CONTENT ===== */
main {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

/* ===== SECCIONES ===== */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  background:transparent;
  color: var(--text-white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color:#000;
}

.hero-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-medium);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.hero-cta:hover {
  background-color: #c41e17;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.card-text {
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-price {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.card-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-medium);
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.card-btn:hover {
  background-color: #001a3d;
  transform: translateY(-1px);
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--bg-light);
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-question:hover {
  background: #e8f4fd;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer > div {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-action-btn {
  display: inline-block;
  background: #e02b20;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-action-btn:hover {
  background: #c41e17;
}

/* ===== FOOTER ===== */
.custom-footer {
  background-color: rgb(61, 61, 61) !important;
  color: #fff !important;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2.5%;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.15)); /* fallback to white if logo is not white */
  transition: filter 0.2s;
}
.footer-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(224,43,32,0.25));
}

.footer-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.custom-footer-bottom {
  background-color: #000000;
  color: var(--text-white);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== MODALES ===== */
.cookies-modal,
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookies-modal.show,
.privacy-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookies-modal-content,
.privacy-modal-content {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}

.cookies-modal-header,
.privacy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookies-modal-close,
.privacy-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.cookies-modal-close:hover,
.privacy-modal-close:hover {
  color: var(--text-dark);
}

.cookies-modal-body,
.privacy-modal-body {
  padding: 1.5rem;
}

.cookies-modal-footer,
.privacy-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #1a1a1a;;
  text-align: right;
}

.cookies-btn-accept,
.cookies-btn-close,
.privacy-btn-close {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  transition: var(--transition);
  margin-left: 0.5rem;
}

.cookies-btn-accept:hover,
.cookies-btn-close:hover,
.privacy-btn-close:hover {
  background-color: #001a3d;
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-padding: 2rem 0;
  }
  
  .navbar {
    display: none;
  }
  
  .menu-movil {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Móviles */
@media (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
  }
  
  .navbar-inner {
    padding: 0.5rem 1rem;
  }
  
  .navbar-logo img {
    height: 40px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer > div {
    padding: 1rem;
  }
  
  .cookies-modal-content,
  .privacy-modal-content {
    width: 95%;
    margin: 1rem;
  }
}

/* Pantallas grandes */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .navbar {
    gap: 2.5rem;
  }
  
  .navbar li a {
    padding: 0.75rem 1.25rem;
  }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-in {
  animation: slideIn 0.4s ease forwards;
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible para navegación por teclado */
.navbar li a:focus-visible,
.card-btn:focus-visible,
.hero-cta:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar-pc,
  .navbar-movil,
  .cookies-modal,
  .privacy-modal {
    display: none !important;
  }
  
  main {
    margin-top: 0;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* ===== INFO SECTION ===== */
.info-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 0;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #E02B20 50%, transparent 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E02B20, #ff4757);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(224, 43, 32, 0.15);
}

.info-item:hover::before {
  transform: scaleX(1);
}

.info-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 40px;
  height: 40px;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
}

.info-content {
  flex: 1;
}

.info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.info-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .info-section {
    padding: 3rem 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-item {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .info-title {
    font-size: 1.1rem;
  }
  
  .info-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info-section {
    padding: 2rem 0;
  }
  
  .info-item {
    padding: 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .info-icon svg {
    width: 48px;
    height: 48px;
  }
}

/* ===== SECCIONES UNIFICADAS: SERVICIOS, UBICACIONES, HORARIOS Y PAGOS ===== */
.section-title {
  text-align: center;
  color: var(--clr-secondary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-description {
  text-align: center;
  color: #444;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Centrado especial para la sección de servicios */
#servicios.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

.container {
  padding: 4rem 0 3rem 0;
  background: #fff;
}

/* Estilo para la sección de Preguntas Frecuentes */
#preguntas-frecuentes {
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  background: #fff;
  border-top: 4px solid #e02b20;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 3rem 2rem 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#preguntas-frecuentes .section-title,
#preguntas-frecuentes h2 {
  color: #00204A;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
#preguntas-frecuentes .faq-title-bar {
  width: 60px;
  height: 4px;
  background: #e02b20;
  margin: 0.5rem auto 2rem auto;
  border-radius: 2px;
}
#preguntas-frecuentes .faq-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
#preguntas-frecuentes .faq-question {
  background: #00204A;
  color: #fff;
  font-weight: 600;
  border-radius: 6px 6px 0 0;
  padding: 1rem 1.5rem;
  margin-bottom: 0;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s;
}
#preguntas-frecuentes .faq-question:hover {
  background: #e02b20;
  color: #fff;
}
#preguntas-frecuentes .faq-answer {
  background: #f8f9fa;
  color: #222;
  border-radius: 0 0 6px 6px;
  border-top: 1px solid #e0e0e0;
}
#preguntas-frecuentes .faq-action-btn {
  display: inline-block;
  background: #e02b20;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}
#preguntas-frecuentes .faq-action-btn:hover {
  background: #00204A;
  color: #fff;
}

#servicios .grid {
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#servicios .section-title,
#servicios .section-description {
  text-align: center;
  width: 100%;
}
@media (max-width: 900px) {
  #servicios.container {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  #servicios .grid {
    max-width: 100%;
    gap: 1.2rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Tarjetas base */
.card, .location-card, .info-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(32,32,32,0.07), 0 1.5px 6px rgba(224,43,32,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #f1f1f1;
  border-color: #333333;
}
.card:hover, .location-card:hover, .info-card:hover {
  box-shadow: 0 8px 24px rgba(224,43,32,0.13), 0 2px 8px rgba(32,32,32,0.10);
  transform: translateY(-3px) scale(1.02);
}

.card-title, .location-city, .info-title {
  color: var(--clr-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;
}
.card-text, .info-list, .location-list {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.card-btn {
  background: #E02B20;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 10px rgba(224, 43, 32, 0.10);
  display: inline-block;
  border: none;
  text-decoration: none;
  outline: none;
  margin-top: auto;
}
.card-btn:hover, .card-btn:focus {
  background: #b01e15;
  color: #fff;
  box-shadow: 0 4px 15px rgba(224, 43, 32, 0.18);
}
.card-btn:focus-visible {
  outline: 2.5px solid #00204A;
  outline-offset: 2px;
}
.location-list, .info-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.location-list li, .info-list li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .container {
    padding: 2.5rem 0 2rem 0;
  }
  .card, .location-card, .info-card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .section-title { font-size: 1.45rem; }
  .card-title, .location-city, .info-title { font-size: 1.13rem; }
  .card-btn { font-size: 0.96rem; padding: 0.7rem 1rem; }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 2rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #E02B20, #ff4757);
  transition: left 0.3s ease;
}

.feature-item:hover::before,
.feature-item:focus::before {
  left: 0;
}

.feature-item:hover,
.feature-item:focus {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(224, 43, 32, 0.15);
  outline: none;
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-item:hover .feature-icon img,
.feature-item:focus .feature-icon img {
  transform: scale(1.1);
}

.feature-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-content h3,
.feature-item:focus .feature-content h3 {
  color: #E02B20;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
  .features-section {
    padding: 1.5rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-content h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .features-section {
    padding: 1rem 0;
  }
  
  .feature-item {
    padding: 0.8rem;
    border-radius: 12px;
  }
  
  .feature-icon img {
    width: 36px;
    height: 36px;
  }
  
  .feature-content h3 {
    font-size: 1rem;
  }
}

/* ===== ESTILOS PARA SECCIÓN DE PRODUCTOS CON PESTAÑAS ===== */

/* Sección de productos */
.products-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.products-section .container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navegación de pestañas */
.tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 0.5rem;
  overflow-x: auto;
}

.tab-item {
  flex: 1;
  min-width: 120px;
  padding: 1rem 2rem;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  outline: none;
  color: #333; /* Color de texto por defecto */
}

.tab-item:hover {
  background: #f8f9fa;
  color: #333;
}

.tab-item.active, .tab-item.active .tab-title {
  background: #E02B20;
  color: #fff !important; /* Forzar color blanco */
  box-shadow: 0 2px 10px rgba(224, 43, 32, 0.3);
  transition: color 0s; /* Eliminar delay en el cambio de color */
}

.tab-item.active:hover, .tab-item.active:hover .tab-title {
  background: #c92218; /* Un rojo un poco más oscuro para el hover */
  color: #fff !important; /* Forzar color blanco con !important */
  font-weight: 600; /* Texto un poco más destacado */
  box-shadow: 0 2px 12px rgba(224, 43, 32, 0.5);
}

.tab-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contenido de pestañas */
.tab-content {
  width: 100%;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}

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

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Tarjetas de productos */
.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #E02B20;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-logo {
  margin-bottom: 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-price {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.price-label {
  color: #E02B20;
  font-weight: 700;
}

.product-name {
  margin-bottom: 1.5rem;
}

.product-name h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.product-action {
  margin-top: auto;
}

.btn-ver-mas {
  display: inline-block;
  background: #E02B20;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #E02B20;
}

.btn-ver-mas:hover {
  background: transparent;
  color: #E02B20;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(224, 43, 32, 0.3);
}

/* Pie de sección */
.section-footer {
  text-align: center;
  margin-top: 3rem;
}

.btn-conoce-mas {
  display: inline-block;
  background: transparent;
  color: #E02B20;
  padding: 1rem 3rem;
  border: 2px solid #E02B20;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.btn-conoce-mas:hover {
  background: #E02B20;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 43, 32, 0.3);
}

/* Responsive para pestañas */
@media (max-width: 768px) {
  .tabs-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tab-item {
    min-width: auto;
    padding: 0.8rem 1rem;
  }
  
  .tab-title {
    font-size: 1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .products-section {
    padding: 2rem 0;
  }
  
  .tabs-wrapper {
    margin-bottom: 2rem;
    padding: 0.3rem;
  }
  
  .tab-item {
    padding: 0.6rem 0.8rem;
  }
  
  .tab-title {
    font-size: 0.9rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-image img {
    height: 180px;
  }
  
  .product-logo {
    height: 50px;
  }
  
  .btn-ver-mas {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-conoce-mas {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Servicios Section Enhancements */
#servicios {
  background: var(--bg-light);
  padding: 4rem 0;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

#servicios .section-title {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  text-align: center;
}

#servicios .section-description {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced card styling for services */
#servicios .card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

#servicios .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 32, 74, 0.15);
  border-color: var(--primary-color);
}

#servicios .card-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

#servicios .card-btn {
  background: #E02B20; /* Color rojo de Bajaj */
  color: #ffffff; /* Texto blanco para mejor contraste */
  font-weight: 600; /* Texto más visible */
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(224, 43, 32, 0.2);
  display: inline-block;
  border: none;
  text-decoration: none;
}

#servicios .card-btn:hover {
  background: #c41e1e; /* Un rojo un poco más oscuro para el hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 43, 32, 0.3);
  color: #ffffff; /* Mantener el texto blanco en hover */
  font-weight: 700; /* Resaltar un poco más */
}

#servicios .card-btn:active {
  transform: translateY(0);
  background: #a51813; /* Efecto al hacer clic */
  box-shadow: 0 2px 8px rgba(224, 43, 32, 0.4);
}