
/* ============================================================
   CONNECTED PRO
   TIPO DE REGISTRO
============================================================ */


/* ============================================================
   VARIABLES
============================================================ */

:root {
    --azul-principal: #0c2340;
    --azul-secundario: #1e53ab;
    --azul-suave: #eaf1fa;
    --azul-hover: #f5f8fc;
    --texto-principal: #0c2340;
    --texto-secundario: #667085;
    --borde: #e4e9f0;
    --blanco: #ffffff;
    --fondo: #f7f9fc;

    /* Color de acento Connected Pro */
    --verde-principal: #059669;
    --verde-hover: #047857;
}


/* ============================================================
   RESET
============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ============================================================
   BODY
============================================================ */

body {
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at top left,
            #eef4fb 0%,
            var(--fondo) 42%,
            #ffffff 100%
        );

    color: var(--texto-principal);

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}


/* ============================================================
   CONTENEDOR PRINCIPAL
============================================================ */

.contenedor {
    width: 100%;
    max-width: 680px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ============================================================
   LOGO
============================================================ */

.logo-container {
    width: 92px;
    height: 92px;

    border-radius: 24px;
    background: var(--blanco);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;
    margin-bottom: 24px;

    box-shadow:
        0 12px 30px rgba(12, 35, 64, 0.10);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.encabezado {
    text-align: center;
    margin-bottom: 34px;
}

.etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 13px;
    border-radius: 50px;

    background: var(--azul-suave);
    color: var(--azul-secundario);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;

    margin-bottom: 13px;
}

h1 {
    font-size: clamp(30px, 5vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.descripcion {
    max-width: 480px;
    margin: 0 auto;

    color: var(--texto-secundario);
    font-size: 16px;
    line-height: 1.6;
}


/* ============================================================
   OPCIONES
============================================================ */

.opciones {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ============================================================
   TARJETA / BOTÓN
============================================================ */

.opcion {
    width: 100%;
    min-height: 150px;

    border: 1px solid var(--borde);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.96);

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 24px;
    text-align: left;

    cursor: pointer;
    color: inherit;
    font-family: inherit;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;

    box-shadow:
        0 6px 18px rgba(12, 35, 64, 0.04);
}

.opcion:hover {
    transform: translateY(-3px);
    border-color: #cbd8e8;
    background: var(--blanco);

    box-shadow:
        0 16px 32px rgba(12, 35, 64, 0.10);
}

.opcion:active {
    transform: translateY(-1px);
}


/* ============================================================
   ICONO
============================================================ */

.icono {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;

    border-radius: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 29px;
}

.icono-cliente {
    background: #eaf1fa;
}

.icono-profesional {
    background: #edf6f3;
}

.icono span {
    line-height: 1;
}


/* ============================================================
   CONTENIDO
============================================================ */

.contenido {
    flex: 1;
    min-width: 0;
}

.tipo {
    display: block;
    margin-bottom: 5px;

    color: var(--azul-secundario);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contenido h2 {
    color: var(--texto-principal);
    font-size: 22px;
    font-weight: 750;
    margin-bottom: 6px;
}

.contenido p {
    color: var(--texto-secundario);
    font-size: 14px;
    line-height: 1.55;
    max-width: 450px;
}


/* ============================================================
   FLECHA
============================================================ */

.flecha {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--azul-suave);
    color: var(--azul-principal);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.opcion:hover .flecha {
    transform: translateX(4px);
    background: var(--azul-principal);
    color: white;
}


/* ============================================================
   LOGIN
============================================================ */

.login-container {
    margin-top: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 6px;
    flex-wrap: wrap;

    color: var(--texto-secundario);
    font-size: 14px;
}

/* Enlace "Inicia sesión" */
.login-link {
    color: var(--verde-principal);
    text-decoration: none;
    font-weight: 700;

    transition: color 0.25s ease;
}

.login-link:hover {
    color: var(--verde-hover);
    text-decoration: underline;
}

.login-link:focus-visible {
    outline: 2px solid var(--verde-principal);
    outline-offset: 3px;
    border-radius: 3px;
}


/* ============================================================
   PIE
============================================================ */

.pie {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
    margin-top: 24px;

    color: #98a2b3;
    font-size: 11px;
}

.separador {
    color: #c5ccd5;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 600px) {
    body {
        padding: 28px 16px;
        align-items: flex-start;
    }

    .contenedor {
        max-width: 100%;
        padding-top: 10px;
    }

    .logo-container {
        width: 78px;
        height: 78px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .encabezado {
        margin-bottom: 26px;
    }

    h1 {
        font-size: 30px;
    }

    .descripcion {
        font-size: 14px;
    }

    .opcion {
        min-height: auto;
        padding: 18px;
        gap: 14px;
        border-radius: 19px;
    }

    .icono {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 24px;
    }

    .contenido h2 {
        font-size: 19px;
    }

    .contenido p {
        font-size: 13px;
        line-height: 1.45;
    }

    .tipo {
        font-size: 9px;
    }

    .flecha {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .login-container {
        margin-top: 24px;
        font-size: 13px;
    }

    .pie {
        margin-top: 20px;
        font-size: 10px;
    }
}


@media (max-width: 390px) {
    .opcion {
        padding: 15px;
        gap: 11px;
    }

    .icono {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .contenido h2 {
        font-size: 18px;
    }

    .contenido p {
        font-size: 12px;
    }
}
