/* ============================================================
   CHINT KITS - Landing Page Styles
   Ref: chintglobal.com — azul profundo, cards blancas, sans-serif
   ============================================================ */

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === VARIABLES === */
:root {
    --chint-blue: #0033A0;
    --chint-blue-light: #0055D4;
    --chint-blue-dark: #001F6B;
    --chint-red: #E4002B;
    --chint-gray-50: #F5F7FA;
    --chint-gray-100: #E8ECF1;
    --chint-gray-200: #D0D5DD;
    --chint-gray-600: #5A6070;
    --chint-gray-900: #111827;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
    --max-width: 1280px;
}

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,.13);
}

/* --- Zona blanca superior (logo) --- */
.header-top {
    background: #fff;
    height: 84px;
    display: flex; align-items: center;
    border-bottom: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-top-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 40px;
    width: 100%; display: flex; align-items: center; justify-content: center;
}
.logo-img {
    height: 71px;
    width: auto;
    display: block;
}

/* --- Barra azul de navegación --- */
.header-nav {
    background: #1a2fd4;
    height: 44px;
    display: flex; align-items: center;
}
.header-nav-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0;
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 0;
}
.nav-link {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,.70);
    padding: 0 28px;
    height: 44px; display: flex; align-items: center;
    text-transform: uppercase; letter-spacing: .8px;
    transition: background .25s ease, color .25s ease;
    border: none;
    position: relative;
}
.nav-link:hover {
    background: rgba(255,255,255,.13);
    color: #fff;
}
/* Estado activo: solo texto blanco brillante, sin líneas */
.nav-link.active {
    color: #fff;
    font-weight: 700;
    background: transparent;
}
.nav-sep {
    color: rgba(255,255,255,.30);
    font-size: 13px;
    user-select: none;
    padding: 0 2px;
}

/* === HERO === */
.hero {
    position: relative; height: auto; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    z-index: 2;
}
.hero-content {
    position: relative; z-index: 1;
    max-width: var(--max-width); margin: 0 auto; padding: 60px 32px;
    width: 100%;
}
.hero-text { flex: 1; }
.hero-badge {
    display: inline-block; background: var(--chint-red); color: #fff;
    padding: 6px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 20px;
}
.hero-highlight {
    background: linear-gradient(90deg, #4FC3F7, #81D4FA);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 16px; color: rgba(255,255,255,.8); max-width: 480px;
    margin-bottom: 32px; line-height: 1.7;
}
.hero-stats {
    display: flex; gap: 40px; margin-bottom: 40px;
    padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.stat-number {
    display: block; font-size: 36px; font-weight: 800; color: #fff;
}
.stat-label {
    font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    background: #fff; color: var(--chint-blue);
    padding: 14px 32px; border-radius: 8px;
    font-size: 15px; font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-secondary {
    background: transparent; color: #fff;
    padding: 14px 32px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    border: 2px solid rgba(255,255,255,.4);
    transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero-image {
    flex: 0 0 420px; position: relative;
}
.hero-product-img {
    width: 100%; border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.hero-image-badge {
    position: absolute; top: -12px; right: -12px;
    background: var(--chint-red); color: #fff;
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(228,0,43,.4);
}
.badge-discount { font-size: 10px; font-weight: 600; letter-spacing: 1px; }
.badge-percent { font-size: 22px; font-weight: 900; }
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.5); font-size: 12px; text-align: center;
}
.scroll-arrow {
    width: 20px; height: 20px; margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,.4);
    border-bottom: 2px solid rgba(255,255,255,.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* === SECTION === */
.section-container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; position: relative; z-index: 3; }
.section-header { margin: 0 0 36px; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Raya azul eliminada */
.section-bar { display: none; }
.section-title {
    font-size: clamp(26px, 3vw, 38px); font-weight: 800;
    color: var(--chint-gray-900); margin-bottom: 10px;
}
.section-subtitle {
    font-size: 16px; color: #4a4f5c;
    max-width: 600px; margin: 0 auto;
}

/* === BARRA DE BÚSQUEDA === */
.search-bar-wrapper {
    margin: 0 0 32px;
    display: flex; justify-content: center;
}
.search-bar {
    position: relative;
    width: 100%; max-width: 520px;
}
.search-bar input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    border: 1.5px solid var(--chint-gray-200);
    border-radius: 50px;
    font-size: 14px; font-family: inherit;
    color: var(--chint-gray-900);
    background: #fff;
    outline: none;
    transition: border-color .22s, box-shadow .22s;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.search-bar input::placeholder { color: var(--chint-gray-600); }
.search-bar input:focus {
    border-color: var(--chint-blue);
    box-shadow: 0 0 0 4px rgba(0,51,160,.10);
}
.search-bar .search-icon {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--chint-gray-600);
    pointer-events: none;
    display: flex; align-items: center;
    transition: color .2s;
}
.search-bar input:focus + .search-icon { color: var(--chint-blue); }
.search-icon-svg { display: block; }
.search-no-results {
    display: none; text-align: center;
    padding: 48px 0; color: var(--chint-gray-600);
    font-size: 15px; font-weight: 500;
    width: 100%;
}
.search-no-results.visible { display: block; }

/* === FILTROS === */
.catalogo {
    background: var(--chint-gray-50);
    padding-top: 15vw;
    padding-bottom: 100px;
    margin-top: -25vw;
}
.filtros {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center;
}
.filtro-btn {
    padding: 10px 24px; border-radius: 50px; border: 1.5px solid var(--chint-gray-200);
    background: #fff; color: var(--chint-gray-600);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .28s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    letter-spacing: .3px;
}
.filtro-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--chint-blue), var(--chint-blue-light));
    opacity: 0;
    transition: opacity .28s ease;
    border-radius: inherit;
}
.filtro-btn span { position: relative; z-index: 1; }
.filtro-btn:hover {
    border-color: var(--chint-blue);
    color: var(--chint-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,51,160,.15);
}
.filtro-btn.active {
    background: linear-gradient(135deg, var(--chint-blue), var(--chint-blue-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0,51,160,.35);
    transform: translateY(-1px);
}

/* === PRODUCT GRID === */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* === ANIMACIÓN DE ENTRADA CARDS === */
@keyframes cardReveal {
    0%   { opacity: 0; transform: translateY(32px) scale(.97); }
    100% { opacity: 1; transform: translateY(0)   scale(1);    }
}
.producto-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; border: 1.2px solid var(--chint-gray-100);
    transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s;
    display: flex; flex-direction: column;
    /* Estado inicial oculto hasta que el observer lo activa */
    opacity: 0;
    transform: translateY(32px) scale(.97);
}
.producto-card.visible {
    animation: cardReveal .55s cubic-bezier(.22,.61,.36,1) forwards;
}
.producto-card.visible:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 12px 36px rgba(0,51,160,.14);
}
.card-image {
    position: relative; padding: 20px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    min-height: 200px; overflow: hidden;
}
.card-image img {
    max-height: 180px; width: auto; object-fit: contain;
    transition: transform .3s;
}
.producto-card:hover .card-image img { transform: scale(1.05); }
.card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--chint-blue); color: #fff;
    padding: 4px 12px; border-radius: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.card-badge-descuento {
    position: absolute; top: 12px; right: 12px;
    background: var(--chint-red); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 800;
}
.card-badge-seguridad {
    display: none;
}
.card-content { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-title {
    font-size: 15px; font-weight: 700; color: var(--chint-gray-900);
    margin-bottom: 4px; line-height: 1.4;
}
.card-subtitle {
    font-size: 12px; color: var(--chint-gray-600);
    margin-bottom: 12px; font-weight: 500;
}
.card-specs {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.spec {
    background: var(--chint-gray-50); color: var(--chint-gray-600);
    padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 600;
    border: 1px solid var(--chint-gray-100);
}
.spec.destaque {
    background: var(--chint-gray-50); color: var(--chint-gray-600);
    border-color: var(--chint-gray-100);
}
.card-precios {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 14px; padding-bottom: 14px;
    border-bottom: 1px solid var(--chint-gray-100);
}
.precio-lista {
    font-size: 13px; color: var(--chint-gray-600);
    text-decoration: line-through; font-weight: 500;
}
.precio-venta {
    font-size: 24px; font-weight: 800; color: var(--chint-blue);
}
.card-beneficios { margin-bottom: 18px; }
.card-beneficios ul { padding-left: 0; }
.card-beneficios li {
    font-size: 13px; color: var(--chint-gray-600);
    padding: 3px 0; padding-left: 18px;
    position: relative;
}
.card-beneficios li::before {
    content: '✓'; position: absolute; left: 0;
    color: #4CAF50; font-weight: 700; font-size: 13px;
}
.btn-cotizar {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--chint-blue) 0%, var(--chint-blue-light) 100%);
    color: #fff;
    padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 700; text-align: center;
    transition: transform .25s cubic-bezier(.4,0,.2,1),
                box-shadow .25s cubic-bezier(.4,0,.2,1),
                filter .25s ease;
    margin-top: auto;
    letter-spacing: .5px;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 51, 160, .3);
}
.btn-cotizar::after {
    content: '';
    position: absolute;
    top: -50%; left: -75%;
    width: 50%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-cotizar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 51, 160, .45);
    filter: brightness(1.08);
}
.btn-cotizar:hover::after { left: 130%; }
.btn-cotizar:active { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0,51,160,.3); }

/* === CONTACTO === */
.contacto {
    background: linear-gradient(135deg, var(--chint-blue-dark), var(--chint-blue));
    padding: 80px 0;
}
.contacto-content {
    display: flex; align-items: center; justify-content: space-between;
    gap: 48px;
}
.contacto-text h2 {
    font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px;
}
.contacto-text p {
    font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 32px;
}
.contacto-info { display: flex; flex-direction: column; gap: 16px; }
.info-item {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500;
}
.info-icon { font-size: 20px; }
.btn-whatsapp {
    display: flex; align-items: center; gap: 12px;
    background: #25D366; color: #fff;
    padding: 18px 36px; border-radius: 12px;
    font-size: 18px; font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.whatsapp-icon { font-size: 24px; }

/* === FOOTER === */
.footer {
    background: #0033A0;
    padding: 16px 0;
    color: #fff;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.footer-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}
.footer-info-item:hover {
    opacity: 0.85;
}
.footer-info-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.footer-schedule {
    font-size: 11px;
    opacity: 0.9;
}
.footer-divider {
    width: 100%;
    max-width: 400px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 4px 0 0;
}
.footer-powered {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* === CHATBOT WHATSAPP WIDGET === */
.whatsapp-widget {
    position: fixed; bottom: 28px; right: 28px; z-index: 1000;
    font-family: 'Inter', sans-serif;
}
.floating-whatsapp {
    position: relative;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
    cursor: pointer;
    border: none; outline: none;
}
.floating-whatsapp:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.whatsapp-badge {
    position: absolute; top: -2px; right: -2px;
    background: #E4002B; color: #fff;
    font-size: 10px; font-weight: 800;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.whatsapp-chat-box {
    position: absolute; bottom: 80px; right: 0;
    width: 350px; max-width: 90vw;
    background: #fff; border-radius: 16px;
    box-shadow: 0 8px 36px rgba(0,0,0,.15);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0; pointer-events: none;
    transition: transform .3s cubic-bezier(.34,1.56,1,1), opacity .3s ease;
    z-index: 1001;
}
.whatsapp-chat-box.active {
    transform: translateY(0) scale(1);
    opacity: 1; pointer-events: auto;
}
.whatsapp-chat-header {
    background: #128C7E; color: #fff;
    padding: 16px; display: flex; align-items: center; gap: 12px;
    position: relative;
}
.whatsapp-chat-avatar {
    position: relative; width: 40px; height: 40px;
    border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 6px;
}
.whatsapp-chat-avatar img { width: 100%; height: auto; object-fit: contain; }
.avatar-status-dot {
    position: absolute; bottom: 0; right: 0;
    width: 10px; height: 10px; border-radius: 50%;
    background: #4CAF50; border: 2px solid #128C7E;
}
.whatsapp-chat-header-info h4 { font-size: 14px; font-weight: 700; margin: 0; }
.whatsapp-chat-header-info span { font-size: 11px; opacity: 0.85; }
.whatsapp-chat-close-btn {
    position: absolute; top: 16px; right: 16px;
    background: transparent; border: none; color: #fff;
    font-size: 16px; cursor: pointer; opacity: 0.8;
    transition: opacity .2s;
}
.whatsapp-chat-close-btn:hover { opacity: 1; }
.whatsapp-chat-body {
    height: 300px; overflow-y: auto;
    padding: 16px; background: #E5DDD5;
    display: flex; flex-direction: column; gap: 12px;
}
.chat-message { display: flex; flex-direction: column; }
.chat-message.bot { align-items: flex-start; }
.chat-message.user { align-items: flex-end; }
.message-bubble {
    max-width: 80%; padding: 10px 14px; border-radius: 12px;
    font-size: 13.5px; line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.bot .message-bubble { background: #fff; color: #1a1a2e; border-top-left-radius: 0; }
.user .message-bubble { background: #DCF8C6; color: #1a1a2e; border-top-right-radius: 0; }
.chat-quick-options { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chat-option-btn {
    background: #fff; border: 1px solid #128C7E; color: #128C7E;
    padding: 8px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
    cursor: pointer; text-align: left; transition: all .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.chat-option-btn:hover { background: #128C7E; color: #fff; }
.whatsapp-chat-footer {
    padding: 10px 12px; border-top: 1px solid rgba(0,0,0,.05);
    display: flex; align-items: center; gap: 8px; background: #f0f0f0;
}
.whatsapp-chat-footer input {
    flex: 1; border: none; padding: 10px 14px; border-radius: 24px;
    font-size: 13px; font-family: inherit; outline: none; background: #fff;
}
.whatsapp-chat-send-btn {
    background: #128C7E; color: #fff; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s;
}
.whatsapp-chat-send-btn:hover { background: #075E54; }

/* === MODAL DETALLE === */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.modal-container {
    background: #fff; border-radius: 16px;
    max-width: 960px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--chint-gray-50); border: none;
    font-size: 24px; color: var(--chint-gray-600);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.modal-close:hover { background: var(--chint-gray-100); }
.modal-header {
    padding: 32px 32px 0;
}
.modal-badge {
    display: inline-block; background: var(--chint-blue); color: #fff;
    padding: 4px 14px; border-radius: 6px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
    margin-bottom: 12px;
}
.modal-title {
    font-size: 22px; font-weight: 800; color: var(--chint-gray-900);
    margin-bottom: 4px;
}
.modal-subtitle {
    font-size: 14px; color: var(--chint-gray-600); font-weight: 500;
}
.modal-body {
    display: flex; gap: 24px; padding: 20px 28px 28px;
}
.modal-images { flex: 1.1; min-width: 0; }
.modal-info { flex: 1; min-width: 0; }
.modal-hero-img {
    background: #fff; border-radius: 12px;
    overflow: hidden; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    min-height: 220px; cursor: zoom-in;
}
.modal-hero-img img {
    width: 100%; max-height: 260px; aspect-ratio: 1/1; object-fit: contain;
    transition: transform .3s;
}
.modal-hero-img:hover img { transform: scale(1.03); }
.modal-section-title {
    font-size: 14px; font-weight: 700; color: var(--chint-gray-900);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 8px; border-bottom: 2px solid var(--chint-blue);
    display: inline-block;
}
.modal-components-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.modal-component-card {
    background: #fff; border-radius: 10px;
    padding: 12px; text-align: center;
    border: 1px solid var(--chint-gray-100);
    transition: border-color .2s;
}
.modal-component-card:hover { border-color: var(--chint-blue); }
.modal-component-card img {
    width: 100%; aspect-ratio: 1/1; object-fit: contain;
    margin-bottom: 8px; cursor: zoom-in;
    transition: transform .2s;
    background: #fff; border-radius: 6px;
}
.modal-component-card img:hover { transform: scale(1.03); }
.modal-component-card img.zoomed,
img.highlight-zoomed {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001; cursor: default;
    background: #fff; border-radius: 12px;
    box-shadow: 0 16px 64px rgba(0,0,0,.5);
    width: 75vmin; height: 75vmin; max-width: 550px; max-height: 550px;
    object-fit: contain; aspect-ratio: 1/1;
    padding: 8px;
}
@media (max-width: 768px) {
    img.highlight-zoomed {
        width: 90vmin; height: 90vmin; max-width: 90vw; max-height: 90vw;
    }
}
.highlight-close {
    position: fixed; top: 16px; right: 16px; z-index: 10003;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.9); border: none;
    font-size: 20px; font-weight: 700; color: #333;
    cursor: pointer; display: none;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.highlight-close:hover { background: #fff; }
.highlight-arrow {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 10002;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.9); border: none;
    font-size: 20px; font-weight: 700; color: #333;
    cursor: pointer; display: none;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.highlight-arrow:hover { background: #fff; }
.highlight-arrow.left { left: calc(50% - min(37.5vmin, 275px) - 30px); }
.highlight-arrow.right { right: calc(50% - min(37.5vmin, 275px) - 30px); }
@media (max-width: 768px) {
    .highlight-arrow.left { left: 8px; }
    .highlight-arrow.right { right: 8px; }
}
.modal-component-card img.zoomed + .zoom-overlay,
.zoom-overlay.active {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.6); z-index: 10000; cursor: zoom-out;
}
.modal-component-name {
    font-size: 11px; font-weight: 600; color: var(--chint-gray-600);
    line-height: 1.4;
}
.modal-specs {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.modal-spec {
    background: var(--chint-gray-50); color: var(--chint-gray-600);
    padding: 6px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--chint-gray-100);
}
.modal-spec.destaque {
    background: #E3F2FD; color: var(--chint-blue);
    border-color: #BBDEFB;
}
.modal-precios {
    background: var(--chint-gray-50); border-radius: 12px;
    padding: 20px; margin-bottom: 20px;
}
.modal-precio-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 8px;
}
.modal-precio-label {
    font-size: 13px; color: var(--chint-gray-600); font-weight: 500;
}
.modal-precio-lista {
    font-size: 15px; color: var(--chint-gray-600);
    text-decoration: line-through; font-weight: 500;
}
.modal-precio-destacado {
    padding-top: 8px; border-top: 1px solid var(--chint-gray-200);
    margin-bottom: 0;
}
.modal-precio-venta {
    font-size: 28px; font-weight: 800; color: var(--chint-blue);
}
.modal-ahorro {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px dashed var(--chint-gray-200);
}
.modal-ahorro-label {
    font-size: 13px; font-weight: 600; color: #4CAF50;
}
.modal-ahorro-valor {
    font-size: 18px; font-weight: 800; color: #4CAF50;
}
.modal-beneficios { margin-bottom: 24px; }
.modal-beneficios ul { padding-left: 0; }
.modal-beneficios li {
    font-size: 14px; color: var(--chint-gray-600);
    padding: 5px 0; padding-left: 22px;
    position: relative;
}
.modal-beneficios li::before {
    content: '✓'; position: absolute; left: 0;
    color: #4CAF50; font-weight: 700; font-size: 14px;
}
.modal-btn-whatsapp {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--chint-blue) 0%, var(--chint-blue-light) 100%);
    color: #fff;
    padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 700; text-align: center;
    transition: transform .25s cubic-bezier(.4,0,.2,1),
                box-shadow .25s cubic-bezier(.4,0,.2,1),
                filter .25s ease;
    letter-spacing: .5px;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 51, 160, .3);
}
.modal-btn-whatsapp::after {
    content: '';
    position: absolute;
    top: -50%; left: -75%;
    width: 50%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.modal-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 51, 160, .45);
    filter: brightness(1.08);
}
.modal-btn-whatsapp:hover::after { left: 130%; }
.modal-btn-whatsapp:active { transform: translateY(-1px); }
.modal-nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 16px;
}
.modal-nav-btn {
    flex: 1; padding: 10px 16px; border-radius: 8px;
    background: var(--chint-gray-50); color: var(--chint-blue);
    border: 1.5px solid var(--chint-gray-200);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .2s;
}
.modal-nav-btn:hover { border-color: var(--chint-blue); background: #E3F2FD; }
.modal-nav-counter {
    font-size: 13px; font-weight: 600; color: var(--chint-gray-600);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-body { flex-direction: column; }
    .modal-container { margin: 8px; }
    .modal-components-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === COPY CODE BUTTON === */
.copy-code-btn {
    background: none !important;
    border: 1px solid var(--chint-gray-200) !important;
    border-radius: 4px;
    cursor: pointer !important;
    font-size: 12px;
    padding: 2px 6px;
    line-height: 1;
    vertical-align: middle;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
    display: inline-flex !important;
    align-items: center;
    color: var(--chint-gray-600) !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    outline: none !important;
}
.copy-code-btn svg {
    display: block;
    stroke: currentColor;
    fill: none;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.copy-code-btn:hover {
    background: var(--chint-gray-100) !important;
    border-color: var(--chint-gray-600) !important;
    cursor: pointer !important;
}
.copy-code-btn.copied {
    border-color: #22c55e !important;
    color: #22c55e !important;
}
.copy-toast {
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    color: #22c55e;
    pointer-events: none;
}
.spec.codigo {
    user-select: none;
}

/* === NAV VOLVER BUTTON === */
.nav-volver {
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.nav-volver:hover {
    opacity: 1;
}

/* === SECTION DISCLAIMER === */
.section-disclaimer {
    font-size: 11px !important;
    color: var(--chint-gray-600);
    opacity: 0.7;
    margin-top: 6px;
    line-height: 1.5;
    text-align: center;
}
.disclaimer-br { display: none; }

/* === HAMBURGER BUTTON === */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    -webkit-appearance: none;
    appearance: none;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--chint-gray-900);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
}

/* === MOBILE MENU DRAWER === */
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1003;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--chint-gray-100);
    background: #fff;
}
.mobile-menu-logo {
    height: 40px;
    width: auto;
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--chint-gray-600);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.mobile-menu-close:hover {
    background: var(--chint-gray-100);
}
.mobile-menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
}
.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--chint-gray-900);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
}
.mobile-menu-link:hover {
    background: var(--chint-gray-50);
    color: var(--chint-blue);
}
.mobile-menu-link.mobile-menu-volver {
    color: var(--chint-blue);
    font-weight: 600;
}
.mobile-menu-divider {
    height: 1px;
    background: var(--chint-gray-100);
    margin: 8px 24px;
}
.mobile-menu-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--chint-gray-100);
    background: var(--chint-gray-50);
}
.mobile-menu-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--chint-gray-900);
    text-decoration: none;
    margin-bottom: 4px;
}
.mobile-menu-contact svg {
    fill: var(--chint-blue);
}
.mobile-menu-hours {
    font-size: 12px;
    color: var(--chint-gray-600);
    padding-left: 24px;
}

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--chint-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    -webkit-appearance: none;
    appearance: none;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--chint-blue-light);
}

/* === NEWSLETTER CTA === */
.newsletter-cta {
    background: linear-gradient(135deg, var(--chint-blue-dark) 0%, var(--chint-blue) 100%);
    padding: 48px 24px;
}
.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.newsletter-icon {
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}
.newsletter-text h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.newsletter-text p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin: 0;
}
.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 460px;
    margin-top: 8px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
.newsletter-form input[type="email"]:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}
.newsletter-btn {
    padding: 12px 24px;
    background: #fff;
    color: var(--chint-blue);
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.newsletter-btn:hover {
    background: var(--chint-gray-100);
}
.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.newsletter-success,
.newsletter-error {
    display: none;
    font-size: 14px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 8px;
}
.newsletter-success {
    color: #fff;
    background: rgba(34,197,94,0.25);
}
.newsletter-error {
    color: #fff;
    background: rgba(239,68,68,0.25);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-stats { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .hero-image { flex: 0 0 auto; max-width: 320px; }
    .contacto-content { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-top { height: 64px; }
    .header-top-container { padding: 0 16px; justify-content: center; }
    .logo-img { height: 48px; }
    .hamburger-btn { display: flex; position: absolute; right: 16px; }
    .header-top-container { position: relative; }
    .header-nav-container { display: none; }
    .header-nav { height: 6px; }
    #hero > div:first-child { height: 70px !important; }
    .hero-content { padding: 40px 16px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 28px; }
    #hero { height: auto !important; padding: 0 !important; margin: 0 !important; }
    #hero-banner-desktop { display: none !important; }
    #hero-banner-movil { display: block !important; }
    .catalogo { margin-top: -30vw; padding-top: 24vw; }
    .section-container { padding: 0 16px; }
    .productos-grid { grid-template-columns: 1fr; }
    .filtros { gap: 8px; }
    .filtro-btn { padding: 8px 16px; font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .disclaimer-br { display: inline; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { border-right: 2px solid rgba(255,255,255,0.2); border-radius: 8px; }
    .newsletter-btn { border-radius: 8px; }
    .newsletter-text h3 { font-size: 18px; }
    .scroll-to-top { bottom: 80px; right: 16px; width: 40px; height: 40px; }
}