html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif, 'Montserrat';
    line-height: 1.6;
    color: #333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana;
}

/* ===== GRUPO DE NAVEGACIÓN DERECHA - MOVIDO UN POCO A LA IZQUIERDA ===== */
.navigation-group {
  padding: 0 !important;
  margin-right: 60px; /* ← Ajusta este valor si quieres más o menos espacio */
}

.nav-items-right {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* separa un poco los ítems y divisores */
  white-space: nowrap;
}

.nav-items-right .nav-divider {
  color: rgba(0, 0, 0, 0.4);
  font-size: 1.6rem;
  font-weight: 300;
  padding: 0;
  user-select: none;
}



/* =====================================================================
   BOTÓN VOLVER - Contenedor y estilos
   ===================================================================== */

/* Contenedor del botón */
.back-button-container {
    width: 80%;
    margin: 20px auto -10px auto; /* Negativo para subirlo cerca del hero */
    padding: 0 40px;
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Botón Volver */
.back-to-industry {
    display: inline-flex;
    align-items: center;
    padding: 11px 26px;
    background: white;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.back-to-industry:hover {
    background: #000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.back-to-industry::before {
    content: "←";
    margin-right: 10px;
    font-size: 1.4em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.back-to-industry:hover::before {
    transform: translateX(-6px);
}

/* =====================================================================
   RESPONSIVE PARA EL BOTÓN VOLVER
   ===================================================================== */

/* Laptops estándar (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .back-button-container {
        width: 85%;
        margin: 15px auto 18px auto;
        padding: 0 35px;
    }
    
    .back-to-industry {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

/* Tablets paisaje (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .back-button-container {
        width: 90%;
        margin: 20px auto -4px auto;
        padding: 0 30px;
    }
    
    .back-to-industry {
        padding: 9px 22px;
        font-size: 0.9rem;
    }
}

/* Tablets retrato (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .back-button-container {
        width: 92%;
        margin: 20px auto -5px auto;
        padding: 0 25px;
    }
    
    .back-to-industry {
        padding: 9px 20px;
        font-size: 0.87rem;
    }
}

/* Móviles (hasta 575px) */
@media (max-width: 575px) {
    .back-button-container {
        width: 94%;
        margin: 15px auto -5px auto;
        padding: 0 20px;
    }
    
    .back-to-industry {
        padding: 8px 18px;
        font-size: 0.84rem;
    }
    
    .back-to-industry::before {
        font-size: 1.2em;
        margin-right: 8px;
    }
}

/* Móviles muy pequeños (hasta 380px) */
@media (max-width: 380px) {
    .back-button-container {
        width: 96%;
        margin: 20px auto -5px auto;
        padding: 0 15px;
    }
    
    .back-to-industry {
        padding: 7px 16px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .back-to-industry::before {
        font-size: 1.1em;
        margin-right: 7px;
    }
}


/* Hero Header - ancho 80% y centrado horizontalmente */
.hero-header {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../../fotospixeles/Guias\ de\ deslizamiento\ Header.png') center/cover no-repeat;
    color: white;
    padding: 30px 40px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 80%;
    margin: 80px auto 0 auto;
    height: auto;
    min-height: 22vh;
    box-sizing: border-box;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.brand-title {
    font-size: 2.3em;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 90px 0 15px 0; 
    text-transform: uppercase;
    font-family: "Montserrat", Arial, sans-serif;
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 400;
    max-width: 1200px;
    line-height: 1.4;
    margin-top: 5px; 
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;  
    gap: 30px;                          
    align-items: start;
    flex: 1;
    height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 15px 30px;                
    width: 90%;
    box-sizing: border-box;
}

/* Contenido del producto */
.product-content {
    padding: 15px;
    width: 100%;
    max-width: none;
    margin-left: 10%;
    margin-right: auto;
    box-sizing: border-box;
}

.product-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.5;
    margin-top: -10px;
}

.section-heading {
    font-size: 1.3em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    margin-top: 20px;
}

.product-description {
    font-size: 0.93em;
    color: #333;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 5px;
}

/* Botones */
.buttons-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 20px;
    font-size: 0.95em;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #888;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==== CONTENEDOR GENERAL TIPO CARD ==== */
.blog-card-container {
    background: #e8e8e8;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    width: 60%;
    margin-left: 150px;

}

/* ==== SIDEBAR BLOG ==== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.blog-card-btn {
    background-color: #444444;
    color: white;
    justify-content: center;
    text-decoration: none;
}

/* ===== SECCIÓN DE PRODUCTOS GRID ===== */
.productos-grid-section {
    width: 90%;
    margin: 40px auto -8px auto;
    padding: 40px 0;
    margin-top: -70px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjeta de producto — HORIZONTAL */
.producto-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;

    display: flex;
    flex-direction: row;          /* Horizontal */
    align-items: flex-start;      /* Imagen arriba, texto abajo dentro del bloque */
    gap: 22px;

    width: 100%;
    min-height: 260px;            /* Más altura para la imagen */
    text-align: left;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Imagen más grande */
.producto-imagen {
    width: 220px;                 /* Ajusta para que la imagen sea más grande */
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.producto-imagen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Contenedor del texto: empuja el contenido hacia abajo */
.producto-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* Empuja el texto hacia la parte baja del bloque */
    height: 100%;
    padding-top: 40px;           /* Controla cuánto baja el texto; ajusta si hace falta */
    gap: 6px;
}

/* Nombre del producto */
.producto-nombre {
    font-size: 1.05em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.2;
}

/* Descripción del producto */
.producto-descripcion {
    font-size: 0.8em;
    color: #555;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 8px;
}

/* Botón Ver más */
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #444444;
    color: white;
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(68, 68, 68, 0.18);

    align-self: flex-start;      /* Botón alineado a la izquierda dentro del bloque */
}

.btn-ver-mas:hover {
    background-color: #858585;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(68, 68, 68, 0.28);
    color: white;
    text-decoration: none;
}

.btn-ver-mas i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.btn-ver-mas:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1400px) {
    .productos-grid {
        grid-template-columns: repeat(4, 1fr);  /* 4 columnas en pantallas grandes */
    }
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);  /* 3 columnas en pantallas medianas */
    }
}

@media (max-width: 968px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 columnas en tablets */
        gap: 15px;
    }
    
    .producto-imagen {
        height: 140px;
    }
    
    .producto-nombre {
        font-size: 1em;
    }
    
    .producto-descripcion {
        font-size: 0.8em;
    }
}

@media (max-width: 600px) {
    .productos-grid {
        grid-template-columns: 1fr;  /* 1 columna en móviles */
        gap: 12px;
    }
    
    .producto-card {
        padding: 15px;
    }
    
    .producto-imagen {
        height: 150px;
    }
}















































 /* ============================================================
   NAVBAR - ADAPTADA DESDE INDEX
   Colores para fondo blanco + Estructura idéntica al index
   ============================================================ */

/* ============================================================
   1. ESTRUCTURA PRINCIPAL (FIJA Y ESTABLE)
   ============================================================ */
.main-navbar {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0;
  margin: 0;
  height: 80px;
  display: flex;
  align-items: center;
}

body {
  padding-top: 0px;
}

.main-navbar .container-fluid {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

/* ============================================================
   2. MENÚ DE NAVEGACIÓN (LINKS)
   ============================================================ */
.nav-items-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-item {
  padding: 0 0.5rem !important;
  display: flex;
  align-items: center;
}

/* ⚫ CAMBIO: Texto negro para fondo blanco */
.nav-link {
  color: #000000 !important;
  font-weight: 500;
  font-size: 1.55rem;
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

/* ⚫ CAMBIO: Divisores negros con opacidad */
.nav-divider {
  color: rgba(0, 0, 0, 0.3);
  font-size: 1.4rem;
  padding: 0 0.2rem;
  user-select: none;
}

/* ⚫ CAMBIO: Hover gris oscuro con sombra sutil */
.nav-link:hover {
  color: #333333 !important;
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.15),
    0 0 10px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   3. BOTÓN DE CONTACTO 
   ============================================================ */
.contact-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  overflow: visible !important; 
  margin-left: 3rem !important; 
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.flex-spacer {
  flex: 1;
}

/* ⚫ CAMBIO: Enlace de contacto en negro */
.contact-wrapper a.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #000000 !important;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 12px; 
  margin: -5px -12px;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact-wrapper a.contact-link i {
  font-size: 1rem;
  color: inherit !important;
  display: inline-block;
  transform-origin: center;
}

/* ⚫ CAMBIO: Hover verde neón (mantiene el mismo efecto del index) */
.contact-wrapper a.contact-link:hover {
  color: #49ad33 !important;
  transform: translateY(-2px); 
}

/* ============================================================
   4. REDES SOCIALES
   ============================================================ */
.social-item {
  display: flex;
  align-items: center;
  padding-right: 1.5rem !important;
  padding-left: 0 !important;
}

.social-item .topbar-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
}

/* ⚫ CAMBIO: Fondo y bordes adaptados para tema claro */
.social-item .topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  color: #666666;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-item .topbar-social a i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

/* Hover redes (mantiene los mismos colores de marca) */
.social-item .topbar-social a[href*="facebook"]:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: #1877f2;
  color: #1877f2;
  transform: translateY(-3px);
}

.social-item .topbar-social a[href*="instagram"]:hover {
  background: linear-gradient(
    45deg,
    rgba(131, 58, 180, 0.15),
    rgba(253, 29, 29, 0.15)
  );
  border-color: #e1306c;
  color: #e1306c;
  transform: translateY(-3px);
}

.social-item .topbar-social a[href*="linkedin"]:hover {
  background: rgba(0, 119, 181, 0.15);
  border-color: #0077b5;
  color: #0077b5;
  transform: translateY(-3px);
}

.social-item .topbar-social a:hover i {
  transform: scale(1.15);
}

/* ============================================================
   5. BOTÓN HAMBURGUESA
   ============================================================ */
/* ⚫ CAMBIO: Borde negro para tema claro */
.navbar-toggler {
  border: 2px solid rgba(0, 0, 0, 0.5) !important;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

/* ⚫ CAMBIO: Ícono hamburguesa negro */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 28px;
  height: 28px;
}

/* ============================================================
   6. RESPONSIVE - MENÚ FLOTANTE CON ANIMACIÓN
   ============================================================ */
@media (max-width: 991px) {
  .main-navbar {
    height: 70px;
    top: 0;
    left: 0;
    background: transparent;
  }

  /* ⚫ CAMBIO: Fondo blanco/gris claro para el menú móvil */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    z-index: 9999;
    
    background: rgba(250, 250, 250, 0.98); 
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    
    visibility: hidden;
    pointer-events: none;
  }

  .navbar-collapse.show {
    visibility: visible;
    pointer-events: auto;
  }

  .navbar-nav, 
  .nav-items-right, 
  .contact-wrapper, 
  .contact-group {
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .social-item { margin-bottom: 2rem !important; }
  .contact-group { margin-bottom: 2rem !important; }
  .contact-wrapper { gap: 1.5rem !important; }
  .nav-item { padding: 10px 0 !important; }

  .contact-link { font-size: 1.35rem !important; }
  .nav-link { font-size: 1.5rem !important; }
  .nav-divider { display: none !important; }

  /* Animación escalonada (fade-in stagger) */
  .navbar-collapse .social-item,
  .navbar-collapse .contact-group,
  .navbar-collapse .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .navbar-collapse.show .social-item,
  .navbar-collapse.show .contact-group,
  .navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  /* Delays escalonados */
  .navbar-collapse.show .social-item { transition-delay: 0.1s; }
  .navbar-collapse.show .contact-group { transition-delay: 0.2s; }
  .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.3s; }
  .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.35s; }
  .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.4s; }
  .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.45s; }
  .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.5s; }
}

/* Optimización móviles pequeños */
@media (max-width: 480px) {
  .navbar-collapse { padding: 30px 15px; }
  .contact-link { font-size: 1.15rem !important; }
  .nav-link { font-size: 1.3rem !important; }
}






































/* =====================================================================
   NAVBAR  - RESPONSIVE ADAPTADO DESDE INDEX
   Breakpoints optimizados para diferentes dispositivos
   ===================================================================== */

/* Tablet grande y laptop pequeña (1024px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
  .nav-link {
    font-size: 1.3rem;
  }

  .contact-link {
    font-size: 1.25rem;
    padding: 0.4rem 0.7rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  .nav-items-right {
    gap: 0.8rem;
  }

  .contact-wrapper {
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
  }

  .navigation-group {
    margin-right: 12px;
  }

  .contact-group {
    margin-left: 8px;
    flex-shrink: 0;
    min-width: max-content;
  }
}

/* Tablet (768px - 1024px) - FONDO FULL WIDTH */
@media (max-width: 1024px) and (min-width: 768px) {
  /* ⚫ CAMBIO: Fondo blanco/gris claro con blur */
  .main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
  }

  .main-navbar > .container,
  .main-navbar > .container-fluid {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem !important;
  }

  .contact-link {
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
  }

  .contact-group {
    margin-left: 0;
    flex-shrink: 0;
  }

  .contact-wrapper {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .nav-items-right {
    gap: 0.5rem;
  }

  .navigation-group {
    margin-right: 8px;
  }
}

/* Tablet pequeño y móvil grande (≤767px) */
@media (max-width: 767.98px) {
  /* ⚫ CAMBIO: Fondo blanco para barra principal */
  .main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0;
    right: 0;
  }

  .main-navbar > .container,
  .main-navbar > .container-fluid,
  .main-navbar .container,
  .main-navbar .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .navbar-collapse,
  .navigation-group,
  .nav-items-right,
  .contact-group,
  .navbar-nav {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* ⚫ CAMBIO: Fondo blanco/gris para menú colapsado */
  .navbar-collapse {
    background: rgba(250, 250, 250, 0.98);
    margin-top: 1rem;
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flex-spacer,
  .nav-divider {
    display: none;
  }

  .social-item {
    justify-content: center;
    padding: 0 !important;
    margin-bottom: 1.5rem;
  }

  .contact-group {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-link {
    justify-content: center;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .navigation-group {
    margin-right: 0;
    width: 100%;
    margin-top: 1.2rem;
  }

  .nav-items-right {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .topbar-social a {
    width: 45px;
    height: 45px;
  }

  .topbar-social a i {
    font-size: 1.3rem;
  }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
  .navbar-collapse {
    padding: 1.3rem 1rem;
  }

  .navbar-collapse,
  .navigation-group,
  .nav-items-right,
  .contact-group,
  .navbar-nav {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.9rem 0 !important;
  }

  .contact-link {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }

  .contact-wrapper {
    gap: 0.8rem;
  }

  .topbar-social a {
    width: 42px;
    height: 42px;
  }

  .topbar-social a i {
    font-size: 1.2rem;
  }
}



































.footer-bottom-section.bottom-section {
  flex: 0 0 30dvh;
  min-height: 30dvh;
  max-height: 30dvh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;               /* Eliminamos cualquier margen residual */
  padding: 0;
}

/* ===== SECCIÓN INFERIOR - FONDO NEGRO PEGADO AL FONDO ===== */
.footer-bottom-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 20px 0;
  padding-left: clamp(50px, 10vw, 320px);  /* Se ajusta seg��n el ancho de pantalla */
  box-sizing: border-box;
}
.footer-bottom-main {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 80px;
  align-items: start;
  position: relative;
}

/* COLUMNA 1: LOGO Y CONTACTO */
.footer-left-section {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 10px;
}

.footer-left-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-left: -5px; /* ajusta: -10px, -15px, -20px */
}


.footer-logo-main {
  flex-shrink: 0;
}

.logo-img-large {
  height: 180px;
  width: auto;
  display: block;
  margin-left: -150px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-left: -150px;
}

.logo-img2 {
  height: 60px;
  width: auto;
}

.contact-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: start;
}

.contact-item i {
  font-size: 1.0rem;
  color: #fff;
  margin-top: 8px;
  min-width: 16px;
}

.contact-text p {
  font-size: 1.0rem;
  color: #d0d0d0;
  line-height: 1.5;
  margin: 0;
}

/* LÍNEA DIVISORIA */
.column-divider {
  position: absolute;
  right: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 10%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 90%,
    transparent 100%
  );
}

.column-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* COLUMNA 2: NAVEGACIÓN Y NEWSLETTER */
.footer-center-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  margin-left: -40px;
}

.footer-nav {
  display: flex;
  gap: 18px; /* Ajustado para espaciado óptimo */
  align-items: center;
  flex-wrap: nowrap;
  padding-bottom: 8px; /* Espacio para la línea del hover */
  overflow: visible; /* Importante: permite que el ::after sea visible */
}

.footer-nav-link {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 4px; /* Espacio interno para el ::after */
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* Cambiado de -4px a 0 para que esté dentro del padding */
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #fff;
}

.footer-nav-link:hover::after {
  width: 100%;
}

.newsletter-section {
  max-width: 450px;
}

.newsletter-section {
  max-width: 450px;
}

.email-input-wrapper {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}

.newsletter-email-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 4px 0 0 4px;
  transition: all 0.3s ease;
  min-height: 42px;
}

.newsletter-email-input:focus {
  outline: none;
  border-color: #4caf50;
  background: #222;
}

.newsletter-email-input::placeholder {
  color: #888;
}

.newsletter-submit-btn {
  padding: 10px 26px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 42px;
}

.newsletter-submit-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.newsletter-note {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

/* COLUMNA 3: LOGOS Y REDES SOCIALES */
.footer-right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  min-width: 300px;
}

.partner-logos {
  width: 600px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -70px;
}

.partner-logos img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  margin-top: -140px;
}

.partner-logos-row2 {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.partner-logo-small {
  height: 35px;
  width: auto;
}

.social-links-bottom {
  display: flex;
  gap: 15px;
  margin-top: -120px;
}

.social-icon-bottom {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #333;
  border-radius: 4px;
  color: #d0d0d0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.social-icon-bottom:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* COPYRIGHT PEGADO AL FONDO */
.footer-bottom-bar {
  width: 100%;
  padding: 20px 0 10px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: center;
}

.copyright {
  font-size: 0.8rem;
  color: #888;
margin-top: -30px;
  text-align: center;
}






































/* Laptop grande (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
  .footer-bottom-wrapper {
    max-width: 1250px;
    margin-right: 90px;
  }

  .footer-bottom-main {
    grid-template-columns: 290px 1fr auto;
    gap: 65px;
  }

  .logo-img-large {
    height: 170px;
    margin-left: -140px;
  }

  .contact-info-block {
    margin-left: -140px;
  }

  .partner-logos {
    width: 550px;
    height: 280px;
    margin-right: -65px;
  }

  .partner-logos img {
    margin-top: -130px;
  }

  .social-links-bottom {
    margin-top: -110px;
  }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .footer-bottom-section.bottom-section {
    flex: 0 0 auto !important; /* Cambio importante: permite altura flexible */
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
  }

  .footer-bottom-wrapper {
    margin-right: 0;
    padding: 38px 35px 22px;
  }

  .footer-bottom-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-left-content {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .logo-img-large {
    height: 160px;
    margin-left: 0;
  }

  .contact-info-block {
    margin-left: 0;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .column-divider {
    display: none;
  }

  .footer-center-section {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
  }

  .newsletter-section {
    max-width: 100%;
  }

  .footer-right-section {
    align-items: center;
  }

  .partner-logos {
    width: 480px;
    height: 240px;
    margin-right: 0;
  }

  .partner-logos img {
    margin-top: -90px;
  }

  .social-links-bottom {
    margin-top: -70px;
  }
}

/* Móviles (≤ 768px) - COLUMNA ÚNICA */
@media (max-width: 768px) {
  /* FIX CRÍTICO: Permitir que el footer crezca en móviles */
  .footer-bottom-section.bottom-section {
    flex: 1 0 auto !important; /* Cambia de fixed a flexible */
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .footer-bottom-wrapper {
    padding: 35px 25px 20px;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  /* AQUÍ LA CLAVE: Cambiar a display block en lugar de grid */
  .footer-bottom-main {
    display: block; /* Cambia de grid a block */
    width: 100%;
    position: relative;
    height: auto !important;
    min-height: auto !important;
  }

  /* CORRECCIÓN IMPORTANTE: Seleccionar las columnas correctas del HTML */
  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    display: block;
    width: 100%;
    margin-bottom: 40px; /* Espacio entre secciones */
    text-align: center;
    position: relative;
    height: auto !important;
    overflow: visible !important;
  }

  /* Estilos específicos para la primera columna */
  .footer-left-section {
    padding-right: 0;
    height: auto !important;
  }

  /* Línea divisoria en móvil - la convertimos en horizontal */
  .column-divider {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 80% !important;
    height: 1px !important;
    margin: 30px auto !important;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 10%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0.1) 90%,
      transparent 100%
    ) !important;
  }

  .column-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }

  .footer-left-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    height: auto !important;
  }

  .contact-info-block {
    margin-left: 0;
    text-align: center;
    height: auto !important;
  }

  .contact-block-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .contact-text p {
    font-size: 0.97rem;
  }

  .contact-item {
    justify-content: center;
    margin-bottom: 12px;
  }

  /* Centro (navegación y newsletter) */
  .footer-center-section {
    margin-left: 0;
    height: auto !important;
  }

  .footer-nav {
    flex-direction: column; /* Navegación vertical */
    gap: 15px;
    margin-bottom: 30px;
  }

  .footer-nav-link {
    font-size: 0.93rem;
    padding: 8px 0;
  }

  .newsletter-section {
    max-width: 100%;
    height: auto !important;
  }

  .email-input-wrapper {
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    border-radius: 6px;
    min-height: 46px;
    width: 100%;
    font-size: 0.9rem;
  }

  .newsletter-email-input {
    border-radius: 6px !important;
    border: 1px solid #333 !important;
  }

  .newsletter-submit-btn {
    border-radius: 6px !important;
  }

  .newsletter-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
  }

  /* Derecha (logos partners y sociales) */
  .footer-right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: auto !important;
    gap: 30px !important;
    height: auto !important;
  }

  .partner-logos {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    min-height: 180px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .partner-logos img {
    margin-top: 0 !important;
    max-width: 90% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .social-links-bottom {
    margin-top: 0 !important;
    justify-content: center !important;
    gap: 15px !important;
  }

  .social-icon-bottom {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .footer-bottom {
    width: 100%;
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .copyright {
    font-size: 0.78rem;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}





/* Móviles medianos (≤ 480px) */
@media (max-width: 480px) {
  .footer-bottom-wrapper {
    padding: 30px 20px 18px;
  }

  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    margin-bottom: 35px;
  }

  .contact-block-title {
    font-size: 1.05rem;
  }

  .contact-text p {
    font-size: 0.94rem;
  }

  .footer-nav-link {
    font-size: 0.9rem;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .partner-logos {
    max-width: 340px !important;
    min-height: 150px !important;
  }

  .partner-logos img {
    max-width: 85% !important;
  }

  .social-icon-bottom {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .column-divider {
    margin: 25px auto !important;
    width: 85% !important;
  }
}

/* Móviles estándar (≤ 390px) */
@media (max-width: 390px) {
  .footer-bottom-wrapper {
    padding: 28px 18px 16px;
  }

  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    margin-bottom: 30px;
  }

  .contact-block-title {
    font-size: 1rem;
  }

  .contact-text p {
    font-size: 0.91rem;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav-link {
    font-size: 0.87rem;
  }

  .email-input-wrapper {
    max-width: 280px;
  }

  .newsletter-note {
    font-size: 0.79rem;
  }

  .partner-logos {
    max-width: 300px !important;
    min-height: 130px !important;
  }

  .social-links-bottom {
    gap: 12px !important;
  }

  .copyright {
    font-size: 0.74rem;
  }

  .column-divider {
    margin: 20px auto !important;
    width: 90% !important;
  }
}

/* Móviles pequeños (≤ 375px) */
@media (max-width: 375px) {
  .footer-bottom-wrapper {
    padding: 25px 16px 14px;
  }

  .contact-block-title {
    font-size: 0.96rem;
    margin-bottom: 12px;
  }

  .contact-item {
    margin-bottom: 11px;
  }

  .contact-text p {
    font-size: 0.89rem;
  }

  .footer-nav-link {
    font-size: 0.85rem;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    min-height: 42px;
    font-size: 0.87rem;
  }

  .partner-logos {
    max-width: 280px !important;
    min-height: 120px !important;
  }

  .social-icon-bottom {
    width: 30px !important;
    height: 30px !important;
  }

  .copyright {
    font-size: 0.72rem;
  }
}

/* Móviles muy pequeños (≤ 360px) */
@media (max-width: 360px) {
  .footer-bottom-wrapper {
    padding: 22px 14px 12px;
  }

  .contact-block-title {
    font-size: 0.93rem;
  }

  .contact-text p {
    font-size: 0.87rem;
  }

  .footer-nav-link {
    font-size: 0.83rem;
  }

  .email-input-wrapper {
    max-width: 260px;
  }

  .newsletter-note {
    font-size: 0.77rem;
  }

  .partner-logos {
    max-width: 260px !important;
    min-height: 110px !important;
  }

  .social-icon-bottom {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .copyright {
    font-size: 0.7rem;
  }

  .column-divider {
    margin: 15px auto !important;
  }
}














/* =====================================================================
   MEDIA QUERIES RESPONSIVAS - GUÍAS DE DESLIZAMIENTO
   (NO INCLUYE NAVBAR NI FOOTER - YA ESTÁN CONFIGURADOS)
   ===================================================================== */

/* =====================================================================
   SUPER LARGE - Desktop Full HD+ (1600px en adelante)
   ===================================================================== */
@media (min-width: 1600px) {
  
  /* Hero Header */
  .hero-header {
    width: 75%;
    padding: 35px 50px;
    min-height: 24vh;
    margin: 120px auto 0 auto;
  }
  
  .brand-title {
    font-size: 2.6em;
    margin: 100px 0 20px 0;
  }
  
  .hero-subtitle {
    font-size: 1.4em;
    max-width: 1300px;
  }
  
  /* Main Content */
  .main-content {
    width: 85%;
    padding: 20px 40px;
  }
  
  .product-content {
    padding: 20px;
    margin-left: 8%;
  }
  
  .product-title {
    font-size: 1.15em;
    margin-bottom: 28px;
  }
  
  .product-description {
    font-size: 0.98em;
    line-height: 1.6;
  }
  
  /* Sección de Productos Grid - 2 columnas (preparado para más productos) */
  .productos-grid-section {
    width: 85%;
    margin: 50px auto -8px auto;
    padding: 50px 0;
    margin-top: -60px;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1500px;
  }
  
  .producto-card {
    padding: 24px;
    min-height: 280px;
    gap: 26px;
  }
  
  .producto-imagen {
    width: 240px;
    height: 240px;
  }
  
  .producto-info {
    padding-top: 50px;
  }
  
  .producto-nombre {
    font-size: 1.15em;
  }
  
  .producto-descripcion {
    font-size: 0.88em;
  }
  
  .btn-ver-mas {
    padding: 9px 18px;
    font-size: 0.88rem;
  }
}

/* =====================================================================
   EXTRA LARGE - Laptops Pro/1600px (1200px - 1599px)
   ===================================================================== */
@media (min-width: 1200px) and (max-width: 1599px) {
  
  /* Hero Header */
  .hero-header {
    width: 80%;
    padding: 30px 40px;
    min-height: 22vh;
    margin: 110px auto 0 auto;
  }
  
  .brand-title {
    font-size: 2.3em;
    margin: 90px 0 15px 0;
  }
  
  .hero-subtitle {
    font-size: 1.3em;
    max-width: 1200px;
  }
  
  /* Main Content */
  .main-content {
    width: 90%;
    padding: 15px 30px;
  }
  
  .product-content {
    padding: 15px;
    margin-left: 10%;
  }
  
  .product-title {
    font-size: 1.1em;
    margin-bottom: 25px;
  }
  
  .product-description {
    font-size: 0.93em;
    line-height: 1.5;
  }
  
  /* Sección de Productos Grid - 2 columnas */
  .productos-grid-section {
    width: 90%;
    margin: 40px auto -8px auto;
    padding: 40px 0;
    margin-top: -70px;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1400px;
  }
  
  .producto-card {
    padding: 20px;
    min-height: 260px;
    gap: 22px;
  }
  
  .producto-imagen {
    width: 220px;
    height: 220px;
  }
  
  .producto-info {
    padding-top: 40px;
  }
  
  .producto-nombre {
    font-size: 1.05em;
  }
  
  .producto-descripcion {
    font-size: 0.8em;
  }
  
  .btn-ver-mas {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* =====================================================================
   LARGE - Laptops estándar (992px - 1199px)
   ===================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
  
  /* Hero Header */
  .hero-header {
    width: 85%;
    padding: 28px 35px;
    min-height: 20vh;
    margin: 100px auto 0 auto;
  }
  
  .brand-title {
    font-size: 2.1em;
    margin: 80px 0 12px 0;
  }
  
  .hero-subtitle {
    font-size: 1.2em;
    max-width: 1100px;
  }
  
  /* Main Content */
  .main-content {
    width: 92%;
    padding: 12px 25px;
    grid-template-columns: 1fr;
  }
  
  .product-content {
    padding: 12px;
    margin-left: 8%;
    margin-right: 8%;
  }
  
  .product-title {
    font-size: 1.05em;
    margin-bottom: 22px;
  }
  
  .product-description {
    font-size: 0.9em;
    line-height: 1.5;
  }
  
  /* Sección de Productos Grid - 2 columnas */
  .productos-grid-section {
    width: 92%;
    margin: 35px auto -8px auto;
    padding: 35px 0;
    margin-top: -65px;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 1300px;
  }
  
  .producto-card {
    padding: 18px;
    min-height: 240px;
    gap: 20px;
  }
  
  .producto-imagen {
    width: 200px;
    height: 200px;
  }
  
  .producto-info {
    padding-top: 35px;
  }
  
  .producto-nombre {
    font-size: 1.0em;
  }
  
  .producto-descripcion {
    font-size: 0.78em;
  }
  
  .btn-ver-mas {
    padding: 8px 15px;
    font-size: 0.83rem;
  }
}

/* =====================================================================
   MEDIUM - Tablets paisaje (768px - 991px)
   ===================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  
  /* Hero Header */
  .hero-header {
    width: 90%;
    padding: 25px 30px;
    min-height: 18vh;
    margin: 95px auto 0 auto;
  }
  
  .brand-title {
    font-size: 1.9em;
    margin: 70px 0 10px 0;
    letter-spacing: 1.5px;
  }
  
  .hero-subtitle {
    font-size: 1.1em;
    max-width: 1000px;
  }
  
  /* Main Content */
  .main-content {
    width: 94%;
    padding: 10px 20px;
    grid-template-columns: 1fr;
  }
  
  .product-content {
    padding: 10px;
    margin-left: 3%;
    margin-right: 3%;
  }
  
  .product-title {
    font-size: 1.0em;
    margin-bottom: 20px;
    margin-top: 0;
  }
  
  .product-description {
    font-size: 0.88em;
    line-height: 1.5;
  }
  
  /* Sección de Productos Grid - 2 columnas en tablet */
  .productos-grid-section {
    width: 94%;
    margin: 30px auto -8px auto;
    padding: 30px 0;
    margin-top: -50px;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .producto-card {
    padding: 16px;
    min-height: 220px;
    gap: 18px;
  }
  
  .producto-imagen {
    width: 180px;
    height: 180px;
  }
  
  .producto-info {
    padding-top: 30px;
  }
  
  .producto-nombre {
    font-size: 0.97em;
  }
  
  .producto-descripcion {
    font-size: 0.76em;
  }
  
  .btn-ver-mas {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}

/* =====================================================================
   SMALL - Tablets retrato (576px - 767px)
   ===================================================================== */
@media (min-width: 576px) and (max-width: 767px) {
  
  /* Hero Header */
  .hero-header {
    width: 92%;
    padding: 22px 25px;
    min-height: 16vh;
    margin: 90px auto 0 auto;
    background-size: 120%;
  }
  
  .brand-title {
    font-size: 1.7em;
    margin: 60px 0 8px 0;
    letter-spacing: 1.2px;
  }
  
  .hero-subtitle {
    font-size: 1.0em;
    max-width: 900px;
    line-height: 1.3;
  }
  
  /* Main Content */
  .main-content {
    width: 95%;
    padding: 12px 18px;
    grid-template-columns: 1fr;
  }
  
  .product-content {
    padding: 12px;
    margin-left: 2%;
    margin-right: 2%;
  }
  
  .product-title {
    font-size: 0.97em;
    margin-bottom: 18px;
    margin-top: 0;
    line-height: 1.4;
  }
  
  .product-description {
    font-size: 0.86em;
    line-height: 1.5;
  }
  
  /* Sección de Productos Grid - 1 columna centrada */
  .productos-grid-section {
    width: 95%;
    margin: 25px auto -8px auto;
    padding: 25px 0;
    margin-top: -40px;
  }
  
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .producto-card {
    padding: 14px;
    min-height: auto;
    gap: 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .producto-imagen {
    width: 180px;
    height: 180px;
  }
  
  .producto-info {
    padding-top: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
  }
  
  .producto-nombre {
    font-size: 0.93em;
  }
  
  .producto-descripcion {
    font-size: 0.75em;
    line-height: 1.4;
    text-align: center;
  }
  
  .btn-ver-mas {
    padding: 7px 14px;
    font-size: 0.75rem;
    align-self: center;
  }
}

/* =====================================================================
   EXTRA SMALL - Phones (Hasta 575px)
   ===================================================================== */
@media (max-width: 575px) {
  
  /* Hero Header */
  .hero-header {
    width: 94%;
    padding: 20px 20px;
    min-height: 14vh;
    margin: 85px auto 0 auto;
    background-size: 130%;
  }
  
  .brand-title {
    font-size: 1.5em;
    margin: 50px 0 6px 0;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 0.95em;
    max-width: 800px;
    line-height: 1.3;
  }
  
  /* Main Content */
  .main-content {
    width: 96%;
    padding: 10px 15px;
    grid-template-columns: 1fr;
  }
  
  .product-content {
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .product-title {
    font-size: 0.93em;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.4;
  }
  
  .product-description {
    font-size: 0.84em;
    line-height: 1.5;
  }
  
  /* Sección de Productos Grid - 1 columna centrada */
  .productos-grid-section {
    width: 96%;
    margin: 20px auto -8px auto;
    padding: 20px 0;
    margin-top: -35px;
  }
  
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .producto-card {
    padding: 16px;
    min-height: auto;
    gap: 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .producto-imagen {
    width: 200px;
    height: 200px;
  }
  
  .producto-info {
    padding-top: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  
  .producto-nombre {
    font-size: 0.98em;
  }
  
  .producto-descripcion {
    font-size: 0.8em;
    line-height: 1.4;
    text-align: center;
  }
  
  .btn-ver-mas {
    padding: 8px 18px;
    font-size: 0.8rem;
    align-self: center;
  }
}

/* =====================================================================
   AJUSTES ADICIONALES PARA MÓVILES MUY PEQUEÑOS (Hasta 380px)
   ===================================================================== */
@media (max-width: 380px) {
  
  .hero-header {
    width: 96%;
    padding: 18px 15px;
    min-height: 12vh;
    margin: 80px auto 0 auto;
  }
  
  .brand-title {
    font-size: 1.3em;
    margin: 40px 0 5px 0;
  }
  
  .hero-subtitle {
    font-size: 0.9em;
  }
  
  .main-content {
    width: 98%;
    padding: 8px 12px;
  }
  
  .product-content {
    padding: 8px;
  }
  
  .product-title {
    font-size: 0.9em;
    margin-bottom: 14px;
  }
  
  .product-description {
    font-size: 0.82em;
  }
  
  /* Sección de Productos Grid */
  .productos-grid-section {
    width: 98%;
    margin: 18px auto -8px auto;
    padding: 18px 0;
    margin-top: -30px;
  }
  
  .productos-grid {
    gap: 12px;
    max-width: 380px;
  }
  
  .producto-card {
    padding: 14px;
    gap: 14px;
  }
  
  .producto-imagen {
    width: 180px;
    height: 180px;
  }
  
  .producto-nombre {
    font-size: 0.95em;
  }
  
  .producto-descripcion {
    font-size: 0.78em;
  }
  
  .btn-ver-mas {
    padding: 7px 16px;
    font-size: 0.78rem;
  }
}

/* =====================================================================
   FIN DE MEDIA QUERIES RESPONSIVAS - GUÍAS DE DESLIZAMIENTO
   ===================================================================== */