﻿
:root {
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --border-color: #f1f5f9;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
    text-align: center;
    /* Redujimos el padding top de 30px a 10px */
    padding: 10px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.brand-sub {
    /* Aumentamos el tamaño de la fuente de 0.85rem a 1rem */
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700; /* Le damos más grosor para que destaque */
}

h1 {
    font-size: 3.8rem;
    /* Cambiamos el margin a '0 0 20px 0' para matar el margen superior */
    margin: 0 0 20px 0;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

    h1 span {
        color: var(--accent-blue);
    }

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BOTONES */
.btn-primary {
    padding: 18px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    background: white;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .btn-primary:hover {
        background: #f8fafc;
        transform: translateY(-2px);
        border-color: var(--accent-blue);
    }

.btn-whatsapp {
    padding: 18px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    background: #128c7e; /* Verde WhatsApp más sobrio */
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .btn-whatsapp:hover {
        background: #075e54; /* Un tono más oscuro al pasar el mouse */
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

.btn-contacto {
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    background: var(--accent-blue);
    color: white;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

    .btn-contacto:hover {
        background: #1d4ed8;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    }


/* PAIN POINTS */
.pain-points {
    background: var(--bg-alt);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-pain {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1100px;
    margin: 30px auto;
    gap: 50px;
}

.item-pain {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    /* Aplicando tu estilo de punto rojo corregido */
    .item-pain span {
        color: #ef4444;
        margin-right: 5px;
        font-size: 1.2rem;
        line-height: 0;
    }

@media (max-width: 992px) {
    .grid-pain {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: fit-content;
        gap: 15px;
    }

    .item-pain {
        white-space: normal;
    }
}

/* ECOSISTEMA CARDS */
.ecosystem {
    padding: 100px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

/*.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}
*/
.icon-box {
    margin-bottom: 25px;
    height: 50px; /* Espacio fijo para que no muevan el título */
    display: flex;
    align-items: center;
    opacity: 1; /* Para que el azul se vea vibrante */
}


/* Estante 1: Títulos (Garantiza alineación de la sub-ficha) */
h4 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-start;
}

/* Estante 2: Sub-ficha (Garantiza alineación del párrafo) */
.sub-ficha {
    display: block;
    font-size: 0.82rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    opacity: 0.8;
    min-height: 3.2rem; /* Clave para la Versión Light */
    line-height: 1.3;
}

/* Estante 3: Párrafo (Opcional, pero ayuda a la simetría) */
.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    min-height: 4.5rem;
}

/* PASOS */
.process-flow {
    padding: 80px 20px;
    background: white;
    max-width: 1100px;
    margin: 0 auto 60px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step {
    padding: 30px;
    border-right: 1px solid var(--border-color);
}

    .step:last-child {
        border-right: none;
    }

.step-number {
    font-weight: 800;
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* FINAL CTA */
.final-cta {
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-alt);
    border-radius: 30px;
    max-width: 1100px;
    margin: 0 auto 100px;
    border: 1px solid var(--border-color);
}

    .final-cta h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 20px;
    }

.nav-light {
    background: var(--accent-blue);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .nav-light img {
        height: 75px; /* Aumentamos de 42px a 58px para que destaque */
        width: auto;
        transition: transform 0.3s ease; /* Un toque extra para cuando pasen el mouse */
    }

        /* Opcional: un pequeño efecto de escala si alguien pone el puntero sobre el logo */
        .nav-light img:hover {
            transform: scale(1.05);
        }

.site-footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: white;
}

/* FOOTER */
.footer-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
}

.footer-sub {
    font-size: 0.70rem !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- INDICADOR DE ACTIVIDAD IA --- */

/* 1. Definimos la animación de giro */
@keyframes girar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 2. Estilos para el indicador (el circulito) */
.spinner-ia {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(0, 174, 219, 0.2);
    border-radius: 50%;
    border-top-color: #00aedb; /* Azul Softmedia */
    animation: girar 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* 3. Estilos para la caja del mensaje */
.mensaje-espera {
    margin: 5px 0;
    color: #e1b12c;
    font-style: italic;
    display: flex;
    align-items: center;
}

