﻿/* 
 * Clean Theme - Custom CSS
 */
:root {
    --bg-start: #ffffff;
    --bg-end: #f0f2f5;
    --text-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow: hidden; /* Sin scroll global */
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
}

h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-top: 0;
    font-weight: 600;
}

/* La rejilla estÃƒÂ¡tica (sÃƒÂºper sutil) y muy separada (50px) */
/* =========================================
   REJILLA DE PUNTOS INTERACTIVA
   ========================================= */
body::after,
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-size: 30px 30px; /* Distancia entre puntos */
}

/* Capa base estÃƒÂ¡tica (lejos del mouse) */
body::after {
    /* Puntos pequeÃƒÂ±os mÃƒÂ¡s visibles */
    background-image: radial-gradient(rgba(0, 79, 125, 0.15) 2px, transparent 2px);
    opacity: 0.6;
}

/* Capa interactiva (cerca del mouse) */
body::before {
    /* Puntos mÃƒÂ¡s grandes (4px) y oscuros (azul corporativo) para impactar mÃƒÂ¡s */
    background-image: radial-gradient(rgba(0, 79, 125, 0.8) 4px, transparent 4px);
    opacity: 1;
    
    /* CÃƒÂ­rculo interactivo mÃƒÂ¡s grande para que se note mucho mÃƒÂ¡s el efecto */
    mask-image: radial-gradient(
        circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        black 0%,
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        black 0%,
        transparent 100%
    );
    z-index: -1;
}

/* =========================================
   SISTEMA GLOBAL DE ENLACES UNIFICADO
   ========================================= */
.cc-list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--link-color, inherit);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}
.cc-nav-link svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cc-nav-link:hover {
    opacity: 1;
    color: var(--hover-color, #40a9ff);
    transform: translateX(4px);
}
.cc-nav-link:hover svg {
    transform: scale(1.1);
}

/* Colores Contextuales para el Sistema de Enlaces */
.cc-glass-card {
    --link-color: #444; /* Color base explÃƒÂ­cito */
    --hover-color: #004F7D;
    color: #444;
}
.site-footer, .cc-sidebar-box {
    --link-color: #ffffff; /* Color base explÃƒÂ­cito */
    --hover-color: #40a9ff;
    color: #ffffff;
}

/* Reset bÃƒÂ¡sico genÃƒÂ©rico para enlaces normales (ej. dentro de pÃƒÂ¡rrafos) */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    padding-top: 21px; /* Padding solo arriba, para que el footer pueda llegar hasta abajo */
    scroll-padding-top: 77px; /* Evita que el header cubra el contenido al saltar a un ancla */
    
    /* Este es el verdadero "body" visual para el usuario */
    flex: 1 1 auto; /* Ocupa todo el alto sobrante debajo del header */
    overflow-y: auto; /* AQUI va el scroll vertical */
    overflow-x: hidden; /* Cancelamos el X aquÃƒÂ­ */
    scroll-behavior: smooth; /* Desplazamiento suave hacia anclas como #cotizar-visita */
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111;
}

/* =========================================
   HEADER CUSTOM (Alto 77px)
   ========================================= */
.site-header {
    width: 100%;
    min-height: 77px; 
    
    /* Flex item estÃ¡tico en la parte superior */
    flex: 0 0 auto;
    overflow: hidden; /* NingÃºn overflow en el header */
    z-index: 1000;
    position: sticky;
    top: 0;
    
    /* Fondo: el color mÃƒÂ¡s claro del body (blanco) */
    background-color: var(--bg-start); 
    
    /* Contorno sÃƒÂ³lido inferior de 1px */
    border: none;
    border-bottom: 1px solid #d1d5db;
    
    /* PequeÃƒÂ±a sombra vertical de 7px, muy sutil */
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 77px; /* Asegura que el contenedor mantenga el tamaÃƒÂ±o inicial */
    
    /* Padding de 7px exactos de cada uno de los 4 lados */
    padding: 7px;
    
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

/* 1. BotÃƒÂ³n de Mega MenÃƒÂº */
.mega-menu-btn {
    width: 63px;
    height: 63px;
    flex-shrink: 0;
}

/* 2. Logotipo */
.site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1; /* El logo empuja los iconos de la derecha al final */
    height: 48px;
}

@media (min-width: 768px) {
    .site-branding {
        height: 63px;
    }
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}


/* 3, 4, 5. Contenedor de Acciones (Iconos derechos) */
.header-actions {
    height: 63px;
    display: flex;
    align-items: center;
    gap: 8px; /* SeparaciÃƒÂ³n entre iconos */
}

/* Estilo Base Botones Icono (compartido por Mega MenÃƒÂº e Iconos derechos) */
.header-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #555;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-actions .header-icon-btn {
    width: 48px;
    height: 48px;
}

.header-icon-btn:hover {
    background: rgba(0,0,0,0.05);
    color: #111;
}

.header-icon-btn svg {
    width: 24px;
    height: 24px;
}

/* =========================================================================
   SISTEMA GLOBAL: AERO GLASS B2B (Entradas de Servicio)
   ========================================================================= */

/* --- Contenedores Generales --- */
.cc-section-light {
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 60px;
}
.cc-section-dark {
    background-color: rgba(0, 50, 95, 0.75); 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 79, 125, 0.2);
    padding: 60px 20px;
}

/* --- Tarjetas Globales --- */
.cc-card-light {
    background-color: #ffffff !important;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cc-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* --- Enlaces Globales (Hover Moderno sin subrayado) --- */
a.cc-modern-link, .cc-brand-link, .ce-brand-link {
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
a.cc-modern-link:hover, .cc-brand-link:hover, .ce-brand-link:hover, .cc-brand-card:hover .cc-brand-link, .ce-brand-card:hover .ce-brand-link {
    color: #0ea5e9 !important; /* Azul elÃ©ctrico */
    transform: translateX(4px);
    text-decoration: none !important;
}

/* --- Componente: CTA Banner B2B --- */
.cc-cta-dark-container {
    max-width: 1280px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cc-cta-dark-content {
    display: flex; align-items: flex-start; gap: 24px; flex: 1; min-width: 300px;
}
.cc-cta-dark-icon {
    flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; 
    background-color: rgba(255, 255, 255, 0.1); color: #38bdf8; display: flex; align-items: center; justify-content: center; 
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.cc-cta-dark-icon svg { width: 32px; height: 32px; }
.cc-cta-dark-text { max-width: 600px; }
.cc-cta-dark-title { color: #f8fafc; font-family: inherit; font-size: 28px; font-weight: 700; margin: 0 0 12px 0; line-height: 1.2; }
.cc-cta-dark-desc { color: #cbd5e1; font-family: inherit; font-size: 16px; line-height: 1.6; margin: 0; font-weight: 400; }
.cc-cta-dark-action { flex-shrink: 0; }
.cc-cta-dark-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #f8fafc; color: #0f172a; padding: 16px 32px; border-radius: 8px;
    font-weight: 600; font-size: 16px; text-decoration: none; font-family: inherit;
    transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); white-space: nowrap;
}
.cc-cta-dark-btn svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.cc-cta-dark-btn:hover { background-color: #ffffff; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15); }
.cc-cta-dark-btn:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
    .cc-cta-dark-container { flex-direction: column; text-align: center; }
    .cc-cta-dark-content { flex-direction: column; align-items: center; }
    .cc-cta-dark-title { font-size: 24px; }
    .cc-cta-dark-btn { width: 100%; }
}

/* --- Componente: Carrusel Horizontal Estilo Marcas --- */
.cc-carousel-wrapper {
    position: relative;
    
    
    padding: 20px 0;
}
.cc-carousel-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 20px 40px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin; 
}
.cc-carousel-slider::-webkit-scrollbar { height: 8px; }
.cc-carousel-slider::-webkit-scrollbar-track { background: transparent; border-radius: 4px; }
.cc-carousel-slider::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.cc-carousel-slider::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.cc-brand-card {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    padding: 0;
    overflow: hidden;
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}
.cc-brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 79, 125, 0.1) !important;
}
.cc-brand-img-wrap {
    width: 100%;
    height: 130px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}
.cc-brand-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cc-brand-content-info { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cc-brand-title { font-size: 1.1rem; color: #0f172a !important; margin: 0 0 10px 0; font-weight: 700; }
.cc-brand-price { font-size: 1.25rem; font-weight: 800; color: #00bfff !important; margin: 0 0 12px 0; }
.cc-brand-excerpt { font-size: 0.85rem; color: #475569 !important; line-height: 1.5; margin: 0 0 20px 0; flex: 1; }
.cc-brand-link { font-size: 0.9rem; font-weight: 600; color: #38bdf8 !important; }

/* --- Componente: Tarjetas Apiladas (Experiencia) --- */
.cc-stacked-wrapper {
    position: relative; height: 480px; display: flex; justify-content: center; align-items: center; perspective: 1000px;
}
.cc-aura-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none; z-index: 0;
}
.cc-stacked-section { position: relative; width: 320px; height: 440px; z-index: 10; }
.cc-stacked-card {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff !important; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important; border: 1px solid rgba(0, 0, 0, 0.05) !important;
    will-change: transform; cursor: grab; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
    transform-origin: center bottom; user-select: none; display: flex; flex-direction: column; padding: 0;
}
.cc-stacked-card img { width: 100%; height: 220px; object-fit: cover; pointer-events: none; }
.cc-stacked-content { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cc-stacked-title { font-size: 1.2rem; color: #1e293b !important; margin: 0 0 10px 0; }
.cc-stacked-desc { font-size: 0.9rem; color: #475569 !important; line-height: 1.6; margin: 0; }
.cc-fly-left { transform: translateX(-120%) rotate(-15deg) !important; opacity: 0 !important; }
.cc-fly-right { transform: translateX(120%) rotate(15deg) !important; opacity: 0 !important; }

/* =========================================
   SEARCH OVERLAY
   ========================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Cubre el area del header */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* AnimaciÃƒÂ³n inicial oculta */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 5px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.search-icon {
    width: 24px;
    height: 24px;
    color: #94a3b8;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 20px;
    font-size: 1.2rem;
    color: #0f172a;
    outline: none;
    font-family: inherit;
}

.search-field::placeholder {
    color: #cbd5e1;
}

.close-search-btn {
    background: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: #64748b;
    transition: all 0.2s ease;
}

.close-search-btn:hover {
    color: #ef4444;
    transform: scale(1.05);
}

.close-search-btn svg {
    width: 20px;
    height: 20px;
}

.close-search-btn span {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 2px;
}

/* =========================================
   COOKIES BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    z-index: 9999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    
    /* Animation */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.cc-btn-accept {
    background-color: #0066ff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.cc-btn-accept:hover {
    background-color: #0052cc;
}

/* =========================================
   MEGA MENÃƒÅ¡ GENERAL
   ========================================= */
.mega-menu {
    flex: 0 0 auto;
    width: 100%;
    height: 0;
    
    /* El contenedor ahora es totalmente transparente para compartir el fondo interactivo del body */
    background-color: transparent;
    z-index: 999;
    
    /* En vez de superponerse, desplaza animando su altura */
    transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    overflow-y: hidden; /* Oculto cuando estÃƒÂ¡ cerrado */
    overflow-x: hidden;
    
    /* Evitar bordes redondeados en el contenedor full-screen */
    border-radius: 0 !important;
    border-top: none !important;
}

.mega-menu.is-open {
    height: calc(100vh - 77px); /* Ocupa el resto de la pantalla, empujando al main */
    overflow-y: auto; /* Activa el scroll en Y solo en este contenedor */
}

.mega-menu-content {
    padding: 21px 40px; /* Padding extra a los lados para que no choque con la orilla */
    padding-bottom: 120px; /* Extra amplio para barras de navegaciÃƒÂ³n de Android/iOS (Home Indicator) */
    max-width: 1200px; /* Abarca lo mismo que el header */
    margin: 0 auto; /* 0 arriba para tocar el header, centrado horizontalmente */
    
    /* Para que se pegue al header, quitamos el borde redondeado superior */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none; /* Quitamos el borde blanco superior para que se fusione con el header */
}

/* MEGA MENÃƒÅ¡ CONTENIDO (GRID LAYOUT) */
.cc-mega-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* Panel Izquierdo */
.cc-mega-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cc-mega-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tarjetas con efecto Glassmorphism suave */
.cc-glass-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.cc-glass-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* TÃƒÂ­tulos principales */
.cc-mega-title {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
    word-break: break-word;
    text-transform: uppercase;
}

/* Grupos (Ej: ProtecciÃƒÂ³n perimetral) */
.cc-mega-group {
    margin-bottom: 20px;
}
.cc-mega-group:last-child {
    margin-bottom: 0;
}
.cc-mega-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.cc-mega-group-title svg {
    width: 20px;
    height: 20px;
    color: #004F7D; /* Azul corporativo */
}

/* Listas de enlaces */
.cc-mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cc-mega-list li {
    margin-bottom: 8px;
}
.cc-mega-list a {
    /* Las propiedades previas fueron reemplazadas por la clase global cc-nav-link */
    display: block; /* Mantenemos display block en este contenedor de lista para aprovechar el ancho total si es necesario */
}

/* Soluciones (Las animaciones pasaron a cc-nav-link) */
.cc-mega-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Footer del MenÃƒÂº */
.cc-mega-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.cc-mega-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.cc-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cc-btn-whatsapp svg {
    width: 20px;
    height: 20px;
}
.cc-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* PANEL DERECHO (Marcas) */
.cc-mega-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 0;
    min-height: 100%;
}

.cc-btn-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #004F7D;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #004F7D;
    transition: all 0.3s;
    flex-shrink: 0;
}
.cc-btn-catalog:hover {
    background-color: #004F7D;
    color: #ffffff;
}
.cc-btn-catalog svg {
    width: 20px;
    height: 20px;
}

.cc-sidebar-box {
    background: linear-gradient(180deg, #004F7D 0%, #002238 100%);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Contener bordes */
}

.cc-sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.cc-sidebar-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.cc-sidebar-brands {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    padding-right: 10px;
}
/* Scrollbar para marcas */
.cc-sidebar-brands::-webkit-scrollbar {
    width: 6px;
}
.cc-sidebar-brands::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.cc-sidebar-brands::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}
.cc-sidebar-brands li {
    margin-bottom: 8px;
}
/* Estilos extra de marcas */
.cc-sidebar-brands .cc-nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.02);
}
.cc-sidebar-brands .cc-nav-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.1);
}
.cc-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #40a9ff;
}

/* Responsividad bÃƒÂ¡sica para el Mega MenÃƒÂº */
@media (max-width: 1024px) {
    .cc-mega-grid {
        grid-template-columns: 1fr;
    }
    .cc-mega-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .cc-mega-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cc-mega-sidebar {
        height: auto;
        min-height: auto;
    }
    .cc-sidebar-brands {
        max-height: 400px;
    }
}
@media (max-width: 768px) {
    .cc-mega-cols {
        grid-template-columns: 1fr;
    }
    .cc-mega-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cc-mega-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .cc-mega-footer-links {
        flex-wrap: wrap;
    }
}

/* =========================================
   CONTENEDORES DE SECCIÃƒâ€œN Y MENÃƒÅ¡ (AERO GLASS / BLUR)
   ========================================= */
.glass-section,
.mega-menu-wrapper {
    /* Fondo casi totalmente transparente para que se vea el cristal real */
    background: rgba(255, 255, 255, 0.05);
    
    /* Desenfocamos solo 6px. Si desenfocamos demasiado, los puntos pequeÃƒÂ±os desaparecen por completo y parece opaco. */
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    
    /* Bordes con un toque de contraste para enmarcar el cristal sobre el fondo claro */
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    
    /* Sombra mÃƒÂ¡s definida para despegar la secciÃƒÂ³n del fondo */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.glass-section {
    padding: 21px;
    margin-bottom: 21px;
}

/* =========================================
   SECCIÃƒâ€œN DE VISITA TÃƒâ€°CNICA (PRESUPUESTO)
   ========================================= */
.visita-section-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.04);
    
    /* Curvatura solo arriba para conectarse al footer cuadrado abajo */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    
    padding: 60px 0 40px 0;
    margin: 0;
}

.visita-header {
    margin-bottom: 30px;
}

.visita-header h2 {
    font-size: 2rem;
    color: #001f3f; /* Azul muy oscuro o negro azulado */
    margin-bottom: 15px;
    font-weight: 800;
}

.visita-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #555;
}

.visita-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e6fcf5;
    color: #0ca678;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.visita-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.visita-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.visita-card.popular {
    border: 2px solid #e2e8f0;
    background: #f8fafc;
}

.visita-popular-badge {
    position: absolute;
    top: -12px;
    left: 40px;
    background: #ffffff;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
}

.visita-card h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.visita-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Empuja el precio y el botÃƒÂ³n hacia abajo si un texto es mÃƒÂ¡s corto */
}

.visita-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}

.visita-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0066ff; /* Azul vibrante estilo Stripe */
    color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 40px;
}

.visita-btn:hover {
    background-color: #0052cc;
    color: #ffffff;
    transform: translateY(-2px);
}

.visita-includes h4 {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 15px;
    font-weight: 600;
}

.visita-includes ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.visita-includes ul li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
}

/* =========================================
   FOOTER (Azul Corporativo)
   ========================================= */
.site-footer {
    background: linear-gradient(180deg, #004F7D 0%, #002238 100%); /* Gradiente profundo */
    color: #ffffff;
    padding: 60px 0 20px 0;
    margin-top: 0; /* Ya no hay separaciÃƒÂ³n porque ahora la secciÃƒÂ³n de visita se conecta directo arriba */
    box-shadow: 0 -15px 40px rgba(0, 79, 125, 0.15); /* Resplandor azul superior */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Efecto de lÃƒÂ­nea LED o "brillo" tecnolÃƒÂ³gico en el borde superior */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(64, 169, 255, 0.6) 50%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}


.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #40a9ff; /* Azul claro moderno para subtÃƒÂ­tulos */
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

/* Listas de Contacto con Iconos */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-icon {
    margin-top: 2px;
    flex-shrink: 0;
    color: #40a9ff;
    filter: drop-shadow(0 0 5px rgba(64, 169, 255, 0.3)); /* Resplandor suave en los ÃƒÂ­conos */
}

.contact-list div {
    display: flex;
    flex-direction: column;
}

.contact-list strong {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE (MÃƒâ€œVIL)
   ========================================= */
@media (max-width: 767px) {
    /* Ajustes para forzar los 4 iconos + logo + menÃƒÂº en una sola lÃƒÂ­nea */
    .header-container {
        padding: 5px;
        gap: 5px; /* Menos espacio entre logo e iconos */
    }
    
    .site-branding {
        flex-grow: 1;
        min-width: 0; /* Permite que el logo se encoja si es necesario */
    }
    
    .site-branding img {
        max-width: 100%;
        height: auto;
        max-height: 40px; /* Logo mÃƒÂ¡s pequeÃƒÂ±o en mÃƒÂ³vil para dar espacio a iconos */
    }
    
    .header-actions {
        gap: 2px; /* Juntar los iconos para que quepan los 4 */
    }
    
    .header-actions .header-icon-btn,
    .mega-menu-btn {
        width: 38px;
        height: 38px;
    }
    
    .header-icon-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Reducir padding lateral general */
    .container {
        padding: 0 7px;
    }
    
    /* Reducir padding interno de los contenedores glass */
    .glass-section {
        padding: 7px;
        border-radius: 12px;
    }
    
    /* Ajustes mÃƒÂ³viles del footer */
    .site-footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Hacemos que la descripciÃƒÂ³n de la marca ocupe ambas columnas arriba,
       y los links/contacto se dividan en dos columnas abajo */
    .footer-brand {
        grid-column: span 2;
    }
}


/* =========================================
   DYNAMIC HERO SECTION
   ========================================= */
.cc-dynamic-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -21px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 40px;
    padding: 60px 20px;
}

/* Capa de oscurecimiento y destello tecnolÃ³gico */
.cc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 51, 0.4); /* Oscurece la foto mÃ¡s suavemente */
    backdrop-filter: blur(12px); /* Efecto cristal */
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

/* Agregamos un destello sutil azul desde abajo */
.cc-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 79, 125, 0.15), transparent);
    z-index: 2;
}

.cc-hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Eliminamos la animaciÃ³n fadeUp para que Lighthouse pueda detectar el LCP (Largest Contentful Paint) instantÃ¡neamente */
}

.cc-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    text-align: center;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.cc-hero-glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .cc-hero-glass-card {
        flex-direction: row;
        align-items: stretch;
    }
}

.cc-hero-thumb {
    flex: 0 0 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cc-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cc-hero-thumb:hover img {
    transform: scale(1.05);
}

.cc-hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.cc-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.cc-hero-excerpt {
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cc-hero-excerpt p:last-child {
    margin-bottom: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Panel Glass para el contenido principal (page, single, etc.) */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 60px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    /* Responsive Paddings para Mobile */
    .glass-panel {
        padding: 20px 15px;
        border-radius: 12px;
    }
    .glass-section {
        padding: 15px !important;
        border-radius: 12px;
    }
    .cc-glass-card {
        padding: 15px !important;
    }
}




/* ==============================================
   ESTILOS DE LA HOME ABSTRAÍDOS
   ============================================== */

/* CSS para Carrusel de Marcas */
.cc-brands-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.cc-brands-track {
    display: flex;
    overflow-x: auto;
    padding: 20px 20px 40px 20px; /* Espacio para scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Suavidad en mÃ³viles */
    
    /* Scrollbar invisible por defecto, se muestra en hover */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.cc-brands-track::-webkit-scrollbar {
    height: 8px;
}

.cc-brands-track::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.cc-brands-track::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.cc-brands-track:hover {
    scrollbar-color: rgba(0, 79, 125, 0.4) transparent;
}

.cc-brands-track:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 79, 125, 0.4);
}

.cc-brands-content {
    display: flex;
    gap: 20px;
}

/* Tarjetas un poco mÃ¡s pequeÃ±as */
.cc-brand-card {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0;
    overflow: hidden;
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.cc-brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 79, 125, 0.1);
}

.cc-brand-img-wrap {
    width: 100%;
    height: 130px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.cc-brand-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-brand-content-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cc-brand-title {
    margin: 0 0 8px 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.cc-brand-excerpt {
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.cc-brand-link {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.cc-brand-card:hover .cc-brand-link {
    color: #0284c7;
}

/* Efecto viÃ±eta (fade en orillas) implementado con mÃ¡scaras relativas al contenedor */
.cc-brands-wrapper {
    position: relative;
    
    
}


/* ===== CSS: EstandarizaciÃ³n de CTAs Dark (Acerca de nosotros, Cotizar, Visita) ===== */
.cc-cta-dark-section {
  margin: 40px 0; 
  background-color: rgba(0, 50, 95, 0.75); /* Fondo azul corporativo translÃºcido para efecto glass */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 79, 125, 0.2);
}
.cc-cta-dark-container {
  max-width: 1280px; margin: 0 auto; padding: 64px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cc-cta-dark-content {
  display: flex; align-items: flex-start; gap: 24px; flex: 1; min-width: 300px;
}
.cc-cta-dark-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; 
  background-color: rgba(255, 255, 255, 0.1); color: #38bdf8; display: flex; align-items: center; justify-content: center; 
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.cc-cta-dark-icon svg { width: 32px; height: 32px; }
.cc-cta-dark-text { max-width: 600px; }
.cc-cta-dark-title { color: #f8fafc; font-family: inherit; font-size: 28px; font-weight: 700; margin: 0 0 12px 0; line-height: 1.2; }
.cc-cta-dark-desc { color: #cbd5e1; font-family: inherit; font-size: 16px; line-height: 1.6; margin: 0; font-weight: 400; }
.cc-cta-dark-action { flex-shrink: 0; }
.cc-cta-dark-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background-color: #f8fafc; color: #0f172a; padding: 16px 32px; border-radius: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none; font-family: inherit;
  transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); white-space: nowrap;
}
.cc-cta-dark-btn svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.cc-cta-dark-btn:hover { background-color: #ffffff; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15); }
.cc-cta-dark-btn:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
  .cc-cta-dark-container { flex-direction: column; text-align: center; padding: 48px 24px; }
  .cc-cta-dark-content { flex-direction: column; align-items: center; }
  .cc-cta-dark-title { font-size: 24px; }
  .cc-cta-dark-btn { width: 100%; }
}

/* ===== CSS: Mega Columnas (Servicios) ===== */
.cc-home-services {
  padding: 40px; /* Padding controlado por clase en lugar de inline */
}
@media (max-width: 768px) {
  .cc-home-services {
    padding: 24px;
  }
}

/* ===== CSS: REELS B2B ===== */
.cc-reels-section {
  margin: 40px 0;
  background-color: rgba(0, 30, 60, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
:root {
  --ccx-accent: #004F7D; 
  --ccx-gap: 20px;
  --ccx-card-w: 240px; 
  --ccx-card-h: 380px;
  --ccx-vh: 100vh;
}
@supports (height: 100dvh) { :root { --ccx-vh: 100dvh; } }
#ccx-reels-master { position: relative; }
.ccx-track {
  display: flex; gap: var(--ccx-gap); overflow-x: auto; padding: 20px 20px 40px 20px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ccx-track::-webkit-scrollbar { display: none; }
.ccx-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ccx-card {
  flex: 0 0 var(--ccx-card-w); height: var(--ccx-card-h); background: #ffffff; 
  border-radius: 16px; overflow: hidden; position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease; scroll-snap-align: center; cursor: pointer;
}
.ccx-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
.ccx-card-thumb-wrapper { width: 100%; height: 250px; position: relative; overflow: hidden; background: #05070a; }
.ccx-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0.9; }
.ccx-card:hover .ccx-thumb { transform: scale(1.05); opacity: 1; }
.ccx-play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.3s ease;
}
.ccx-card:hover .ccx-play-overlay { background: var(--ccx-accent); transform: translate(-50%, -50%) scale(1.1); }
.ccx-play-overlay svg { width: 22px; height: 22px; fill: var(--ccx-accent); margin-left: 3px; transition: fill 0.3s ease; }
.ccx-card:hover .ccx-play-overlay svg { fill: #ffffff; }
.ccx-card-title {
  padding: 20px 16px; font-size: 15px; font-weight: 700; color: #004F7D;
  line-height: 1.4; text-align: center; display: flex; align-items: center; justify-content: center; flex: 1;
}
.ccx-modal {
  position: fixed; top: 0; left: 0; width: 100vw; height: var(--ccx-vh); max-width: 100vw; max-height: var(--ccx-vh); 
  background: rgba(0, 15, 30, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: none; padding: 0; margin: 0; z-index: 999999; display: none;
}
.ccx-modal[open] { display: block; animation: feedFadeIn 0.3s ease; }
.ccx-vertical-feed { width: 100%; height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ccx-vertical-feed::-webkit-scrollbar { display: none; }
.ccx-v-slide { width: 100%; height: 100%; scroll-snap-align: start; position: relative; display: flex; justify-content: center; overflow: hidden; }
.ccx-v-content { position: relative; width: 100%; max-width: 480px; height: 100%; display: flex; align-items: center; justify-content: center; background: #000; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.ccx-v-content video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.ccx-close-fixed {
  position: absolute; top: max(24px, env(safe-area-inset-top)); right: 20px; z-index: 100;
  background: rgba(255, 255, 255, 0.2); color: white; border: 1px solid rgba(255, 255, 255, 0.3);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.ccx-close-fixed svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.ccx-close-fixed:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.ccx-v-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 24px max(40px, env(safe-area-inset-bottom)) 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
  display: flex; flex-direction: column; gap: 20px; pointer-events: none; z-index: 50;
}
.ccx-v-title { font-size: 22px; font-weight: 800; color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.8); margin:0; line-height: 1.3; }
.ccx-actions { display: flex; gap: 12px; pointer-events: auto; align-items: center; }
.ccx-btn-cta {
  flex: 1; padding: 16px 24px; background: var(--ccx-accent); color: #ffffff;
  text-decoration: none; font-weight: 700; border-radius: 12px; font-size: 16px; border: 1px solid transparent; transition: 0.3s ease; 
  box-shadow: 0 8px 20px rgba(0, 79, 125, 0.4); text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.ccx-btn-cta svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.ccx-btn-cta:hover { background: #003b5c; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0, 79, 125, 0.6); color: #ffffff; }
.ccx-btn-share {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s ease; 
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ccx-btn-share:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.ccx-btn-share svg { width: 22px; height: 22px; fill: currentColor; }
.ccx-pause-indicator {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px;
  background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; transform: translate(-50%,-50%) scale(0.8);
}
.ccx-paused .ccx-pause-indicator { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.ccx-pause-indicator svg { width: 36px; height: 36px; fill: white; }
#ccx-toast {
  position: fixed; top: 30px; left: 50%; transform: translate(-50%, -20px); background: #004F7D; color: #fff; padding: 12px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 9999999;
  box-shadow: 0 10px 40px rgba(0,79,125,0.5); display: flex; align-items: center; gap: 8px;
}
#ccx-toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes feedFadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

/* ==============================================
   RESEÃ‘AS MARQUEE (DOBLE FILA)
   ============================================== */
.cc-reviews-section {
    padding: 60px 0;
    overflow: hidden;
    width: 100%;
}

.cc-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    position: relative;
    /* Efecto viÃ±eta en los bordes usando CSS Mask */
    
    
}

.cc-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
}

.cc-marquee-reverse {
    animation: marqueeScrollReverse 80s linear infinite;
}

.cc-marquee-track:hover {
    animation-play-state: paused;
}

.cc-marquee-content {
    display: flex;
    gap: 24px;
}

.cc-review-card {
    width: 400px;
    flex-shrink: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 79, 125, 0.1);
}

.cc-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.cc-review-meta {
    flex-grow: 1;
}

.cc-review-name {
    margin: 0 0 2px 0;
    color: #004F7D;
    font-size: 16px;
    font-weight: 600;
}

.cc-review-time {
    font-size: 13px;
    color: #888;
}

.cc-review-google img {
    width: 24px;
    height: 24px;
}

.cc-review-stars {
    display: flex;
    gap: 2px;
}

.cc-review-text {
    margin: 0;
    color: #4D4D4D;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 12px)); }
}

@keyframes marqueeScrollReverse {
    from { transform: translateX(calc(-50% - 12px)); }
    to { transform: translateX(0); }
}


/* =========================================
   ESTILOS DE SECCIONES (HOME - UTILITIES)
   ========================================= */

.cc-relative-overflow { position: relative; overflow: hidden; }

.cc-cta-bg-image {
    position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; z-index: 0;
    background-image: url('https://ccurity.com.mx/wp-content/uploads/2025/09/Fundamento-CC.jpg');
    background-size: cover; background-position: center; opacity: 0.15; filter: blur(8px);
}

.cc-z-index-1 { z-index: 1; }

.cc-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.cc-section-header { max-width: 1280px; margin: 0 auto 40px auto; padding: 0 40px; text-align: center; }
.cc-section-header-no-pad { text-align: center; margin-bottom: 50px; }
.cc-section-header-no-pad-30 { text-align: center; margin-bottom: 30px; }

.cc-section-title { color: #004F7D; font-size: 36px; font-weight: 700; margin: 0 0 15px 0; }
.cc-section-subtitle { color: #475569; font-size: 18px; margin: 0; }
.cc-max-800 { max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cc-mb-20 { margin-bottom: 20px; }
.cc-full-section { padding: 60px 0; overflow: hidden; width: 100%; }
.cc-mt-50 { margin-top: 50px; }
.cc-container-reels { max-width: 1280px; margin: 0 auto; padding: 40px 20px; }

.ccx-title { color: #ffffff; font-size: 2.5rem; font-weight: 700; margin-bottom: 8px; }
.ccx-highlight { color: #38bdf8; }
.ccx-subtitle { font-size: 1.1rem; color: #cbd5e1; }

.cc-review-stars-container { display: flex; align-items: center; justify-content: center; gap: 12px; color: #475569; font-size: 16px; margin-bottom: 24px; }
.cc-review-score { font-size: 24px; font-weight: 700; color: #0f172a; }
.cc-review-stars { color: #fbbc04; font-size: 20px; letter-spacing: 2px; }

.cc-btn-white { background-color: #ffffff !important; color: #004F7D !important; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.cc-btn-white:hover { background-color: #f8fafc !important; transform: translateY(-2px); }


