/* =====================================================================
   Softmedia Insights — hoja de estilos del sitio
   Versión 2.6 · 04-09-2026
   Autor: Softmedia Insights SpA

   Índice
   -----------------------------------------------------------------
   01. Variables y base
   02. Utilidades y contenedor
   03. Franja superior y navegación
   04. Hero y mosaico
   05. Botones
   06. Secciones
   07. Tarjetas de producto
   08. Metodología
   09. Quién está detrás
   10. Botón omnipresente
   11. Modales (general)
   12. Formulario de contacto
   13. Modal de planes web
   14. Modal Softmedia Ingeniería
   15. Páginas legales
   16. Pie de página
   17. Adaptación a pantallas chicas
   ===================================================================== */


/* =====================================================================
   01. VARIABLES Y BASE
   ===================================================================== */
:root {
    /* Escala corporativa, anclada en el navy #143A5A */
    --azul-900: #071527;
    --azul-800: #0C2440;
    --azul-700: #143A5A;
    --azul-600: #1B4E7C;
    --azul-500: #2A6DA6;
    --azul-400: #3E8AC8;
    --azul-300: #6FB0E0;

    /* Alias semánticos */
    --navy: var(--azul-700);
    --acento: var(--azul-500);
    --acento-claro: var(--azul-400);

    /* Neutros */
    --ink: #12212F;
    --body: #44566A;
    --muted: #6B7D91;
    --line: #D8E0E8;
    --line-suave: #EDF1F5;
    --gris: #F2F5F9;
    --blanco: #FFFFFF;

    /* Estados */
    --ok: #1E7A52;
    --error: #C5221F;

    /* Tipografía y medidas */
    --fuente: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
    --ancho: 1560px;
    --lado: clamp(20px, 4vw, 64px);
    --alto-franja: 66px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--blanco);
    color: var(--body);
    font-family: var(--fuente);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--acento);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--acento-claro);
    outline-offset: 3px;
    border-radius: 3px;
}

h1, h2, h3, h4 {
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}

/* El header es sticky: sin esto, los títulos quedan tapados
   al llegar por un enlace de ancla. */
[id] {
    scroll-margin-top: calc(var(--alto-franja) + 18px);
}


/* =====================================================================
   02. UTILIDADES Y CONTENEDOR
   ===================================================================== */
.contenedor {
    width: 100%;
    max-width: var(--ancho);
    margin: 0 auto;
    padding-left: var(--lado);
    padding-right: var(--lado);
}

/* Enlace de salto: invisible hasta que se le da foco con el teclado. */
.salto-contenido {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--navy);
    color: var(--blanco);
    padding: 12px 20px;
    border-radius: 0 0 6px 0;
    font-weight: 600;
    text-decoration: none;
}

.salto-contenido:focus {
    left: 0;
}

.solo-lectores {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


/* =====================================================================
   03. FRANJA SUPERIOR Y NAVEGACIÓN
   ===================================================================== */
.franja {
    background: var(--blanco);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
}

.franja > .contenedor {
    display: flex;
    align-items: center;
    gap: 34px;
    height: var(--alto-franja);
}

.logotipo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex: none;
}

.logotipo img {
    height: 40px;
    width: 40px;
    display: block;
    flex: none;
}

.logotipo span {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -.02em;
    color: var(--ink);
    line-height: 1;
}

.logotipo small {
    display: block;
    font-weight: 600;
    font-size: 8.5px;
    letter-spacing: .24em;
    color: var(--acento);
    margin-top: 3px;
}

.nav-principal {
    flex: 1;
}

.menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.menu a:hover {
    border-bottom-color: var(--acento);
}

.franja-fin {
    display: flex;
    align-items: center;
    gap: 18px;
}

.desplegable {
    position: relative;
}

.acceso {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 14px;
    font-family: var(--fuente);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.acceso:hover {
    border-color: var(--acento);
    color: var(--acento);
}

.acceso svg {
    width: 10px;
    height: 10px;
    transition: transform .15s ease;
}

.acceso[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.panel-acceso {
    position: absolute;
    right: 0;
    top: calc(100% + 9px);
    min-width: 210px;
    background: var(--blanco);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(7,21,39,.18);
    padding: 7px;
    list-style: none;
    margin: 0;
    z-index: 45;
}

.panel-acceso[hidden] {
    display: none;
}

.panel-acceso a {
    display: block;
    padding: 10px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.panel-acceso a small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.panel-acceso a:hover {
    background: var(--gris);
    color: var(--acento);
}

.menu-movil {
    display: none;
    align-items: center;
    gap: 9px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 9px 14px;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.menu-movil:hover {
    border-color: var(--acento);
    color: var(--acento);
}

.rayas {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 12px;
}

.rayas i {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.rayas i:nth-child(1) { top: 0; }
.rayas i:nth-child(2) { top: 5px; }
.rayas i:nth-child(3) { top: 10px; }

.panel-movil {
    display: none;
    background: var(--blanco);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(7,21,39,.14);
}

.panel-movil .contenedor {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 18px;
}

.panel-movil a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-suave);
    text-decoration: none;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
}

.panel-movil a small {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.rotulo-acceso {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--acento);
    margin: 22px 0 2px;
}


/* =====================================================================
   04. HERO Y MOSAICO
   ===================================================================== */
.hero {
    background:
        radial-gradient(125% 135% at 84% 16%, rgba(62,138,200,.46) 0%, rgba(62,138,200,0) 60%),
        linear-gradient(112deg, var(--azul-900) 0%, #0B2440 30%, var(--azul-700) 66%, var(--azul-600) 100%);
    color: #DCE8F2;
    padding: 74px 0 84px;
}

.hero .contenedor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px 60px;
    align-items: center;
}

.hero h1 {
    color: var(--blanco);
    font-size: clamp(36px, 3.8vw, 52px);
    line-height: 1.08;
    letter-spacing: -.022em;
    font-weight: 700;
    margin-bottom: 22px;
    max-width: 20ch;
}

.hero p {
    margin: 0 0 30px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
    color: #BCD2E6;
    max-width: 54ch;
}

.mosaico {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: clamp(6px, .7vw, 11px);
}

.pieza {
    position: relative;
    border-radius: clamp(6px, .75vw, 12px);
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.panel {
    background: var(--azul-800);
}

.panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.18) saturate(.88) contrast(1.04);
}

.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(158deg, rgba(20,58,90,.34), rgba(27,78,124,.20));
}

.panel--1 img { object-position: 12% center; }
.panel--2 img { object-position: 50% center; }
.panel--3 img { object-position: 88% center; }

.marca {
    background: linear-gradient(150deg, var(--azul-600), var(--azul-700) 60%, var(--azul-800));
    display: flex;
    align-items: flex-end;
    padding: clamp(11px, 1.5vw, 24px);
}

.marca::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 64%;
    height: 56%;
    background: var(--acento-claro);
    opacity: .5;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.marca span {
    position: relative;
    color: var(--blanco);
    font-weight: 800;
    font-size: clamp(17px, 2.5vw, 38px);
    line-height: .98;
    letter-spacing: -.03em;
}

.marca small {
    display: block;
    font-weight: 600;
    font-size: clamp(7px, .72vw, 12px);
    letter-spacing: .22em;
    color: var(--azul-300);
    margin-top: clamp(3px, .45vw, 8px);
}

.acento {
    background: linear-gradient(158deg, var(--acento-claro), var(--azul-600));
}

.p-marca  { grid-area: 4 / 1 / 11 / 6; }
.p-acento { grid-area: 1 / 1 / 4 / 6; }
.p-1      { grid-area: 3 / 6 / 12 / 8; }
.p-2      { grid-area: 1 / 8 / 11 / 11; }
.p-3      { grid-area: 4 / 11 / 10 / 13; }

.ficha {
    position: absolute;
    z-index: 3;
    background: rgba(233,242,250,.92);
    border-radius: clamp(5px, .55vw, 9px);
    padding: clamp(5px, .6vw, 10px) clamp(7px, .8vw, 13px);
    display: flex;
    align-items: center;
    gap: clamp(5px, .55vw, 9px);
    box-shadow: 0 6px 20px rgba(7,21,39,.38);
    font-size: clamp(7.5px, .72vw, 12px);
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.ficha i {
    display: block;
    width: clamp(5px, .5vw, 7px);
    height: clamp(5px, .5vw, 7px);
    border-radius: 50%;
    background: var(--ok);
    flex: none;
}

.ficha b {
    font-size: clamp(6.5px, .62vw, 10px);
    letter-spacing: .06em;
    padding: 2px 7px;
    border-radius: 20px;
    background: var(--acento);
    color: var(--blanco);
}

.ficha--a { left: 47%; top: 34%; }
.ficha--b { left: 72%; top: 62%; }


/* =====================================================================
   05. BOTONES
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--fuente);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 13px 24px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn--primario {
    background: var(--acento);
    color: var(--blanco);
}

.btn--primario:hover {
    background: var(--acento-claro);
}

/* Secundario sobre fondo claro (reemplaza los style= sueltos del HTML) */
.btn--secundario {
    background: var(--blanco);
    color: var(--acento);
    border-color: var(--line);
}

.btn--secundario:hover {
    border-color: var(--acento);
    background: var(--gris);
}

/* Secundario sobre fondo oscuro (hero) */
.btn--claro {
    background: transparent;
    color: #D6E5F3;
    border-color: rgba(255,255,255,.4);
}

.btn--claro:hover {
    border-color: var(--blanco);
    color: var(--blanco);
}

/* Enlace "Conoce más". Sirve igual para <a> y para <button>. */
.mas {
    display: inline-block;
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--fuente);
    font-size: 15px;
    font-weight: 600;
    color: var(--acento);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.mas:hover {
    text-decoration: underline;
}

.mas::after {
    content: " \203A";
}

/* Botón que se ve como enlace del pie */
.enlace-pie {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #A3B9D0;
    cursor: pointer;
    text-align: left;
}

.enlace-pie:hover {
    color: var(--blanco);
    text-decoration: underline;
}


/* =====================================================================
   06. SECCIONES
   ===================================================================== */
.seccion {
    padding: 84px 0;
}

.seccion--gris {
    background: var(--gris);
}

.seccion > .contenedor > h2 {
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.16;
    letter-spacing: -.018em;
    font-weight: 700;
    max-width: 22ch;
}

.bajada {
    margin: 16px 0 0;
    max-width: 62ch;
    font-size: 17.5px;
}


/* =====================================================================
   07. TARJETAS DE PRODUCTO
   ===================================================================== */
.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: 26px;
    margin-top: 46px;
}

.tarjeta {
    background: var(--blanco);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tarjeta > .lienzo {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.tarjeta > .lienzo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarjeta > .lienzo::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 58%;
    background: linear-gradient(to top, rgba(7,21,39,.62), rgba(7,21,39,0));
    pointer-events: none;
}

.chapa {
    position: absolute;
    left: 13px;
    bottom: 13px;
    z-index: 2;
    background: rgba(255,255,255,.96);
    border-radius: 8px;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 16px rgba(7,21,39,.34);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    white-space: nowrap;
}

.chapa b {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .06em;
    padding: 3px 9px;
    border-radius: 20px;
    color: var(--blanco);
    background: var(--ok);
}

.chapa i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acento);
    flex: none;
}

.tarjeta-cuerpo {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tarjeta h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.28;
}

.tarjeta p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.52;
}

.precio {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.precio span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: .04em;
}


/* =====================================================================
   08. METODOLOGÍA
   ===================================================================== */
.metodo {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px 64px;
    align-items: center;
    margin-top: 46px;
}

.metodo-imagen {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.metodo-bloques {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metodo-item h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 4px;
    color: var(--navy);
}

.metodo-item p {
    margin: 0;
    font-size: 15.5px;
}


/* =====================================================================
   09. QUIÉN ESTÁ DETRÁS
   ===================================================================== */
.perfil {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    background: var(--blanco);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px;
}

.retrato {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.rotulo {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--acento);
    margin: 0 0 8px;
}

.perfil-texto h2 {
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
    margin-bottom: 6px;
}

.cargo {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--azul-600);
    margin: 0 0 20px;
}

.perfil-texto p {
    margin: 0 0 14px;
    font-size: 16.5px;
    max-width: 60ch;
}

.perfil-texto p:last-child {
    margin-bottom: 0;
}


/* =====================================================================
   10. BOTÓN OMNIPRESENTE
   ===================================================================== */
.flotante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    background: var(--navy);
    color: var(--blanco);
    border: 0;
    border-radius: 6px;
    padding: 13px 20px;
    font-family: var(--fuente);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(7,21,39,.34);
}

.flotante:hover {
    background: var(--acento);
}


/* =====================================================================
   11. MODALES (GENERAL)
   ===================================================================== */
.velo {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(7,21,39,.66);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 16px;
    overflow-y: auto;
}

.velo[hidden] {
    display: none !important;
}

.modal {
    background: var(--blanco);
    border-radius: 12px;
    width: 100%;
    max-width: 780px;
    padding: 26px 28px 30px;
    box-shadow: 0 24px 70px rgba(7,21,39,.44);
}

.modal--amplio {
    max-width: 860px;
}

.modal-cabeza {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 6px;
}

.modal h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.cerrar {
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 6px;
}

.cerrar:hover {
    color: var(--ink);
}

.modal-intro {
    font-size: 15.5px;
    margin: 0 0 22px;
}

.modal-pie {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* =====================================================================
   12. FORMULARIO DE CONTACTO
   ===================================================================== */
.campos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campo--ancho {
    grid-column: 1 / -1;
}

.campo label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .01em;
}

.campo input,
.campo select,
.campo textarea {
    font-family: var(--fuente);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--blanco);
    border: 1px solid #BFCCDB;
    border-radius: 5px;
    padding: 11px 12px;
    width: 100%;
}

.campo textarea {
    min-height: 108px;
    resize: vertical;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    outline: 2px solid var(--acento-claro);
    outline-offset: 0;
    border-color: var(--acento);
}

.form-err {
    font-size: 12px;
    color: #D9534F;
    display: none;
    margin-top: 2px;
}

.campo.invalid input,
.campo.invalid select,
.campo.invalid textarea {
    border-color: #D9534F;
}

.campo.invalid .form-err {
    display: block;
}

.form-result {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-result.ok {
    background: #E6F4EA;
    color: #137333;
    display: block;
}

.form-result.err {
    background: #FCE8E6;
    color: var(--error);
    display: block;
}

.form-result.pending {
    background: #E8F0FE;
    color: #1A73E8;
    display: block;
}

.nota {
    font-size: 12.5px;
    color: var(--muted);
    margin: 18px 0 0;
}

.nota a {
    color: var(--acento);
}


/* =====================================================================
   13. MODAL DE PLANES WEB
   ===================================================================== */
.pestanas {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px;
    margin-top: 10px;
    overflow-x: auto;
}

.pestana {
    background: none;
    border: none;
    font-family: var(--fuente);
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.pestana:hover {
    color: var(--acento);
}

.pestana.activo {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.tab-panel[hidden] {
    display: none;
}

.plan-encabezado {
    background: var(--gris);
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 16px;
}

.plan-encabezado--oscuro {
    background: linear-gradient(135deg, var(--azul-900), var(--azul-700));
    color: var(--blanco);
    margin-top: 16px;
}

.plan-precio {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.monto {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -.02em;
}

.monto--titulo {
    font-size: 28px;
    color: var(--blanco);
}

.plazo {
    font-size: 15px;
    font-weight: 600;
    color: var(--azul-600);
}

.plan-encabezado--oscuro .plazo {
    color: var(--azul-300);
}

.plan-ideal {
    font-size: 16px;
    margin: 0 0 16px;
}

.plan-lista {
    margin: 0 0 24px;
    padding-left: 20px;
    font-size: 15.5px;
}

.plan-lista li {
    margin-bottom: 8px;
}

.plan-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.bloques-comunes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-bottom: 24px;
}

.bloque-item h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--ink);
}

.bloque-item p {
    font-size: 14px;
    color: var(--body);
    margin: 0;
    line-height: 1.5;
}

.modal-escape {
    background: #EAF0F6;
    border: 1px dashed #B2C3D4;
    border-radius: 8px;
    padding: 20px 24px;
    text-align: center;
}

.modal-escape p {
    font-size: 15px;
    margin: 0 0 10px;
    color: var(--navy);
}

.modal-escape .mas {
    color: var(--acento);
}


/* =====================================================================
   14. MODAL SOFTMEDIA INGENIERÍA
   ===================================================================== */
.ing-cuerpo {
    padding: 10px 0;
}

.ing-intro {
    font-size: 16px;
    margin: 0 0 22px;
    color: var(--ink);
    line-height: 1.55;
}

.ing-subtitulo {
    font-size: 17px;
    margin-bottom: 14px;
    color: var(--navy);
}

.ing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.ing-card {
    background: var(--gris);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.ing-card h4 {
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 6px;
}

.ing-card p {
    font-size: 14px;
    margin: 0;
    line-height: 1.45;
}

.ing-card.ancho {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.ing-lista {
    margin: 8px 0 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.ing-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}


/* =====================================================================
   15. PÁGINAS LEGALES
   ===================================================================== */
.legal {
    padding: 64px 0 84px;
}

.legal .contenedor {
    max-width: 860px;
}

.legal-encabezado {
    padding-bottom: 26px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.legal h1 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-fecha {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.legal h2 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.012em;
    margin: 38px 0 12px;
    color: var(--navy);
}

.legal h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 8px;
}

.legal p {
    margin: 0 0 14px;
    font-size: 16.5px;
}

.legal ul,
.legal ol {
    margin: 0 0 16px;
    padding-left: 22px;
    font-size: 16.5px;
}

.legal li {
    margin-bottom: 9px;
}

.legal-destacado {
    background: var(--gris);
    border-left: 3px solid var(--acento);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 0 0 24px;
}

.legal-destacado p:last-child {
    margin-bottom: 0;
}

.legal-tabla {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15.5px;
}

.legal-tabla th,
.legal-tabla td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border: 1px solid var(--line);
}

.legal-tabla th {
    background: var(--gris);
    color: var(--ink);
    font-weight: 700;
    font-size: 14.5px;
}

.legal-tabla-envoltorio {
    overflow-x: auto;
    margin-bottom: 22px;
}

.legal-tabla-envoltorio .legal-tabla {
    margin-bottom: 0;
}

.legal-volver {
    display: inline-block;
    margin-top: 40px;
    font-weight: 600;
    text-decoration: none;
}

.legal-volver:hover {
    text-decoration: underline;
}

.legal-volver::before {
    content: "\2039  ";
}


/* =====================================================================
   16. PIE DE PÁGINA
   ===================================================================== */
footer {
    background: var(--azul-800);
    color: #A3B9D0;
    padding: 54px 0 26px;
    font-size: 15px;
}

.pie-columnas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 32px 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.pie-columnas h4 {
    color: var(--blanco);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pie-columnas ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pie-columnas a {
    color: #A3B9D0;
    text-decoration: none;
}

.pie-columnas a:hover {
    color: var(--blanco);
    text-decoration: underline;
}

.pie-legal {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #7C91AA;
}


/* =====================================================================
   17. ADAPTACIÓN A PANTALLAS CHICAS
   Ordenadas de mayor a menor. No mezclar reglas nuevas fuera de aquí.
   ===================================================================== */
@media (max-width: 980px) {
    .hero .contenedor {
        grid-template-columns: 1fr;
    }

    .metodo {
        grid-template-columns: 1fr;
    }

    .nav-principal,
    .franja-fin {
        display: none;
    }

    .menu-movil {
        display: inline-flex;
        margin-left: auto;
    }

    .panel-movil:not([hidden]) {
        display: block;
    }
}

@media (max-width: 700px) {
    .seccion {
        padding: 58px 0;
    }

    .hero {
        padding: 52px 0 60px;
    }

    .legal {
        padding: 44px 0 60px;
    }

    .perfil {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 22px;
    }

    .retrato {
        max-width: 240px;
    }

    .campos {
        grid-template-columns: 1fr;
    }

    .ing-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 22px 20px 26px;
    }

    .flotante {
        right: 14px;
        bottom: 14px;
        padding: 12px 17px;
    }
}

@media (max-width: 620px) {
    .p-3,
    .ficha--b {
        display: none;
    }

    .p-2 {
        grid-area: 1 / 8 / 11 / 13;
    }
}
