/* estilos de las pantallas de acceso (login y registro) */
/* pantalla de login / acceso a la cuenta */
.acceso {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.acceso-caja {
    width: 100%;
    max-width: 410px;
}

/* el logo y el nombre encima de la caja */
.acceso-marca {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    justify-content: center;
}
.acceso-marca .punto {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #2f6b54;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.acceso-marca .punto img {
    width: 19px;
    height: 19px;
}
.acceso-marca span {
    font-size: 18px;
    font-weight: 700;
    color: #25282d;
    letter-spacing: -0.01em;
}

/* la tarjeta blanca con el formulario */
.acceso-tarjeta {
    background: #fff;
    border: 1px solid #e6e2d9;
    border-radius: 16px;
    padding: 30px 28px 28px;
    box-shadow: 0 10px 30px rgba(38, 90, 71, 0.07);
}
.acceso-tarjeta h1 {
    font-size: 21px;
    font-weight: 700;
    color: #25282d;
    margin: 0 0 4px;
}
.acceso-tarjeta .sub {
    font-size: 14px;
    color: var(--texto-suave);
    margin: 0 0 22px;
}

/* mensajes de error y de exito */
.acceso-error {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #9b261b;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    margin-bottom: 18px;
}
.acceso-exito {
    background: #eef6f0;
    border: 1px solid #bcd8c8;
    color: #1f5135;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    margin-bottom: 18px;
}

/* los campos del formulario de login */
.acceso-campo {
    margin-bottom: 16px;
}
.acceso-campo label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c5e4a;
    margin-bottom: 6px;
}
.acceso-campo input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #e6e2d9;
    border-radius: 10px;
    font-size: 15px;
    color: #25282d;
    background: #faf9f5;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.acceso-campo input:focus {
    outline: none;
    border-color: #2f6b54;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 107, 84, 0.13);
}

/* boton base, lo comparto con el de registro asi no repito */
.acceso-boton, .inicio-boton {
    width: 100%;
    background: #2f6b54;
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.acceso-boton {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 6px;
}
.acceso-boton:hover {
    background: #265a47;
}

/* pie con el enlace de abajo (registrarse / volver) */
.acceso-pie {
    text-align: center;
    font-size: 13.5px;
    color: var(--texto-suave);
    margin: 16px 0 0;
}
.acceso-enlace {
    color: #2f6b54;
    font-weight: 600;
    text-decoration: none;
}
.acceso-enlace:hover {
    text-decoration: underline;
}

/* pantalla de registro, la grande con los pasos a la izquierda */
.inicio {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 12px 56px;
}

/* cabecera del registro con el logo grande */
.inicio-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 46px;
}
.inicio-marca {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* logos cuadrados, sin redondeo */
.inicio-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #2f6b54;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(47, 107, 84, 0.20);
}
.inicio-logo img {
    width: 42px;
    height: 42px;
}
.inicio-nombre strong {
    display: block;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    color: #25282d;
    letter-spacing: -0.03em;
}
.inicio-nombre span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: var(--texto-suave);
}
.inicio-acceso {
    font-size: 14px;
    color: var(--texto-suave);
}
.inicio-acceso a {
    color: #2f6b54;
    font-weight: 700;
    text-decoration: none;
}

/* se parte en dos columnas: info y formulario */
.inicio-rejilla {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 54px;
    align-items: start;
}

/* columna izquierda: titulo y los pasos de como va */
.inicio-info {
    padding-top: 10px;
}
.inicio-info h1 {
    max-width: 650px;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 850;
    color: #25282d;
    letter-spacing: -0.045em;
    margin: 0 0 20px;
}
.inicio-info h1 .verde {
    color: #2f6b54;
}

/* texto principal en negro */
.inicio-info .entradilla {
    max-width: 590px;
    font-size: 18px;
    line-height: 1.65;
    color: #5f6672;
    margin: 0 0 34px;
}

/* la lista de pasos */
.inicio-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 620px;
}
.inicio-pasos li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.inicio-pasos li:last-child {
    margin-bottom: 0;
}

/* escondo los numeros de los pasos, me gustaban mas sin ellos */
.inicio-pasos .num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #2f6b54;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.inicio-pasos .texto strong {
    display: block;
    font-size: 16px;
    color: #25282d;
    margin-bottom: 4px;
}
.inicio-pasos .texto span {
    display: block;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--texto-suave);
}

/* el formulario de registro (columna derecha) */
.inicio-form {
    background: #fff;
    border: 1px solid #e6e2d9;
    border-radius: 22px;
    padding: 28px 26px 26px;
    box-shadow: 0 18px 42px rgba(38, 90, 71, 0.10);
    position: sticky;
    top: 22px;
}
.inicio-form h2 {
    font-size: 23px;
    font-weight: 800;
    color: #25282d;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}
.inicio-form .sub {
    font-size: 14px;
    line-height: 1.5;
    color: var(--texto-suave);
    margin: 0 0 22px;
}
.inicio-form .grupo {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: var(--texto-suave);
    margin: 20px 0 11px;
}
.inicio-form .grupo:first-of-type {
    margin-top: 0;
}

/* campos del registro */
.inicio-campo {
    margin-bottom: 13px;
}
.inicio-campo label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2c5e4a;
    margin-bottom: 6px;
}
.inicio-campo input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #e6e2d9;
    border-radius: 11px;
    font-size: 14.5px;
    color: #25282d;
    background: #faf9f5;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.inicio-campo input:focus {
    outline: none;
    border-color: #2f6b54;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 107, 84, 0.13);
}

/* dos campos en la misma fila */
.inicio-dos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

/* el boton de registro, coje el estilo base de arriba */
.inicio-boton {
    padding: 13px 14px;
    border-radius: 12px;
    font-weight: 750;
    margin-top: 8px;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 10px 22px rgba(47, 107, 84, 0.18);
}
.inicio-boton:hover {
    background: #265a47;
    transform: translateY(-1px);
}

/* enlace de 'ya tengo cuenta' */
.inicio-form .ya-tengo {
    text-align: center;
    font-size: 13.5px;
    color: var(--texto-suave);
    margin: 17px 0 0;
}
.inicio-form .ya-tengo a {
    color: #2f6b54;
    font-weight: 700;
    text-decoration: none;
}

/* errores de validacion del registro */
.inicio-errores {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #9b261b;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 18px;
}
.inicio-errores ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* ajustes para tablet y movil */
@media (max-width: 980px) {
    .inicio-rejilla {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .inicio-form {
        position: static;
        max-width: 520px;
    }
    .inicio-info h1 {
        font-size: 38px;
    }
}

/* ajustes para tablet y movil */
@media (max-width: 680px) {
    .inicio {
        padding-top: 24px;
    }
    .inicio-cabecera {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 32px;
    }
    .inicio-logo {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }
    .inicio-logo img {
        width: 36px;
        height: 36px;
    }
    .inicio-nombre strong {
        font-size: 22px;
    }
    .inicio-info h1 {
        font-size: 32px;
    }
    .inicio-info .entradilla {
        font-size: 16px;
    }
    .inicio-dos {
        grid-template-columns: 1fr;
    }
}
body {
    background: #f5f2ec;
}

/* a partir de aqui lo dejo todo recto y sin sombras para que no parezca una landing */
.acceso-tarjeta, .inicio-form {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #d8d8d0;
}
.acceso-campo input,
.inicio-campo input,
input,
select,
textarea {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.acceso-campo input:focus,
.inicio-campo input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #265A47;
    box-shadow: none !important;
    outline: none;
}
.acceso-boton,
.inicio-boton,
button,
input[type="submit"] {
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}
.acceso-boton:hover, .inicio-boton:hover, button:hover {
    transform: none !important;
}
.acceso-campo, .inicio-campo {
    margin-bottom: 14px;
}
.acceso-campo label, .inicio-campo label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}
.acceso-enlace, a {
    text-decoration: none;
}
.inicio-info .entradilla {
    color: #000000 !important;
}
.inicio-pasos .num {
    display: none !important;
}
.inicio-pasos li {
    gap: 0;
}
.inicio-pasos .texto strong {
    color: #000000 !important;
}
.inicio-pasos .texto span {
    color: #000000 !important;
}
.inicio-logo {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.acceso-marca .punto {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ajustes para tablet y movil */
@media (max-width: 680px) {
    .inicio-logo {
        border-radius: 0 !important;
    }
}
