* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Paleta de colores */
:root {
    --primary: #1b3b6f;
    --secondary: #3f6fb5;
    --accent: #74b3f0;
    --dark: #12233d;
    --light: #f5f8fc;
    --gray: #6c7a89;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo img {
    height: clamp(35px, 5vw, 50px);
    width: auto;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

    .nav-menu a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .nav-menu a:hover {
            color: var(--primary);
        }

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
/* RESPONSIVE - Ocultar botón en móviles */
@media (max-width: 768px) {
    .cta-btn {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #e0e7ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-secondary:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dashboard-mockup {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.mockup-content {
    background: linear-gradient(135deg, var(--light), #e0e7ff);
    height: 250px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
}

.bar {
    width: 25px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px 4px 0 0;
    animation: growUp 2s ease-out infinite alternate;
}

    .bar:nth-child(1) {
        height: 60px;
        animation-delay: 0s;
    }

    .bar:nth-child(2) {
        height: 80px;
        animation-delay: 0.2s;
    }

    .bar:nth-child(3) {
        height: 100px;
        animation-delay: 0.4s;
    }

    .bar:nth-child(4) {
        height: 70px;
        animation-delay: 0.6s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes growUp {
    from {
        transform: scaleY(0.8);
    }

    to {
        transform: scaleY(1.1);
    }
}

/* Companies Section */
.companies {
    padding: 4rem 0;
    background: white;
}

.companies-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.companies h3 {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    opacity: 0.7;
}

.company-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gray);
    padding: 1rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .company-logo:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light), #f1f5f9);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--gray);
        max-width: 600px;
        margin: 0 auto;
    }

/*.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        border-color: var(--primary);
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
    text-align: justify;
}*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en escritorio */
    gap: 2rem; /* espacio entre tarjetas */
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        border: 1px solid #2563eb; /* Borde azul al pasar mouse */
        background-color: #f0f6ff; /* Fondo ligeramente azul */
    }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2563eb; /* azul principal */
}

/* responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}


/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: white;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);/*(auto-fit, minmax(350px, 1fr))*/;
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    background: linear-gradient(135deg, var(--light), #f8fafc);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

    .solution-card:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .solution-card h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

.solution-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark), #0f172a);
    color: white;
}

.pricing-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
    }

    .pricing-card.featured {
        border-color: var(--primary);
        transform: scale(1.02);
    }

        .pricing-card.featured::before {
            content: 'Más Popular';
            position: absolute;
            top: 1rem;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

    .pricing-card h4 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(white);
        margin-bottom: 2rem;
        text-align: center;
    }

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left; 
    padding-left: 1.2rem;
}

    .pricing-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        line-height: 1.5;
    }

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
/* Forzamos que el formulario y su botón estén por encima del icono flotante */
.contact-form,
.contact-form .btn-primary {
    position: relative;
    z-index: 2000; /* más alto que el .whatsapp-float */
}


.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-grid {
    margin-top: 3rem;
}

.faq-item {
    background: var(--light);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        border-color: var(--primary);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
    }

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

    .faq-question:hover {
        background: var(--light);
    }

    .faq-question h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark);
        margin: 0;
    }

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light), #f1f5f9);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.location-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .location-info h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 1.5rem;
    }

    .location-info p {
        margin-bottom: 1rem;
        color: var(--gray);
        line-height: 1.6;
    }

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 300px;
}

/* FOOTER  */
.footer-section {
    background: var(--dark);
    color: white;
    padding: 4rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}

.footer-column {
    /* Cada columna ocupa su espacio */
}

    .footer-column h3 {
        font-size: 1.2rem;
        color: var(--primary);
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
    }

        .footer-column ul li {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

            .footer-column ul li a {
                text-decoration: none;
                color: #94a3b8;
                font-size: 1rem;
                transition: color 0.3s ease;
                line-height: 1.6;
            }

                .footer-column ul li a:hover {
                    color: var(--primary);
                }

            .footer-column ul li i {
                font-size: 1.1rem;
                color: var(--primary);
                width: 20px;
                text-align: center;
                flex-shrink: 0;
            }

/* MODALES PARA SOLUCIONES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

    .modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
}

    .modal-header h2 {
        font-size: 2rem;
        font-weight: 800;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .modal-header .modal-icon {
        width: 60px;
        height: 60px;
        background: rgba(255,255,255,0.2);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
    }
/* Inicialmente oculto */
.feature-card,
.solution-card,
.pricing-card,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
}

/* Clase que se activa al entrar en pantalla */
.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s ease-out;
}


.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close:hover {
        background: rgba(255,255,255,0.1);
        color: white;
        transform: rotate(90deg);
    }

.modal-body {
    padding: 2rem;
    max-height: none;
    overflow: visible;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.modal-section {
    margin-bottom: 2rem;
}

    .modal-section h3 {
        color: var(--primary);
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .modal-section h3::before {
            content: "▶";
            color: var(--accent);
            font-size: 0.8rem;
        }

.features-list {
    list-style: none;
    padding: 0;
}

    .features-list li {
        padding: 0.8rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .features-list li:last-child {
            border-bottom: none;
        }

        .features-list li::before {
            content: "✓";
            color: #10b981;
            font-weight: bold;
            font-size: 1.2rem;
            width: 24px;
            height: 24px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.benefit-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

    .benefit-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-footer {
    background: var(--light);
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.modal-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Solución cards con botón */
.solution-card {
    background: linear-gradient(135deg, var(--light), #f8fafc);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .solution-card:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .solution-card::after {
        content: "Ver más";
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        background: var(--primary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .solution-card:hover::after {
        opacity: 1;
        transform: translateY(0);
    }

/* BOTÓN FLOTANTE DE WHATSAPP */
/*.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    overflow: hidden;*/ /* evita que crezca el área de clic */
/*}
.whatsapp-float {
    pointer-events: auto;
}

    .whatsapp-float:hover {
        background: #20ba5a;
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    }*/

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive para modales */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

        .nav-menu.active {
            left: 0;
        }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-mockup {
        max-width: 320px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    /* Responsive para modales */
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

        .modal-header h2 {
            font-size: 1.5rem;
        }

        .modal-header .modal-icon {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }

    .modal-body {
        padding: 1.5rem;
        max-height: none;
        overflow: visible;
    }

    .modal-footer {
        padding: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-cta {
        flex-direction: column;
        gap: 0.5rem;
    }

        .modal-cta .btn-primary,
        .modal-cta .btn-secondary {
            width: 100%;
            text-align: center;
        }

    .solution-card::after {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
        display: inline-block;
    }
}

/* ==============================
   Contacto - Formulario inicial
   ============================== */
.contact {
    padding: 6rem 0;
    background: var(none);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

    .contact-form .form-row {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .contact-form .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .contact-form label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        border: 1px solid #ddd;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            outline: none;
        }

.btn-primary {
    display: inline-block;
    background: var(--primary, #25d366);
    color: white;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .btn-primary:hover {
        background: #20ba5a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

/* ==============================
   Flujo de Preguntas dinámico
   ============================== */
#flujo-preguntas {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #F0F4F8;
    color: #444444;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

    #flujo-preguntas.hidden {
        display: none;
    }

    #pregunta-container {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    #pregunta-container input,
    #pregunta-container textarea,
    #pregunta-container select {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        border: 1px solid #ddd;
        margin-top: 1rem;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        #pregunta-container input:focus,
        #pregunta-container textarea:focus,
        #pregunta-container select:focus {
            border-color: var(--primary, #25d366);
            outline: none;
        }

        /*Estilo del contenedor de las opciones */
    .opciones {
        margin-top: 2rem;
    }
       /*Estilo para cada opción de respuesta */
        .opciones label {
            display: flex;
            align-items: center;
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .opciones label:hover {
            color: #3f6fb5;  /*Azul sutil al pasar el mouse*/ 
        }

            /*Oculta el radio button por defecto*/ 
        .opciones input[type="radio"] {
            display: none;
        }

         /*Crea un círculo personalizado para el radio button */
        .opciones label::before {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid #ccc;  /*Borde gris claro */
            border-radius: 50%;
            margin-right: 15px;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

        /*Estilo para el radio button seleccionado */
        .opciones input[type="radio"]:checked + label::before {
            background-color: #3f6fb5;  /*Color azul para el círculo */
            border-color: #3f6fb5;  /*Borde del mismo color */
            box-shadow: inset 0 0 0 5px #fff;  /*Simula el punto blanco*/ 
        }

         /*Contenedor de los botones */
        .botones-navegacion {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 3rem;
        }

         /*Estilo de los botones */
        .botones-navegacion button {
            padding: 0.8rem 1.8rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }

        /*Estilo del botón "Siguiente"*/
        .btnSiguiente {
        background-color: #aeb4c0;  /*Gris del botón de la imagen */
        color: #ffffff;  /*Texto blanco */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .btnSiguiente:hover {
            background-color: #9aa1ad;  /*Un gris más oscuro al pasar el mouse*/ 
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        /*Estilo del botón "Anterior" */
        .btnAnterior {
        background-color: #e5e8ec;  /*Un gris más claro */
        color: #444444;  /*Texto gris oscuro */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .btnAnterior:hover {
            background-color: #d8dbe0;  /*Un gris más oscuro */
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        /*Estilo para el botón cuando está deshabilitado */
        .botones-navegacion button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
        }

    .form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    }

    .form-nav button {
        background: var(--primary, #25d366);
        color: white;
        border: none;
        padding: 0.9rem 1.5rem;
        border-radius: 12px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .form-nav button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    .form-nav button:hover:not(:disabled) {
        background: #20ba5a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

/* ==============================
   WhatsApp Float Button
   ============================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

    .whatsapp-float:hover {
        background: #20ba5a;
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.company-logo {
    max-width: 150px;
    width: 100%;
}

    .company-logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }

        .company-logo img:hover {
            filter: grayscale(0%);
        }

/*.highlight {
    color: --primary-color: #1e3a8a;*/ /* Azul corporativo */
    /*font-weight: 600;*/ /* Más énfasis */
/*}*/
.highlight {
    color: var(--primary);
    font-weight: 600;
}

    .highlight:hover {
        background-color: #e6f0ff; /* Azul clarito al pasar el mouse */
        padding: 2px 4px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
.feature-card h3 {
    margin-top: 0; /* elimina el salto arriba */
    margin-bottom: 0.5rem; /* espacio uniforme debajo */
}
/* Mostrar modal cuando tenga la clase .show */
.modal {
    display: none; /* por defecto oculto */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .modal.show {
        display: flex; /* lo hace visible y centra el contenido */
    }

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 760px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative;
    overflow: auto;
    max-height: 80vh;
    padding: 2rem;
}

.modal-body {
    padding: 1rem;
    max-height: none;
    overflow: visible;
}

.close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    background: transparent;
    border: none;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
.texto-justificado {
    text-align: justify;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
}

.lista-datos {
    margin-top: 15px;
    padding-left: 20px;
}

    .lista-datos li {
        margin-bottom: 12px;
        padding-left: 5px;
    }
/* ======================================================
   SECCIONES LEGALES
   Política / Términos / Cookies
   ====================================================== */

/* Hero legal (no usa hero principal) */
.legal-hero {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    text-align: center;
    color: white;
}

    .legal-hero h1 {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .legal-hero p {
        font-size: 1rem;
        opacity: 0.85;
    }

/* Contenido legal */
.legal-section {
    background: #ffffff;
    padding: 60px 20px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Texto legal */
.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Listas legales */
.legal-list {
    margin-top: 25px;
    padding-left: 0;
    list-style: none;
}

    .legal-list li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 15px;
        line-height: 1.6;
        color: #333;
    }

        .legal-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary);
            font-size: 1.5rem;
        }

/* Links legales */
.legal-section a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

    .legal-section a:hover {
        text-decoration: underline;
    }

/* Footer en páginas legales */
.legal-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
}

    .legal-footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        .legal-footer a:hover {
            text-decoration: underline;
        }

/* Responsive legal */
@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 15px 50px;
    }

    .legal-section {
        padding: 40px 15px;
    }
}