/* =====================================================
   Home / Bienvenida - SEVADOC
   Facultad de Psicología · UNAM
   ===================================================== */
html,
body {
    height: 100%;
}

/* Fondo degradado azul institucional */
body {
    background: linear-gradient(135deg, #0d2b6b 0%, #1e3a8a 50%, #1e40af 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Header fijo heredado del baselogin ── */
header.fixed-top {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Main ocupa el espacio libre (footer al fondo) ── */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Área principal centrada ── */
.home-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 60px;
    /* espacio para el header fijo */
}

/* ── Tarjeta de bienvenida ── */
.welcome-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Franja decorativa superior */
.welcome-card::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
}

.welcome-body {
    padding: 2.5rem 2.8rem 2rem;
    text-align: center;
}

/* ── Escudo / ícono ── */
.welcome-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
}

.welcome-icon i {
    font-size: 2.2rem;
    color: #fff;
}

/* ── Textos ── */
.welcome-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3b82f6;
    margin-bottom: 0.4rem;
}

.welcome-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
    margin-bottom: 0.7rem;
}

.welcome-desc {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    text-align: justify;
    text-justify: inter-word;
}

/* ── Divisor ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin-bottom: 1.8rem;
}

/* ── Botón de ingreso ── */
.btn-ingresar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.4);
    letter-spacing: 0.5px;
}

.btn-ingresar:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.5);
    color: #fff;
    text-decoration: none;
}

.btn-ingresar:active {
    transform: translateY(0);
}

.btn-ingresar i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-ingresar:hover i {
    transform: translateX(4px);
}

/* ── Nota informativa ── */
.welcome-note {
    margin-top: 1.4rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.welcome-note i {
    color: #3b82f6;
    margin-right: 0.25rem;
}

/* ── Footer del sitio ── */
footer {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: #93c5fd !important;
}

footer strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .home-container {
        padding: 110px 15px 40px;
    }

    .welcome-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .welcome-title {
        font-size: 1.35rem;
    }

    .btn-ingresar {
        padding: 0.75rem 1.8rem;
        font-size: 0.95rem;
    }
}