/* ── HERO LOGIN ── */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(8, 34, 18, .92) 0%,
            rgba(12, 50, 26, .85) 45%,
            rgba(12, 50, 26, .55) 70%,
            rgba(8, 24, 14, .28) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 70px 0 60px;
}

/* ── TEXTO HERO ── */
.hero-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 14px;
}

.hero-h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -.025em;
}

.hero-h1 em {
    font-style: italic;
    color: var(--v5);
}

.hero-desc {
    font-size: .9rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, .58);
    max-width: 400px;
}

.hero-desc strong {
    color: var(--v5);
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    transition: color .2s;
    margin-bottom: 28px;
}

.back-link:hover { color: var(--v5); }
.back-link svg { transition: transform .2s; }
.back-link:hover svg { transform: translateX(-3px); }
/* ── TARJETA LOGIN ── */
.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .32), 0 8px 24px rgba(0, 0, 0, .14);
    overflow: hidden;
}

.login-card-body {
    padding: 28px 30px 30px;
}

.login-card-body>p {
    font-size: .8rem;
    color: var(--gris3);
    margin-bottom: 22px;
}

/* ── FORM FIELDS ── */
.f-label {
    display: block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--gris2);
    margin-bottom: 7px;
}

.f-ctrl {
    width: 100%;
    border: 1.5px solid #d8e2db;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: .88rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--gris1);
    background: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .18s, box-shadow .18s;
}

.f-ctrl:focus {
    border-color: var(--v3);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, .13);
}

.f-ctrl::placeholder {
    color: #b8c2bc;
    font-weight: 400;
}

/* ── BOTONES ── */
.btn-submit {
    width: 100%;
    background: var(--v1);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: .22s;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 18px rgba(15, 61, 34, .35);
    margin-bottom: 12px;
}

.btn-submit:hover {
    background: var(--v2);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 61, 34, .45);
}

.btn-submit svg {
    transition: transform .2s;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .hero-inner {
        padding: 50px 0 40px;
    }

    .hero-text-col {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .hero-h1 {
        font-size: 2rem;
    }

    .login-card-body {
        padding: 22px 22px 26px;
    }
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.g-4>* {
    gap: 1.5rem;
}

.g-lg-5 {
    gap: 2.5rem;
}

.offset-lg-1 {
    margin-left: 8.333%;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: .85rem;
}

.alert-danger {
    background: #fee;
    color: var(--rojo);
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.alert-success {
    background: #efe;
    color: var(--v1);
    border: 1px solid rgba(15, 61, 34, 0.2);
}

.link-registro {
    text-align: center;
    font-size: .8rem;
    color: var(--gris3);
    margin-top: 14px;
}

.link-registro a {
    color: var(--v1);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.link-registro a:hover {
    color: var(--v3);
}