/* 
    GRUPO DEWILL - DESIGN SYSTEM
    Premium Industrial Aesthetics
*/

:root {
    /* === LIGHT THEME - Rojo & Azul Creativo === */
    --primary: #e60000; /* Rojo potente */
    --primary-dark: #cc0000; /* Rojo profundo */
    --primary-light: #ffe5e7; /* Rojo suave para fondos */
    --secondary: #081c3b; /* Azul corporativo */
    --secondary-light: #112c5b; /* Azul suave para fondos */
    --accent: #081c3b;
    --success: #059669;
    --danger: #dc2626;
    
    /* Fondos Claros Elegantes */
    --bg-dark: #ffffff; /* Fondo principal blanco */
    --bg-surface: #f8f9fc; /* Tarjetas y superficies */
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-section-alt: #f0f3f8; /* Secciones alternas */
    
    --text-main: #1a1d26; /* Texto principal oscuro */
    --text-muted: #5a6478; /* Texto secundario */
    --text-on-primary: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 20px rgba(217, 32, 39, 0.15), 0 4px 30px rgba(26, 86, 219, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    background-image: url('../assets/watermark.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== TOP HEADER ========== */
.top-header {
    background-color: var(--secondary);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.top-header-info {
    display: flex;
    gap: 0.8rem;
}
.top-header-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.top-header-social {
    display: flex;
    gap: 1rem;
}
.top-header-social a {
    color: white;
}
.top-header-social a:hover {
    color: var(--primary);
}

/* ========== NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.logo-img {
    height: 50px; /* Tamaño optimizado para la cabecera */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 0.8rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(217, 32, 39, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(217, 32, 39, 0.5);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ========== BUSCADOR NAVBAR ========== */
.nav-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.5rem;
    transition: var(--transition);
}

.nav-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(217, 32, 39, 0.15);
}

.nav-search input {
    border: none;
    background: transparent;
    padding: 0.3rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    color: var(--text-main);
    width: 150px;
    transition: var(--transition);
}

.nav-search input:focus {
    width: 220px;
}

.nav-search button {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-search button:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cart {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-body);
    font-weight: 700;
}

.btn-admin {
    background: var(--bg-surface);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition);
    cursor: pointer;
}

.btn-admin:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(45deg);
}

.btn-cart:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.cart-badge {
    background: var(--primary);
    color: var(--text-on-primary);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay m\u00ednimo solo para suavizar bordes */
    background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(217, 32, 39, 0.1);
    border: 1px solid rgba(217, 32, 39, 0.2);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-on-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(217, 32, 39, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 32, 39, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* ========== HERO STATIC ========== */
.hero-static {
    background-color: #ffffff;
    background-image: radial-gradient(rgba(8, 28, 59, 0.06) 2px, transparent 2px);
    background-size: 35px 35px;
    position: relative;
    overflow: hidden;
}
.hero-static-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 4%;
}
.hero-static-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -1%;
    width: 15px;
    height: 120%;
    background: var(--primary);
    transform: skewX(-20deg);
    z-index: 1;
}
.hero-content {
    flex: 1.1;
    padding: 3.5rem 2rem 3.5rem 4rem;
    z-index: 2;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-content h1 {
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    color: var(--secondary);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.hero-content h1 span {
    color: var(--primary);
}
.hero-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.65;
}
.hero-features {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    max-width: 90px;
    gap: 0.3rem;
}
.feature i {
    font-size: 1.8rem;
    color: var(--secondary);
    background: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* ========== 20 YEARS BADGE ========== */
.hero-badge-20y {
    position: absolute;
    top: 1rem;
    right: 40%;
    z-index: 10;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.18));
}

.badge-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 154px;
    height: 154px;
    z-index: 1;
    background-image: url('../assets/badge-bg.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.badge-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 124px;
    height: 124px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #0A1931;
    box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 5px #0A1931;
    padding: 0;
}

.badge-ribbon {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 35px;
    background: #D90000;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
    filter: drop-shadow(0 4px 6px rgba(180,0,0,0.3));
}

.badge-top {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0A1931;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    margin-top: 4px;
}
.badge-bot {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0A1931;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.badge-mid {
    font-size: 2.8rem;
    font-weight: 900;
    color: #D90000;
    line-height: 0.85;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.badge-mid2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #D90000;
    line-height: 0.9;
    margin: 0 0 2px 0;
    letter-spacing: -0.5px;
}

.badge-stars {
    color: #D90000;
    font-size: 0.5rem;
    margin-top: 3px;
    display: flex;
    gap: 2px;
}

/* ========== HERO BRANDS BOX ========== */
.hero-brands-box {
    background: linear-gradient(135deg, #071526 0%, #0d2348 100%);
    border-radius: var(--radius-md);
    padding: 1.6rem 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 8px 32px rgba(8,28,59,0.35);
    border: 1px solid rgba(255,255,255,0.06);
}

.hero-brands-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
}

.hero-brands-title::before, .hero-brands-title::after {
    content: '';
    height: 2px;
    flex: 1;
    max-width: 50px;
    background: #D90000;
    border-radius: 2px;
}

.hero-brands-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1.2rem;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    height: 68px;
    transition: transform 0.25s ease;
}
.brand-item:hover {
    transform: scale(1.08);
}

/* ANYPSA */
.logo-anypsa {
    font-family: 'Arial Black', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
}
.logo-anypsa svg {
    margin-bottom: -4px;
    width: 52px;
    height: 34px;
}

/* AMERICAN COLORS */
.logo-american {
    background: #111111;
    padding: 0.4rem 0.6rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-width: 60px;
    color: white;
}
.am-icon {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
    color: white;
}
.am-text {
    font-family: 'Arial', sans-serif;
    font-size: 0.42rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.85);
}

/* Ceresita */
.logo-ceresita .cer-border {
    border: 3px solid #E8A800;
    border-radius: 8px;
    border-top-right-radius: 22px;
    border-bottom-left-radius: 22px;
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, #0a1d3e, #0d2348);
    display: flex;
    align-items: center;
}
.logo-ceresita span {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.7rem;
    color: white;
    letter-spacing: -0.5px;
}

/* CPP */
.logo-cpp {
    background: #D90000;
    color: white;
    font-family: 'Arial', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 2rem;
    padding: 0.2rem 0.9rem;
    border-radius: 3px;
    height: auto;
    letter-spacing: -1px;
    box-shadow: 0 2px 8px rgba(217,0,0,0.4);
}

/* TEKNO */
.logo-tekno {
    font-family: 'Arial Black', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    color: white;
}
.tekno-k {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 28px;
    margin: 0 2px;
}
.k-bar {
    position: absolute; left: 0; top: 0; width: 7px; height: 100%; background: white;
}
.k-arm1 {
    position: absolute; left: 5px; top: 0; width: 7px; height: 17px; background: #D90000; transform: rotate(45deg); transform-origin: bottom left; border-radius: 1px;
}
.k-arm2 {
    position: absolute; left: 5px; bottom: 0; width: 7px; height: 17px; background: #FFC107; transform: rotate(-45deg); transform-origin: top left; border-radius: 1px;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-image {
    flex: 1;
    position: relative;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 580px;
    overflow: visible;
}
.hero-image::before {
    display: none;
}
.hero-image::after {
    content: '';
    position: absolute;
    top: -50%;
    bottom: -50%;
    left: 60%;
    right: -100vw;
    background: linear-gradient(135deg, #021847 0%, #0b2559 100%);
    z-index: 1;
    box-shadow: -15px 0 30px rgba(2, 24, 71, 0.2);
}
.hero-bg-shapes {
    display: none;
}
.hero-image img {
    position: relative;
    z-index: 2;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    transform: translateX(-20%);
    filter: drop-shadow(-15px 15px 25px rgba(0, 0, 0, 0.35));
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.stat-suffix {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CARDS (GLASSMORPH) ========== */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    border-color: rgba(217, 32, 39, 0.2);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ========== ABOUT NEW ========== */
.about-new-section {
    padding: 6rem 0 0 0;
    background: #ffffff;
}
.about-new-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-new-content {
    padding-right: 2rem;
}
.about-new-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}
.about-new-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.about-new-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.about-new-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.about-new-card {
    display: flex;
    gap: 1rem;
    background: #f8f9fc;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}
.about-new-card i {
    font-size: 2rem;
    color: var(--secondary);
}
.about-new-card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.about-new-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.about-new-image {
    position: relative;
}
.about-new-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.about-stats-bar {
    background: var(--secondary);
    color: white;
    padding: 2rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    width: 80%;
}
.about-stats-container {
    display: flex;
    justify-content: space-around;
}
.about-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.about-stat-item i {
    color: var(--primary);
    font-size: 2.5rem;
}
.about-stat-info strong {
    display: block;
    font-size: 1.25rem;
}
.about-stat-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* ========== PRODUCTS ========== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(217, 32, 39, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 32, 39, 0.15);
}

.product-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-section-alt);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(5px);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

.btn-add {
    flex-grow: 1;
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

/* ========== WHY US ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.why-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.05;
    color: var(--primary);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ========== QUOTE PANEL ========== */
.quote-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.quote-panel.open {
    transform: translateX(-400px);
}

.quote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quote-overlay.open {
    opacity: 1;
    visibility: visible;
}

.quote-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.quote-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.quote-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.quote-item-info {
    flex-grow: 1;
}

.quote-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.quote-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    color: var(--primary);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.qty-val {
    padding: 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
    color: var(--text-main);
}

/* Interactive Notice Bubble for Cart */
@keyframes bounceAlert {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

#btnCart.has-items-alert::after {
    content: '¡Cotizaciones pendientes!';
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 100;
    animation: bounceAlert 2s infinite;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

#btnCart.has-items-alert::before {
    content: '';
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--primary) transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 100;
    animation: bounceAlert 2s infinite;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger);
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-remove:hover {
    opacity: 1;
    transform: scale(1.1);
}

.quote-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-container {
    background: var(--bg-surface);
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
}

.modal-content {
    display: flex;
    width: 100%;
}

.modal-image-section {
    flex: 1;
    background: #000;
}

.modal-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-section {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
}

/* ========== WHATSAPP WIDGET & FLOAT ========== */
.wa-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.wa-widget-card {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-widget-card.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-widget-header {
    background: linear-gradient(135deg, #20b954, #128c7e);
    padding: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.wa-widget-header-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.wa-widget-header-text h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.wa-widget-header-text p {
    margin: 4px 0 0;
    font-size: 0.75rem;
    line-height: 1.3;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.wa-widget-body {
    padding: 1.25rem;
    background: #ffffff;
    text-align: left;
}

.wa-widget-status {
    font-size: 0.75rem;
    color: #666666;
    margin: 0 0 1rem;
}

.wa-agent-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 3px solid #25d366;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.wa-agent-card:last-child {
    margin-bottom: 0;
}

.wa-agent-card:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
    border-left-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.wa-agent-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #b30006; /* Red company color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.wa-agent-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
}

.wa-agent-action {
    color: #25d366;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.wa-agent-card:hover .wa-agent-action {
    color: #128c7e;
    transform: scale(1.1);
}

/* ========== CERTIFICATIONS ========== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(217, 32, 39, 0.2);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(217,32,39,0.1) 0%, rgba(26,86,219,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.cert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.cert-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--secondary);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23fff"/></svg>') center/cover;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.2fr 1.2fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.contact-item i {
    margin-top: 4px;
    color: white;
}

.contact-item span {
    line-height: 1.4;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-height: 55px !important;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: translateY(-2px);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #ffffff;
}

.social-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(217, 32, 39, 0.4);
}

.footer-links-group h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links-group a {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links-group a:hover {
    color: #ffffff;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ========== PAGE HERO (Products Page) ========== */
.page-hero {
    position: relative;
    padding: 10rem 0 5rem;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-hero-bg .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-hero-bg .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 30%, var(--bg-dark) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* ========== PRODUCT SEARCH ========== */
.product-search-bar {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.product-search-bar i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.product-search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.product-search-bar input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.product-search-bar input::placeholder {
    color: var(--text-muted);
}

/* ========== PRODUCTS COUNT ========== */
.products-count {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.products-count strong {
    color: var(--primary);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 3rem 0 6rem;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
}

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-muted);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3000;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--primary);
    font-size: 1.2rem;
}

.toast-info i {
    color: var(--primary);
}

/* ========== SCROLL INDICATOR ========== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ========== STAT DIVIDER ========== */
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* ========== QUOTE EMPTY STATE ========== */
.quote-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.quote-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.quote-empty p {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* ========== QUOTE TOTAL ========== */
.quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========== BTN OUTLINE DANGER ========== */
.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

/* ========== CONTACT GRID ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.btn-whatsapp-sm, .btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-whatsapp-sm {
    background: #25d366;
    color: white;
}

.btn-whatsapp-sm:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-outline-sm {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-sm:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

/* ========== MODAL EXTRA STYLES ========== */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
}

.modal-category {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-specs ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.modal-specs ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-specs h4, .modal-documents h4 {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-info-section {
    overflow-y: auto;
}

/* ========== HAMBURGER ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* ========== RESPONSIVE & MOBILE MENU ========== */
@media (max-width: 1024px) {
    .nav-search input { width: 120px; }
    .hero-title { font-size: 3rem; }
    .about-new-grid { gap: 2rem; }
    .hero-static-container { min-height: 400px; }
}

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .cart-label { display: none; }
    
    .hero-badge-20y { 
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 1rem;
    }
    
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #ffffff; 
        padding: 1.5rem; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        gap: 1rem;
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 999;
    }
    
    .nav-links.active { display: flex; }
    .nav-link::after { display: none; }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .modal-container { flex-direction: column; }
    .modal-image-section { min-height: 300px; }
    .modal-info-section { padding: 2rem; }
    .cta-box { flex-direction: column; text-align: center; }
    
    .hero-static-container { flex-direction: column; text-align: center; padding-top: 2rem;}
    .hero-content { padding: 2rem; }
    .hero-features { justify-content: center; }
    .hero-image { clip-path: none; min-height: 300px; width: 100%; border-radius: var(--radius-lg); margin-top: 2rem; }
    .about-new-grid { grid-template-columns: 1fr; }
    .about-new-content { padding-right: 0; text-align: center; }
    .about-stats-bar { width: 100%; margin-top: 2rem; border-radius: var(--radius-lg); }
    .about-stats-container { flex-wrap: wrap; gap: 0.8rem; }
    .section { padding: 4rem 0; }
}

@media (max-width: 768px) {
    .top-header-info span:not(:first-child) { display: none; }
    .top-header-container { justify-content: center; gap: 1rem; flex-wrap: wrap;}
    .hero-title, .hero-content h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 0.8rem; align-items: center; border-top: none; }
    .stat-divider { width: 100%; height: 1px; }
    .why-grid, .contact-grid, .products-grid { grid-template-columns: 1fr; }
    /* Buscador global visible en móvil: barra de ancho completo en una 2da fila del navbar */
    .nav-container { flex-wrap: wrap; row-gap: 0.7rem; }
    .nav-search { display: flex; width: 100%; }
    .nav-search-container { order: 10; flex-basis: 100%; width: 100%; margin-right: 0 !important; }
    .nav-search input,
    .nav-search input:focus { width: 100%; flex: 1; }
    .search-results-dropdown { width: 100% !important; }
    /* Acciones (carrito, engranaje, menú) agrupadas a la derecha; logo más compacto para caber en una fila */
    .logo-img { height: 40px; }
    .nav-actions { margin-left: auto; gap: 0.6rem; }
    /* Ocultar el globo flotante de cotizaciones en móvil para que no tape el buscador */
    #btnCart.has-items-alert::after,
    #btnCart.has-items-alert::before { display: none; }
    .about-stat-item { width: 100%; justify-content: center; }
    .section-title { font-size: 2rem; }
    
    .hero-badge-20y { 
        position: relative;
        top: auto;
        right: auto;
        width: 120px;
        height: 130px;
        margin: 0 auto 1rem;
    }
    .badge-sun { width: 110px; height: 110px; }
    .badge-inner { width: 90px; height: 90px; padding: 5px; }
    .badge-mid { font-size: 1.6rem; }
    .badge-top, .badge-bot { font-size: 0.55rem; }
    .badge-ribbon { width: 50px; height: 50px; }
    
    .hero-features { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 0.8rem; 
        justify-content: center; 
        margin-bottom: 1.5rem;
    }
    .feature { max-width: 100%; }
}

@media (max-width: 480px) {
    .quote-panel { width: 100%; right: -100%; }
    .quote-panel.open { transform: translateX(-100%); }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .page-hero { padding: 8rem 0 3rem; }
    .modal-actions { flex-direction: column; }
    .cert-grid { grid-template-columns: 1fr; }
    .wa-widget-card { width: calc(100vw - 2rem); right: -1rem; }
    
    .hero-content { padding: 1.5rem 1rem; }
    .hero-content h1 { 
        font-size: 1.8rem; 
        word-wrap: break-word; 
        hyphens: auto; 
    }
}

/* ========== CLIENT INFO FORM ========== */
.client-info-form {
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.client-info-form h4 {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
}

.form-input::placeholder {
    color: #6c757d;
}

.btn-outline-secondary {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.quote-body::-webkit-scrollbar {
    width: 5px;
}

.quote-body::-webkit-scrollbar-track {
    background: transparent;
}

.quote-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff; /* Añadido para mezclar bordes si el banner es muy alto */
}

.hero-carousel {
    position: relative;
    width: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.carousel-slide:first-child {
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    border-color: white;
}

.hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #021847 0%, #0b2559 100%);
}

.fallback-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ========================================================
   FIXES PARA SECCIONES DESCONFIGURADAS
   Marcas, Productos, Ambientes, Blog, Contacto
======================================================== */

/* ====== 1. MARCAS (Representaciones) ====== */
.brands-section { padding: 4rem 0; background: var(--bg-surface); }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}
.brand-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.brand-card img { max-height: 80px; filter: grayscale(100%) opacity(0.8); transition: var(--transition); }
.brand-card:hover img { filter: grayscale(0%) opacity(1); }
.brand-name-text { font-family: var(--font-heading); font-weight: 700; color: var(--secondary); font-size: 1.2rem; }

/* ====== 2. PRODUCTOS ====== */
.page-hero-products {
    position: relative;
    padding: 6rem 0; /* A bit more padding to show off the image */
    text-align: center;
    background: #f4f6f9;
    color: var(--secondary);
    overflow: hidden;
}
.page-hero-products .page-hero-bg { position: absolute; inset: 0; z-index: 1; }
.page-hero-products .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.page-hero-products .hero-overlay { display: none; }
.page-hero-products .page-hero-content { position: relative; z-index: 2; }
.page-hero-title-products { font-size: 3.5rem; margin-bottom: 0.5rem; font-family: var(--font-heading); color: var(--secondary); font-weight: 800; }
.page-hero-subtitle-products { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }

.products-breadcrumb {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.products-breadcrumb a { color: var(--text-muted); font-weight: 500; }
.products-breadcrumb a:hover { color: var(--primary); }
.products-breadcrumb i { margin: 0 0.5rem; color: #ccc; font-size: 0.8rem; }
.products-breadcrumb span { color: var(--secondary); font-weight: 600; }

.products-main-section { padding: 3rem 0 5rem; background: var(--bg-surface); }
.products-layout { display: flex; gap: 2rem; align-items: flex-start; }
@media (max-width: 992px) { .products-layout { flex-direction: column; } }

.products-sidebar { width: 240px; flex-shrink: 0; }
@media (max-width: 992px) { .products-sidebar { width: 100%; } }

.sidebar-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}
.sidebar-box-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sidebar-filter-scroll { max-height: 250px; overflow-y: auto; padding-right: 0.5rem; }
.filter-checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.filter-checkbox-label:hover { color: var(--secondary); }
.filter-checkbox-label input { display: none; }
.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.custom-checkbox i { font-size: 0.7rem; color: white; opacity: 0; transition: var(--transition); }
.filter-checkbox-label input:checked + .custom-checkbox { background: var(--primary); border-color: var(--primary); }
.filter-checkbox-label input:checked + .custom-checkbox i { opacity: 1; }
.filter-text { flex: 1; }
.cat-count { background: var(--bg-surface); padding: 0.1rem 0.4rem; border-radius: 12px; font-size: 0.75rem; color: var(--text-muted); }

.products-main-content { flex: 1; width: 100%; }
.products-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
}
.product-card-new {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.product-card-new:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(217,32,39,0.2); }
.product-card-img-wrap { position: relative; height: 200px; background: #f8fafc; padding: 1rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card-img-wrap a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-card-img-wrap img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: var(--transition); }
.product-card-new:hover .product-card-img-wrap img { transform: scale(1.05); }
.product-line-tag { position: absolute; top: 1rem; right: 1rem; background: var(--secondary); color: white; font-size: 0.7rem; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-weight: 600; text-transform: uppercase; }
.product-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card-category { font-size: 0.75rem; color: var(--primary); font-weight: 700; margin-bottom: 0.25rem; letter-spacing: 0.5px; }
.product-card-name { font-size: 1.15rem; font-family: var(--font-heading); color: var(--secondary); margin-bottom: 0.25rem; line-height: 1.3; }
.product-card-name a { color: inherit; }
.product-card-brand { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 500; }
.product-card-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; line-height: 1.5; }
.product-card-actions { display: flex; gap: 0.25rem; margin-top: auto; }
.btn-ver-detalle { flex: 1; background: transparent; border: 1px solid var(--secondary); color: var(--secondary); text-align: center; padding: 0.5rem 0.25rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 700; transition: var(--transition); letter-spacing: -0.2px; }
.btn-ver-detalle:hover { background: var(--secondary); color: white; }
.btn-cotizar-card { flex: 1; background: var(--primary); border: none; color: white; padding: 0.5rem 0.25rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: var(--transition); letter-spacing: -0.2px; }
.btn-cotizar-card:hover { background: var(--primary-dark); box-shadow: 0 4px 10px rgba(217,32,39,0.3); transform: translateY(-2px); }

.product-card-colors { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.product-color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
.product-more-colors { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; line-height: 16px; margin-left: 0.25rem; }
.product-card-presentations { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1rem; }
.pres-chip { font-size: 0.7rem; background: var(--bg-surface); border: 1px solid rgba(0,0,0,0.05); padding: 0.15rem 0.4rem; border-radius: 4px; color: var(--text-muted); }

.pagination-new { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-btn-new { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm); color: var(--secondary); font-weight: 600; transition: var(--transition); }
.page-btn-new:hover, .page-btn-new.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 10px rgba(217,32,39,0.2); }
.page-ellipsis { display: flex; align-items: center; justify-content: center; width: 40px; color: var(--text-muted); }

/* ====== 3. AMBIENTES ====== */
.page-hero { position: relative; padding: 6rem 0; text-align: center; color: white; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,28,59,0.9), rgba(8,28,59,0.6)); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title { font-size: 3.5rem; margin-bottom: 1rem; font-family: var(--font-heading); }
.page-hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

.ambientes-tabs-bar { background: #ffffff; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 70px; z-index: 90; }
.ambientes-tabs-inner { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0 2rem; max-width: 1200px; margin: 0 auto; scrollbar-width: none; }
.ambientes-tabs-inner::-webkit-scrollbar { display: none; }
.ambient-tab { background: transparent; border: 1px solid transparent; padding: 0.75rem 1.25rem; border-radius: var(--radius-full); display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.ambient-tab:hover { background: var(--bg-surface); color: var(--secondary); }
.ambient-tab.active { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(217,32,39,0.25); }

.ambientes-gallery-section { padding: 4rem 0; background: var(--bg-surface); }
.ambientes-header { text-align: center; margin-bottom: 3rem; }
.ambientes-grid-title { font-family: var(--font-heading); font-size: 2rem; color: var(--secondary); margin-bottom: 1rem; }
.ambientes-title-line { width: 60px; height: 3px; background: var(--primary); margin: 0 auto; border-radius: 3px; }

.ambientes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.8rem; }
.ambiente-card { background: #ffffff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; }
.ambiente-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ambiente-card-img { position: relative; height: 240px; overflow: hidden; }
.ambiente-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ambiente-card:hover .ambiente-card-img img { transform: scale(1.08); }
.ambiente-card-overlay { position: absolute; inset: 0; background: rgba(8,28,59,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.ambiente-card-overlay i { color: white; font-size: 2rem; transform: scale(0.5); transition: var(--transition); }
.ambiente-card:hover .ambiente-card-overlay { opacity: 1; }
.ambiente-card:hover .ambiente-card-overlay i { transform: scale(1); }
.ambiente-card-info { padding: 1.5rem; }
.ambiente-card-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--secondary); margin-bottom: 0.5rem; }
.ambiente-card-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.ambiente-color-swatches { display: flex; gap: 0.5rem; }
.ambiente-swatch { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border: 2px solid white; }
.ambientes-note { margin-top: 3rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; background: rgba(0,0,0,0.03); padding: 1rem; border-radius: var(--radius-md); }

/* Ambient Modal */
.ambient-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.ambient-modal.active { display: flex; }
.ambient-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.ambient-modal-content { position: relative; z-index: 1; width: 90%; max-width: 900px; background: #ffffff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.ambient-modal-content .modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.1); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: var(--transition); z-index: 10; }
.ambient-modal-content .modal-close:hover { background: var(--primary); color: white; }
.modal-header { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ambient-slider-container { position: relative; height: 500px; background: #f0f3f8; overflow: hidden; }
.ambient-slider { display: flex; height: 100%; transition: transform 0.4s ease-in-out; }
.ambient-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ambient-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; }
.slider-nav:hover { background: var(--primary); color: white; }
.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }

/* ====== 4. BLOG ====== */
.blog-section { background: var(--bg-surface); padding: 4rem 0; }
.blog-layout { display: flex; gap: 2.5rem; align-items: flex-start; }
@media (max-width: 992px) { .blog-layout { flex-direction: column; } }
.blog-main { flex: 1; min-width: 0; }
.blog-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 2rem; }
@media (max-width: 992px) { .blog-sidebar { width: 100%; } }

.blog-section-title { font-family: var(--font-heading); font-size: 1.8rem; color: var(--secondary); margin-bottom: 1.5rem; }
.blog-featured-card { display: block; background: #ffffff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); margin-bottom: 3rem; }
.blog-featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-featured-img { height: 350px; position: relative; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-info { padding: 2rem; position: relative; }
.blog-cat-badge { position: absolute; top: -15px; left: 2rem; background: var(--primary); color: white; padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.blog-featured-title { font-family: var(--font-heading); font-size: 2rem; color: var(--secondary); margin-bottom: 1rem; line-height: 1.2; }
.blog-featured-excerpt { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.blog-featured-meta { display: flex; gap: 0.8rem; color: #8892a0; font-size: 0.9rem; margin-bottom: 1.5rem; }
.blog-read-more { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.blog-featured-card:hover .blog-read-more { gap: 0.75rem; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: #ffffff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; position: relative; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--secondary); color: white; padding: 0.3rem 0.8rem; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--secondary); margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; flex: 1; }
.blog-card-meta { display: flex; gap: 1rem; color: #8892a0; font-size: 0.8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.blog-card-link { font-weight: 700; color: var(--primary); font-size: 0.9rem; transition: var(--transition); }

.blog-sidebar-box { background: #ffffff; border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
.blog-sidebar-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--secondary); margin-bottom: 1.25rem; position: relative; padding-bottom: 0.75rem; }
.blog-sidebar-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary); border-radius: 3px; }
.blog-search-form { display: flex; }
.blog-search-input { flex: 1; border: 1px solid rgba(0,0,0,0.1); padding: 0.75rem 1rem; border-radius: var(--radius-sm) 0 0 var(--radius-sm); outline: none; transition: var(--transition); }
.blog-search-input:focus { border-color: var(--primary); }
.blog-search-btn { background: var(--primary); color: white; border: none; padding: 0 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; }

.blog-cat-list li { margin-bottom: 0.5rem; }
.blog-cat-link { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: var(--bg-surface); border-radius: var(--radius-sm); color: var(--text-main); font-size: 0.9rem; transition: var(--transition); }
.blog-cat-link:hover, .blog-cat-link.active { background: var(--primary); color: white; }
.blog-cat-count { background: rgba(0,0,0,0.1); padding: 0.1rem 0.5rem; border-radius: 10px; font-size: 0.75rem; }

.blog-popular-list li { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.blog-popular-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.blog-popular-item { display: flex; gap: 1rem; align-items: center; }
.blog-popular-img { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.blog-popular-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-popular-item:hover .blog-popular-img img { transform: scale(1.1); }
.blog-popular-info { display: flex; flex-direction: column; gap: 0.25rem; }
.blog-popular-title { font-weight: 600; color: var(--secondary); font-size: 0.9rem; line-height: 1.3; transition: var(--transition); }
.blog-popular-item:hover .blog-popular-title { color: var(--primary); }
.blog-popular-date { font-size: 0.75rem; color: var(--text-muted); }

.blog-newsletter-box { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); color: white; border: none; }
.newsletter-input-group { margin-bottom: 1rem; }
.newsletter-input { width: 100%; padding: 0.8rem 1rem; border: none; border-radius: var(--radius-sm); outline: none; background: rgba(255,255,255,0.1); color: white; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { background: rgba(255,255,255,0.2); }
.newsletter-btn { width: 100%; padding: 0.8rem; border: none; border-radius: var(--radius-sm); background: var(--primary); color: white; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.newsletter-btn:hover { background: #c01c22; transform: translateY(-2px); }

/* ====== 5. CONTACTO ====== */
.contact-hero-banner { position: relative; background: #ffffff; padding: 4rem 0 0; display: flex; min-height: 550px; overflow: hidden; padding-bottom: 80px; }
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape-red-triangle { position: absolute; top: 0; left: 0; width: 400px; height: 400px; background: var(--primary); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 1; }
.shape-blue-triangle { position: absolute; top: 0; left: 0; width: 600px; height: 600px; background: #0b1c3a; clip-path: polygon(0 0, 100% 0, 0 40%); z-index: 0; }
.contact-hero-container { position: relative; z-index: 2; width: 60%; padding-left: max(2rem, calc((100% - 1200px) / 2)); display: flex; flex-direction: column; justify-content: center; padding-bottom: 2rem; padding-right: 2rem; }
.contact-hero-title { font-size: 4.5rem; font-family: var(--font-heading); color: #0b1c3a; line-height: 1.1; margin-bottom: 0.5rem; position: relative; display: inline-block; }
.contact-hero-title .text-primary { color: var(--primary); }
.contact-hero-title::after { content: ''; position: absolute; bottom: -10px; left: 20%; width: 60%; height: 4px; background: var(--primary); border-radius: 2px; }
.contact-hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 550px; margin-top: 1.5rem; text-align: center; margin-left: auto; margin-right: auto; }
.contact-hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero-feature { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; text-align: center; border-right: 1px solid rgba(0,0,0,0.1); padding: 0 0.5rem; }
.hero-feature:last-child { border-right: none; }
.h-feature-icon { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0b1c3a; border: 2px solid var(--primary); font-size: 1.5rem; margin-bottom: 0.5rem; }
.h-feature-icon i { color: #0b1c3a; }
.hero-feature h4 { font-family: var(--font-heading); color: #0b1c3a; font-size: 0.95rem; font-weight: 800; }
.hero-feature p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.3; }
.contact-hero-image { position: absolute; top: 0; right: 0; width: 40%; height: 100%; z-index: 1; }
.hero-bg-pic { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #ffffff, transparent 30%); }

/* Contact Banner Button */
.hero-cta-btn { display: inline-flex; align-items: center; background: #0b1c3a; color: white; text-decoration: none; border-radius: 40px; margin: 2.5rem auto 0; overflow: hidden; width: fit-content; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: transform 0.3s; }
.hero-cta-btn:hover { transform: translateY(-3px); }
.hero-cta-icon { background: var(--primary); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 5px 5px 5px 8px; }
.hero-cta-text { padding: 0 1.5rem 0 1rem; font-weight: 700; font-size: 1.1rem; }
.hero-cta-arrow { background: var(--primary); color: white; height: 54px; width: 50px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border-radius: 0 40px 40px 0; }

/* Contact Banner Bottom Bar */
.hero-bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; background: #0b1c3a; color: white; z-index: 10; border-top: 2px solid rgba(255,255,255,0.05); }
.hero-bb-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; }
.hero-bb-item { display: flex; align-items: center; gap: 1rem; font-size: 0.95rem; line-height: 1.3; font-weight: 500; }
.hero-bb-item.socials-item { gap: 0.5rem; }
.bb-icon-circle { width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.hero-bb-divider { width: 2px; height: 35px; background: var(--primary); }
.hero-bb-social-icons { display: flex; gap: 0.5rem; margin-left: 1rem; }
.hero-bb-social-icons a { width: 32px; height: 32px; background: white; color: #0b1c3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
.hero-bb-social-icons a:hover { background: var(--primary); color: white; }

@media (max-width: 1200px) {
    .hero-bb-container { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .hero-bb-divider { display: none; }
}

.contact-main-section { padding: 4rem 0; background: #ffffff; }
.breadcrumb { margin-bottom: 3rem; color: var(--text-muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--secondary); font-weight: 600; text-decoration: none; margin-right: 0.5rem; }
.breadcrumb span { margin-left: 0.5rem; color: var(--primary); }
.contact-layout { display: flex; flex-direction: column; gap: 4rem; }
@media (max-width: 992px) { .contact-hero-banner { flex-direction: column; } .contact-hero-container { width: 100%; padding-right: 2rem; } .contact-hero-image { position: relative; width: 100%; height: 400px; border-radius: 0; } .contact-layout { grid-template-columns: 1fr; } }

.contact-stores h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.5rem; }
.contact-stores .text-primary { color: var(--primary); }
.stores-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.store-card { background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); display: grid; grid-template-columns: 350px 1fr 350px; gap: 2rem; border: 1px solid rgba(0,0,0,0.05); margin-bottom: 1.5rem; padding: 1.5rem; align-items: start; }
.store-image-col { display: flex; flex-direction: column; gap: 1rem; }
.store-image-col img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.btn-como-llegar { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: transparent; color: #0b1c3a; border: 1px solid rgba(11,28,58,0.2); padding: 0.8rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.btn-como-llegar:hover { background: rgba(11,28,58,0.05); }
.btn-como-llegar i { color: #0b1c3a; }
.store-info-col { padding: 0; position: relative; display: flex; flex-direction: column; gap: 1rem; }
.store-badge { background: var(--primary); color: white; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; width: fit-content; }
.store-badge.blue { background: #0b1c3a; }
.store-title { font-family: var(--font-heading); font-size: 1.4rem; color: #0b1c3a; font-weight: 800; margin-bottom: 0; line-height: 1.3; }
.store-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0; }
.store-detail i { color: #0b1c3a; font-size: 1.1rem; margin-top: 3px; }
.store-detail p { color: #0b1c3a; font-size: 0.95rem; line-height: 1.4; margin-bottom: 0; }
.store-detail.phone i, .store-detail.phone p { color: var(--primary); font-weight: 700; }
.store-map-col { height: 100%; min-height: 250px; width: 100%; border-radius: 12px; overflow: hidden; }
.map-wrapper { width: 100%; height: 100%; position: relative; }
.map-popup-btn { position: absolute; top: 1rem; right: 1rem; background: white; color: var(--secondary); padding: 0.5rem 1rem; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-sm); z-index: 10; transition: var(--transition); }
.map-popup-btn:hover { background: var(--secondary); color: white; }
@media (max-width: 992px) {
    .store-card { grid-template-columns: 1fr; }
}

.shipping-banner { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); border-radius: var(--radius-md); padding: 2rem; display: flex; align-items: center; gap: 0.8rem; color: white; margin-bottom: 3rem; }
.shipping-icon { font-size: 3rem; color: rgba(255,255,255,0.2); }
.shipping-text flex { 1; }
.shipping-text h4 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.5rem; }
.shipping-text p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.btn-shipping { background: white; color: var(--secondary); padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-weight: 700; font-size: 0.85rem; white-space: nowrap; transition: var(--transition); }
.btn-shipping:hover { background: var(--primary); color: white; }

.bottom-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.bottom-feature { display: flex; gap: 1.25rem; background: #ffffff; padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); transition: var(--transition); align-items: center; }
.bottom-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.b-feature-icon { width: 45px; height: 45px; background: rgba(217,32,39,0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.bottom-feature h5 { font-family: var(--font-heading); color: var(--secondary); font-size: 1.05rem; margin-bottom: 0.25rem; }
.bottom-feature p { color: var(--text-muted); font-size: 0.85rem; }

.contact-bottom-layout { display: grid; grid-template-columns: 350px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 992px) { .contact-bottom-layout { grid-template-columns: 1fr; gap: 2rem; } }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .contact-form .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; } }
.form-card { background: #ffffff; border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.05); }
.form-card h3 { font-family: var(--font-heading); font-size: 2rem; color: var(--secondary); margin-bottom: 0.5rem; }
.form-card .text-primary { color: var(--primary); }
.form-card > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form .form-control { width: 100%; padding: 1rem 1.25rem; border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; background: var(--bg-surface); transition: var(--transition); outline: none; }
.contact-form .form-control:focus { border-color: var(--primary); background: #ffffff; box-shadow: 0 4px 10px rgba(217,32,39,0.1); }
.w-100 { width: 100%; }

.other-contacts-card { background: #ffffff; border-radius: var(--radius-lg); padding: 3rem; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-lg); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.other-contacts-card h4 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--secondary); margin-bottom: 1.5rem; }
.other-contact-item { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.other-contact-item:last-child { margin-bottom: 0; }
.oc-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0; }
.oc-icon.whatsapp { background: #25d366; }
.oc-icon.email { background: var(--secondary); }
.oc-icon.twitter { background: #1DA1F2; }
.oc-text { display: flex; flex-direction: column; }
.oc-text span { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.oc-text strong { font-size: 1.1rem; color: var(--secondary); }
.oc-socials { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.oc-socials a { width: 35px; height: 35px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--secondary); box-shadow: var(--shadow-sm); transition: var(--transition); }
.oc-socials a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* ====== 6. BENEFITS BAR ====== */
.benefits-bar { background: transparent; color: var(--text-main); padding: 3rem 0; margin-top: 2rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 992px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item { display: flex; align-items: center; gap: 1rem; }
.benefit-item i { font-size: 2.5rem; color: var(--primary); opacity: 0.9; }
.benefit-item strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 0.25rem; letter-spacing: 0.5px; color: var(--secondary); }
.benefit-item span { display: block; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* ====== 7. PRODUCTOS DESTACADOS (FEATURED) ====== */
.featured-section { padding: 5rem 0; background: var(--bg-surface); overflow: hidden; }
.product-slider-container { position: relative; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.products-slider { 
    display: flex; 
    gap: 0.8rem; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    padding: 1rem 0.2rem; 
    scrollbar-width: none; 
    scroll-snap-type: x mandatory; /* Snap on scroll */
}
.products-slider::-webkit-scrollbar { display: none; }
.products-slider .product-card { 
    width: 300px; 
    max-width: 300px; 
    flex: 0 0 300px; 
    background: #ffffff; 
    border-radius: 12px; /* Nicely rounded cards */
    overflow: hidden; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
    transition: var(--transition); 
    border: 1px solid rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column; 
    scroll-snap-align: start; /* Snap-align to start */
}
.products-slider .product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: rgba(227,6,19,0.15); }
.product-img-wrap { position: relative; height: 220px; background: #ffffff; padding: 1.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img-wrap img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: var(--transition); }
.products-slider .product-card:hover .product-img-wrap img { transform: scale(1.05); }

/* Ancho fijo de la tarjeta premium dentro del slider de destacados:
   evita que flexbox la comprima y recorte el boton COTIZAR */
.products-slider .premium-product-card {
    flex: 0 0 268px;
    width: 268px;
    max-width: 268px;
    scroll-snap-align: start;
}

/* Top Left Tags Container */
.product-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.25rem;
    z-index: 5;
}
.product-tags .product-category-tag { 
    background: #0A2240; /* Dark blue category */
    color: white !important; 
    font-size: 0.65rem !important; 
    padding: 0.3rem 0.75rem !important; 
    border-radius: 50px !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px;
    display: inline-block;
    position: static !important; /* Override absolute */
}
.product-tags .product-brand-tag { 
    background: #E30613; /* Solid red brand */
    color: white !important; 
    font-size: 0.65rem !important; 
    padding: 0.3rem 0.75rem !important; 
    border-radius: 50px !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    display: inline-block;
    position: static !important; /* Override absolute */
}

.product-info { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { 
    font-size: 1.15rem; 
    font-family: var(--font-heading); 
    color: #0A2240; 
    font-weight: 800; 
    margin-bottom: 0.5rem; 
    line-height: 1.3; 
    text-transform: uppercase;
}
.product-desc { 
    font-size: 0.85rem; 
    color: #6B7280; 
    margin-bottom: 1.5rem; 
    line-height: 1.5; 
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.85em; /* fixed height for 3 lines to align buttons perfectly */
}
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.btn-detail { 
    flex: 1; 
    background: transparent; 
    border: 1.5px solid #0A2240; 
    color: #0A2240; 
    text-align: center; 
    padding: 0.65rem; 
    border-radius: 6px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    transition: var(--transition); 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.btn-detail:hover { background: #0A2240; color: white; }
.btn-add { 
    flex: 1; 
    background: #E30613; 
    border: none; 
    color: white; 
    padding: 0.65rem; 
    border-radius: 6px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: var(--transition); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.4rem; 
}
.btn-add:hover { background: #c40510; box-shadow: 0 4px 12px rgba(227,6,19,0.25); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; color: #0A2240; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 4px 10px rgba(0,0,0,0.06); font-size: 1.2rem; cursor: pointer; z-index: 10; transition: var(--transition); }
.slider-btn:hover { background: #E30613; color: white; border-color: #E30613; }
.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }
@media (max-width: 1240px) { .slider-btn.prev { left: 10px; } .slider-btn.next { right: 10px; } }
.section-cta { text-align: center; margin-top: 3rem; }

/* ====== 8. PRODUCT DETAILS PAGE (RESPONSIVE SPEC) ====== */
.product-detail-page { padding: 3rem 0 5rem; background: var(--bg-surface); }
.product-detail-container { 
    display: flex; 
    gap: 2.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
    align-items: flex-start;
}

/* Sidebar Styling */
.detail-sidebar { 
    width: 280px; 
    flex-shrink: 0; 
    position: sticky;
    top: 90px;
    z-index: 10;
}
.sidebar-cat-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
}
.sidebar-cat-item { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.75rem 1rem; 
    border-radius: 6px; 
    color: var(--text-muted); 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: all 0.2s; 
    text-decoration: none; 
}
.sidebar-cat-item:hover { background: #f8fafc; color: var(--secondary); }
.sidebar-cat-item.active { 
    background: rgba(227,6,19,0.05); 
    color: var(--primary); 
    border-left: 3px solid var(--primary); 
    padding-left: calc(1rem - 3px); 
}

/* Main Content Area */
.detail-main { 
    flex: 1; 
    min-width: 0; 
}

/* Breadcrumb */
.detail-breadcrumb { 
    font-size: 0.85rem; 
    color: #6B7280; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 0.4rem; 
    margin-bottom: 1.5rem; 
}
.detail-breadcrumb a { color: #4B5563; font-weight: 500; text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--primary); }
.detail-breadcrumb i { font-size: 0.75rem; color: #9CA3AF; }
.detail-breadcrumb strong { color: #0A2240; font-weight: 700; }

/* Share Bar */
.detail-share-bar { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    margin-bottom: 1.5rem; 
    border-bottom: 1px solid #e2e8f0; 
    padding-bottom: 1rem; 
}
.detail-share-bar span { font-size: 0.8rem; font-weight: 700; color: #9CA3AF; letter-spacing: 0.5px; }
.share-btn { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 0.9rem; 
    transition: all 0.3s; 
    text-decoration: none;
}
.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.pt { background: #E60023; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); color: white; }

/* Product Grid */
.detail-product-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.1fr; 
    gap: 3rem; 
    margin-top: 1.5rem; 
    align-items: flex-start;
}

/* Gallery column */
.detail-gallery { 
    width: 100%; 
}
.gallery-main-new { 
    border-radius: 12px; 
    background: #ffffff; 
    border: 1px solid rgba(0,0,0,0.06); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.015); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    padding: 2rem; 
    height: 420px; 
}
.gallery-main-new img { 
    max-height: 100%; 
    max-width: 100%; 
    object-fit: contain; 
}
.gallery-thumbs-new { 
    display: flex; 
    gap: 0.75rem; 
    margin-top: 1rem; 
    overflow-x: auto; 
    padding-bottom: 0.25rem; 
    scrollbar-width: thin;
}
.thumb-new { 
    width: 70px; 
    height: 70px; 
    flex: 0 0 70px;
    border-radius: 8px; 
    border: 2px solid rgba(0,0,0,0.05); 
    cursor: pointer; 
    transition: all 0.3s; 
    overflow: hidden; 
    padding: 0.25rem; 
    background: white; 
}
.thumb-new.active { border-color: var(--primary); box-shadow: 0 4px 10px rgba(217,32,39,0.15); }
.thumb-new img { width: 100%; height: 100%; object-fit: contain; }

/* Info Column */
.detail-info-panel { 
    width: 100%; 
}
.detail-product-name { 
    font-size: 2.2rem; 
    font-family: var(--font-heading); 
    color: #0A2240; 
    font-weight: 800; 
    margin-bottom: 0.5rem; 
    line-height: 1.15; 
}
.detail-sku-text { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    font-weight: 600; 
    margin-bottom: 1.25rem; 
    background: #f1f5f9; 
    padding: 0.25rem 0.6rem; 
    border-radius: 4px; 
    display: inline-block; 
}
.detail-product-desc { 
    font-size: 0.95rem; 
    color: #4B5563; 
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
}

/* Detail Section Row */
.detail-section { 
    margin-bottom: 1.5rem; 
}
.detail-section-label { 
    font-size: 0.85rem; 
    font-weight: 800; 
    color: #0A2240; 
    letter-spacing: 1.2px; 
    margin-bottom: 0.75rem; 
    border-bottom: 2px solid #f1f5f9; 
    padding-bottom: 0.4rem; 
}
.detail-section-hint { 
    font-size: 0.8rem; 
    color: #9CA3AF; 
    margin-bottom: 0.5rem; 
}

/* Presentation buttons */
.presentation-buttons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
}
.pres-btn { 
    background: white; 
    border: 1.5px solid #cbd5e1; 
    border-radius: 6px; 
    padding: 0.6rem 1.25rem; 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: var(--secondary); 
    cursor: pointer; 
    transition: all 0.2s; 
}
.pres-btn:hover { border-color: var(--primary); color: var(--primary); }
.pres-btn.selected { 
    background: var(--primary); 
    border-color: var(--primary); 
    color: white; 
    box-shadow: 0 4px 12px rgba(217,32,39,0.25); 
}

/* Color swatches */
.color-swatches-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    margin-bottom: 0.5rem; 
}
.color-swatch-new { 
    width: 38px; 
    height: 38px; 
    flex-shrink: 0;
    border-radius: 50%; 
    border: 2px solid rgba(0,0,0,0.1); 
    cursor: pointer; 
    position: relative; 
    transition: all 0.2s; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.color-swatch-new:hover { transform: scale(1.15); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.color-swatch-new.selected { 
    border-color: #0A2240 !important; 
    transform: scale(1.15); 
    box-shadow: 0 0 0 3px rgba(10,34,64,0.2); 
}
.colors-note { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.5rem; }
.selected-color-info { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-size: 0.85rem; 
    color: var(--secondary); 
    margin-top: 0.75rem; 
    padding: 0.5rem; 
    background: #f8fafc; 
    border-radius: 6px; 
    border: 1px solid rgba(0,0,0,0.05); 
}
.color-preview-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }

/* Specs Table */
.specs-table-new { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 0.5rem; 
}
.specs-table-new tr { border-bottom: 1px solid #f1f5f9; }
.specs-table-new tr:last-child { border-bottom: none; }
.spec-key-new { 
    padding: 0.75rem 0.5rem; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #4B5563; 
    width: 35%; 
}
.spec-val-new { 
    padding: 0.75rem 0.5rem; 
    font-size: 0.85rem; 
    color: var(--secondary); 
    font-weight: 500; 
}

/* Quantity and Add to Cotizador */
.detail-add-row { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
    flex-wrap: wrap; 
}
.quantity-control { 
    display: flex; 
    align-items: center; 
    border: 1.5px solid #cbd5e1; 
    border-radius: 6px; 
    overflow: hidden; 
    background: white; 
    height: 48px; 
}
.quantity-control .qty-btn { 
    background: transparent; 
    border: none; 
    width: 40px; 
    height: 100%; 
    font-size: 1.2rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
    color: var(--secondary); 
}
.quantity-control .qty-btn:hover { background: #f1f5f9; }
#qtyDisplay { 
    width: 40px; 
    text-align: center; 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--secondary); 
}
.btn-add-to-quote { 
    flex: 1; 
    height: 48px; 
    background: #E30613; 
    color: white; 
    border: none; 
    border-radius: 6px; 
    font-size: 0.95rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    min-width: 200px; 
}
.btn-add-to-quote:hover { background: #c40510; box-shadow: 0 4px 15px rgba(227,6,19,0.3); }

/* Downloads Row */
.detail-download-row { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-top: 1.5rem; 
}
.download-btn { 
    flex: 1; 
    min-width: 220px; 
    border: 2px solid #e2e8f0; 
    background: #ffffff;
    border-radius: 8px; 
    padding: 0.8rem 1.25rem; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #0f172a; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    transition: all 0.3s; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.download-btn:hover { border-color: #0A2240; background: #f8fafc; color: #0A2240; box-shadow: 0 4px 8px rgba(0,0,0,0.06); }
.download-btn.wa-btn {
    color: #15803d;
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.download-btn.wa-btn:hover {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

/* Technical description */
.detail-tech-section { 
    background: white; 
    border-radius: 12px; 
    border: 1px solid rgba(0,0,0,0.05); 
    padding: 2rem; 
    margin-top: 3rem; 
}
.detail-tech-section h3 { 
    font-family: var(--font-heading); 
    color: #0A2240; 
    font-size: 1.3rem; 
    margin-bottom: 1rem; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}
.detail-tech-section p { color: #4B5563; line-height: 1.6; font-size: 0.95rem; }
.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    border-radius: 8px; 
    border: 1px solid rgba(0,0,0,0.05); 
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-detail-container { 
        flex-direction: column; 
        gap: 2rem; 
    }
    .detail-sidebar { 
        width: 100%; 
        position: static; 
        order: 2; /* Place sidebar below detail content on mobile */
    }
    .detail-main { 
        width: 100%; 
        order: 1; 
    }
}

@media (max-width: 768px) {
    .detail-product-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .gallery-main-new { 
        height: 320px; 
        padding: 1rem;
    }
    .detail-product-name { 
        font-size: 1.75rem; 
    }
    .detail-add-row {
        flex-direction: column;
        align-items: stretch;
    }
    .quantity-control {
        justify-content: center;
        width: 100%;
    }
    .btn-add-to-quote {
        width: 100%;
        flex: none;
        height: 56px;
        font-size: 1.05rem;
    }
    .detail-download-row {
        flex-direction: column;
    }
    .download-btn {
        width: 100%;
        min-width: unset;
    }
}

/* Watermark Background Transparency */
section, 
.section, 
.about-new-section, 
.why-section, 
.featured-section, 
.brands-section, 
.products-main-section, 
.gallery-section, 
.contacto-section, 
.blog-section, 
.nosotros-section, 
.certifications-section, 
.products-layout, 
.products-sidebar, 
.products-main-content,
.hero-static,
.hero-static-container,
.hero-content,
.page-hero-products {
    background: transparent !important;
    background-color: transparent !important;
}

/* Premium Dark Hero Overlay & Contrast Optimization */
.page-hero-bg .hero-overlay {
    background: linear-gradient(135deg, rgba(8, 28, 59, 0.94) 0%, rgba(8, 28, 59, 0.78) 100%) !important;
    z-index: 1 !important;
}

.page-hero-bg img {
    z-index: 0 !important;
    opacity: 0.25 !important;
}

.page-hero {
    color: #ffffff !important;
}

.page-hero-title, 
.page-hero-title-products {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.page-hero-subtitle, 
.page-hero-subtitle-products {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
}

/* ====== 1.5 CATEGORIES / LÍNEA DE PRODUCTOS ====== */
.categories-section { padding: 4rem 0; background: #ffffff; }
/* NEW CATEGORIES GRID */
.new-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 2rem;
}
@media (max-width: 1200px) { .new-categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .new-categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .new-categories-grid { grid-template-columns: 1fr; } }

.new-category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.new-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ncc-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0, 16, 42, 0.95) 0%, rgba(0, 16, 42, 0.6) 40%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.new-category-card:hover .ncc-overlay {
    background: linear-gradient(to top, rgba(0, 16, 42, 0.98) 0%, rgba(0, 16, 42, 0.7) 50%, rgba(0, 16, 42, 0.2) 100%);
}

.ncc-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.ncc-icon {
    width: 65px;
    height: 65px;
    background: white;
    color: #001f3f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.new-category-card:hover .ncc-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.ncc-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.ncc-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ncc-btn {
    background: white;
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    opacity: 0.9;
}

.new-category-card:hover .ncc-btn {
    opacity: 1;
    background: var(--primary);
    color: white;
}
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(10%) contrast(1.1);
    transition: filter 0.3s;
}
.brand-card:hover img {
    filter: grayscale(0%) contrast(1.1);
}
.brand-name-text {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0d2240;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}


/* ========== LIVE SEARCH ========== */
.nav-search-container {
    position: relative;
}
.search-results-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 320px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.08);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    flex-direction: column;
}
.search-results-dropdown.show {
    display: flex;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    color: var(--text-main);
}
.search-result-item:hover {
    background: var(--bg-surface);
    color: var(--primary);
}
.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.search-result-info {
    display: flex;
    flex-direction: column;
}
.search-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}
.search-result-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.search-loading, .search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}/* ====== 1.6 BRANDS / MARCAS REPRESENTADAS ====== */
.brands-section {
    padding: 4rem 0;
    background-color: #f4f6f9;
}

.brands-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
    margin-top: 1.5rem;
}

.brands-marquee-container::before,
.brands-marquee-container::after {
    content: \'\';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.brands-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f4f6f9, transparent);
}
.brands-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f4f6f9, transparent);
}

.brands-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.brands-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.brand-card {
    background: #ffffff;
    border-radius: 12px;
    height: 110px;
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.02);
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.brand-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(10%) contrast(1.1);
    transition: filter 0.3s;
}
.brand-card:hover img {
    filter: grayscale(0%) contrast(1.1);
}
.brand-name-text {
    font-family: var(--font-heading, \'Inter\', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0d2240;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ========== LIVE SEARCH ========== */
.nav-search-container {
    position: relative;
}
.search-results-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 320px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.08);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    flex-direction: column;
}
.search-results-dropdown.show {
    display: flex;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    color: var(--text-main);
}
.search-result-item:hover {
    background: var(--bg-surface);
    color: var(--primary);
}
.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.search-result-info {
    display: flex;
    flex-direction: column;
}
.search-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}
.search-result-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.search-loading, .search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ====== NEW WHY CHOOSE US (DARK GLASSMORPHISM) ====== */
.why-section-dark {
    position: relative;
    padding: 5rem 0;
    background-color: #080c16 !important;
    color: #fff;
    overflow: hidden;
}

.why-dark-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(30, 64, 175, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.why-header-dark .section-title {
    color: #fff;
}

.why-header-dark .glow-tag {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.2);
    display: inline-block;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.gradient-text-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.why-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.why-card-glass:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 68, 68, 0.1);
}

.why-number-bg {
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    font-family: var(--font-heading);
    z-index: 0;
    transition: color 0.4s ease;
    pointer-events: none;
}

.why-card-glass:hover .why-number-bg {
    color: rgba(239, 68, 68, 0.05);
}

.why-icon-glow {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ef4444;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: all 0.4s ease;
}

.why-card-glass:hover .why-icon-glow {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.why-title-light {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.why-desc-light {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ====== ABOUT US / NOSOTROS PAGE ====== */

/* ---- HERO ---- */
.about-hero-model {
    position: relative;
    padding: 8rem 0 5rem;
    background: transparent;
    overflow: hidden;
}

/* Corner accent (top-left): navy block + red diagonal stripe */
.about-stripe-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(135deg, #0b162c 0%, #0b162c 46%, transparent 46%);
}
.about-stripe-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 52%, #c8102e 52%, #c8102e 62%, transparent 62%);
}

.about-hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.5rem;
    align-items: center;
}

.about-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #c8102e;
    color: #c8102e;
    border-radius: 50px;
    padding: 0.45rem 1.4rem;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #0b162c;
    line-height: 1.05;
    margin-bottom: 1.3rem;
}
.text-red { color: #c8102e; }

.hero-title-divider {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background-color: #c8102e;
    margin-bottom: 1.5rem;
}

.about-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b162c;
    margin-bottom: 1.3rem;
    line-height: 1.4;
}

.about-hero-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 2.2rem;
    max-width: 95%;
}

.about-experience-card {
    background-color: #0b162c;
    border-radius: 16px;
    padding: 2.2rem 2rem;
    color: #fff;
    max-width: 430px;
    box-shadow: 0 18px 36px rgba(11, 22, 44, 0.22);
}
.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.exp-icon i {
    font-size: 3.4rem;
    color: #f1c40f;
}
.exp-text h2 {
    font-size: 2.1rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}
.exp-text span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}
.exp-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin: 0;
}

/* Hero image + flanking side icons */
.about-hero-image-wrapper {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
    perspective: 1400px;
}
/* Blurred store-interior backdrop (efecto de fondo) */
.about-hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: url('../assets/local_foto.jpeg') center/cover;
    filter: blur(16px) brightness(0.5) saturate(1.1);
    transform: translate(12px, 24px) rotateY(-8deg);
    transform-origin: center;
    opacity: 0.85;
    z-index: 0;
}
.about-hero-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 28px 60px rgba(11, 22, 44, 0.30);
    border: 5px solid #fff;
    transform: rotateY(-8deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-hero-image-wrapper:hover img {
    transform: rotateY(0deg);
}

.side-icons-list {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 2;
}
.side-icons-list.left-side { right: calc(100% + 12px); }
.side-icons-list.right-side { left: calc(100% + 12px); }

.side-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    gap: 0.45rem;
    transition: transform 0.3s ease;
}
.side-icon-item:hover { transform: translateY(-4px); }
.side-icon-item i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(11, 22, 44, 0.12);
    box-shadow: 0 6px 16px rgba(11, 22, 44, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0b162c;
}
.side-icon-item span {
    font-size: 0.62rem;
    font-weight: 800;
    color: #0b162c;
    line-height: 1.25;
    letter-spacing: 0.3px;
}

/* ---- MISIÓN Y VISIÓN ---- */
.about-mission-vision {
    padding: 3rem 0;
    background: transparent;
}
.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mv-card {
    position: relative;
    background: #fff;
    border: 2px solid #eaeaea;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
.mission-card { border-color: rgba(200, 16, 46, 0.35); }
.vision-card { border-color: rgba(11, 22, 44, 0.35); }
.mv-icon {
    position: relative;
    z-index: 1;
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}
.mission-card .mv-icon { background: #c8102e; box-shadow: 0 10px 22px rgba(200, 16, 46, 0.25); }
.vision-card .mv-icon { background: #0b162c; box-shadow: 0 10px 22px rgba(11, 22, 44, 0.25); }
.mv-content { position: relative; z-index: 1; }
.mv-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}
.mission-card .mv-content h3 { color: #c8102e; }
.vision-card .mv-content h3 { color: #0b162c; }
.mv-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.mv-watermark {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13rem;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}
.mission-card .mv-watermark { color: rgba(200, 16, 46, 0.06); }
.vision-card .mv-watermark { color: rgba(11, 22, 44, 0.06); }

/* ---- NUESTRAS TIENDAS ---- */
.about-stores-section {
    padding: 3rem 0 5rem;
    background: transparent;
}
.stores-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0b162c;
    margin-bottom: 3rem;
    position: relative;
}
.stores-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #c8102e;
    border-radius: 2px;
    margin: 15px auto 0;
}
.stores-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.store-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    background: #0b162c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.store-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(11, 22, 44, 0.28);
}
.store-img-wrap {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.store-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s ease;
}
.store-item:hover img { transform: scale(1.06); }
.store-address-tag {
    background: #0b162c;
    color: #fff;
    padding: 1.4rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.store-address-tag i { color: #c8102e; font-size: 1.2rem; }

/* ---- STATS BANNER ---- */
.about-stats-wrap {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}
.about-stats-banner {
    max-width: 1200px;
    margin: 0 auto -50px;
    background-color: #0b162c;
    border-radius: 20px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}
.about-stats-banner::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(200, 16, 46, 0.18), transparent 70%);
    pointer-events: none;
}
.stats-banner-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-banner-item i { font-size: 2.6rem; color: #c8102e; margin-bottom: 1rem; }
.stat-banner-item h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 0.3rem; line-height: 1.1; }
.stat-banner-item span { font-size: 0.74rem; font-weight: 700; color: rgba(255, 255, 255, 0.7); letter-spacing: 1px; display: block; line-height: 1.4; }

/* ---- BOTTOM CONTACT ---- */
.about-bottom-contact {
    background: #f8f9fa;
    padding: 8rem 0 4rem;
    border-bottom: 5px solid #0b162c;
    position: relative;
    z-index: 1;
}
.bottom-contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.bc-left { display: flex; align-items: center; gap: 1rem; }
.bc-icon {
    width: 68px;
    height: 68px;
    background: #ffe5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #c8102e;
    flex-shrink: 0;
}
.bc-text h4 { font-size: 1.3rem; font-weight: 800; color: #0b162c; margin: 0 0 0.3rem 0; }
.bc-text p { font-size: 0.95rem; color: #666; margin: 0; }
.btn-bc-red {
    background: #c8102e;
    color: #fff;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(200, 16, 46, 0.2);
}
.btn-bc-red i { transition: transform 0.3s ease; }
.btn-bc-red:hover {
    background: #a00b23;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(200, 16, 46, 0.32);
}
.btn-bc-red:hover i { transform: translateX(4px); }
.bc-right { display: flex; flex-direction: column; gap: 0.8rem; }
.bc-info-item { display: flex; align-items: center; gap: 1rem; font-size: 0.95rem; font-weight: 600; color: #0b162c; }
.bc-info-item i { color: #c8102e; font-size: 1.2rem; width: 18px; text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1199px) {
    /* Not enough room to flank the larger image, so the feature icons
       drop into rows beneath it. */
    .side-icons-list {
        position: static;
        top: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem 1.6rem;
        margin-top: 1.6rem;
    }
    .side-icons-list.left-side,
    .side-icons-list.right-side { left: auto; right: auto; }
    .side-icon-item { width: 100px; }
}

@media (max-width: 991px) {
    .about-hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-hero-image-wrapper { max-width: 470px; margin: 1.5rem auto 0; perspective: none; }
    .about-hero-image-wrapper img { transform: none; }
    .about-hero-image-wrapper::before { transform: translate(10px, 18px); }
    .about-hero-desc { max-width: 100%; }
    .mv-container { grid-template-columns: 1fr; }
    .bottom-contact-container { flex-direction: column; text-align: center; }
    .bc-left { flex-direction: column; text-align: center; }
    .bc-right { align-items: center; }
}

@media (max-width: 575px) {
    .about-hero-model { padding: 6rem 0 3rem; }
    .about-hero-title { font-size: 2.6rem; }
    .about-experience-card { max-width: 100%; }
    .about-stats-banner { padding: 2.5rem 1.5rem; }
    .mv-card { padding: 2.2rem 1.6rem; }
}

/* ============================================================
   GALERÍA PÚBLICA — grid de imágenes, overlay y lightbox
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #0f2b5b;
    box-shadow: 0 10px 30px rgba(8, 28, 59, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(8, 28, 59, 0.20);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.1rem 1.25rem;
    color: #ffffff;
    background: linear-gradient(to top, rgba(8, 28, 59, 0.90) 0%, rgba(8, 28, 59, 0.35) 45%, rgba(8, 28, 59, 0) 75%);
}
.gallery-item-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}
.gallery-item-subtitle {
    display: block;
    font-size: 0.88rem;
    font-weight: 400;
    opacity: 0.92;
    margin-top: 0.2rem;
}
.gallery-item-expand {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s ease;
}
.gallery-item:hover .gallery-item-expand { opacity: 1; transform: scale(1); }
.gallery-color-swatch {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    color: #64748b;
}
.empty-state i { font-size: 3rem; color: #cbd5e1; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: #1e293b; margin-bottom: 0.5rem; }
.empty-state p { font-size: 1rem; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 59, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption { color: #fff; margin-top: 1.25rem; font-size: 1.05rem; font-weight: 500; text-align: center; }
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-close:hover { background: var(--primary, #d92027); }

@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
    .gallery-item-title { font-size: 0.95rem; }
    .gallery-item-subtitle { font-size: 0.8rem; }
}

/* ============================================================
   GALERÍA PÚBLICA — vista agrupada por categoría
   ============================================================ */
.gallery-cat-block { margin-bottom: 3.5rem; }
.gallery-cat-block:last-child { margin-bottom: 0; }
.gallery-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}
.gallery-cat-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f2b5b;
    margin: 0;
}
.gallery-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(217, 32, 39, 0.1);
    color: #d92027;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.gallery-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #d92027;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s ease;
}
.gallery-cat-link:hover { gap: 0.7rem; }

.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.gallery-card2 { cursor: pointer; }
.gallery-card2-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0f2b5b;
    box-shadow: 0 8px 22px rgba(8, 28, 59, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card2:hover .gallery-card2-media {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(8, 28, 59, 0.18);
}
.gallery-card2-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-card2:hover .gallery-card2-media img { transform: scale(1.07); }
.gallery-card2-expand {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s ease;
}
.gallery-card2:hover .gallery-card2-expand { opacity: 1; transform: scale(1); }
.gallery-card2-body { text-align: center; padding: 0.8rem 0.4rem 0; }
.gallery-card2-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}
.gallery-card2-subtitle {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.15rem;
}

@media (max-width: 575px) {
    .gallery-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
    .gallery-cat-title { font-size: 1.1rem; }
    .gallery-cat-icon { width: 32px; height: 32px; }
}

/* ============================================================
   COMUNIDAD DEWILL — CTA pre-footer + barra de beneficios
   ============================================================ */
.community-cta { background: #f1f5f9; padding: 3.5rem 0; }
.community-inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }

.community-phone { flex: 0 0 auto; width: 130px; position: relative; }
.community-phone .phone-frame {
    width: 130px; height: 230px; border-radius: 22px;
    border: 6px solid #0f2b5b; background: #0f2b5b; overflow: hidden;
    box-shadow: 0 18px 40px rgba(8, 28, 59, 0.28); transform: rotate(-6deg);
}
.community-phone .phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.community-phone .phone-cam {
    position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
    width: 46px; height: 46px; border-radius: 50%; background: #d92027; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(217, 32, 39, 0.4); border: 3px solid #fff;
}

.community-text { flex: 1 1 280px; min-width: 250px; }
.community-text h2 {
    font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800;
    color: #0f2b5b; line-height: 1.15; margin-bottom: 0.85rem;
}
.community-text h2 span { color: #d92027; display: block; }
.community-text p { color: #475569; font-size: 1rem; margin-bottom: 1.25rem; max-width: 430px; }
.community-wa-btn {
    display: inline-flex; align-items: center; gap: 0.6rem; background: #d92027; color: #fff;
    font-weight: 700; font-size: 1rem; padding: 0.85rem 1.6rem; border-radius: 10px;
    text-decoration: none; transition: all 0.2s; box-shadow: 0 8px 20px rgba(217, 32, 39, 0.3);
}
.community-wa-btn:hover { background: #b81b21; transform: translateY(-2px); }
.community-phone-text { display: block; margin-top: 0.9rem; color: #64748b; font-size: 0.9rem; }
.community-phone-text strong { color: #0f2b5b; }

.community-polaroids { flex: 1 1 380px; display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.polaroid {
    background: #fff; padding: 0.5rem 0.5rem 0.4rem; border-radius: 4px;
    box-shadow: 0 10px 24px rgba(8, 28, 59, 0.18); transform: rotate(var(--r, 0deg));
    transition: transform 0.25s ease; width: 132px;
}
.polaroid:hover { transform: rotate(0deg) scale(1.06); z-index: 2; position: relative; }
.polaroid img { width: 100%; height: 110px; object-fit: cover; display: block; border-radius: 2px; }
.polaroid-cap {
    display: block; text-align: center; font-family: 'Caveat', cursive;
    font-size: 1.2rem; color: #334155; margin-top: 0.35rem; line-height: 1;
}

/* fondo forzado: vence la regla global "Watermark" que pone los <section> transparentes */
.community-features { background: #f4f6f9 !important; border-top: 1px solid rgba(8,28,59,0.07); border-bottom: 1px solid rgba(8,28,59,0.07); padding: 1.75rem 0; }
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-item { display: flex; align-items: center; gap: 0.9rem; color: var(--secondary); }
.feature-item i { font-size: 1.6rem; color: var(--primary); opacity: 1; flex-shrink: 0; width: 28px; text-align: center; }
.feature-item .feat-text { font-size: 0.92rem; line-height: 1.25; font-weight: 600; color: var(--secondary); }

@media (max-width: 768px) {
    .community-inner { justify-content: center; text-align: center; }
    .community-text { text-align: center; }
    .community-text p { margin-left: auto; margin-right: auto; }
    .features-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 480px) {
    .polaroid { width: 120px; }
    .features-row { grid-template-columns: 1fr; justify-items: center; }
}

/* OVERRIDES PARA EL BANNER DE BLOG */
.blog-hero .page-hero-bg .hero-bg-img {
    opacity: 1 !important;
}

.blog-hero .hero-overlay {
    background: transparent !important;
}

.blog-hero .page-hero-title {
    color: var(--secondary) !important;
    text-shadow: none !important;
}

.blog-hero .page-hero-subtitle {
    color: var(--text-muted) !important;
    text-shadow: none !important;
    font-weight: 500;
}

.blog-hero .hero-badge {
    color: var(--secondary) !important;
    background: rgba(8, 28, 59, 0.1) !important;
}

/* ========================================================= */
/* PREMIUM PRODUCT CARD REDESIGN                             */
/* ========================================================= */
/* ============================================================ */
/* TARJETA DE PRODUCTO · REDISEÑO MODERNO (premium-product-card) */
/* ============================================================ */
.premium-product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(8, 28, 59, 0.07);
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 22px rgba(8, 28, 59, 0.06);
    position: relative;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}
/* Línea de acento que se despliega en hover */
.premium-product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 5;
}
.premium-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(8, 28, 59, 0.14);
    border-color: rgba(230, 0, 0, 0.16);
}
.premium-product-card:hover::before { transform: scaleX(1); }

/* --- Vitrina de imagen --- */
.pcr-image-section {
    position: relative;
    padding: 1rem 1rem 0.8rem;
    text-align: center;
    background: radial-gradient(circle at 50% 32%, #ffffff 0%, #eef1f7 100%);
    overflow: hidden;
}
/* Halo decorativo que aparece al pasar el cursor */
.pcr-image-section::after {
    content: "";
    position: absolute;
    width: 170px; height: 170px;
    top: -55px; right: -45px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 0, 0, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
}
.premium-product-card:hover .pcr-image-section::after { opacity: 1; }

.pcr-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.pcr-image-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;            /* la imagen escala para llenar el recuadro manteniendo proporción */
    mix-blend-mode: multiply;        /* funde el fondo blanco de la imagen con la vitrina */
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 14px 18px rgba(8, 28, 59, 0.14));
}
.premium-product-card:hover .pcr-image-section img {
    transform: scale(1.07) translateY(-3px);
}

/* Etiqueta de categoría flotante (vidrio) */
.pcr-badges {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    max-width: calc(100% - 4.5rem); /* deja libre la esquina del boton de favorito */
}
.pcr-category-tag {
    background: rgba(8, 28, 59, 0.92);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.2;
    max-width: 100%;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(8, 28, 59, 0.22);
}
.pcr-category-tag i { font-size: 0.7rem; opacity: 0.85; flex-shrink: 0; }

.pcr-favorite-btn {
    position: absolute;
    top: 1rem; right: 1rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(8, 28, 59, 0.06);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6478;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 3px 10px rgba(8, 28, 59, 0.12);
    transition: all 0.3s ease;
}
.pcr-favorite-btn:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.12);
}
.pcr-favorite-btn.active { color: #ffffff; background: var(--primary); border-color: var(--primary); }

/* --- Cuerpo --- */
.pcr-body-section {
    padding: 1.35rem 1.4rem 1.4rem;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.pcr-subcategory-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    align-self: flex-start;
}
.pcr-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 0.3rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65rem;
}
.pcr-brand {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.pcr-brand::before {
    content: "\f02c"; /* fa-tags */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72rem;
    color: var(--primary);
    opacity: 0.7;
}
/* Chips de especificaciones reales del producto */
.pcr-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.pcr-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-surface);
    border: 1px solid rgba(8, 28, 59, 0.06);
    color: #44506b;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.32rem 0.6rem;
    border-radius: 8px;
    line-height: 1.1;
}
.pcr-spec-chip i { color: var(--primary); font-size: 0.7rem; }

/* Vista previa de colores reales del producto */
.pcr-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.32rem;
    margin-bottom: 0.7rem;
}
.pcr-color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(8, 28, 59, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.18);
}
.pcr-color-more {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 0.1rem;
}

/* Presentaciones disponibles (lo que se asigna en el admin) */
.pcr-presentations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.32rem;
    margin-bottom: 0.85rem;
}
.pcr-presentations > i {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-right: 0.1rem;
}
.pcr-pres-badge {
    background: rgba(8, 28, 59, 0.06);
    color: var(--secondary);
    border: 1px solid rgba(8, 28, 59, 0.1);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 0.24rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
}
.pcr-pres-more {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pcr-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(8, 28, 59, 0.07);
}
.pcr-btn-details {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    border-radius: 10px;
    padding: 0.62rem 0.3rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.1;
}
.pcr-btn-details:hover {
    background: var(--secondary);
    color: #ffffff;
}
.pcr-btn-quote {
    flex: 1.25;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #ffffff;
    border-radius: 10px;
    padding: 0.62rem 0.3rem;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.1;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.26);
}
.pcr-btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(230, 0, 0, 0.34);
}


/* ========================================================= */
/* MEJORAS VISUALIZACIÓN MÓVIL (4 CUADROS A LA VEZ)         */
/* ========================================================= */
@media (max-width: 576px) {
    /* Categorías - 2 columnas */
    .new-categories-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 0.5rem !important; 
    }
    .new-category-card { height: 170px !important; border-radius: 12px; }
    .ncc-content { padding: 0.8rem !important; }
    .ncc-icon { font-size: 1.2rem !important; margin-bottom: 0.2rem !important; }
    .ncc-name { font-size: 0.8rem !important; margin-bottom: 0.2rem !important; }
    .ncc-count { font-size: 0.7rem !important; margin-bottom: 0.4rem !important; }
    .ncc-btn { font-size: 0.7rem !important; padding: 0.2rem 0.6rem !important; display: inline-block; }

    /* Productos Generales, Destacados y Catálogo (pág. Productos) - 2 columnas */
    .products-grid,
    .products-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .products-slider .premium-product-card {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: 140px !important;
    }
    .premium-product-card { border-radius: 16px !important; }
    .pcr-body-section { padding: 0.85rem !important; }
    .pcr-image-section { padding: 1rem !important; }
    .pcr-image-link { height: 130px !important; }
    .pcr-badges { top: 0.5rem !important; left: 0.5rem !important; max-width: calc(100% - 3.2rem) !important; }
    /* Etiqueta de categoria: rectangulo redondeado (no pastilla) para que el texto largo
       quepa en 2 lineas sin que las esquinas lo recorten; mas ancho y sin icono en movil */
    .pcr-category-tag {
        font-size: 0.5rem !important;
        padding: 0.3rem 0.5rem !important;
        border-radius: 9px !important;
        line-height: 1.25 !important;
        letter-spacing: 0.2px !important;
        white-space: normal !important;
    }
    .pcr-category-tag i { display: none !important; }
    .pcr-favorite-btn { width: 30px !important; height: 30px !important; top: 0.5rem !important; right: 0.5rem !important; }
    .pcr-subcategory-tag { font-size: 0.52rem !important; padding: 0.18rem 0.5rem !important; margin-bottom: 0.4rem !important; }
    .pcr-title { font-size: 0.82rem !important; min-height: auto !important; margin-bottom: 0.2rem !important; }
    .pcr-brand { font-size: 0.68rem !important; margin-bottom: 0.5rem !important; }
    .pcr-specs { gap: 0.3rem !important; margin-bottom: 0.6rem !important; }
    .pcr-spec-chip { font-size: 0.55rem !important; padding: 0.25rem 0.45rem !important; }
    .pcr-colors, .pcr-presentations { gap: 0.25rem !important; margin-bottom: 0.5rem !important; }
    .pcr-color-dot { width: 15px !important; height: 15px !important; }
    .pcr-pres-badge { font-size: 0.56rem !important; padding: 0.2rem 0.4rem !important; }
    .pcr-actions { flex-direction: column !important; display: flex !important; gap: 0.4rem !important; padding-top: 0.6rem !important; }
    .pcr-btn-details, .pcr-btn-quote { font-size: 0.62rem !important; padding: 0.45rem !important; flex: 1 1 auto !important; }

    /* Filtros (sidebar de Productos) en 2 columnas en móvil */
    .sidebar-box { padding: 1rem !important; }
    .sidebar-filter-scroll {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        column-gap: 0.6rem;
        row-gap: 0.15rem;
        max-height: 220px !important;
    }
    .filter-checkbox-label {
        align-items: flex-start;
        font-size: 0.78rem;
        margin-bottom: 0.55rem;
        line-height: 1.2;
    }
    .filter-checkbox-label .custom-checkbox { margin-right: 0.5rem; margin-top: 1px; flex-shrink: 0; }
    .filter-checkbox-label .cat-count { flex-shrink: 0; }

    /* Blog - 2 columnas */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .blog-card-img { height: 120px !important; }
    .blog-card-body { padding: 0.8rem !important; }
    .blog-card-title { font-size: 0.8rem !important; margin-bottom: 0.3rem !important; line-height: 1.2 !important; }
    .blog-card-excerpt { display: none !important; }
    .blog-card-meta { padding-bottom: 0.5rem !important; margin-bottom: 0.5rem !important; font-size: 0.7rem !important; gap: 0.5rem !important; }
    .blog-card-badge { padding: 0.2rem 0.5rem !important; font-size: 0.6rem !important; }

    /* Galerías (Ambientes y General) - 2 columnas */
    .ambientes-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Marcas - 2 columnas */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Beneficios: 1 columna apilada en móvil (texto largo + icono no caben en 2 columnas) */
    .benefits-bar { padding: 1.5rem 0 !important; margin-top: 0.5rem !important; }
    .benefits-grid { grid-template-columns: 1fr !important; gap: 1.1rem !important; }
    .benefit-item { min-width: 0; gap: 0.9rem; }
    .benefit-item i { font-size: 2rem !important; flex-shrink: 0; width: 2.2rem; text-align: center; }
    .benefit-item > div { min-width: 0; }
    .benefit-item strong { font-size: 0.98rem !important; }
    .benefit-item span { font-size: 0.82rem !important; }

    /* Por qué elegirnos / Ventajas - 2 columnas */
    .why-grid-modern, .why-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 0.5rem !important; 
    }
    .why-card-glass { padding: 1rem 0.8rem !important; border-radius: 12px !important; }
    .why-number-bg { font-size: 2rem !important; top: -0.5rem !important; right: -0.5rem !important; }
    .why-icon-glow { width: 35px !important; height: 35px !important; font-size: 1.1rem !important; margin-bottom: 0.5rem !important; }
    .why-title-light { font-size: 0.8rem !important; margin-bottom: 0.3rem !important; line-height: 1.2 !important; }
    .why-desc-light { font-size: 0.7rem !important; line-height: 1.3 !important; }

    /* Calidad Certificada - 2 columnas */
    .cert-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 0.5rem !important; 
    }
    .cert-card { padding: 1rem 0.8rem !important; border-radius: 12px !important; }
    .cert-icon { width: 35px !important; height: 35px !important; font-size: 1.1rem !important; margin-bottom: 0.5rem !important; }
    .cert-card h3 { font-size: 0.8rem !important; margin-bottom: 0.3rem !important; line-height: 1.2 !important; }
    .cert-card p { font-size: 0.7rem !important; line-height: 1.3 !important; }
}

