/* ===========================================================
   neXsv Design System v1.1
   Lenguaje visual común de toda la plataforma
=========================================================== */

:root{
    /* Marca */
    --primary:#3159B7;
    --primary-dark:#254A9E;
    --secondary:#34A88E;
    --accent:#F7C531;

    /* Estados */
    --success:#34A88E;
    --warning:#F7C531;
    --danger:#EF4444;

    /* Superficies */
    --background:#F5F7FB;
    --surface:#FFFFFF;

    /* Tipografía */
    --text:#1D2A3A;
    --text-light:#667085;
    --heading:#3159B7;

    /* Bordes y fondos suaves */
    --border:#E4EAF3;
    --primary-soft:#EDF4FF;
    --yellow-soft:#FFF8E1;
    --green-soft:#EEF8F3;

    /* Profundidad */
    --shadow-sm:0 4px 12px rgba(29,42,58,.05);
    --shadow-md:0 10px 25px rgba(29,42,58,.08);
    --shadow-lg:0 20px 45px rgba(29,42,58,.12);

    /* Forma y movimiento */
    --radius-sm:10px;
    --radius-md:16px;
    --radius-lg:24px;
    --transition:.25s ease;
}

/* ========= RESET ========= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--background);
    color:var(--text);
    font-family:"Montserrat",system-ui,sans-serif;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

/* ========= BOTONES ========= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 24px;
    border-radius:14px;
    font-weight:600;
    text-decoration:none;
    transition:var(--transition);
    cursor:pointer;
}

.btn-primary{
    background:var(--primary);
    color:white;
    box-shadow:var(--shadow-sm);
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
    box-shadow:var(--shadow-md);
}

.btn-secondary{
    background:white;
    color:var(--primary);
    border:1px solid var(--border);
}

.btn-secondary:hover{
    border-color:var(--primary);
}

/* ========= TARJETAS ========= */

.card{
    background:var(--surface);
    border-radius:20px;
    padding:24px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-lg);
}

/* ========= BADGES ========= */

.badge{
    display:inline-flex;
    padding:6px 14px;
    border-radius:999px;
    background:var(--primary-soft);
    color:var(--primary);
    font-size:.85rem;
    font-weight:600;
}

/* ========= TITULOS ========= */

.section-title{
    color:var(--heading);
    font-size:2rem;
    font-weight:700;
    margin-bottom:10px;
}

.section-subtitle{
    color:var(--text-light);
    line-height:1.6;
}

/* ========= GRID ========= */

.grid-3{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:24px;
}
