html {
  /* 1. Activa el deslizamiento suave nativo */
  scroll-behavior: smooth;
  
  /* 2. COMPENSACIÓN DEL HEADER FIJO
     Esto es vital: le dice al navegador que deje un espacio arriba 
     al terminar de scrollear, para que el menú no tape el título.
     90px es la altura que le dimos a tu .nav */
  scroll-padding-top: 90px;
}
/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
  --primary: #ED1C24;
  --dark: #212121;
  --light: #F4F4F4;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   2. BOTONES GLOBALES (Consolidado aquí)
   ========================================= */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 2px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #c11219;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-ghost:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1rem;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* LOGO */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.brand {
  text-decoration: none;
}

/* NAVEGACIÓN (Escritorio) */
nav {
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

/* HAMBURGUESA (Oculta en escritorio) */
.hamburger {
  display: none;
}

/* MENÚ MÓVIL DESPLEGABLE */
#mobileMenu .card {
  background: var(--white);
  border-top: 2px solid var(--primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RESPONSIVE DEL HEADER */
@media (max-width: 1024px) {
  .nav {
    height: 70px;
  }
  
  /* Ocultar menú de escritorio */
  nav {
    display: none;
  }
  
  /* Ocultar botones de texto en el header */
  /* NOTA: .actions se mantiene visible para contener la hamburguesa si fuera necesario, 
     pero ocultamos los botones específicos */
  .actions .btn:not(.hamburger) {
    display: none;
  }

  /* Mostrar botón hamburguesa */
  .hamburger {
    display: block;
    background: transparent;
    font-size: 1.2rem;
    padding: 8px;
  }
  
  .logo-img {
    height: 45px;
  }
}

/* =========================================
   4. SECCIÓN HERO
   ========================================= */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    linear-gradient(to right, rgba(29, 29, 29, 0.7), rgba(0, 0, 0, 0.6)), 
    url('../img/bg-hero.jpg') no-repeat center center/cover;
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.1;
}

.hero .subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   5. SECCIÓN ENFOQUE (TARJETAS ROJAS)
   ========================================= */
.features {
  background: var(--light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  text-transform: uppercase;
  font-weight: 900;
}

.section-header p {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.feature-card {
  background: linear-gradient(135deg, var(--primary) 0%, #8b1115 100%);
  padding: 40px 30px;
  border-radius: 8px;
  color: var(--white);
  transition: var(--transition);
  flex: 0 1 350px;
  min-height: 240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(237, 28, 36, 0.3);
}

/* =========================================
   6. SECCIÓN DETAILS (PRODUCTOS)
   ========================================= */
.details {
  padding: 80px 0;
  position: relative;
  /* 1. Color de respaldo por si no carga la imagen */
  background-color: var(--light);
  
  /* 2. El truco: Degradado semitransparente + Imagen */
  background-image: 
    linear-gradient(to bottom, rgba(244, 244, 244, 0.9), rgba(244, 244, 244, 0.8)),
    url('../img/plano-bg.jpg'); /* <--- Asegúrate de tener esta imagen */
  
  /* 3. Ajustes para que cubra todo */
  background-size: cover;
  background-position: center;
  
  /* 4. Efecto Parallax (Opcional: hace que la imagen se quede quieta al hacer scroll) */
  background-attachment: fixed; 
}

/* Corrección del Grid: Asegura ancho completo y columnas automáticas */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  width: 100%;
  gap: 25px;
  margin-bottom: 50px;
}

.detail-item {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%; /* Para igualar alturas en la misma fila */
}

.detail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.detail-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.detail-item:hover img {
  transform: scale(1.05);
}

.detail-text {
  padding: 20px;
  flex-grow: 1;
}

.detail-text h4 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.detail-text p {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.item-spec-list {
  list-style: none;
}

.item-spec-list li {
  font-size: 0.85rem;
  color: #555;
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}

.item-spec-list li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* RECUADRO INFERIOR DE SOLUCIONES */
.solutions-full-width .sidebar-card {
  background: var(--dark);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  border-bottom: 6px solid var(--primary);
}

.solutions-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.solutions-content ul {
  flex: 2;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.solutions-content li {
  font-size: 0.9rem;
  color: #bbb;
}

.solutions-content li strong {
  display: block;
  color: var(--white);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.solutions-action {
  flex: 1;
  text-align: center;
}

/* =========================================
   7. RESPONSIVE (MÓVIL Y TABLET)
   ========================================= */
/* Ajustado a 1024px para cubrir tablets también */
@media (max-width: 1024px) {
  .nav { height: 70px; }
  .hero h1 { font-size: 2.5rem; }
  
  /* Mostrar hamburguesa y ocultar menú en móvil */
  .hamburger {
    display: block !important;
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 1.2rem;
  }

  nav { display: none; } /* Oculta los links */
  
  /* Oculta los botones de texto (Catálogo, Cotizar) en el header móvil */
  .actions .btn:not(.hamburger) { 
    display: none; 
  }
}

@media (max-width: 768px) {
  .solutions-content { flex-direction: column; }
  .solutions-action { width: 100%; margin-top: 15px; }
  
  /* Asegura que las tarjetas rojas ocupen ancho completo en móvil */
  .feature-card { flex: 1 1 100%; }
}

/* SECCIÓN TABS */
.solutions-tabs {
  padding: 80px 0;
  background-color: var(--white);
}

/* Navegación (Botones) */
.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 15px 30px;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.tab-btn:hover {
  color: var(--primary);
  background-color: rgba(237, 28, 36, 0.05);
}

/* Estado Activo del Botón */
.tab-btn.active {
  color: var(--primary);
  border-bottom: 4px solid var(--primary);
}

/* Cuerpo del Contenido */
.tabs-body {
  min-height: 300px; /* Evita saltos de altura bruscos */
}

.tab-content {
  display: none; /* Oculto por defecto */
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block; /* Visible si tiene la clase active */
}

/* Tarjeta interna de cada tab */
.tab-card {
  display: flex;
  background: var(--light);
  border-left: 5px solid var(--primary);
  padding: 40px;
  border-radius: 4px;
  align-items: center;
  gap: 40px;
}

.tab-info {
  flex: 2;
}

.tab-info h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.tab-info .highlight {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.tab-action {
  flex: 1;
  text-align: right;
  border-left: 1px solid #ddd;
  padding-left: 40px;
}

/* Animación suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    border-bottom: none;
  }
  .tab-btn {
    width: 100%;
    border-bottom: 1px solid #eee;
    border-left: 4px solid transparent;
    text-align: left;
  }
  .tab-btn.active {
    border-bottom: 1px solid #eee;
    border-left: 4px solid var(--primary);
  }
  .tab-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .tab-action {
    border-left: none;
    padding-left: 0;
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }
  .tab-action .btn {
    width: 100%;
  }
}

.industrial-separator {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0; /* Elimina espacio fantasma en algunos navegadores */
  /* transform: rotate(180deg); Invertimos para que apunte hacia abajo/arriba según gusto */
  margin-top: -1px; /* Corrige líneas blancas finas por redondeo de píxeles */
}

.industrial-separator svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px; /* Altura de la figura */
}

/* Color de la figura principal (Gris Industrial) */
.industrial-separator .shape-fill {
  fill: var(--light); /* Usamos el gris claro para conectar con la siguiente sección */
}

/* OPCIONAL: Si quieres que la sección "Enfoque" tenga fondo gris para contrastar */
.features {
  background-color: var(--light); /* Cambiamos el fondo de features a gris claro */
  padding-top: 60px; /* Ajuste de espacio */
}

.linea-separador {
  width: 100%;
  height: 5px; /* Fuerza la altura visual */
  margin-top: -1px; /* Evita líneas blancas */
}
.linea-separador svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- ESTILOS DEL MENÚ MÓVIL (Faltantes) --- */

/* 1. Contenedor principal del menú móvil (Oculto por defecto) */
.mobile-menu {
  display: none; 
  position: absolute;
  top: 100%; /* Justo debajo del header */
  left: 0;
  width: 100%;
  padding-bottom: 20px;
  background-color: var(--white); /* Fondo blanco para que no sea transparente */
  border-bottom: 2px solid var(--primary);
  z-index: 999;
  animation: slideDown 0.3s ease-out;
}

/* 2. Clase para MOSTRAR el menú (la agrega el JS) */
.mobile-menu.active {
  display: block;
}

/* 3. Tarjeta interna y enlaces */
.mobile-menu-card {
  background: #f9f9f9;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-mobile-link {
  display: block;
  padding: 12px;
  background: var(--white);
  border: 1px solid #ddd;
  text-decoration: none;
  color: var(--dark);
  text-align: center;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-mobile-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* 4. Animación de entrada */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. Asegurar que NUNCA se vea en escritorio (Safety check) */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

.info-cards {
  padding: 80px 0;
  background: var(--white);
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Dos columnas responsivas */
  gap: 30px;
}

.big-card {
  position: relative;
  height: 400px; /* Altura fija para impacto visual */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  group: isolate; /* Para manejo de z-index */
}

/* Imagen de fondo */
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.big-card:hover .card-image img {
  transform: scale(1.1); /* Zoom suave al pasar el mouse */
}
.card-image {
  height: 100%; 
  width: 100%;
}

/* Texto superpuesto (Overlay) */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0)); /* Degradado oscuro */
  color: var(--white);
  z-index: 2;
}

.card-overlay h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 5px;
  border-left: 4px solid var(--primary); /* Detalle rojo de marca */
  padding-left: 15px;
}

.card-overlay p {
  font-size: 1rem;
  opacity: 0.9;
  padding-left: 19px; /* Alineado con el texto del h3 */
  font-weight: 500;
}

/* Ajuste móvil */
@media (max-width: 768px) {
  .big-card {
    height: 300px; /* Un poco más bajas en móvil */
  }
}

.about-us {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Divide en 2 columnas iguales */
  gap: 60px; /* Espacio generoso entre texto e imagen */
  align-items: center; /* Centra verticalmente */
}

/* Estilos del contenido de texto */
.about-body p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin-bottom: 30px;
  margin-top: 20px;
}

.about-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-weight: 600;
  color: var(--dark);
}

/* Checkmark rojo personalizado para la lista */
.about-list li::before {
  content: "✔"; 
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Estilos de la Imagen (Sin marco) */
.about-image-wrapper {
  width: 100%;
  height: auto;
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 8px; <--- Descomenta si quieres esquinas redondeadas suaves */
  /* Sin border, sin box-shadow para efecto "Clean" */
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 40px;
  }

  .about-image-wrapper {
    order: -1; /* Manda la imagen arriba del texto en móvil (opcional) */
    max-height: 400px;
    overflow: hidden;
  }
  
  .about-image-wrapper img {
    object-fit: cover;
    height: 100%;
  }

  .section-header {
    text-align: center !important; /* Centra el título en móvil */
  }
}

/* --- SECCIÓN CONTACTO --- */
.contact-section {
  padding: 80px 0;
  background-color: var(--dark); /* Fondo oscuro para contraste */
  color: var(--white);
}

/* Ajuste para header en fondo oscuro */
.section-header.dark-mode h2 {
  color: var(--white);
}
.section-header.dark-mode p {
  color: #bbb; /* Gris claro para el subtítulo */
}

/* Layout Grid */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* El formulario es un poco más ancho */
  gap: 50px;
  align-items: start;
}

/* Columna Info */
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.info-item .icon {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.info-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.info-item p, .info-item a {
  color: #ddd;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.4;
}

.info-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.map-container {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #444;
}

/* Columna Formulario (Tarjeta Blanca) */
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  color: var(--dark); /* Texto oscuro dentro del form */
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.contact-form-card h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: var(--dark);
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
}

/* Estilos de Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #555;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  background-color: #f9f9f9;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

textarea {
  resize: vertical; /* Permite cambiar tamaño solo verticalmente */
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Responsive Contacto */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-card {
    padding: 25px;
  }
}

/* --- ESTILOS ESPECÍFICOS DE NOSOTROS --- */

.company-values {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Espacio entre cada punto (Misión, Visión...) */
  margin-bottom: 30px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Icono circular sutil */
.value-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(237, 28, 36, 0.1);
  color: var(--primary); /* El SVG tomará este color rojo */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Regla nueva para asegurar el tamaño de los iconos */
.value-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px; /* Grosor uniforme para todos */
}

.value-text h4 {
  font-size: 1.1rem;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 800;
}

.value-text p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0; /* Reseteamos margen por defecto */
}

/* Negritas dentro del texto */
.value-text strong {
  color: var(--dark);
  font-weight: 700;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
  .value-item {
    flex-direction: column; /* Icono arriba, texto abajo en celular */
    gap: 10px;
  }
  .value-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* --- FOOTER --- */
.site-footer {
  background-color: #111; /* Casi negro, para diferenciar del contacto */
  color: #888;
  padding: 60px 0 20px;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px; /* Efecto de movimiento sutil */
}

/* Redes Sociales */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Barra inferior */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 20px;
  font-size: 0.8rem;
}

/* Estilo Base Unificado para botones del Hero */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espacio entre icono y texto */
  
  /* Geometría idéntica */
  min-width: 180px;  /* Todos miden lo mismo de ancho */
  height: 50px;      /* Todos miden lo mismo de alto */
  padding: 0 25px;
  
  /* Tipografía */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 4px; /* Esquinas ligeramente redondeadas (Industrial) */
  
  transition: all 0.3s ease;
  text-decoration: none;
  border: none; /* Quitamos bordes por defecto */
}

/* Color 1: Rojo Marca */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: #b30000; /* Rojo más oscuro */
  transform: translateY(-2px);
}

/* Color 2: Blanco (Catálogo) */
.btn-white {
  background-color: var(--white);
  color: var(--dark); /* Texto oscuro para lectura */
}
.btn-white:hover {
  background-color: #e6e6e6; /* Gris muy claro */
  transform: translateY(-2px);
}

/* Color 3: WhatsApp (Verde Oficial) */
.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #128C7E; /* Verde oscuro oficial */
  transform: translateY(-2px);
}

/* Ajuste Móvil: Que se apilen y ocupen todo el ancho */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero {
    width: 100%; /* Botones anchos en celular */
    margin-bottom: 10px;
  }
}

.hero-logo-img {
  max-width: 500px;
  height: auto;
  margin-bottom: 25px;
  
  /* Ya no invertimos colores, solo dejamos una sombra suave para contraste */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  
  animation: fadeInDown 1s ease-out;
}

@media (max-width: 768px) {
  .hero-logo-img {
    max-width: 350px;
    margin-bottom: 15px;
  }
}