/* ==========================================================================
   VARIABLES & REGLAS BASE
   ========================================================================== */
:root {
  --primary-red: #c8102e;
  --primary-red-hover: #e01738;
  --accent-glow: #ffffff;
  
  --bg-dark: #0a0e17;
  --text-light: #ffffff;
  --text-muted: #e2e8f0;
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --header-height: 90px; /* Incrementado para el logo más grande */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
}

body {
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN FUTURISTA E ILUMINADA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(10, 14, 23, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(7, 10, 17, 0.92);
  height: 75px;
  border-bottom-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo Aumentado */
.logo-img {
  object-fit: contain;
  height: 58px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--transition-fast);
}

.site-header.scrolled .logo-img {
  height: 48px;
}

/* Menú Estilo Neón / Glow */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: var(--transition-fast);
  overflow: hidden;
}

/* EFECTO HOVER ILUMINADO (Luz Neón + Halo) */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  box-shadow: 0 0 12px #ffffff, 0 0 20px var(--primary-red);
  transition: transform var(--transition-fast);
  border-radius: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 16, 46, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

/* Botón CTA Header Glow */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  transition: var(--transition-fast);
}

.btn-glow:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Hamburguesa Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) contrast(1.05);
  transform: scale(1.02);
  animation: subtleZoom 22s infinite alternate linear;
}

@keyframes subtleZoom {
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10, 14, 23, 0.45) 0%, rgba(10, 14, 23, 0.35) 50%, var(--bg-dark) 100%),
    radial-gradient(circle at 10% 40%, rgba(0, 0, 0, 0.4), transparent 60%);
}

.hero-container {
  width: 100%;
}

.hero-content {
  max-width: 950px;
  margin-left: 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.6rem, 5.8vw, 4.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.text-gradient {
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 2.2rem;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

/* BADGES EN UNA SOLA LÍNEA */
.hero-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.badge-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: rgba(10, 14, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.badge-card:hover {
  background: rgba(10, 14, 23, 0.8);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(200, 16, 46, 0.3);
  border: 1px solid rgba(200, 16, 46, 0.6);
  color: #ff4d6d;
  font-size: 1rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  overflow: hidden;
}

.badge-text strong {
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.2;
}

.badge-text span {
  font-size: 0.73rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón Primary Hero */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.2rem;
  background: var(--primary-red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.5);
  transition: var(--transition-fast);
}

.btn-primary i {
  transition: transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(200, 16, 46, 0.7);
}

.btn-primary:hover i {
  transform: translateX(4px);
}



/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-badges {
    flex-wrap: wrap;
  }
  
  .badge-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 992px) {
  .logo-img {
    height: 46px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }

  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  .badge-card {
    flex: 1 1 100%;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .quick-contact {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ==========================================================================
   WIDGET INNOVADOR DE CONTACTO FLOTANTE
   ========================================================================== */
.quick-contact-widget {
  position: fixed;
  right: 1.8rem;
  bottom: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* Badge de Estado Active / Online */
.contact-status-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
  animation: floatBadge 3s infinite ease-in-out;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25d366;
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Contenedor de Botones */
.quick-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Botón Base */
.quick-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-icon-wrapper {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Pulso de Neón Ondulante */
.btn-glow-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.75;
  animation: neonPulse 2s infinite ease-out;
}

/* Estilo WhatsApp */
.quick-btn.whatsapp-btn .btn-icon-wrapper {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.quick-btn.whatsapp-btn .btn-glow-pulse {
  background: #25d366;
}

/* Estilo Teléfono Fijo */
.quick-btn.phone-btn .btn-icon-wrapper {
  background: linear-gradient(135deg, #c8102e 0%, #800a1d 100%);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.5);
}

.quick-btn.phone-btn .btn-glow-pulse {
  background: #c8102e;
}

/* Animaciones */
@keyframes neonPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Tooltip emergente que se desliza al pasar el cursor */
.btn-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(10, 14, 23, 0.92);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(12px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.quick-btn:hover {
  transform: scale(1.12);
}

.quick-btn:hover .btn-icon-wrapper {
  transform: rotate(8deg);
}

.quick-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.quick-btn.phone-btn:hover .btn-icon-wrapper i {
  animation: phoneShake 0.4s ease infinite alternate;
}

@keyframes phoneShake {
  0% { transform: rotate(-12deg); }
  100% { transform: rotate(12deg); }
}

/* Ajustes Responsive */
@media (max-width: 576px) {
  .quick-contact-widget {
    right: 1.1rem;
    bottom: 1.2rem;
  }
  
  .contact-status-badge {
    display: none; /* Opcional: oculta la etiqueta en celulares muy pequeños para liberar espacio */
  }

  .btn-tooltip {
    display: none; /* En móviles el tooltip no es necesario */
  }
}

/* ==========================================================================
   SECCIÓN QUIÉNES SOMOS (FONDO BLANCO)
   ========================================================================== */
.about-section {
  background-color: #ffffff;
  color: #0f172a;
  padding: 5rem 0;
  position: relative;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}

/* Columna Izquierda */
.about-text-content {
  flex: 1 1 50%;
  max-width: 580px;
}

.sub-title {
  display: block;
  color: #c8102e;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0b132b;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  font-weight: 400;
}

/* Columna Derecha: Grilla 2x2 */
.about-grid {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 560px;
}

/* Tarjetas */
.about-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Iconos a Color de las Tarjetas */
.about-card-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* Colores específicos de la imagen */
.about-card-icon.icon-green {
  color: #22c55e; /* Verde costura/fabricación */
}

.about-card-icon.icon-red {
  color: #dc2626; /* Rojo calidad/atención */
}

.about-card-icon.icon-blue {
  color: #0284c7; /* Azul envíos/mundo */
}

/* Textos de las Tarjetas */
.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE PARA SECCIÓN QUIÉNES SOMOS
   ========================================================================== */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .about-text-content,
  .about-grid {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 3.5rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr; /* 1 sola columna en celulares */
    gap: 1rem;
  }
}

/* ==========================================================================
   SECCIÓN PRODUCTOS (FONDO OSCURO Y DISEÑO FUTURISTA)
   ========================================================================== */
.products-section {
  background-color: #060a12;
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  background-image: radial-gradient(circle at 50% 0%, rgba(200, 16, 46, 0.12), transparent 70%);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.products-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline-glow:hover {
  border-color: var(--primary-red);
  background: rgba(200, 16, 46, 0.2);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.4);
}

/* Pestañas (Tabs) Nav */
.products-tabs-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.8rem 0.5rem 1rem;
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0.7) opacity(0.8);
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn:hover .tab-icon-img {
  filter: brightness(1) opacity(1);
}

.tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary-red);
}

.tab-btn.active .tab-icon-img {
  filter: brightness(1) drop-shadow(0 0 8px rgba(200, 16, 46, 0.8));
}

/* Grilla Contenido: Carrusel + Acordeón */
.products-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Carrusel de Imágenes */
.product-carousel-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4/3;
  background-color: #0b111e;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botones Carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.carousel-btn.prev-btn { left: 12px; }
.carousel-btn.next-btn { right: 12px; }

/* Indicadores Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-red);
  width: 24px;
  border-radius: 12px;
  box-shadow: 0 0 10px var(--primary-red);
}

/* Acordeón */
.tab-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

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

.accordion-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.accordion-item:hover,
.accordion-item.active {
  border-color: rgba(200, 16, 46, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.accordion-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--primary-red);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.accordion-item.active .accordion-body {
  padding: 0 1.5rem 1.4rem;
}

.accordion-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.accordion-body li strong {
  color: #ffffff;
}

.measures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.measures-grid span,
.sublimated-tags span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  color: #e2e8f0;
}

.sublimated-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Responsive */
@media (max-width: 992px) {
  .products-content-grid {
    grid-template-columns: 1fr;
  }
  
  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SECCIÓN POR QUÉ ELEGIRNOS - PREMIUM & EFECTOS
   ========================================================================== */
.why-us-section {
  background-color: #f8fafc; /* Un fondo off-white sutil para que resalten las tarjetas */
  color: #0b132b;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Destellos decorativos de fondo */
.why-bg-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.4;
}

.why-bg-glow.left {
  top: -50px;
  left: -100px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15), transparent);
}

.why-bg-glow.right {
  bottom: -50px;
  right: -100px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.1), transparent);
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* Header */
.why-us-header {
  margin-bottom: 3.5rem;
  max-width: 650px;
}

.badge-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: 20px;
  margin-bottom: 1rem;
}

.why-us-header .sub-title {
  color: #c8102e;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.why-us-title {
  font-size: clamp(2.2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.why-us-title span {
  color: #0f172a;
  position: relative;
}

.header-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 2px;
  margin-top: 1rem;
}

/* Grilla de Tarjetas */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Tarjeta individual con efecto Hover Premium */
.why-us-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.2rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Hover en la Tarjeta */
.why-us-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: 0 20px 35px rgba(22, 163, 74, 0.12);
}

/* Círculo contenedor del Ícono */
.why-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #16a34a;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.4s ease;
  position: relative;
}

/* Animación del ícono al hover */
.why-us-card:hover .why-icon-box {
  background: #16a34a;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.why-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.why-us-card:hover .why-card-title {
  color: #16a34a;
}

.why-card-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  font-weight: 400;
}

/* Línea acentuada en la parte inferior de la tarjeta */
.card-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-us-card:hover .card-bottom-accent {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-us-section {
    padding: 4rem 0;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-us-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   SECCIÓN ESTADÍSTICAS / MÉTRICAS (GLASSMORPHISM & HOVER GLOW)
   ========================================================================== */
.stats-section {
  position: relative;
  background: #030712 url('img/fabrica-de-banderas.jpg') center/cover no-repeat fixed;
  padding: 5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Capa de superposición para darle nitidez y oscuridad */
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 7, 18, 0.95) 0%,
    rgba(6, 15, 30, 0.88) 50%,
    rgba(3, 7, 18, 0.95) 100%
  );
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Tarjetas de Cristal (Glassmorphism) */
.stat-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 197, 94, 0.15),
    transparent
  );
  transition: left 0.6s ease;
}

/* Hover en la Tarjeta */
.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

.stat-card:hover::before {
  left: 100%;
}

/* Ícono Verde Neón */
.stat-icon {
  font-size: 2.8rem;
  color: #22c55e;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.9));
}

/* Números y Textos */
.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
}

.stat-number .plus {
  color: #22c55e;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .stats-section {
    padding: 3.5rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   SECCIÓN BANDERAS DEL MUNDO - MARQUESINA AUTOMÁTICA INFINITA
   ========================================================================== */
.flags-section {
  background-color: #ffffff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
}

.flags-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.flags-header .sub-title {
  color: #c8102e;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.flags-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0b132b;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Container de la marquesina con difuminado lateral */
.flags-carousel-wrapper {
  position: relative;
  margin-bottom: 3.5rem;
  width: 100%;
}

.flags-track-container {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  /* Máscara de degradado para suavizar la entrada y salida de las banderas */
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

/* Pista animada que corre sola */
.flags-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: scrollInfinite 25s linear infinite;
  will-change: transform;
}

/* Pausar el carrusel cuando el ratón pasa por encima */
.flags-track:hover {
  animation-play-state: paused;
}

/* Animación de desplazamiento infinito */
@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tarjeta Individual */
.flag-card {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.flag-image-box {
  width: 85%;
  height: 85px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flag-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover en la Bandera */
.flag-card:hover .flag-image-box {
  transform: translateY(-8px) scale(1.08) rotate(-2deg);
  box-shadow: 0 15px 30px rgba(200, 16, 46, 0.25);
  border-color: rgba(200, 16, 46, 0.5);
}

.flag-card:hover img {
  transform: scale(1.12);
}

.country-name {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  transition: color 0.3s ease, transform 0.3s ease;
}

.flag-card:hover .country-name {
  color: #c8102e;
  transform: translateY(-2px);
}

/* Botón Acción Rojo Central */
.flags-action {
  text-align: center;
}

.btn-red-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c8102e 0%, #990011 100%);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(200, 16, 46, 0.35);
  transition: all 0.3s ease;
}

.btn-red-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(200, 16, 46, 0.5);
  background: linear-gradient(135deg, #dc2626 0%, #a10014 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .flags-section {
    padding: 4rem 0;
  }

  .flag-card {
    flex: 0 0 130px;
  }

  .flag-image-box {
    height: 80px;
  }
}
/* ==========================================================================
   1. BANNER CTA - ESTILOS CON DEGRADADO & EFECTO PULSO
   ========================================================================== */
.custom-banner-section {
  background: linear-gradient(135deg, #a70c24 0%, #c8102e 50%, #80081b 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
}

.custom-banner-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.custom-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.custom-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.3rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.custom-banner-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Botón Blanco Interactivo con Pulso */
.btn-white-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  color: #a70c24;
  padding: 1.1rem 2.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.35 cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  position: relative;
}

.btn-white-pulse .whatsapp-icon {
  font-size: 1.3rem;
  color: #25d366;
  transition: transform 0.3s ease;
}

.btn-white-pulse:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background: #ffffff;
  color: #c8102e;
}

.btn-white-pulse:hover .whatsapp-icon {
  transform: scale(1.2) rotate(10deg);
}

/* ==========================================================================
   2. SECCIÓN NUESTROS CLIENTES - MARQUESINA AUTOMÁTICA
   ========================================================================== */
.clients-section {
  background-color: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.clients-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.clients-header .sub-title {
  color: #c8102e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

.clients-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #0b132b;
  line-height: 1.2;
}

/* Track de la Marquesina con Degradados Laterales */
.clients-carousel-wrapper {
  position: relative;
  width: 100%;
}

.clients-track-container {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: scrollClientsInfinite 20s linear infinite;
  will-change: transform;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scrollClientsInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Estilo de Tarjetas/Logos */
.client-logo-card {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.logo-wrapper {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Hover en cada Logo: Se activa el color original y aumenta de tamaño */
.logo-wrapper:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.15);
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .custom-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .clients-track {
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .custom-banner-section {
    padding: 2.5rem 1rem;
  }

  .clients-section {
    padding: 3.5rem 0;
  }

  .client-logo-card {
    flex: 0 0 120px;
  }

  .logo-wrapper {
    height: 45px;
  }
}

/* ==========================================================================
   FOOTER / PIE DE PÁGINA - DISEÑO ELEGANTE Y MODERNO
   ========================================================================== */
.main-footer {
  background-color: #060b17;
  background: linear-gradient(180deg, #070d1d 0%, #03060d 100%);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Logo en Footer */
.footer-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.logo-bm {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .main-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text .sub-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 2px;
  margin-top: 2px;
}

.footer-desc {
  line-height: 1.6;
  color: #8395a7;
  margin-bottom: 1.8rem;
  max-width: 320px;
}


/* ========================================
   REDES SOCIALES - FOOTER BANDERAS MÉXICO
======================================== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.social-btn {
  --social-color: #20c997;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;

  color: #dce5ef;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.social-btn i {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.social-btn:hover {
  color: #ffffff;
  background: color-mix(in srgb, var(--social-color) 17%, #101b2b);
  border-color: var(--social-color);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px
    color-mix(in srgb, var(--social-color) 20%, transparent);
}

.social-btn:hover i {
  transform: scale(1.12);
}

.social-btn.facebook {
  --social-color: #1877f2;
}

.social-btn.instagram {
  --social-color: #e4407f;
}

.social-btn.youtube {
  --social-color: #ff0033;
}

.social-btn.whatsapp {
  --social-color: #25d366;
}

/* Accesibilidad: navegación mediante teclado */
.social-btn:focus-visible {
  outline: 2px solid var(--social-color);
  outline-offset: 4px;
}

/* En móviles, botones compactos y cómodos al tacto */
@media (max-width: 480px) {
  .social-links {
    gap: 8px;
  }

  .social-btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}


/* Titulares de columnas */
.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.2px;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #16a34a;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Listas de Enlaces con Hover */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #8395a7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow {
  font-size: 0.65rem;
  color: #16a34a;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Información de Contacto */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-text a,
.contact-text span {
  color: #8395a7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: #ffffff;
}

.contact-text .cp {
  font-size: 0.85rem;
  color: #64748b;
}

/* Línea Divisora & Sub-Footer */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748b;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #94a3b8;
}

.dot-separator {
  color: #334155;
}

/* ==========================================================================
   RESPONSIVE FOOTER
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .main-footer {
    padding: 3.5rem 0 1.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   PÁGINA QUIÉNES SOMOS - ESTILOS SECCIONES INTERCALADAS (OSCURO / CLARO)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO (FONDO OSCURO) - Con margen amplio para el menú fijo
   -------------------------------------------------------------------------- */
.about-hero-dark {
  background-color: #0b132b;
  color: #f8fafc;
  padding-top: 11rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.12) 0%, rgba(22, 163, 74, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.about-header {
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.about-header .sub-title {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.about-main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.about-lead {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.65;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.4);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #22c55e;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   2. SECCIÓN HISTORIA Y SEGOB (FONDO BLANCO / CLARO)
   -------------------------------------------------------------------------- */
.about-story-light {
  background-color: #ffffff;
  color: #1e293b;
  padding: 6rem 0;
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.light-sub-title {
  color: #c8102e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.light-main-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #0b132b;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.light-paragraph {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Card SEGOB en Claro */
.segob-light-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #c8102e;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.segob-icon-red {
  width: 48px;
  height: 48px;
  background: #c8102e;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.segob-light-info h3 {
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.segob-light-info p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Marco de Foto en Claro */
.light-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  border: 4px solid #ffffff;
}

.light-img-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.light-img-frame:hover img {
  transform: scale(1.05);
}

.img-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 19, 43, 0.9);
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(8px);
}

.img-badge-overlay i {
  color: #22c55e;
}


/* --------------------------------------------------------------------------
   3. SECCIÓN CATÁLOGO Y COTIZACIÓN (FONDO OSCURO)
   -------------------------------------------------------------------------- */
.about-products-dark {
  background-color: #060b17;
  color: #f8fafc;
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.products-header {
  margin-bottom: 3.5rem;
}

.products-header .sub-title {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.dark-section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
}

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

.dark-product-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dark-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-media {
  width: 100%;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dark-product-card:hover .card-media img {
  transform: scale(1.08);
}

.card-content {
  padding: 1.8rem;
  position: relative;
}

.card-content .icon-box {
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.card-content p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Call To Action Inferior */
.about-bottom-cta {
  background: linear-gradient(135deg, #a70c24 0%, #c8102e 50%, #80081b 100%);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  color: #c8102e;
  padding: 1.1rem 2.4rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background: #f8fafc;
}

.btn-primary-glow i {
  color: #25d366;
  font-size: 1.3rem;
}

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

  .about-hero-dark {
    padding-top: 9rem;
  }

  .light-img-frame img {
    height: 300px;
  }
}

/* ==========================================================================
   GALERÍA DE FOTOS INTERACTIVA - ESTILOS E INNOVACIÓN VISUAL
   ========================================================================== */

.gallery-page-section {
  background-color: #0b132b;
  color: #f8fafc;
  padding-top: 11rem; /* Espacio para el menú fijo superior */
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.gallery-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 450px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, rgba(200, 16, 46, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.gallery-header {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.gallery-header .sub-title {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.gallery-main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.gallery-lead {
  color: #94a3b8;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   FILTROS DE CATEGORÍAS
   -------------------------------------------------------------------------- */
.gallery-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #22c55e;
  color: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

/* --------------------------------------------------------------------------
   REJILLA DE 4 COLUMNAS (GRID)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Exactamente 4 columnas */
  gap: 1.5rem;
}

.gallery-item {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item.hide {
  display: none;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4/3;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* Overlay Hover Efecto Glassmorphism */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 19, 43, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.item-cat {
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.item-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 0.2rem;
}

.zoom-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover .zoom-btn:hover {
  background: #c8102e;
  transform: scale(1.1);
}


/* --------------------------------------------------------------------------
   VISOR MODAL (LIGHTBOX) CON NAVEGACIÓN Y TACHE
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 23, 0.92);
  backdrop-filter: blur(15px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
}

.lightbox-caption span {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox-caption h4 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 0.2rem;
}

/* Botón de Cierre (Tache) */
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: #c8102e;
  border-color: #c8102e;
  transform: rotate(90deg);
}

/* Flechas de Navegación */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: #22c55e;
  border-color: #22c55e;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en laptops pequeñas */
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }

  .gallery-page-section {
    padding-top: 9rem;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }
}

/* ==========================================================================
   PÁGINA DE CONTACTO - COMBINACIÓN HERO OSCURO + CUERPO CLARO
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO EN ENCABEZADO (FONDO OSCURO)
   -------------------------------------------------------------------------- */
.contact-hero-dark {
  background-color: #0b132b;
  color: #f8fafc;
  padding-top: 11rem; /* Espacio superior para el menú fijo */
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 350px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.12) 0%, rgba(34, 197, 94, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.contact-header {
  max-width: 800px;
  margin: 0 auto;
}

.contact-header .sub-title {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.contact-main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-lead {
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   2. CUERPO DE CONTACTO Y MAPA (FONDO BLANCO / CLARO)
   -------------------------------------------------------------------------- */
.contact-body-light {
  background-color: #ffffff;
  color: #1e293b;
  padding: 5rem 0;
  position: relative;
}

/* Rejilla de Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

/* Tarjeta del Formulario en Fondo Blanco */
.contact-form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.form-title i {
  color: #c8102e;
}

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

.input-group {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: #0f172a;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.input-group select option {
  background-color: #ffffff;
  color: #0f172a;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #16a34a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.btn-submit-glow {
  width: 100%;
  background: linear-gradient(135deg, #c8102e 0%, #a70c24 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(200, 16, 46, 0.25);
  transition: all 0.3s ease;
}

.btn-submit-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(200, 16, 46, 0.38);
  background: linear-gradient(135deg, #d91435 0%, #c8102e 100%);
}

/* Tarjetas Informativas */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #22c55e;
  transform: translateX(5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

.info-card.highlight-whatsapp {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.04);
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-icon.whatsapp {
  background: #25d366;
  border: none;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.info-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.info-text p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.info-link {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.info-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. MARCO DEL MAPA EN FONDO BLANCO
   -------------------------------------------------------------------------- */
.map-section-wrapper {
  margin-top: 3rem;
}

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

.map-header .sub-title {
  color: #c8102e;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.4rem;
}

.map-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.map-header p {
  color: #64748b;
  font-weight: 600;
}

.map-container-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.map-container-frame iframe {
  display: block;
  width: 100%;
}

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

  .contact-hero-dark {
    padding-top: 9rem;
  }
}

@media (max-width: 576px) {
  .custom-form .form-row {
    grid-template-columns: 1fr;
  }
}

 /* =========================================
       PÁGINA DE VIDEOS
    ========================================= */

    .videos-page {
      --videos-accent: #20c997;
      --videos-dark: #0b1220;
      min-height: 70vh;
      padding: 145px 0 90px;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(32,201,151,.10), transparent 45%),
        var(--videos-dark);
      color: #f8fafc;
    }

    .videos-header {
      max-width: 820px;
      margin: 0 auto 48px;
      text-align: center;
    }

    .videos-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 16px;
      color: var(--videos-accent);
      font-size: .82rem;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .videos-title {
      margin: 0 0 18px;
      color: #fff;
      font-size: clamp(2rem, 4.5vw, 3.5rem);
      line-height: 1.12;
      font-weight: 800;
    }

    .videos-title span {
      color: var(--videos-accent);
    }

    .videos-description {
      max-width: 690px;
      margin: 0 auto;
      color: #b8c4d5;
      font-size: 1rem;
      line-height: 1.85;
    }

    .videos-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 25px;
      align-items: start;
    }

    .video-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 18px;
      background: #121d2e;
      box-shadow: 0 12px 32px rgba(0,0,0,.18);
      transition: transform .25s ease, border-color .25s ease;
    }

    .video-card:hover {
      transform: translateY(-5px);
      border-color: rgba(32,201,151,.55);
    }

    .video-frame {
      position: relative;
      overflow: hidden;
      width: 100%;
      aspect-ratio: 9 / 16;
      background: #050a12;
    }

    .video-placeholder,
    .video-embed {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .video-placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      padding: 18px;
      border: 0;
      color: #fff;
      background:
        linear-gradient(180deg, rgba(4,10,20,.08), rgba(4,10,20,.75)),
        #111c2d;
      cursor: pointer;
    }

    .video-placeholder img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: .83;
      transition: transform .4s ease, opacity .3s ease;
    }

    .video-placeholder:hover img {
      transform: scale(1.045);
      opacity: .68;
    }

    .video-play-icon {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      width: 66px;
      height: 66px;
      padding-left: 4px;
      border: 1px solid rgba(255,255,255,.55);
      border-radius: 50%;
      color: #fff;
      background: rgba(32,201,151,.92);
      box-shadow: 0 0 35px rgba(32,201,151,.25);
      font-size: 1.35rem;
      transition: transform .2s ease;
    }

    .video-placeholder:hover .video-play-icon {
      transform: scale(1.1);
    }

    .video-play-label {
      position: relative;
      z-index: 1;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: 1.3px;
      text-transform: uppercase;
      text-shadow: 0 2px 8px rgba(0,0,0,.6);
    }

    .video-embed {
      display: block;
      border: 0;
    }

    .video-info {
      padding: 18px 17px 20px;
    }

    .video-category {
      display: inline-block;
      margin-bottom: 9px;
      color: var(--videos-accent);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: 1.1px;
      text-transform: uppercase;
    }

    .video-card h2 {
      margin: 0 0 10px;
      color: #fff;
      font-size: 1rem;
      line-height: 1.5;
      font-weight: 700;
    }

    .video-info p {
      margin: 0;
      color: #aab8ca;
      font-size: .86rem;
      line-height: 1.7;
    }

    .videos-cta {
      margin-top: 55px;
      padding: 34px 25px;
      border: 1px solid rgba(32,201,151,.25);
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(32,201,151,.10), rgba(255,255,255,.025));
      text-align: center;
    }

    .videos-cta h2 {
      margin: 0 0 12px;
      color: #fff;
      font-size: clamp(1.4rem, 3vw, 2rem);
    }

    .videos-cta p {
      margin: 0 auto 22px;
      max-width: 620px;
      color: #b8c4d5;
      line-height: 1.8;
    }

    .videos-cta .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .videos-youtube-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 24px;
      color: #c6d3e3;
      font-size: .9rem;
      text-decoration: none;
    }

    .videos-youtube-link:hover {
      color: var(--videos-accent);
    }

    @media (max-width: 1100px) {
      .videos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }
    }

    @media (max-width: 760px) {
      .videos-page {
        padding: 120px 0 65px;
      }

      .videos-header {
        margin-bottom: 32px;
      }

      .videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .video-card {
        border-radius: 13px;
      }

      .video-info {
        padding: 13px 12px 16px;
      }

      .video-card h2 {
        font-size: .9rem;
      }

      .video-info p {
        font-size: .8rem;
      }

      .video-play-icon {
        width: 54px;
        height: 54px;
        font-size: 1.1rem;
      }

      .videos-cta {
        margin-top: 35px;
        padding: 28px 18px;
      }
    }

    @media (max-width: 380px) {
      .videos-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .video-card,
      .video-placeholder img,
      .video-play-icon {
        transition: none;
      }
    }

    .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}