/* ==========================================================================
   AP Suministros Industriales - Stylesheet (index.css)
   Aesthetic: Luxury Dark B2B Industrial, High Trust, Simétrico y Elegante
   ========================================================================== */

:root {
    --primary: #1BB020;         /* Verde Esmeralda Oficial */
    --primary-dark: #0F7012;    /* Verde Oscuro Industrial */
    --primary-light: #4ADE80;   /* Verde Claro Brillante */
    --accent: #E2BA5E;          /* Oro Champaña Metalizado */
    --accent-glow: rgba(226, 186, 94, 0.2);
    --dark: #080C14;            /* Negro Grafito Absoluto */
    --dark-light: #0E1424;      /* Contenedores Oscuros */
    --light: #0B0F19;           /* Fondo de Pantalla Principal */
    --light-border: rgba(255, 255, 255, 0.05); /* Bordes Translúcidos */
    
    --text-main: #E2E8F0;       /* Gris Claro */
    --text-muted: #94A3B8;      /* Gris Muted */
    --text-light: #FFFFFF;      /* Blanco Puro */
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 25px 35px -5px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(226, 186, 94, 0.15);
    
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Lienzo de Partículas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: var(--light);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
    font-weight: 700;
}

h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}


/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 176, 32, 0.25);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background-color: #f3d078;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--dark);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.badge {
    background-color: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}

/* Header & Navigation */
/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27,176,32,0.1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    transition: var(--transition-slow);
}

.main-header.scrolled {
    background: rgba(8, 12, 20, 0.92);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(27,176,32,0.06);
    border-bottom: 1px solid rgba(27,176,32,0.22);
}

.header-container {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.main-header.scrolled .header-container {
    height: 72px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-wrapper {
    transition: var(--transition-slow);
    flex-shrink: 0;
    border-radius: 50%;
    padding: 2px;
}

.logo-container:hover .logo-wrapper {
    transform: scale(1.06) rotate(5deg);
    box-shadow: 0 0 20px rgba(27,176,32,0.4);
    background: rgba(27,176,32,0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.8px;
    line-height: 1.1;
    transition: var(--transition);
}

.logo-container:hover .brand-name {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(27,176,32,0.3);
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.brand-rif {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    margin-top: 1px;
}

/* Menú de Navegación Normal (Desktop) */
.main-nav {
    display: flex;
    gap: 2.2rem;
    transition: var(--transition);
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    padding: 0.5rem 0.2rem;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(27,176,32,0.6);
}

.main-nav a:hover {
    color: white;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Botón Hamburguesa de Menú Móvil */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle.active {
    background: rgba(27,176,32,0.12);
    border-color: var(--primary);
    color: var(--primary);
}

/* Animación del Botón Cotización en Header */
#header-cart-btn {
    position: relative;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

#header-cart-btn.has-items {
    background: var(--primary) !important;
    color: var(--dark) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(27,176,32,0.45);
    animation: pulse-cart 2s infinite alternate;
}

#header-cart-btn.has-items .badge {
    background: white !important;
    color: var(--dark) !important;
}

@keyframes pulse-cart {
    0% { transform: scale(1); box-shadow: 0 0 12px rgba(27,176,32,0.3); }
    100% { transform: scale(1.03); box-shadow: 0 0 24px rgba(27,176,32,0.6); }
}

/* ── Responsive Mobile Menu Layout ── */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 85px);
        background: rgba(13, 18, 32, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(27,176,32,0.15);
        flex-direction: column;
        align-items: center;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .main-header.scrolled .main-nav {
        top: 72px;
        height: calc(100vh - 72px);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .main-nav a::after {
        display: none; /* Eliminar subrayado en móvil */
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px 0;
    background-color: var(--light);
    background-image: radial-gradient(circle at 50% 50%, rgba(27, 176, 32, 0.05) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35; /* Resplandor sutil para que el texto resalte perfectamente */
    filter: brightness(0.55) contrast(1.1) saturate(0.85); /* Filtro técnico industrial */
    transition: opacity 0.5s ease;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8,12,20,0.5) 0%, rgba(8,12,20,0.9) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

/* ============================================================
   EXECUTIVE FLAGSHIP HERO SECTION (hero-v2-section)
   ============================================================ */
@import url('https://db.onlinewebfonts.com/c/8b75d9dcff6a48c35a46656192adf019?family=FSP+DEMO+-+PODIUM+Sharp+4.11');

.font-podium {
    font-family: "FSP DEMO - PODIUM Sharp 4.11", "Outfit", "Montserrat", "Inter", sans-serif !important;
    font-weight: 800;
}

.hero-v2-section {
    position: relative;
    width: 100%;
    margin-top: 70px;
    padding: 3rem 0 4rem 0;
    background-color: #060911;
    color: white;
    overflow: hidden;
}

.hero-v2-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(27, 176, 32, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.16) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-v2-glow-green {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(27, 176, 32, 0.2);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-v2-glow-blue {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: rgba(30, 64, 175, 0.25);
    filter: blur(140px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-v2-container {
    position: relative;
    z-index: 2;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-v2-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }
    .hero-v2-section {
        padding: 4.5rem 0 5.5rem 0;
    }
}

/* LEFT COLUMN CONTENT */
.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    background: rgba(27, 176, 32, 0.12);
    border: 1px solid rgba(27, 176, 32, 0.35);
    border-radius: 30px;
    color: #1BB020;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-v2-icon {
    font-size: 0.85rem;
}

.hero-v2-title {
    font-size: clamp(2rem, 5.2vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-v2-subtext {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-v2-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.btn-v2-emerald {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #1BB020;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(27, 176, 32, 0.4);
}

.btn-v2-emerald:hover {
    background: #158b19;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(27, 176, 32, 0.55);
}

.btn-v2-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-v2-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-v2-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-v2-stat-pill {
    display: flex;
    flex-direction: column;
    padding-right: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-v2-stat-pill:last-child {
    border-right: none;
    padding-right: 0;
}

.v2-stat-num {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: white;
    line-height: 1;
}

.v2-stat-lbl {
    font-size: 0.64rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* RIGHT COLUMN PRODUCT SHOWCASE CARD */
.hero-v2-card {
    position: relative;
    background: rgba(14, 20, 36, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(27, 176, 32, 0.2);
    border-color: rgba(27, 176, 32, 0.4);
}

.v2-card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(27, 176, 32, 0.9);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(27, 176, 32, 0.4);
}

.v2-card-img-wrap {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0e1a;
    margin-bottom: 1.2rem;
}

@media (min-width: 992px) {
    .v2-card-img-wrap { height: 280px; }
}

.v2-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.v2-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
}

.v2-card-body p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.v2-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-card-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v2-card-btn:hover {
    background: #1BB020;
    border-color: #1BB020;
    transform: scale(1.08);
}

.v2-card-counter {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

/* MOBILE RESPONSIVE MEDIA QUERIES (< 768px) */
@media (max-width: 767px) {
    .hero-v2-section {
        margin-top: 60px;
        padding: 1.8rem 0 2.5rem 0;
    }

    .hero-v2-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.05;
        margin-bottom: 1rem;
    }

    .hero-v2-subtext {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 1.5rem;
    }

    .hero-v2-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn-v2-emerald, .btn-v2-glass {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .hero-v2-stats {
        justify-content: space-between;
        padding-top: 1rem;
    }

    .hero-v2-stat-pill {
        padding-right: 0.6rem;
    }

    .v2-stat-num {
        font-size: 1.25rem;
    }

    .v2-stat-lbl {
        font-size: 0.55rem;
    }

    .v2-card-img-wrap {
        height: 200px;
    }
}

/* FADE-UP ANIMATIONS */
.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.animate-fade-up-1 {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
    opacity: 0;
}

.animate-fade-up-2 {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
    opacity: 0;
}

.animate-fade-up-3 {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
    opacity: 0;
}

.animate-fade-up-4 {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* VIDEO SWITCHER BAR */
.vg-video-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: rgba(14, 20, 36, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    margin-top: 1.8rem;
    width: fit-content;
}

.vg-switcher-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-right: 4px;
}

.vg-switcher-btn {
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vg-switcher-btn:hover {
    background: rgba(27, 176, 32, 0.2);
    border-color: #1BB020;
    color: white;
}

.vg-switcher-btn.active {
    background: #1BB020;
    border-color: #1BB020;
    color: white;
    box-shadow: 0 0 12px rgba(27, 176, 32, 0.5);
}

.ms-hero-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ms-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ms-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.ms-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

/* 1. NAVIGATION BAR */
.ms-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem;
    width: 100%;
}

@media (min-width: 640px) {
    .ms-nav { padding: 1.5rem 2rem; }
}

@media (min-width: 768px) {
    .ms-nav { padding: 1.75rem 3rem; }
}

.ms-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ms-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1BB020;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1BB020;
}

.ms-logo-title {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
}

.ms-nav-center {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ms-nav-center { display: flex; }
}

.ms-nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ms-nav-link:hover {
    color: #1BB020;
}

.ms-hamburger-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ms-hamburger-btn:hover {
    transform: scale(1.08);
    background-color: #1BB020;
}

/* 2. STATS ROW (middle section: flex-1, right-aligned) */
.ms-stats-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 1.25rem;
}

@media (min-width: 640px) {
    .ms-stats-row { padding: 2rem 2rem; }
}

@media (min-width: 768px) {
    .ms-stats-row { padding: 0 3rem; }
}

.ms-stats-container {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 640px) {
    .ms-stats-container { gap: 2rem; }
}

@media (min-width: 768px) {
    .ms-stats-container { gap: 2.5rem; }
}

.ms-stat-card {
    text-align: right;
}

.ms-stat-number {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: white;
    line-height: 1;
    letter-spacing: 0.05em;
}

.ms-plus {
    color: #1BB020;
    font-size: 0.5em;
    margin-right: 2px;
}

.ms-stat-label {
    font-size: clamp(9px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.25;
    margin-top: 0.35rem;
}

/* 3. BOTTOM SECTION */
.ms-bottom-section {
    padding: 0 1.25rem 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .ms-bottom-section { padding: 0 2rem 2.5rem 2rem; gap: 2rem; }
}

@media (min-width: 768px) {
    .ms-bottom-section { padding: 0 3rem 3rem 3rem; gap: 3rem; }
}

.ms-row-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ms-tagline {
    font-size: clamp(9px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
    max-width: 280px;
    line-height: 1.4;
}

.ms-cta-link {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #1BB020;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ms-cta-link:hover {
    transform: translateX(4px);
    color: white;
}

.ms-row-b {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.ms-desc-block {
    width: clamp(120px, 25vw, 280px);
    flex-shrink: 0;
    font-size: clamp(9px, 1.1vw, 13px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .ms-desc-block { text-align: right; }
}

.ms-heading-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ms-word-wrapper {
    overflow: hidden;
    display: block;
    line-height: 0.88;
}

.ms-word-reveal {
    display: block;
    font-size: clamp(2rem, 9vw, 9rem);
    font-weight: 600;
    line-height: 0.88;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    text-align: right;
    animation: headingSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) forwards;
    transform: translateY(110%);
    opacity: 0;
}

/* KEYFRAME ANIMATIONS */
.ms-fade-down {
    animation: fadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) forwards;
    opacity: 0;
}

.ms-fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) forwards;
    opacity: 0;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes headingSlideUp {
    from { opacity: 0; transform: translateY(110%); }
    to { opacity: 1; transform: translateY(0); }
}

/* Indicador de Scroll animado estilo Relats */
.hero-scroll-down {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
}

.hero-scroll-down:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(27,176,32,0.3);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2.2px solid currentColor;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.8s infinite ease-in-out;
}

@keyframes scroll-wheel-anim {
    0% { top: 6px; opacity: 1; height: 4px; }
    50% { top: 16px; opacity: 0; height: 8px; }
    100% { top: 6px; opacity: 1; height: 4px; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease forwards;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(27, 176, 32, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(27, 176, 32, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(110deg, #ffffff 30%, #e2ba5e 50%, #4ade80 70%, #ffffff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 7s linear infinite;
}

@keyframes textShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
}

/* MotionSites AI Split Hero 3D Stage */
.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 85vh;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.text-left {
    text-align: left;
    max-width: 580px;
}

.hero-3d-stage-wrap {
    width: 100%;
    height: 480px;
    position: relative;
}

.hero-3d-stage-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(14, 20, 36, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(27, 176, 32, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
}

.hero-canvas-container {
    position: relative;
    width: 100%;
    height: 380px;
}

.hero-3d-canvas {
    width: 100%;
    height: 100%;
    outline: none;
    cursor: grab;
}

.hero-3d-canvas:active {
    cursor: grabbing;
}

.hero-3d-hint {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(8, 12, 20, 0.7);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero-3d-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 10;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-3d-tab {
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-3d-tab:hover {
    color: var(--text-light);
    border-color: var(--accent);
    background: rgba(226, 186, 94, 0.1);
}

.hero-3d-tab.active {
    background: rgba(27, 176, 32, 0.2);
    border-color: var(--primary-light);
    color: white;
    box-shadow: 0 0 15px rgba(27, 176, 32, 0.3);
}

/* Floating Glass Badges 3D Parallax */
.hero-floating-badge {
    position: absolute;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(14, 20, 36, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 186, 94, 0.3);
    color: white;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.badge-top-left {
    top: 20px;
    left: 15px;
}

.badge-top-right {
    top: 20px;
    right: 15px;
}

.badge-bottom {
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-floating-badge i {
    color: var(--accent);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        padding-top: 80px;
        gap: 30px;
    }
    .text-left {
        text-align: center;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-3d-stage-wrap {
        height: 400px;
    }
    .hero-canvas-container {
        height: 300px;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Nosotros Section - Motion Design Opción 1: Spotlight Glassmorphism & 3D Tilt */
.nosotros-section {
    padding: 8rem 0;
    background-color: transparent;
    perspective: 1200px;
}

.grid-3 {
    perspective: 1200px;
}

.trust-card {
    position: relative;
    background: rgba(14, 20, 36, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Spotlight dynamic radial light follow */
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(400px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(27, 176, 32, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* Glowing top edge border beam */
.trust-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Bento Grid Layout (Opción 2 + Opción 3: Bento Grid Asimétrico, 3D Physics Scroll Reveal & Border Beam) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 2rem;
    perspective: 1200px;
}

.bento-card.reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
}

.bento-card:not(.reveal) {
    opacity: 1;
    transform: none;
}

.bento-card:nth-child(1) { transition-delay: 0.05s; }
.bento-card:nth-child(2) { transition-delay: 0.2s; }
.bento-card:nth-child(3) { transition-delay: 0.35s; }

.bento-hero {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-medium {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Border Beam Animation en Botón Principal de Hero */
.btn-accent {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.8), transparent 30%);
    animation: rotateBorderBeam 4s linear infinite;
    z-index: -1;
}

@keyframes rotateBorderBeam {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bento-tag {
    background: rgba(27, 176, 32, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(27, 176, 32, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bento-tag-gold {
    background: rgba(226, 186, 94, 0.12);
    color: var(--accent);
    border: 1px solid rgba(226, 186, 94, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bento-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(27, 176, 32, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(27, 176, 32, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-light);
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.bento-stat-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.bento-stat-num {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 55%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.bento-stat-prefix {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--accent);
}

.bento-stat-unit {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 6px;
}

.bento-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.bento-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: translateX(-100%);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.trust-card:hover .bento-progress-fill {
    transform: translateX(0);
}

@media (max-width: 992px) {
    .bento-hero {
        grid-column: span 12;
    }
    .bento-medium {
        grid-column: span 6;
    }
}

@media (max-width: 600px) {
    .bento-medium {
        grid-column: span 12;
    }
}

.trust-card:hover::before,
.trust-card:hover::after {
    opacity: 1;
}

.trust-card:hover {
    border-color: rgba(226, 186, 94, 0.35);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(27, 176, 32, 0.15);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(226, 186, 94, 0.12), rgba(27, 176, 32, 0.12));
    border: 1px solid rgba(226, 186, 94, 0.25);
    box-shadow: 0 0 20px rgba(226, 186, 94, 0.1);
    transform: translateZ(25px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.trust-card:hover .trust-icon {
    transform: translateZ(40px) scale(1.1);
    box-shadow: 0 0 30px rgba(226, 186, 94, 0.3);
}

.trust-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    transform: translateZ(20px);
    color: var(--text-light);
}

.trust-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    transform: translateZ(15px);
    position: relative;
    z-index: 2;
}

/* Catálogo Interactivo Section */
.catalogo-section {
    padding: 8rem 0;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.catalogo-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 1.1rem 1.1rem 1.1rem 3.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: inherit;
    font-size: 1rem;
    color: white;
    background-color: rgba(14, 20, 36, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(27, 176, 32, 0.25);
}

/* Products Grid & Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    animation: fadeIn 0.6s ease;
}

.product-card {
    background-color: rgba(14, 20, 36, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(27, 176, 32, 0.08);
    border-color: rgba(27, 176, 32, 0.15);
}

.product-img-container {
    height: 140px;
    background-color: rgba(8, 12, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.product-img-container svg {
    width: 64px;
    height: 64px;
    color: var(--primary);
    transition: var(--transition-slow);
    flex-shrink: 0;
}

.product-card:hover .product-img-container svg {
    transform: scale(1.06) translateY(-1px);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background-color: rgba(8, 12, 20, 0.85);
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 50px;
    border: 1px solid rgba(226, 186, 94, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: white;
    letter-spacing: -0.1px;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.45;
    height: 4.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-specs {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.4rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-height: 44px;
    align-content: flex-start;
}

.spec-pill {
    background-color: rgba(8, 12, 20, 0.3);
    color: var(--text-muted);
    font-size: 0.65rem;
    padding: 0.08rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.no-results p {
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   SEO CONTENT BLOCK (sección de texto rico en keywords)
   ═══════════════════════════════════════════════════ */
.seo-content-block {
    margin-top: 5rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(27, 176, 32, 0.04) 0%, rgba(27, 176, 32, 0.01) 100%);
    border: 1px solid rgba(27, 176, 32, 0.12);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.seo-content-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}
.seo-content-text h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}
.seo-content-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.seo-content-text p strong {
    color: var(--dark);
    font-weight: 600;
}
.seo-stats-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.seo-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seo-stat-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(27,176,32,0.1);
}
.seo-stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.seo-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 500;
}

/* Keywords footer bar */
.footer-keywords {
    background: rgba(27, 176, 32, 0.04);
    border-top: 1px solid rgba(27, 176, 32, 0.1);
    padding: 1rem 0;
}
.footer-seo-tags {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .seo-content-block {
        padding: 2rem 1.5rem;
    }
    .seo-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .seo-stats-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .seo-stat-item {
        flex: 1;
        min-width: 130px;
    }
}

/* ============================================================
   PANTALLA DE BIENVENIDA / WELCOME OVERLAY
   ============================================================ */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-box {
    text-align: center;
    animation: fadeInWelcome 1s ease;
}

.welcome-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 176, 32, 0.05);
    border: 1px solid rgba(27, 176, 32, 0.2);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 30px rgba(27, 176, 32, 0.15);
}

.welcome-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.welcome-sub {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 3rem;
    font-weight: 600;
}

.welcome-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(27, 176, 32, 0.1);
    transition: all 0.3s ease;
}

.welcome-btn i {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.welcome-btn:hover {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 30px rgba(27, 176, 32, 0.4);
    transform: translateY(-2px);
}

.welcome-btn:hover i {
    color: var(--dark);
    transform: rotate(90deg);
}

@keyframes fadeInWelcome {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   TARJETA DE PERSONALIZACIÓN B2B
   ============================================================ */
.b2b-personalization-card {
    background: rgba(14, 20, 30, 0.6);
    border: 1px solid rgba(27, 176, 32, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.b2b-personalization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.b2b-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .b2b-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .b2b-personalization-card {
        padding: 1.5rem;
    }
}

.b2b-info-side h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.b2b-info-side h3 i {
    color: var(--accent);
}

.b2b-info-side p {
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.b2b-form-side form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .b2b-form-side form {
        grid-template-columns: 1fr;
    }
}

.b2b-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.b2b-form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 480px) {
    .b2b-form-group.full-width {
        grid-column: span 1;
    }
}

.b2b-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.b2b-form-group input, .b2b-form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.b2b-form-group input:focus, .b2b-form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(27, 176, 32, 0.05);
    box-shadow: 0 0 15px rgba(27, 176, 32, 0.15);
}

.b2b-form-group select option {
    background-color: #0c1017;
    color: var(--white);
}

.b2b-submit-btn {
    grid-column: span 2;
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .b2b-submit-btn {
        grid-column: span 1;
    }
}

.b2b-submit-btn:hover {
    box-shadow: 0 0 25px rgba(27, 176, 32, 0.4);
    transform: translateY(-1px);
}

/* Modo Personalizado Activo */
.b2b-personalized-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .b2b-personalized-layout {
        flex-direction: column;
        align-items: flex-start;
    }
}

.b2b-personalized-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.b2b-personalized-content p {
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.7);
    line-height: 1.5;
}

.b2b-badge {
    background: rgba(27, 176, 32, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.b2b-reset-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.b2b-reset-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer styling */
.main-footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 6rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-info .logo-container {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.7);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.footer-contact-link {
    color: rgba(241, 245, 249, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background: #06090e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-slogan-light {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

.footer-slogan-bold {
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

/* Cotizador Side Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    visibility: hidden;
    transition: visibility 0.4s;
}

.cart-drawer.active {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: rgba(14, 20, 36, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    color: white;
}

.cart-drawer.active .drawer-content {
    right: 0;
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h3 {
    font-size: 1.25rem;
    color: white;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

/* Drawer Items List */
.drawer-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-svg {
    width: 55px;
    height: 55px;
    background-color: rgba(8, 12, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--primary);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: white;
}

.cart-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(8, 12, 20, 0.5);
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.qty-val-input {
    width: 65px;
    height: 26px;
    background-color: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: white;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-align: center;
    padding: 0 4px;
    transition: var(--transition);
}

.qty-val-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(27, 176, 32, 0.25);
    background-color: rgba(8, 12, 20, 0.85);
}

/* Remover las flechitas en inputs de tipo number */
.qty-val-input::-webkit-outer-spin-button,
.qty-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-val-input {
    -moz-appearance: textfield;
}


.remove-item-btn {
    background: transparent;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 50%;
}

.remove-item-btn:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Empty drawer */
.drawer-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    height: 100%;
    color: var(--text-muted);
}

.drawer-empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.05);
}

.drawer-empty-state p {
    margin-bottom: 1.5rem;
}

/* Drawer Form & Footer */
.drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    background-color: rgba(8, 12, 20, 0.8);
}

.form-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: inherit;
    font-size: 0.9rem;
    color: white;
    background-color: rgba(8, 12, 20, 0.7);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(226, 186, 94, 0.15);
}

.quote-notice {
    display: flex;
    gap: 0.5rem;
    background: rgba(226, 186, 94, 0.04);
    border: 1px solid rgba(226, 186, 94, 0.15);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    color: var(--accent);
    line-height: 1.4;
}

.quote-notice i {
    margin-top: 0.1rem;
    color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SUBPÁGINA DE PRODUCTO — Full-Screen Overlay
   ============================================================ */

.product-page {
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: var(--dark);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.product-page.open {
    transform: translateY(0);
    pointer-events: all;
}

.pp-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem 5rem;
}

/* ── Barra superior ── */
.pp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pp-back-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(27, 176, 32, 0.08);
    border: 1px solid rgba(27, 176, 32, 0.25);
    color: var(--primary);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.pp-back-btn:hover {
    background: rgba(27, 176, 32, 0.18);
    transform: translateX(-3px);
}

.pp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.pp-breadcrumb span:last-child {
    color: var(--accent);
    font-weight: 600;
}

.pp-breadcrumb i { font-size: 0.6rem; opacity: 0.5; }

/* ── Layout de dos columnas ── */
.pp-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .pp-main-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pp-inner { padding: 1rem 1.25rem 4rem; }
    .pp-topbar { flex-direction: column; align-items: flex-start; }
}

/* ── Columna Galería ── */
.pp-gallery-col {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
}

/* ── Escena Tilt 3D ── */
.pp-tilt-scene {
    perspective: 1000px;
    margin-bottom: 1rem;
}

.pp-tilt-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(14, 20, 36, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, transform 0.1s ease;
    cursor: crosshair;
    aspect-ratio: 4/3;
}

.pp-tilt-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px rgba(27,176,32,0.12);
}

.pp-hero-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.pp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    transition: opacity 0.4s ease;
}

.pp-hero-svg-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.pp-hero-svg-fallback svg {
    width: 60% !important;
    height: 60% !important;
    max-width: 240px;
    max-height: 240px;
}

.pp-tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    background: transparent;
    transition: background 0.15s ease;
    z-index: 2;
    mix-blend-mode: overlay;
}

.pp-tilt-shadow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0,0,0,0.4) 100%
    );
}

/* ── Botón Zoom ── */
.pp-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(8, 12, 20, 0.75);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.pp-zoom-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}


/* ── Thumbnails ── */
.pp-thumbnails {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.pp-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.06);
    background: rgba(14, 20, 36, 0.6);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-thumb svg {
    width: 48px !important;
    height: 48px !important;
}

.pp-thumb:hover,
.pp-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(27,176,32,0.35);
    transform: translateY(-2px);
}

/* ── Columna Info ── */
.pp-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pp-category-badge {
    background: rgba(27,176,32,0.12);
    color: var(--primary);
    border: 1px solid rgba(27,176,32,0.25);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
}

.pp-availability {
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pp-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-family: 'Playfair Display', serif;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.pp-long-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ── Highlights ── */
.pp-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}

.pp-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.pp-highlights li i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ── Specs Table ── */
.pp-specs-block {
    margin-bottom: 2rem;
}

.pp-specs-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pp-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.pp-specs-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.pp-specs-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.pp-specs-table td {
    padding: 0.6rem 0.5rem;
    vertical-align: top;
}

.pp-specs-table td:first-child {
    color: var(--text-muted);
    width: 40%;
    font-size: 0.82rem;
    padding-right: 1rem;
}

.pp-specs-table td:last-child {
    color: var(--text-light);
    font-weight: 500;
}

/* ── CTA Panel ── */
.pp-cta-panel {
    background: rgba(14,20,36,0.65);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pp-delivery-tag {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(27,176,32,0.08);
    border: 1px solid rgba(27,176,32,0.2);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    color: var(--primary-light);
}

.pp-delivery-tag i { font-size: 1rem; }

.pp-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pp-qty-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pp-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(8,12,20,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
}

.pp-qty-number {
    font-size: 1rem;
    font-weight: 700;
    width: 60px;
    text-align: center;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
}

.pp-qty-number::-webkit-outer-spin-button,
.pp-qty-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-qty-number {
    -moz-appearance: textfield;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    border: none;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba58, #0e7065);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.pp-trust-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.pp-trust-row i { color: var(--accent); margin-right: 0.3rem; }

/* ── Sección de Video ── */
.pp-video-section,
.pp-related-section {
    margin-top: 5rem;
}

.pp-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pp-section-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.pp-section-title i { color: var(--primary); }

.pp-section-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pp-video-outer {
    max-width: 900px;
    margin: 0 auto;
}

/* El estilo moderno de .pp-video-wrap y .pp-video-player se define al final del archivo */

/* ── Productos Relacionados ── */
.pp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.pp-related-card {
    background: rgba(14,20,36,0.55);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.pp-related-card:hover {
    border-color: rgba(27,176,32,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.pp-related-card-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: rgba(8,12,20,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pp-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-related-card-img svg {
    width: 52px !important;
    height: 52px !important;
}

.pp-related-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.pp-related-card-cat {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   LIGHTBOX — Visor de galería a pantalla completa
   ============================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.95);
    backdrop-filter: blur(12px);
}

.lb-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 92vw;
    max-height: 92vh;
}

.lb-img-wrap {
    position: relative;
    max-width: 80vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(14,20,36,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img-wrap img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transition: opacity 0.3s ease;
}

.lb-svg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60vw;
    height: 60vh;
    max-width: 700px;
}

.lb-svg-wrap svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 480px;
    max-height: 480px;
}

.lb-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.lb-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

.lb-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.lb-nav:hover { background: var(--primary); border-color: var(--primary); }

.lb-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8,12,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

/* Anim de entrada del pp-add-btn cuando se añade al carrito */
.pp-add-btn.added {
    background: linear-gradient(135deg, var(--accent), #c8973a);
    border-color: var(--accent);
    animation: addPulse 0.5s ease;
}

@keyframes addPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* ============================================================
   SECCIÓN VISOR 3D DE PRODUCTO
   ============================================================ */
.pp-3d-section {
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(8,12,20,0) 0%, rgba(8,12,20,0.6) 100%);
}

.pp-3d-viewer-wrap {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(27,176,32,0.2);
    box-shadow: 0 0 60px rgba(27,176,32,0.08), inset 0 0 0 1px rgba(255,255,255,0.04);
    background: #080C14;
    cursor: grab;
}

.pp-3d-viewer-wrap:active { cursor: grabbing; }

#pp-3d-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.pp-3d-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(27,176,32,0.15);
    border: 1px solid rgba(27,176,32,0.4);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .pp-3d-viewer-wrap { height: 340px; }
}

/* ============================================================
   CARRUSEL MULTIMEDIA 3D E INTEGRACIÓN DE INSTAGRAM
   ============================================================ */
.pp-video-section {
    padding: 3rem 2rem;
}

/* Contenedor del Carrusel */
.pp-media-carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px; /* Perspectiva 3D */
    padding: 1.5rem 0;
}

.pp-media-carousel {
    position: relative;
    width: 100%;
    height: 550px; /* Altura aumentada para evitar desbordes */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Tarjeta del Carrusel */
.pp-carousel-card {
    position: absolute;
    width: 540px; /* Ancho de la tarjeta activa */
    max-width: 92%;
    height: 100%;
    border-radius: 18px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Estado Activo (Centro) */
.pp-carousel-card.active {
    transform: scale(1) translate3d(0, 0, 0) rotateY(0deg);
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.5));
}

/* Estado Izquierda */
.pp-carousel-card.left {
    transform: scale(0.8) translate3d(-220px, 0, -160px) rotateY(32deg);
    opacity: 0.55;
    pointer-events: auto; /* Permitir clic para navegar */
    cursor: pointer;
    z-index: 5;
}

/* Estado Derecha */
.pp-carousel-card.right {
    transform: scale(0.8) translate3d(220px, 0, -160px) rotateY(-32deg);
    opacity: 0.55;
    pointer-events: auto; /* Permitir clic para navegar */
    cursor: pointer;
    z-index: 5;
}

/* Ocultas izquierda y derecha */
.pp-carousel-card.hidden-left {
    transform: scale(0.6) translate3d(-360px, 0, -300px) rotateY(40deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.pp-carousel-card.hidden-right {
    transform: scale(0.6) translate3d(360px, 0, -300px) rotateY(-40deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Contenedor del video dentro del carrusel */
.pp-carousel-card .pp-video-wrap {
    position: relative;
    width: 100%;
    height: calc(100% - 35px); /* Espacio para leyenda inferior */
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(27, 176, 32, 0.2);
    box-shadow: 0 0 50px rgba(27, 176, 32, 0.08);
    background: #05080F;
}

.pp-video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Overlay de video */
.pp-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(5,8,15,0.85) 0%, rgba(8,12,20,0.75) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    border-radius: 18px;
    z-index: 5;
    visibility: visible;
    opacity: 1;
}

.pp-video-wrap.playing .pp-video-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pp-video-overlay:hover .pp-play-btn {
    transform: scale(1.1);
    color: var(--primary);
}

.pp-play-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 5rem;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease;
    filter: drop-shadow(0 0 24px rgba(27,176,32,0.5));
    line-height: 1;
}

.pp-video-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.pp-video-no-src {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: rgba(255,255,255,0.25);
    font-family: 'Outfit', sans-serif;
}

.pp-video-no-src i {
    font-size: 2.8rem;
    color: rgba(27, 176, 32, 0.22);
}

.pp-video-no-src p {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Tarjeta de Post de Instagram */
.instagram-post-card {
    width: 100%;
    height: calc(100% - 35px); /* Deja espacio para la leyenda inferior */
    background: rgba(8, 14, 27, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.ig-card-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.ig-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1.5px solid var(--primary);
    padding: 1px;
}

.ig-user-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.ig-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.ig-location {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.ig-badge-icon {
    font-size: 1.15rem;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ig-card-media {
    height: 240px; /* Altura fija en desktop */
    flex: 0 0 auto;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ig-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.ig-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.ig-card-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
    text-align: left;
}

.ig-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.ig-left-actions {
    display: flex;
    gap: 14px;
}

.ig-left-actions i, .ig-action-bar > i {
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    color: rgba(255, 255, 255, 0.9);
}

.ig-left-actions i:hover, .ig-action-bar > i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.ig-icon-heart:hover {
    color: #E1306C !important;
}

.ig-likes {
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.ig-caption {
    font-size: 0.8rem;
    line-height: 1.4;
    max-height: 50px;
    overflow-y: auto;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
    padding-right: 4px;
}

.ig-caption::-webkit-scrollbar {
    width: 4px;
}
.ig-caption::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.ig-date {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ig-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 0;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s, opacity 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
}

.ig-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}

/* Tarjeta de Perfil Oficial de Instagram */
.instagram-profile-card {
    width: 100%;
    height: calc(100% - 35px);
    background: rgba(8, 14, 27, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    box-sizing: border-box;
    text-align: left;
}

.ig-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.ig-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    padding: 2px;
    flex-shrink: 0;
}

.ig-profile-top-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ig-profile-username {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.ig-follow-btn {
    display: inline-block;
    padding: 6px 20px;
    background: #0095f6;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    width: fit-content;
}

.ig-follow-btn:hover {
    background: #1877f2;
    transform: scale(1.03);
}

.ig-profile-bio {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.ig-profile-fullname {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #ffffff;
}

.ig-profile-category {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
}

.ig-profile-description {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
}

.ig-profile-link {
    font-size: 0.8rem;
    color: #e0f2fe !important;
    text-decoration: none;
    font-weight: 600;
}

.ig-profile-link:hover {
    text-decoration: underline;
}

.ig-profile-grid {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    height: 105px;
    flex-shrink: 0;
}

.ig-grid-item {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255,255,255,0.06);
}

.ig-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-profile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
    transition: transform 0.25s, opacity 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}

.ig-profile-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}

/* Controles de Navegación */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(5, 8, 15, 0.85);
    border: 1px solid rgba(27, 176, 32, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.carousel-control:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 18px var(--primary-glow);
    color: #000000;
}

.carousel-control.prev {
    left: -70px;
}

.carousel-control.next {
    right: -70px;
}

/* Indicadores de página */
.pp-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.pp-indicator {
    width: 14px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pp-indicator.active {
    background: var(--primary);
    width: 28px;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Leyenda inferior de la tarjeta */
.card-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 0.82rem;
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.3s;
}

.pp-carousel-card.active .card-caption {
    color: var(--primary);
    font-weight: 500;
}

/* Remover estilos del visor 3D que ya no se usan */
.pp-3d-section,
.pp-3d-viewer-wrap,
#pp-3d-canvas,
.pp-3d-badge { display: none !important; }

/* Responsividad */
@media (max-width: 1024px) {
    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
}

@media (max-width: 768px) {
    .pp-video-section {
        padding: 2rem 1rem;
    }
    .pp-media-carousel-container {
        padding: 0.5rem 0;
        margin: 1.5rem auto 1rem;
    }
    .pp-media-carousel {
        height: 480px; /* Incrementado de 430px a 480px en móvil */
    }
    .pp-carousel-card {
        width: 100%;
        height: 100%;
    }
    .pp-carousel-card.left {
        transform: scale(0.75) translate3d(-105px, 0, -100px) rotateY(20deg);
        opacity: 0.25;
        pointer-events: none;
    }
    .pp-carousel-card.right {
        transform: scale(0.75) translate3d(105px, 0, -100px) rotateY(-20deg);
        opacity: 0.25;
        pointer-events: none;
    }
    .pp-carousel-card.hidden-left {
        transform: scale(0.55) translate3d(-200px, 0, -200px) rotateY(20deg);
    }
    .pp-carousel-card.hidden-right {
        transform: scale(0.55) translate3d(200px, 0, -200px) rotateY(-20deg);
    }
    .carousel-control {
        width: 38px;
        height: 38px;
    }
    .ig-card-media {
        height: 185px; /* Altura ajustada para móviles */
    }
    .ig-caption {
        max-height: 40px;
    }
}

/* Clase utilitaria para ocultar elementos dinámicamente */
.hidden {
    display: none !important;
}

/* ============================================================
   MODAL SELECTOR DE ASESORES DE WHATSAPP
   ============================================================ */
.agent-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.agent-modal.open {
    opacity: 1;
    visibility: visible;
}

.agent-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.85);
    backdrop-filter: blur(8px);
}

.agent-modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: #0d1220;
    border: 1px solid rgba(27,176,32,0.22);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(27,176,32,0.08);
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2010;
}

.agent-modal.open .agent-modal-content {
    transform: translateY(0);
}

.agent-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.agent-modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.agent-modal-header h3 i {
    color: #25D366;
    filter: drop-shadow(0 0 8px rgba(37,211,102,0.4));
}

.agent-modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.agent-modal-close {
    position: absolute;
    top: -1.25rem;
    right: -1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.agent-modal-close:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: white;
}

.agent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Ficha del Asesor */
.agent-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.agent-card:hover {
    background: rgba(27,176,32,0.05);
    border-color: rgba(27,176,32,0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.agent-avatar-wrap {
    position: relative;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.agent-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Pulsación de Estado En Línea */
.agent-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-color: #25D366;
    border-radius: 50%;
    border: 2px solid #0d1220;
}

.agent-status-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-online 1.8s infinite ease-in-out;
}

@keyframes pulse-online {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.agent-info {
    flex-grow: 1;
}

.agent-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.15rem;
}

.agent-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.agent-action-icon {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.15rem;
    transition: var(--transition);
}

.agent-card:hover .agent-action-icon {
    color: var(--primary);
    transform: scale(1.15);
}

/* ============================================================
   OPTIMIZACIONES RESPONSIVAS COMPLEMENTARIAS PARA MÓVIL
   ============================================================ */
@media (max-width: 900px) {
    /* Desactivar sticky en el detalle de producto para evitar desbordes */
    .pp-gallery-col {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Ocultar el indicador de scroll en móvil para evitar solapamiento con los botones */
    .hero-scroll-down {
        display: none !important;
    }
}

@media (max-width: 576px) {
    /* Ajustes del Header para pantallas angostas (evita saltos de línea) */
    .header-container {
        padding: 0 0.75rem;
    }
    
    .logo-wrapper {
        width: 38px !important;
        height: 38px !important;
    }
    
    .brand-sub, 
    .brand-rif {
        display: none !important; /* Esconder RIF y subtítulo para ahorrar espacio */
    }
    
    .brand-name {
        font-size: 1.05rem !important;
    }
    
    /* El botón de cotización del header solo muestra icono y número en móvil */
    #header-cart-btn {
        padding: 0.55rem 0.75rem !important;
    }
    
    #header-cart-btn span:not(.badge) {
        display: none !important; /* Esconder el texto "Cotización" */
    }
    
    #header-cart-btn i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
    
    #header-cart-btn .badge {
        margin-left: 0.35rem;
    }
}

@media (max-width: 480px) {
    /* Ajustes del Selector de Asesores de WhatsApp */
    .agent-modal-content {
        padding: 1.5rem;
        max-height: 85vh; /* Asegurar que quepa en pantallas pequeñas */
        overflow-y: auto;
    }
    
    .agent-modal-header h3 {
        font-size: 1.15rem;
    }
    
    .agent-card {
        padding: 0.8rem 0.9rem;
        gap: 0.85rem;
    }
    
    .agent-avatar-wrap {
        width: 44px;
        height: 44px;
    }
    
    .agent-name {
        font-size: 0.92rem;
    }
    
    .agent-role {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   SECCIÓN DE ARTÍCULOS EDITORIALES SEO
   ========================================================================== */

.articles-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--dark-light) 100%);
    border-top: 1px solid var(--light-border);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.article-card {
    background: var(--dark-light);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.article-card:hover {
    border-color: rgba(27, 176, 32, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(27, 176, 32, 0.12);
    color: var(--primary-light);
    width: fit-content;
}

.article-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.4;
}

.article-card-header h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-header h3 a:hover {
    color: var(--primary-light);
}

.article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-body strong {
    color: var(--text-main);
    font-weight: 600;
}

.article-body h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.article-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--light-border);
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
    gap: 6px !important;
}

/* ─── Artículos: Responsive ─── */
@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .articles-section {
        padding: 50px 0;
    }

    .article-card {
        padding: 20px;
    }

    .article-card-header h3 {
        font-size: 1rem;
    }

    .article-cta {
        flex-direction: column;
    }

    .article-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ANIME.JS INTERACTIVE EFFECTS (Grid Staggering, Glass Cards & Spring Intro)
   ========================================================================== */

/* Contenedor de la Rejilla de Puntos Anime.js */
.anime-grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(15, 1fr);
    gap: 8px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1; /* Detrás de la tarjeta de producto flotante */
    opacity: 0.85;
}

/* Nodos/Puntos individuales de la rejilla */
.anime-grid-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.15;
    align-self: center;
    justify-self: center;
    transition: background-color 0.2s, opacity 0.2s;
    will-change: transform, opacity;
}

.anime-grid-dot:hover {
    background-color: var(--accent);
    opacity: 0.85;
}

/* Tarjeta Glassmorphic Flotante del Hero (Superpuesta al Grid) */
.glass-card {
    position: relative;
    z-index: 5; /* Asegura estar arriba de la rejilla */
    background: rgba(11, 15, 25, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s !important;
}

.glass-card:hover {
    border-color: rgba(34, 197, 94, 0.2) !important;
    transform: translateY(-5px) scale(1.01) !important;
}

/* Elementos preparados para Animaciones de Carga Staggered */
.anime-fade-in {
    opacity: 0;
}



/* ==========================================================================
   OPTIMIZACIONES MÓVILES Y RENDIMIENTO (RESPONSIVE & SMOOTH TOUCH)
   ========================================================================== */

.product-page {
    -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 768px) {
    .anime-grid-container {
        display: none !important; /* Desactivar partículas de fondo en móvil para máximo rendimiento de batería */
    }
    
    .pp-inner {
        padding: 1rem 1rem 4rem !important;
    }

    .pp-main-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .pp-gallery-col {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 1rem !important;
    }

    .pp-gallery-main {
        border-radius: 16px !important;
        max-height: 380px !important;
    }

    .pp-thumb {
        width: 60px !important;
        height: 60px !important;
    }
}


/* ==========================================================================
   ESTILO EDITORIAL MINIMALISTA DE ALTA GAMA (REFERENCIA GAZU & VERDE AP)
   ========================================================================== */

:root {
    --bg-editorial: #F4F4F0;
    --bg-editorial-alt: #EBEBE6;
    --dark-section: #0A0A0A;
    --dark-card: #121212;
    --brand-green: #1BB020;
    --brand-green-hover: #15803D;
    --brand-green-light: rgba(27, 176, 32, 0.12);
    --text-primary: #0A0A0A;
    --text-secondary: #525252;
    --text-light: #F8FAFC;
    --text-muted: #A3A3A3;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-editorial);
    color: var(--text-primary);
    font-family: var(--font-body);
}

/* Barra Superior de Anuncios */
.top-announcement-bar {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1001;
    position: relative;
}

.top-announcement-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Header Editorial Limpio */
.editorial-header {
    background-color: var(--bg-editorial);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.editorial-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
}

.editorial-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.editorial-logo img {
    height: 40px;
    width: auto;
}

.editorial-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.editorial-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.editorial-nav a:hover {
    color: var(--brand-green);
}

.editorial-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-gazu-emerald {
    background-color: var(--brand-green);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(27, 176, 32, 0.3);
    transition: all 0.25s ease;
}

.btn-gazu-emerald:hover {
    background-color: var(--brand-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27, 176, 32, 0.4);
}

/* HERO SECTION EDITORIAL ESTILO GAZU */
.hero-gazu-section {
    position: relative;
    background-color: var(--bg-editorial);
    padding: 4rem 0 6rem;
    overflow: hidden;
    min-height: 82vh;
    display: flex;
    align-items: center;
}

/* Marca Tipográfica Gigante en Fondo */
.gazu-giant-text {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 13vw;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(10, 10, 10, 0.9);
    white-space: nowrap;
    user-select: none;
    z-index: 1;
    pointer-events: none;
    line-height: 0.8;
}

/* Imagen de Sujeto / Producto Recortada en Frente */
.gazu-hero-subject {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transition: transform 0.4s ease;
}

.gazu-hero-subject:hover {
    transform: scale(1.03);
}

.hero-gazu-container {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.gazu-hero-left {
    z-index: 4;
}

.gazu-sub-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1.6;
}

.gazu-btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-gazu-dark {
    background-color: #000000;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-gazu-dark:hover {
    background-color: var(--brand-green);
    color: #ffffff;
}

.btn-gazu-outline {
    background-color: transparent;
    border: 1.5px solid #000000;
    color: #000000;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-gazu-outline:hover {
    background-color: #000000;
    color: #ffffff;
}

.gazu-hero-right {
    text-align: right;
    z-index: 4;
}

.gazu-collection-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 2px solid #000000;
    padding-bottom: 4px;
    display: inline-block;
}

/* SECCIÓN DE CATEGORÍAS EN NEGRO ABSOLUTO (DARK ACCENT BAR) */
.dark-categories-section {
    background-color: var(--dark-section);
    color: var(--text-light);
    padding: 3rem 0;
}

.dark-categories-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-editorial-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.category-editorial-card:hover {
    border-color: var(--brand-green);
    transform: translateY(-3px);
}

.category-thumb-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #1a1a1a;
}

.category-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.category-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.category-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* BANNER DESTACADO NUEVA LÍNEA ISO 17712 */
.gazu-season-banner {
    background-color: var(--bg-editorial-alt);
    padding: 5rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.season-grid {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.season-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #000000;
}

.season-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.season-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 480px;
}

/* BARRA DE GARANTÍAS B2B (TRUST BADGES) */
.trust-badges-bar {
    background-color: var(--bg-editorial);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.trust-badges-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--brand-green);
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.trust-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* REJILLA DE PRODUCTOS "LO MEJOR DE AP SUMINISTROS" */
.gazu-catalog-section {
    background-color: var(--bg-editorial);
    padding: 5rem 0;
}

.catalog-editorial-header {
    max-width: 1360px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.catalog-editorial-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Tarjetas de Producto Editorial Clean */
.editorial-product-grid {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.editorial-prod-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.editorial-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.prod-img-wrapper {
    position: relative;
    background-color: #f8f8f8;
    height: 280px;
    overflow: hidden;
}

.prod-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editorial-prod-card:hover .prod-img-wrapper img {
    transform: scale(1.06);
}

.prod-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.prod-info-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #000000;
}

.prod-category-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.prod-btn-quote {
    margin-top: auto;
    background-color: var(--brand-green);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.prod-btn-quote:hover {
    background-color: var(--brand-green-hover);
}

@media (max-width: 1024px) {
    .hero-gazu-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gazu-hero-right {
        text-align: center;
    }
    .gazu-giant-text {
        font-size: 20vw;
    }
    .dark-categories-container, .editorial-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-badges-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .editorial-nav { display: none; }
    .dark-categories-container, .editorial-product-grid, .trust-badges-container {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   VÍDEO DE FONDO EN EL HERO (ORIGINAL FLAGSHIP EDITION)
   ============================================================ */

.hero-v2-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b0f19;
}

.hero-v2-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
    filter: brightness(0.8) contrast(1.1);
}

.hero-v2-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.7) 0%, rgba(11, 15, 25, 0.85) 50%, rgba(11, 15, 25, 1) 100%);
    z-index: 1;
    pointer-events: none;
}


/* ============================================================
   CENTRO DEL HERO DE VÍDEO (HERO TARJETA DERECHA ELIMINADA)
   ============================================================ */

.hero-v2-grid {
    grid-template-columns: 1fr !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.hero-v2-badge {
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
}

.hero-v2-cta-group {
    justify-content: center !important;
}

.hero-v2-stats {
    justify-content: center !important;
}


/* ============================================================
   CENTRADOS DE TEXTO E ICONOS EN EL HERO
   ============================================================ */

.hero-v2-section, .hero-v2-container, .hero-v2-grid, .hero-v2-left {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-v2-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.hero-v2-subtext {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 680px !important;
}

.hero-v2-badge {
    margin: 0 auto 1.5rem !important;
    display: inline-flex !important;
    justify-content: center !important;
}

.hero-v2-cta-group {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-v2-stats {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
