/* =========================================
   VARIABLES Y SISTEMA DE DISEÑO (PREMIUM)
========================================= */
:root {
    /* Paleta de Colores Sofisticada (Dark Mode Premium) */
    --bg-main: #09090b;            /* Negro carbón muy profundo, no puro */
    --bg-surface: #121214;         /* Ligeramente más claro para tarjetas */
    --bg-surface-light: #18181b;   /* Hover o badges */
    
    /* Acentos Estratégicos */
    --accent-olive: #5b6623;       /* Un oliva más vibrante para llamados a acción */
    --accent-olive-hover: #6d7a2a; 
    --accent-glow: rgba(91, 102, 35, 0.25); /* Para brillos tras botones (Glow effect) */
    
    /* Textos (Alta legibilidad) */
    --text-primary: #f4f4f5;       /* Blanco apagado, previene fatiga visual */
    --text-secondary: #a1a1aa;     /* Gris medio para descripciones */
    --text-muted: #71717a;         /* Detalles y fechas */
    
    /* Bordes y Separadores (Micro-interacciones) */
    --border-subtle: rgba(255, 255, 255, 0.08); /* Borde glassmorphism puro */
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Tipografías */
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Geometría y Elevación */
    --container-width: 1280px;     /* Ligeramente más ancho para monitores modernos */
    --radius-sm: 6px;              /* Bordes ligeramente más redondeados (Moderno) */
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Efectos Fluidos */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Sombras Premium (Múltiples capas para profundidad natural) */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* =========================================
   ANIMACIONES AL SCROLL (INTERSECTION OBSERVER)
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateX(-40px);
}
.reveal.fade-left.active {
    transform: translateX(0);
}

.reveal.fade-right {
    transform: translateX(40px);
}
.reveal.fade-right.active {
    transform: translateX(0);
}

/* Pequeños retrasos escalonados para listas o cuadrículas */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* =========================================
   RESET Y BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base estándar */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.text-center {
    text-align: center;
}

body {
    /* Textura militar sutil */
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(91, 102, 35, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(91, 102, 35, 0.02) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.5px;
    color: #ffffff; /* Títulos un toque más brillantes que el texto primario */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.text-center { text-align: center; }
.highlight { color: var(--accent-olive); }
.max-width-text { max-width: 700px; margin: 0 auto; color: var(--text-secondary); font-size: 1.125rem; font-weight: 300; line-height: 1.7; }
.bg-darker { background-color: var(--bg-main); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.mobile-only { display: none; }

/* =========================================
   BOTONES PREMIUM
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.25rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-olive);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-olive-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* Efecto Ripple (Brillo) al pasar el mouse */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg) translateY(100%);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* =========================================
   TOAST NOTIFICATION (ALERTAS)
========================================= */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: var(--bg-surface);
    border: 1px solid var(--accent-olive);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    color: var(--accent-olive);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-olive);
    color: var(--accent-olive);
}

.btn-outline:hover {
    background: var(--accent-olive);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.5rem;
    border-radius: 50%;
}

.btn-icon:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

/* =========================================
   NAVEGACIÓN GLASSMORPHISM AVANZADO
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    /* Efecto Glassmorphism Premium */
    background: rgba(9, 9, 11, 0.7) !important; /* Forza translúcido en todas */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

/* Clase añadida vía JS al hacer scroll */
.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(9, 9, 11, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Imagen */
.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    clip-path: circle(44%);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-accent {
    color: var(--accent-olive);
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(91, 102, 35, 0.4));
}

/* ENLACES CENTRALES */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem; /* 14px - Muy elegante */
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent !important; /* Reescribe estilos en-línea viejos */
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.nav-links a.active {
    color: var(--accent-olive);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-olive);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Menú Hamburguesa (Para móviles) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/img/fondos/hero_militar.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-main) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 0 2rem;
    margin-top: 4rem; /* Compensar la barra */
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(4px);
    color: var(--text-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.badge i {
    color: var(--accent-olive);
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-size: 6rem; /* Aún más grande y dramático */
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    line-height: 0.95;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* =========================================
   CINTAS DE CONFIANZA
========================================= */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-item {
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    border-right: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.trust-item:hover {
    background: var(--bg-surface);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item i {
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    transition: var(--transition-smooth);
}

.trust-item:hover i {
    color: var(--accent-olive);
    transform: scale(1.1);
}

.trust-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================
   CATÁLOGO TÉCNICO Y FILTROS (GRID PRECIO/CATEGORIA)
========================================= */
.catalog-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.filters-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkbox-label:hover {
    color: var(--text-primary);
}

.checkbox-label input {
    accent-color: var(--accent-olive);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-hover);
    color: white;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.products {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 6rem 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    background: var(--bg-surface-light);
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background-color: var(--bg-main); /* Fallback */
}

/* Overlay gradient sutil para la imagen */
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 40%);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08); /* Zoom más suave */
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-olive);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.product-info {
    padding: 1.5rem 1.5rem 1.75rem;
}

.product-info .category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 1.4rem;
    margin: 0.5rem 0;
    color: var(--text-primary);
    text-transform: none; /* Mejor lectura para nombres de productos largos */
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0;
}

.product-info .specs {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 300;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-footer .price {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    font-family: var(--font-heading); /* Precio más impactante */
    letter-spacing: 1px;
}

/* Botón de carrito micro-interacción */
.product-footer .btn-primary {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   CATEGORÍAS DE PRODUCTOS
========================================= */
.bg-darker {
    background-color: #050505;
}

.categories {
    padding-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: var(--transition);
}

.category-overlay h3 {
    font-size: 1.6rem;
    color: white;
    margin: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(75, 83, 32, 0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.category-card:hover .category-overlay h3 {
    transform: translateY(0);
}

/* =========================================
   SECCIÓN FUERZAS
========================================= */
.forces {
    background: var(--bg-surface);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.forces-content {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.forces-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.forces-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    color: var(--text-primary);
}

.features-list i {
    color: var(--accent-olive);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.forces-image {
    position: relative;
    overflow: hidden;
}

.forces-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inset 0 0 50px rgba(0,0,0,0.5); /* Sombra interior */
    pointer-events: none;
}

.forces-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   CONTACTO Y FORMULARIOS / NOSOTROS
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    height: 550px;
    box-shadow: var(--shadow-lg);
}

/* Overlay para suavizar imagen nosotros */
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(75, 83, 32, 0.2) 0%, transparent 100%);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.value-item:hover {
    background: var(--bg-surface-light);
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.value-item i {
    color: var(--accent-olive);
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 28px;
    height: 28px;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: white;
}

.value-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* =========================================
   SECCIÓN FUERZAS / ENTIDADES
========================================= */
.forces {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto 6rem;
    padding: 2rem;
}

/* Alternar orden en cada sección para ritmo visual */
.forces:nth-child(even) {
    direction: rtl;
}

.forces:nth-child(even) .forces-content {
    direction: ltr;
}

.forces-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.forces-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.features-list i {
    color: var(--accent-olive);
    width: 20px;
}

.forces-image .image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

.forces-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.forces-image:hover img {
    transform: scale(1.05);
}

/* =========================================
   CONTACTO Y FORMULARIOS
========================================= */
.contact {
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-methods .method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    color: #e4e4e7;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.contact-methods i {
    color: var(--accent-olive);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .half {
    flex: 1;
}

label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

input, textarea {
    background: var(--bg-main);
    border: 1px solid var(--border-hover);
    padding: 1rem 1.25rem;
    color: white;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-olive);
    box-shadow: 0 0 0 3px rgba(91, 102, 35, 0.2);
    background: rgba(255,255,255,0.02);
}

::placeholder {
    color: var(--text-muted);
}

/* =========================================
   BREADCRUMBS
========================================= */
.breadcrumbs {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--accent-olive);
}

.breadcrumbs i {
    width: 14px;
    height: 14px;
}

.breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* =========================================
   PÁGINA DETALLE PRODUCTO (PDP)
========================================= */
.pdp-section {
    padding: 2rem 2rem 6rem;
}

.pdp-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que la prenda completa se vea bien */
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    background: var(--bg-surface);
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--accent-olive);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-info {
    display: flex;
    flex-direction: column;
}

.pdp-badge {
    font-size: 0.75rem;
    color: var(--accent-olive);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pdp-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    line-height: 1.1;
}

.pdp-reviews {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stars {
    display: flex;
    color: #444; /* Estrellas vacias */
}

.stars .filled {
    color: #ffd700;
    fill: #ffd700;
}

.stars i { width: 16px; height: 16px; }

.pdp-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pdp-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pdp-variants h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.color-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.color-btn.active {
    border-color: white;
    box-shadow: 0 0 0 2px var(--accent-olive);
}

.pdp-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover { background: rgba(255,255,255,0.05); }

.quantity-selector input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    font-weight: 600;
    padding: 0;
    box-shadow: none;
}

.btn-add {
    flex: 1; /* Ocupa el espacio restante */
    font-size: 1.25rem;
}

.pdp-trust {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pdp-trust div { display: flex; align-items: center; gap: 0.8rem; }
.pdp-trust i { color: var(--accent-olive); width: 18px; }

.pdp-accordion {
    border-top: 1px solid var(--border-subtle);
}

.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.accordion-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-content strong { color: white; }

/* =========================================
   VENTA CRUZADA / PRODUCTOS RELACIONADOS (PDP)
========================================= */
.related-products {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem 6rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.related-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

/* =========================================
   TESTIMONIOS / PRUEBA SOCIAL
========================================= */
.testimonials {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Decoración abstracta de fondo */
.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 102, 35, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--border-hover);
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-olive);
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
    color: white;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--accent-olive);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: #000000;
    padding: 5rem 2rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

/* Decoración militar sutil en footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-olive), transparent);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1rem auto 0;
    max-width: 300px;
    text-align: center;
}

/* Ocultar el círculo blanco del logo en el footer y agrandarlo */
.footer-brand .logo-img {
    height: 150px;
    margin: 0 auto;
    display: block;
    clip-path: circle(44%);
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

/* Columna de Contacto Footer */
.footer-contact-col h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-list i {
    width: 18px;
    height: 18px;
    color: var(--accent-olive);
    flex-shrink: 0;
    margin-top: 2px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: white;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-subtle);
}

.social-icons a:hover {
    background: var(--accent-olive);
    border-color: var(--accent-olive);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icons a:hover svg {
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   VARIANTES Y TALLES (PDP)
========================================= */
.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: bottom;
    margin-bottom: 0.8rem;
}

.variant-header h4 {
    margin-bottom: 0;
}

.size-guide {
    font-size: 0.85rem;
    color: var(--accent-olive);
    text-decoration: underline;
    font-weight: 500;
}

.size-options {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.size-btn {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.size-btn:hover:not([disabled]) {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

.size-btn.active {
    background: white;
    color: black;
    border-color: white;
}

.size-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* =========================================
   CARRITO LATERAL (DRAWER)
========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Oculto derecho */
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1020;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 1px solid var(--border-subtle);
}

.cart-drawer.active {
    right: 0; /* Desplegado */
}

.cart-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.cart-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-cart:hover {
    color: white;
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hover);
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: none;
    margin-bottom: 0.3rem;
}

.item-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.8rem;
}

.item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 0.2rem;
}

.item-qty button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-qty span {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.remove-item:hover {
    color: #ef4444; /* Rojo error */
}

.cart-footer {
    padding: 2rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE & MOBILE MENU)
========================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 5rem; }
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 992px) {
    .forces {
        grid-template-columns: 1fr;
    }
    
    .forces-image {
        min-height: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    .catalog-container {
        grid-template-columns: 1fr;
        padding-top: 3rem;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {
    /* MENÚ MÓVIL */
    .mobile-menu-btn {
        display: block; /* Muestra el botón hamburguesa */
        z-index: 1001;
    }

    .nav-actions .btn-outline {
        display: none; /* Oculta botón mayorista en móvil para ganar espacio */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto fuera de pantalla */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 4rem 2rem;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-left: 1px solid var(--border-subtle);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        z-index: 999;
    }

    .nav-links.active {
        right: 0; /* Despliega el menú */
    }

    .nav-links a {
        font-size: 1.25rem;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-subtle) !important; /* Separadores */
    }
    
    .mobile-only {
        display: block;
        width: 100%;
    }
    
    /* FIN MENÚ MÓVIL */

    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    h2, .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    h3, .product-info h3, .category-overlay h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .trust-bar {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        justify-content: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1rem auto;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
    
    /* PDP MOBILE */
    .pdp-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pdp-section {
        padding: 1rem 1rem 4rem;
    }
    
    .pdp-title {
        font-size: 2.2rem;
    }
    
    .main-image {
        height: 350px;
    }
    
    .thumbnail-list {
        gap: 0.5rem;
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .pdp-actions {
        flex-direction: column;
    }
    
    .btn-add {
        width: 100%;
    }

    /* TESTIMONIALS SLIDER (MOBILE) */
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding: 1rem 1.5rem 2rem;
        margin-left: -1rem; /* Ajuste para que el scroll llegue al borde */
        margin-right: -1rem;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* FORCES RESPONSIVE FIX */
    .forces {
        padding: 3rem 1.25rem;
        gap: 2rem;
    }

    .forces-content h2 {
        font-size: 2.8rem; /* Un poco más pequeño para mobile */
    }
}
