/* ===== estilo_index.css ===== */

/* ===== SISTEMA DE DISEÑO MODERNO NAVY + GOLD ===== */


        /* ===== RESET Y VARIABLES ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { overflow-x: hidden; }
        :root {
            --radius: 0.875rem;
            --background: white;
            --foreground: oklch(0.18 0.04 260);
            --card: oklch(1 0 0);
            --card-foreground: oklch(0.18 0.04 260);
            --navy: oklch(0.22 0.06 265);
            --navy-deep: oklch(0.14 0.05 265);
            --primary: oklch(0.22 0.06 265);
            --primary-foreground: oklch(0.98 0.005 90);
            --gold: oklch(0.82 0.16 85);
            --gold-foreground: oklch(0.18 0.04 260);
            --secondary: oklch(0.96 0.01 250);
            --secondary-foreground: oklch(0.22 0.06 265);
            --muted: oklch(0.96 0.01 250);
            --muted-foreground: oklch(0.45 0.03 260);
            --accent: oklch(0.82 0.16 85);
            --accent-foreground: oklch(0.18 0.04 260);
            --border: oklch(0.9 0.012 260);
            --input: oklch(0.9 0.012 260);
            --gradient-hero: linear-gradient(135deg, oklch(0.14 0.05 265) 0%, oklch(0.22 0.06 265) 55%, oklch(0.32 0.09 270) 100%);
            --gradient-gold: linear-gradient(135deg, oklch(0.88 0.14 88) 0%, oklch(0.78 0.17 75) 100%);
            --shadow-elegant: 0 25px 60px -25px color-mix(in oklab, var(--navy-deep) 45%, transparent);
            --shadow-gold: 0 20px 50px -20px color-mix(in oklab, var(--gold) 55%, transparent);
            --shadow-card: 0 10px 30px -15px color-mix(in oklab, var(--navy-deep) 25%, transparent);
            --font-display: 'Space Grotesk', system-ui, sans-serif;
            --font-sans: 'Inter', system-ui, sans-serif;
        }
        body {
            background-color: var(--background);
            color: var(--foreground);
            font-family: var(--font-sans);
            -webkit-font-smoothing: antialiased;
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
            padding-top: 72px;
        }
        h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

        /* ===== COMPONENTES GLOBALES ===== */
        .container-page {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            width: 100%;
        }
        .btn-gold {
            background: var(--gradient-gold);
            color: var(--gold-foreground);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 9999px;
            padding: 0.75rem 1.75rem;
            font-weight: 600;
            transition: all 0.2s ease;
            text-decoration: none;
            box-shadow: var(--shadow-gold);
            white-space: nowrap;
        }
        .btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
        .btn-outline-light {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 9999px;
            border: 1px solid rgba(255,255,255,0.3);
            background: rgba(255,255,255,0.05);
            padding: 0.75rem 1.75rem;
            font-weight: 600;
            color: white;
            text-decoration: none;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
        .btn-navy {
            background: var(--gradient-hero);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 9999px;
            padding: 0.75rem 1.75rem;
            font-weight: 600;
            color: white;
            text-decoration: none;
            box-shadow: var(--shadow-elegant);
            transition: all 0.2s ease;
        }
        .btn-navy:hover { transform: translateY(-2px); }
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 9999px;
            border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
            background: color-mix(in oklab, var(--gold) 12%, transparent);
            padding: 0.375rem 1rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: color-mix(in oklab, var(--gold) 30%, var(--navy-deep));
        }
        .card-surface {
            border-radius: 1.5rem;
            border: 1px solid var(--border);
            background: var(--card);
            padding: 1.75rem;
            transition: all 0.2s ease;
            box-shadow: var(--shadow-card);
            text-decoration: none;
            display: block;
            color: var(--foreground);
        }
        .card-surface:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--gold) 50%, var(--border)); }



        /* ===== HERO ===== */
        .hero-section {
            background: var(--gradient-hero);
            color: white;
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
            margin-top: 72px;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.15);
            padding-top: 2rem;
            flex-wrap: wrap;
        }
        .stat-number {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: bold;
            color: oklch(0.85 0.16 85);
        }
        .hero-image img {
            width: 100%;
            border-radius: 1.5rem;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: var(--shadow-elegant);
            
        }
        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
                /* ===== CORRECCIÓN ESPACIO NAV-HERO EN RESPONSIVE ===== */
        @media (max-width: 768px) {
            .hero-section {
                margin-top: 64px !important;
            }
        }

        /* ===== GRIDS ===== */
        .services-grid, .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .platform-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        .stats-mini-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        .platform-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 2rem 0;
        }
        .platform-tag {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 9999px;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
        }
        .platform-kpis {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 1.5rem;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            text-align: center;
            box-shadow: var(--shadow-card);
        }
        .skills-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 2rem 0;
        }
        .skill-tag {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 9999px;
            padding: 0.25rem 1rem;
            font-size: 0.875rem;
        }
        .testimonial-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 1.5rem;
            padding: 2rem;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: var(--shadow-card);
        }
        .cta-box {
            background: var(--gradient-hero);
            border-radius: 1.5rem;
            padding: 3rem 2rem;
            text-align: center;
            color: white;
        }
        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }
        section { overflow: hidden; }

        /* ===== FOOTER ===== */
        footer {
            background: var(--gradient-hero);
            color: white;
            margin-top: 4rem;
            padding: 3rem 0 1rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
        .footer-logo span { font-family: var(--font-display); font-size: 1.25rem; font-weight: bold; }
        .footer-list { list-style: none; }
        .footer-list li { margin-bottom: 0.5rem; }
        .footer-list li a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
        .footer-list li a:hover { color: white; }
        .footer-contact { list-style: none; color: rgba(255,255,255,0.7); }
        .footer-contact li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
        .social-links { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
        .social-links a {
            color: white;
            background: rgba(255,255,255,0.1);
            width: 2.5rem;
            height: 2.5rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 9999px;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        .social-links a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.6);
        }

        /* ===== WHATSAPP ===== */
        .whatsapp-float {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            background: #25D366;
            color: white;
            width: 3.5rem;
            height: 3.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 9999px;
            font-size: 1.75rem;
            box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
            transition: transform 0.2s;
            z-index: 40;
            text-decoration: none;
        }
        .whatsapp-float:hover { transform: scale(1.1); }

        /* ===== CHATBOT ===== */
/* ===== CHATBOT RESPONSIVO ===== */
.cimentando-chat-widget {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 50;
}

.chat-button {
    background: var(--navy);
    color: white;
    border: none;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.2s;
}

.chat-button:hover {
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--gradient-hero);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
}

.chat-input-container {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid var(--border);
    background: white;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    outline: none;
    min-width: 0;
}

.send-btn {
    background: var(--gold);
    border: none;
    border-radius: 9999px;
    width: 2.5rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
    cursor: pointer;
    color: var(--navy);
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* ===== RESPONSIVE CHAT ===== */
/* Tablets y móviles grandes */
@media (max-width: 768px) {
    .cimentando-chat-widget {
        bottom: 5rem;
        right: 1rem;
    }
    
    .chat-window {
        width: calc(100vw - 2rem);
        max-width: 320px;
        right: 0;
        bottom: 5rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .cimentando-chat-widget {
        bottom: 4rem;
        right: 0.75rem;
    }
    
    .chat-button {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .chat-window {
        width: calc(100vw - 1.5rem);
        max-width: 300px;
        bottom: 4.5rem;
        right: 0.75rem;
    }
    
    .chat-header h3 {
        font-size: 0.9rem;
    }
    
    .chat-messages {
        height: 250px;
    }
    
    .chat-input {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .send-btn {
        width: 2rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .chat-window {
        width: calc(100vw - 1rem);
        max-width: 280px;
        right: 0.5rem;
    }
    
    .chat-messages {
        height: 220px;
    }
}
        /* ===== RESPONSIVE: tablets (≤1024px) ===== */
        @media (max-width: 1024px) {
            #menu li a { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
            .hero-grid { gap: 2rem; }
            .platform-grid { gap: 2rem; }
            .about-grid { gap: 2rem; }
        }

        /* ===== RESPONSIVE: tablet estrecho (≤900px) ===== */
        @media (max-width: 900px) {
            nav { padding: 0 1.25rem; }
            .menu-toggle { display: block; }
            #menu {
                position: fixed;
                top: 72px;
                left: 0;
                right: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 0;
                gap: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.35s ease;
                box-shadow: none;
                border-bottom: none;
            }
            #menu.active {
                max-height: 450px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            }
            #menu li { width: 100%; border-bottom: 1px solid var(--border); }
            #menu li:last-child { border-bottom: none; }
            #menu li a { padding: 1rem 1.5rem; border-radius: 0; font-size: 0.9rem; }

            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .hero-image { display: none; }
            .hero-stats { justify-content: center; gap: 1.5rem; }
            .hero-buttons { justify-content: center; }

            .platform-grid { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; }
        }

        /* ===== RESPONSIVE: móvil (≤600px) ===== */
        @media (max-width: 600px) {
            .container-page { padding: 0 1rem; }
            nav { padding: 0 1rem; height: 64px; }
            #menu { top: 64px; }
            .hero-section { padding: 3rem 0 3rem; margin-top: 64px; }

            h1 { font-size: 2rem !important; }
            h2 { font-size: 1.75rem !important; }

            .hero-stats { gap: 1rem; }
            .hero-stats > div { text-align: center; flex: 1; min-width: 80px; }
            .stat-number { font-size: 1.6rem; }

            .services-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
            .benefits-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

            .stats-mini-grid { gap: 1rem; }
            .stats-mini-grid .card-surface { padding: 1.25rem 1rem; }

            .platform-kpis { gap: 0.75rem; padding: 1.5rem; }
            .platform-tags { gap: 0.5rem; }
            .platform-tag { font-size: 0.8rem; padding: 0.4rem 0.75rem; }

            .cta-box { padding: 2rem 1.25rem; border-radius: 1rem; }
            .cta-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }

            .testimonial-card { padding: 1.5rem 1.25rem; }
            .testimonial-card p { font-size: 1.15rem !important; }

            .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

            .chat-window { width: calc(100vw - 3rem); right: 0; }

            .btn-gold, .btn-outline-light, .btn-navy {
                padding: 0.65rem 1.25rem;
                font-size: 0.9rem;
            }

            section { padding: 3rem 0 !important; }
        }

        /* ===== RESPONSIVE: muy pequeño (≤380px) ===== */
        @media (max-width: 380px) {
            h1 { font-size: 1.75rem !important; }
            .benefits-grid { grid-template-columns: 1fr; }
            .hero-stats { flex-direction: column; gap: 0.75rem; border-top: none; padding-top: 1rem; }
        }

