        * { box-sizing: border-box; }
    html { height: 100%; font-family: Arial, sans-serif; margin: 0; padding: 0; line-height: 0; overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: #f8f9fa;
        
        /* EFECTO GRANULADO SVG INLINE */
        /* background-image removed for CPU performance */
        background-repeat: repeat;
        
        margin: 0;
        padding: 0;
        letter-spacing: 0.01em;
    }    
    main { flex: 1 0 auto; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; outline: none; }
    .container { margin: 0 auto; padding: 0 0; max-width: 100vw; }
    .header { background: linear-gradient(90deg, rgba(250, 248, 246, 0.8) 0%, rgba(255, 255, 255, 0.8) 90%); padding: 8px 0; color: #fff; position: sticky; top: 0; z-index: 9990; line-height: 1.6; display: flex; align-items: center; border-top: 3px solid #f19a31; box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.2); }
    .logo { max-width: 100%; width: clamp(320px, 75vw, 340px); height: clamp(40px, 30vw, 42px);  aspect-ratio: 16/9;  }

    .header nav { display: flex; align-items: center; justify-content: space-between; width: 90%; gap: 10px; margin: 0 auto; }

    


    .nav-left { display: flex; align-items: center; margin-top: 8px; }
    .nav-right { display: flex; align-items: center; gap: 0; }
    #nav-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; opacity: 1; }
    #nav-menu li { position: relative; padding: 0 5px; border: 0; }
    #nav-menu>li>a,
    #nav-menu li div {
        color: black;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        /* div uses 500 */
        display: block;
        padding: 0.75rem 0;
        /* div uses block only, override logic handled by specific rules */
        transition: all 0.2s ease;
        cursor: pointer;
        position: relative;
        border-radius: 0px;
        /* div 4px */
        background-color: transparent;
        text-align: center;
    }
  
    
    .search-icon-mobile {
        display: block;
        /* Visible por defecto en escritorio */
        background: 0 0;
        border: none;
        color: #000;
        font-size: 18px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: background-color 0.3s;
    }
    .class_floating-search-container {
        display: none; 
        position: fixed; 
        top: 75px; /* Un poco más abajo para respirar respecto al header */
        right: 5%; /* Alineado con el margen de la web */
        z-index: 9999; 
        padding: 10px; 
        width: 25%; /* Un poco más ancho para que los resultados se lean bien */
        min-width: 320px; /* Evita que se rompa en pantallas medianas */
        transform: translateY(-15px); 
        opacity: 0; 
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; 
    }
    .class_floating-search-container.active { 
        transform: translateY(0); 
        opacity: 1; 
    }

    /* La caja donde el usuario escribe */
    .floating-search-box {
        position: relative; 
        width: 100%; 
        background-color: #ffffff; 
        border-radius: 12px; 
        border: 1px solid #e2e8f0; 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra elegante */
        transition: all 0.3s ease;
    }

    /* Efecto Glow cuando el usuario hace clic para escribir */
    .floating-search-box:focus-within {
        border-color: #f19a31;
        box-shadow: 0 10px 30px rgba(241, 154, 49, 0.15);
    }

    .floating-search-box input {
        width: 100%; 
        height: 48px; /* Más alto y cómodo */
        padding: 0 45px 0 20px; 
        font-size: 1.05rem; 
        border: none; /* Quitamos el borde interno */
        border-radius: 12px; 
        outline: none; 
        background-color: transparent; 
        color: #1e293b; 
        font-weight: 500;
    }
    .floating-search-box input::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    /* Botón de Cerrar (X) */
    .floating-search-close {
        position: absolute; 
        top: 50%; 
        right: 5px; 
        transform: translateY(-50%);
        background: none; 
        border: none; 
        color: #94a3b8; 
        font-size: 20px; 
        cursor: pointer; 
        width: 40px; 
        height: 40px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        transition: all 0.3s ease;
    }
    .floating-search-close:hover { 
        color: #f19a31; 
        transform: translateY(-50%) rotate(90deg) scale(1.1); /* Gira sutilmente */
    }

    /* Contenedor de los resultados */
    .floating-search-results {
        width: 100%; 
        margin-top: 12px; 
        background-color: #ffffff; 
        border-radius: 12px; 
        border: 1px solid #e2e8f0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); 
        max-height: 60vh; 
        overflow-y: auto; 
        overflow-x: hidden; 
        position: absolute; 
        display: none; 
        z-index: 1002;
        padding: 10px; /* Padding interno para que los ítems no toquen el borde */
        /* Estilo del scrollbar */
        scrollbar-width: thin; 
        scrollbar-color: #cbd5e1 transparent;
    }
    .floating-search-results::-webkit-scrollbar { width: 6px; }
    .floating-search-results::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }
    .floating-search-results.active { 
        display: block; 
        animation: fadeInUp 0.3s ease forwards; 
    }

    /* Cada ítem de resultado (Producto) */
    .floating-search-result-item {
        display: flex; 
        align-items: center; 
        padding: 12px 15px; 
        border-radius: 8px; 
        cursor: pointer; 
        transition: all 0.25s ease; 
        text-decoration: none; 
        background-color: transparent;
        border: 1px solid transparent;
        margin-bottom: 4px;
    }
    .floating-search-result-item:last-child { margin-bottom: 0; }
    .floating-search-result-item:hover { 
        background-color: #f8fafc; 
        border-color: #e2e8f0;
    }

    /* La imagen en miniatura */
    .floating-product-img {
        width: 45px; height: 45px;
        border-radius: 6px;
        object-fit: contain;
        background-color: #ffffff;
        border: 1px solid #f1f5f9;
        padding: 2px;
        margin-right: 15px;
        flex-shrink: 0; 
    }

    .hamburger { display: none; background: none; border: none; padding: 0.5rem; width: 30px; height: 40px; z-index: 1001; }
    .hamburger span { display: block; width: 20px; height: 2px; background-color: black; margin: 4px auto; }
    .dropdown-menu { display: none; }

    /* SLOGAN & CONTACT INFO */
    .slogan { background: linear-gradient(90deg, #f19a31 0%, #e67a00 100%); color: #ffffff; text-align: center; padding: 0.8rem 1rem; font-size: 0.85rem; font-family: 'Poppins', Arial, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); position: relative; width: 100%; z-index: 1001; border-bottom: 1px solid rgba(0,0,0,0.1); }
    .slogan p { margin: 0; }
    .contact-info-section { background-color: transparent; padding: 1.5rem 1rem 0 1rem; margin-top: -10px; position: relative; z-index: 10; }
    .contact-info-container { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04); overflow: hidden; }
    .contact-info-item-wsp, .contact-info-item-dir, .contact-info-item-tel { display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; flex: 1; position: relative; }
    .contact-info-item-wsp::after, .contact-info-item-dir::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background-color: #eaeaea; }
    .contact-info-icon-wsp, .contact-info-icon-dir, .contact-info-icon-tel { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-right: 15px; background: linear-gradient(135deg, #f19a31 0%, #ffc107 100%); flex-shrink: 0; color: #fff; font-size: 20px; }
    .contact-info-text-wsp, .contact-info-text-dir, .contact-info-text-tel { text-align: left; display: flex; flex-direction: column; justify-content: center; }
    .contact-info-label-wsp, .contact-info-label-dir, .contact-info-label-tel { font-size: 0.85rem; color: #64748b; margin-bottom: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
    .contact-info-value-wsp, .contact-info-value-dir, .contact-info-value-tel { font-size: 1.1rem; font-weight: 700; color: #1e293b; }

    /* FLOAT BUTTONS */
    .float-buttons, .float-buttonsleft { position: fixed; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
    .float-buttons { bottom: 25px; right: -22px; align-items: flex-end; }
    .float-button, .float-button2 { width: 80px; height: 50px; border-radius: 40px; display: flex; align-items: center; justify-content: left; color: #fff; padding: 0 15px; opacity: 1; border: 2px solid transparent; background-clip: padding-box; font-size: 28px; }
    .whatsapp-float { background-color: #25d366; font-size: 29px; }
    .email-float { background-color: #ff4500; }
    .phone-float, .contact-main-float { display: none; }
    #btnUp { height: 0; padding: 0; margin: 0; opacity: 0; visibility: hidden; }
    .performance-toggle-mobile { position: fixed; bottom: 90px; left: -22px; z-index: 7000; display: none; align-items: center; }
    .performance-toggle-mobile {
    position: fixed; bottom: 90px; left: -22px; z-index: 7000; display: none; align-items: center;
    }
    .performance-toggle-mobile-button {
        width: 60px; height: 45px; background-color: #333333d5; color: white; border-radius: 40px; display: flex; align-items: center; justify-content: right; font-size: 25px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(255,255,255,0.1); outline: none; position: relative; padding: 0 15px; -webkit-tap-highlight-color: transparent;
    }
    .performance-toggle-mobile-button:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); }
    .performance-toggle-mobile-button.active-mode { background-color: #f19a31; }
    .performance-toggle-mobile-button.active-tap { transform: scale(0.92); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
    .performance-toggle-mobile-button i { transition: transform 0.4s ease-out; }
    .performance-toggle-mobile-button.active-mode i { transform: rotate(180deg); }
    .performance-toggle-mobile-tooltip {
        position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(-10px); background-color: rgba(51, 51, 51, 0.9); color: white; padding: 6px 12px; border-radius: 5px; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s; pointer-events: none; box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    }
    .performance-toggle-mobile-button.show-tooltip .performance-toggle-mobile-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); transition-delay: 0s; }

    /* NOSOTROS HERO & LAYOUT */
    .contact-page-container { max-width: 100%; padding: 0 1rem; margin: 0 auto; width: 100%; overflow: hidden; }

    .nosotros-premium-title { font-family: 'Arial', sans-serif; letter-spacing: -0.5px; }
    .nosotros-hero { position: relative; text-align: center; padding: 5rem 2rem; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-radius: 16px; margin-bottom: 0; margin-top:1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; color: white; border-bottom: 5px solid #f19a31; width: 100%; display: block; }
    .nosotros-hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(241,154,49,0.08) 0%, transparent 60%); z-index: 1; pointer-events: none; }
    .nosotros-hero-content { position: relative; z-index: 2; width: 100%; }
    .nosotros-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: #ffffff; margin-top: 0; margin-bottom: 1.5rem; font-weight: 700; line-height: 1.2; }
    .nosotros-hero h1 span { color: #f19a31; }

    .nosotros-hero p { font-size: 1.2rem; color: #cbd5e1; max-width: 850px; margin: 0 auto; line-height: 1.8; font-weight: 300; }
    @media (max-width: 768px) {
    .nosotros-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 850px;
        margin: 0 auto;
        line-height: 1.8;
        font-weight: 300;

        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }

    }

    .nosotros-stats-banner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4rem; background-color: #ffffff; padding: 2.5rem 2rem; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.06); max-width: 1000px; margin: -3rem auto 4rem auto; position: relative; z-index: 10; border: 1px solid #f1f5f9; width: 100%; }
    .nosotros-stat-item { text-align: center; flex: 1 1 auto; }
    .nosotros-stat-number { display: block; font-size: 2.8rem; font-weight: 700; color: #f19a31; line-height: 1; margin-bottom: 0.5rem; }
    .nosotros-stat-label { display: block; font-size: 0.95rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }


    /* --- Layout Dos Columnas --- */
    .nosotros-two-col { 
        display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; 
        margin: 0 auto 5rem auto; align-items: center; max-width: 1200px; width: 100%; 
    }

    @media (max-width: 768px) {
        .nosotros-two-col {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
    }
    .nosotros-text-content h2 { font-size: 2.2rem; color: #1e293b; margin-top: 0; margin-bottom: 1.5rem; position: relative; padding-bottom: 1rem; line-height: 1.3; }
    .nosotros-text-content h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background-color: #f19a31; }
    .nosotros-text-content p { font-size: 1.05rem; color: #475569; line-height: 1.8; margin-top: 0; margin-bottom: 1.5rem; text-align: justify; }
    .nosotros-text-content strong { color: #1e293b; }

    .nosotros-highlight-box { 
        background: #f8fafc; padding: 2.5rem; border-radius: 12px; border-left: 5px solid #f19a31; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.03); height: 100%; display: flex; flex-direction: column; justify-content: center; 
    }
    .nosotros-highlight-box h3 { color: #0f172a; font-size: 1.4rem; margin-top: 0; margin-bottom: 1.2rem; line-height: 1.3; }
    .nosotros-highlight-box ul { list-style: none; padding: 0; margin: 0; }
    .nosotros-highlight-box li { position: relative; padding-left: 28px; margin-bottom: 1rem; color: #475569; font-size: 1rem; line-height: 1.5; }
    .nosotros-highlight-box li i { position: absolute; left: 0; top: 4px; color: #f19a31; font-size: 1.1rem; width: auto; }
    .nosotros-highlight-box p { margin-top: 1rem; margin-bottom: 0; font-size: 0.95rem; color: #475569; line-height: 1.6; }

    /* --- Grid de Valores --- */
    .nosotros-section-title { text-align: center; font-size: 2.2rem; color: #1e293b; margin-top: 0; margin-bottom: 3rem; font-weight: 700; }
    .nosotros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 auto 5rem auto; max-width: 1200px; width: 100%; }

    @media (max-width: 768px) {
        .nosotros-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
    }
    
    .nosotros-card { 
        background: #ffffff; padding: 3rem 2rem; border-radius: 12px; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 20px rgba(0,0,0,0.04); 
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease; 
        text-align: left; border: 1px solid #f1f5f9; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; 
    }
    .nosotros-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: #f19a31; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
    .nosotros-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
    .nosotros-card:hover::before { transform: scaleX(1); }
    .nosotros-card i { font-size: 2.5rem; color: #f19a31; margin-bottom: 1.5rem; background: #fff8f0; width: 70px; height: 70px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
    .nosotros-card h3 { font-size: 1.4rem; color: #1e293b; margin-top: 0; margin-bottom: 1rem; font-weight: 700; line-height: 1.3; }
    .nosotros-card p { color: #64748b; line-height: 1.7; margin: 0; font-size: 1rem; }

    /* MEDIA QUERIES */
    @media (min-width: 1051px) {
        #nav-menu > li:not(:last-child)::after { content: ""; position: absolute; right: -0.75rem; top: 50%; transform: translateY(-50%); height: 20px; width: 1px; background-color: #484848; }
        .performance-toggle-mobile { display: flex !important; }
    }
    @media (max-width: 1050px) {
        .header { padding: 0.5rem 1rem; }

        .header nav { justify-content: space-between; padding: 0.3rem 0.5rem; position: relative; width: 100%; height: 58px; }

        .nav-left { margin-top: 10px; }
        .hamburger { display: block; }
        .breadcrumb-actual-links .breadcrumb-current {
            color: #333;
            font-weight: 700;
            font-size: 1.1em;
        }
        .search-icon-mobile { display: none; }

        #nav-menu { position: fixed; top: 0; left: -100%; height: 100vh; width: 80%; background-color: #f5f5f5; z-index: 9999; display: flex; flex-direction: column; margin-top: 0; padding: 0; gap:0;}
        #nav-menu li a,
        #nav-menu li div {
            padding: 1.2rem 1.5rem;
            font-size: 15px;
            color: #333;
            text-align: right;
            width: 101%;
            text-decoration: none;
            display: block;
            transition: background-color 0.2s ease, color 0.2s ease;
            border-bottom: 1px solid #e0e0e0;
        }
        .contact-info-section { display: none; }
        .categoria-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-left: 0; margin-right: 0; }
        .contact-main-float { display: flex !important; background-color: #555; order: 4; }
        .float-buttons .phone-float, .float-buttons .email-float, .float-buttons .whatsapp-float { display: none; margin-bottom: 0; }
        .float-button.btnup-float { order: 5; display: flex !important; }
    }
    @media (max-width: 930px) { .slogan { padding: 0.6rem 0.2rem; font-size: 90%; height: auto; } }
    @media (max-width: 768px) {
      
        #categorias-titulo { font-size: 1.8rem; }
        .categorias-subtitulo { font-size: 0.95rem; }
    }
    @media (max-width: 550px) {
        .header nav { height: 50px !important; }
        .breadcrumb-actual-links .breadcrumb-current {
                color: #333;
                font-weight: 700;
                font-size: 1.1em;
            }
        .slogan { font-size: 75%; }
        .float-button, .float-button2 { width: 70px; height: 50px; font-size: 25px; padding: 0 15px; }
        .categoria-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 25px; }
        #categorias-titulo { font-size: 1.5rem; margin-bottom: 2rem; }
    }
    @media (max-width: 480px) {
        .header nav { padding: 0.3rem 0.2rem; margin: 0; }

        .slogan { font-size: 70%; text-align: center; }
        .float-button, .float-button2 { width: 65px; height: 45px; font-size: 24px; padding: 0 12px; }
        .performance-toggle-mobile { bottom: 90px; }
    }
       /* =========================================
    COOKIE CONSENT BANNER (PREMIUM)
    ========================================= */
    .cookie-banner {
        position: fixed;
        z-index: 999999; /* Por encima de todo, incluidos los botones flotantes */
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        gap: 15px;

        /* Posición Escritorio: Inferior Izquierda */
        bottom: 30px;
        left: 30px;
        width: 380px;
        max-width: calc(100vw - 60px);
        border-radius: 16px;
        padding: 22px;
        transform: translateY(50px) scale(0.95);
        pointer-events: none; /* No bloquea clics mientras está oculto */
    }

    .cookie-banner.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto; /* Se vuelve interactivo */
    }

    .cookie-content {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .cookie-icon {
        font-size: 1.8rem;
        color: #f19a31; /* Naranja corporativo */
        flex-shrink: 0;
        margin-top: 2px;
    }

    .cookie-text h4 {
        margin: 0 0 6px 0;
        font-size: 1.05rem;
        color: #1e293b;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

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

    .cookie-actions {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .btn-cookie {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9rem;
        font-weight: 700;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
        border: none;
        outline: none;
    }

    .btn-cookie-reject {
        background-color: transparent;
        color: #64748b;
        border: 1px solid #cbd5e1;
    }

    .btn-cookie-reject:hover {
        background-color: #f8fafc;
        color: #1e293b;
        border-color: #94a3b8;
    }

    .btn-cookie-accept {
        background-color: #f19a31;
        color: #ffffff;
        border: 1px solid #f19a31;
        box-shadow: 0 4px 10px rgba(241, 154, 49, 0.2);
    }

    .btn-cookie-accept:hover {
        background-color: #d97706;
        border-color: #d97706;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(241, 154, 49, 0.35);
    }

    /* =========================================
    COOKIE BANNER: RESPONSIVE MÓVIL (<= 768px)
    ========================================= */
    @media (max-width: 768px) {
        .cookie-banner {
            bottom: 0;
            left: 0;
            width: 100%; /* Ocupa todo el ancho */
            max-width: 100%;
            border-radius: 20px 20px 0 0; /* Bordes redondeados solo arriba */
            border-bottom: none;
            border-left: none;
            border-right: none;
            padding: 20px 20px 25px 20px; /* Padding inferior extra para iOS (Safe Area) */
            transform: translateY(100%); /* Escondido debajo de la pantalla */
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        }
        
        .cookie-banner.show {
            transform: translateY(0); /* Sube desde abajo */
        }
    }

    /* Para pantallas súper pequeñas (<= 360px) */
    @media (max-width: 360px) {
        .cookie-actions {
            flex-direction: column; /* Apila los botones si la pantalla es muy estrecha */
        }
        .btn-cookie {
            width: 100%;
        }
    }
    /* Reservar espacio para íconos Font Awesome antes de que cargue la fuente */
    

    .arrow {
        display: inline-block;
        width: 1em;      /* reserva el espacio aunque la fuente no cargó */
        height: 1em;
        vertical-align: middle;
        margin-left: 4px;
    }

    /* Evitar que el nav se mueva mientras cargan los íconos */
     @media (min-width: 1051px) {
    #nav-menu li a {
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: normal;
        }
    }
    @media (max-width: 1050px) {
        #nav-menu li a {
        display: flex;
        gap: 4px;
        white-space: normal;
        justify-content: space-between;
        align-items: baseline;
        flex-direction: row-reverse;
        }
    }

    /* Testimonios slider */
    @media (max-width: 900px)  { .ntst-slide { flex: 0 0 50% !important; } }
    @media (max-width: 600px)  { .ntst-slide { flex: 0 0 100% !important; } }
    #ntst-prev:hover, #ntst-next:hover { background: #fff3e0 !important; box-shadow: 0 2px 8px rgba(241,154,49,.25); }
    /* Card fixes */
    .ntst-slide .nosotros-card { padding: 1.75rem 1.5rem; word-break: break-word; overflow-wrap: break-word; min-height: 0; }
    .ntst-slide .ntst-stars { display: flex; flex-wrap: wrap; gap: .2rem; margin-bottom: .9rem; font-size: .85rem; }
    /* Las estrellas heredaban `.nosotros-card i { font-size:2.5rem; width:70px; height:70px; ... }`
       (regla pensada para los íconos de las tarjetas de valores) y salían gigantes con caja.
       Este override más específico las devuelve a tamaño de estrella. */
    .ntst-slide .ntst-stars i { font-size: .95rem; width: auto; height: auto; background: none; border-radius: 0; margin: 0; padding: 0; display: inline; }
    .ntst-viewport { touch-action: pan-y; }
    .ntst-slide .ntst-text { color: #64748b; line-height: 1.7; margin: 0 0 1.1rem; font-style: italic; flex: 1; word-break: break-word; }
    .ntst-slide .ntst-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: .8rem; border-top: 1px solid #f1f5f9; margin-top: auto; }
    .ntst-slide .ntst-footer-name { font-weight: 700; color: #1e293b; font-size: .9rem; }
    .ntst-slide .ntst-google-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: #64748b; border: 1px solid #e2e8f0; padding: .2rem .65rem; border-radius: 20px; text-decoration: none; transition: color .15s, border-color .15s; white-space: nowrap; }
    .ntst-slide .ntst-google-link:hover { color: #f19a31; border-color: rgba(241,154,49,.4); }

