/**
 * Estilos "¿Qué necesitas para postularte?" - Match Mockup
 */

.how-to-apply-section {
    padding: 24px 0 42px 0;
    scroll-margin-top: 96px;
}

.how-to-apply-layout {
    display: grid;
    grid-template-columns: clamp(340px, 28vw, 460px) 1fr;
    gap: clamp(20px, 2vw, 32px);
    align-items: stretch;
}

/* Columna Izquierda: Foto con frase manuscrita */
.apply-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 4px 20px rgba(7, 55, 99, 0.08);
}

.apply-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apply-photo-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 55, 99, 0.1) 0%, rgba(7, 45, 80, 0.78) 100%);
}

.apply-photo-script-text {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.apply-photo-script-text span {
    font-family: var(--font-script);
    color: #FFFFFF;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    display: block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Columna Derecha */
.apply-info-content {
    display: flex;
    flex-direction: column;
}

.apply-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.green-diamond {
    color: #00D47E;
    font-size: 0.95rem;
}

.apply-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

/* 3 Tarjetas en fila */
.apply-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex-grow: 1;
}

.apply-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(7, 55, 99, 0.04);
    transition: all var(--transition-fast);
}

.apply-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(7, 55, 99, 0.09);
    border-color: #CBD5E1;
}

.apply-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.apply-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00A86B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.apply-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-navy);
}

/* Lista de viñetas */
.apply-bullet-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.apply-bullet-list li {
    font-size: 0.77rem;
    color: #64748B;
    line-height: 1.45;
    margin-bottom: 7px;
}

/* Botones Pill de Colores Sólidos */
.apply-card-btn-box {
    margin-top: auto;
}

.btn-apply-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #073763;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-apply-navy:hover {
    background: #0a4982;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 55, 99, 0.25);
}

.btn-apply-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #00A86B;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-apply-teal:hover {
    background: #008f5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.25);
}

.btn-apply-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #0088CC;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-apply-blue:hover {
    background: #0077b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
}

@media (max-width: 1024px) {
    .how-to-apply-layout {
        grid-template-columns: 1fr;
    }
    
    .apply-photo-card {
        min-height: 260px;
    }
}

@media (max-width: 680px) {
    .apply-cards-row {
        grid-template-columns: 1fr;
    }
}
