/* ------------------------------------------------------------------
   Hygea Go - base compartida por las dos propuestas de landing.
   Solo tokens, reset y utilidades. Cada opcion trae su propio estilo.
   Paleta puente: azul corporativo de hygeagroup.com.ar para la marca,
   azul del producto para los llamados a la accion y las zonas de app.
   ------------------------------------------------------------------ */

:root {
    /* Marca corporativa (tomada del sitio actual) */
    --azul-corp: #004aad;
    --azul-corp-700: #003a87;
    --azul-corp-900: #002b63;
    --lima: #b7c523;
    --lima-claro: #d3e220;
    --verde: #6a9667;

    /* Producto (los mismos tokens que usa la app) */
    --azul-app: #2563eb;
    --azul-app-hover: #1d4ed8;
    --azul-app-soft: #dbeafe;
    --azul-app-faint: #eff6ff;

    /* Neutros */
    --tinta: #0f1b2d;
    --texto: #364152;
    --texto-suave: #667085;
    --texto-tenue: #98a2b3;
    --linea: #e4e7ec;
    --linea-fuerte: #d0d5dd;
    --linea-suave: #eef1f5;
    --fondo: #ffffff;
    --fondo-suave: #f6f8fb;
    --fondo-azulado: #f2f6fc;

    /* Semanticos, alineados con la app */
    --ok: #059669;
    --ok-bg: #d1fae5;
    --atencion: #f59e0b;
    --error: #dc2626;
    --error-bg: #fee2e2;
    --error-texto: #991b1b;

    /* Tipografia */
    --titulos: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
    --texto-fuente: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Ritmo */
    --ancho: 1180px;
    --radio-sm: 10px;
    --radio: 16px;
    --radio-lg: 24px;
    --sombra-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .06);
    --sombra: 0 12px 24px -12px rgba(15, 27, 45, .18);
    --sombra-lg: 0 32px 64px -32px rgba(15, 27, 45, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: var(--texto-fuente);
    font-size: 17px;
    line-height: 1.65;
    color: var(--texto);
    background: var(--fondo);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--titulos);
    color: var(--tinta);
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--azul-app); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--azul-app);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Utilidades ------------------------------------------------------- */

.contenedor {
    width: min(100% - 2.5rem, var(--ancho));
    margin-inline: auto;
}

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

.saltar-al-contenido {
    position: absolute;
    left: 1rem; top: -100px;
    z-index: 100;
    background: var(--azul-app);
    color: #fff;
    padding: .7rem 1.1rem;
    border-radius: var(--radio-sm);
    transition: top .15s;
}
.saltar-al-contenido:focus { top: 1rem; }

/* Marca ------------------------------------------------------------ */

.marca { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.marca:hover { text-decoration: none; }

.marca__iso { width: 38px; height: 38px; flex: none; color: var(--azul-corp); }
.marca__iso .iso-hueco { fill: var(--iso-hueco, #fff); }

.marca__texto {
    font-family: var(--titulos);
    font-weight: 600;
    font-size: 1.32rem;
    letter-spacing: -.03em;
    color: var(--marca-color, var(--tinta));
    display: inline-flex;
    align-items: baseline;
    gap: .34rem;
}

.marca__go {
    font-size: .68em;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .18em .5em .22em;
    border-radius: 999px;
    background: var(--go-fondo, var(--lima));
    color: var(--go-color, var(--azul-corp-900));
    line-height: 1;
    transform: translateY(-.12em);
}
