@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Estilos de la Página de Bienvenida del Directorio --- */

.repae-landing-container {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.repae-landing-container * {
    box-sizing: border-box;
}

/* Tarjeta Única Premium */
.repae-landing-card {
    display: flex;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    overflow: hidden;
    min-height: 480px;
    transition: all 0.3s ease;
}

.repae-landing-card:hover {
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

/* Columna Izquierda - Informativa */
.repae-landing-left {
    flex: 3;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.repae-landing-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(217, 83, 79, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(217, 83, 79, 0.1);
    transition: all 0.3s ease;
}

.repae-landing-card:hover .repae-landing-icon-wrapper {
    transform: scale(1.05) rotate(3deg);
    background: rgba(217, 83, 79, 0.1);
}

.repae-badge {
    display: inline-block;
    background: rgba(217, 83, 79, 0.08);
    color: #d9534f;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.repae-landing-left h1 {
    font-size: 2.5em;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 15px 0;
    line-height: 1.25;
}

.repae-lead {
    font-size: 1.05em;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 35px 0;
    max-width: 600px;
}

/* Columna Derecha - Membresía con Contraste */
.repae-landing-right {
    flex: 2;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.repae-landing-decor-wrapper {
    margin-bottom: 25px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.repae-landing-card:hover .repae-landing-decor-wrapper {
    transform: translateY(-5px);
    opacity: 1;
}

.repae-member-box h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.repae-member-box p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 35px 0;
}

/* Botones Premium */
.repae-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.repae-btn-icon {
    margin-right: 10px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.repae-btn-primary {
    background-color: #d9534f;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(217, 83, 79, 0.2);
}

.repae-btn-primary:hover {
    background-color: #c9302c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(217, 83, 79, 0.3);
}

.repae-btn-primary:hover .repae-btn-icon {
    transform: scale(1.1);
}

.repae-btn-secondary {
    background-color: #ffffff;
    color: #0f172a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.repae-btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* 6. Tarjeta Informativa "Acceso para Miembros" */
.repae-landing-info-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    padding: 45px 50px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.repae-landing-info-card:hover {
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.repae-info-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.repae-info-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(217, 83, 79, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(217, 83, 79, 0.1);
    transition: all 0.3s ease;
}

.repae-landing-info-card:hover .repae-info-icon-wrapper {
    transform: scale(1.05) rotate(3deg);
    background: rgba(217, 83, 79, 0.1);
}

.repae-info-badge {
    display: inline-block;
    background: rgba(217, 83, 79, 0.08);
    color: #d9534f;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 8px;
}

.repae-info-header h2 {
    font-size: 1.6em;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.repae-info-description {
    font-size: 1.05em;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 35px 0;
    max-width: 800px;
}

/* Grid de pasos 2x2 */
.repae-info-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 35px;
}

.repae-info-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}

.repae-info-step:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.repae-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d9534f;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.repae-step-content h3 {
    font-size: 1em;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.repae-step-content p {
    font-size: 0.9em;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.repae-step-content a {
    color: #d9534f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.repae-step-content a:hover {
    color: #c9302c;
    text-decoration: underline;
}

/* Botones de la info card */
.repae-info-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.repae-btn-outline {
    background: transparent;
    color: #d9534f !important;
    border: 2px solid #d9534f;
    box-shadow: none;
}

.repae-btn-outline:hover {
    background: #d9534f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 83, 79, 0.2);
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 820px) {
    .repae-landing-card {
        flex-direction: column;
        min-height: auto;
    }

    .repae-landing-left,
    .repae-landing-right {
        flex: none;
        width: 100%;
        padding: 40px 30px;
    }

    .repae-landing-left h1 {
        font-size: 2.1em;
    }

    .repae-lead {
        margin-bottom: 25px;
    }

    .repae-member-box h2 {
        font-size: 1.6em;
    }

    .repae-member-box p {
        margin-bottom: 25px;
    }

    /* Responsive info card */
    .repae-landing-info-card {
        padding: 30px 24px;
    }

    .repae-info-header {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .repae-info-header h2 {
        font-size: 1.4em;
    }

    .repae-info-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .repae-info-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .repae-info-actions .repae-btn {
        text-align: center;
    }
}
