/**
 * CSS: presentacion.css
 * Página pública de convocatoria de proyectos
 */

/* ── HERO ────────────────────────────────────────────────── */
.pres-hero {
    position: relative;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #003824 0%, #0a4a36 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.pres-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pres-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.pres-hero__glow--green {
    top: -30%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(69,168,90,0.18) 0%, transparent 70%);
}

.pres-hero__glow--pink {
    bottom: -20%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233,78,137,0.14) 0%, transparent 70%);
}

.pres-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.pres-hero__badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.pres-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -1.5px;
}

.pres-hero__title-accent {
    background: linear-gradient(135deg, #45A85A 0%, #ECE249 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pres-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0 0 44px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA */
.pres-hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pres-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #45A85A;
    color: white;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(69,168,90,0.35);
}

.pres-btn-cta:hover {
    background: #3a9247;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(69,168,90,0.45);
    color: white;
    text-decoration: none;
}

.pres-badge-proximamente {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.pres-hero__cta-hint {
    font-size: 0.875rem;
    opacity: 0.70;
    margin: 0;
    line-height: 1.5;
}

/* ── SECCIÓN INFO — 3 tarjetas ─────────────────────────── */
.pres-info {
    padding: 72px 20px;
    background: #f8f9fa;
}

.pres-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pres-info__card {
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pres-info__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pres-info__icon--green {
    background: rgba(69,168,90,0.12);
    color: #2e7d32;
}

.pres-info__icon--blue {
    background: rgba(23,88,160,0.10);
    color: #1565c0;
}

.pres-info__icon--pink {
    background: rgba(233,78,137,0.10);
    color: #b5185a;
}

.pres-info__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #003824;
    margin: 0;
}

.pres-info__card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ── SECCIÓN LINKS — ver etapas ────────────────────────── */
.pres-links {
    padding: 60px 20px;
    background: white;
    border-top: 1px solid #eee;
}

.pres-links__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pres-links__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003824;
    margin: 0 0 8px;
}

.pres-links__desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.pres-links__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pres-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: #003824;
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.pres-btn-secondary:hover {
    background: #205F3E;
    color: white;
    text-decoration: none;
}

.pres-btn-ghost {
    font-size: 0.875rem;
    font-weight: 600;
    color: #45A85A;
    text-decoration: none;
    white-space: nowrap;
}

.pres-btn-ghost:hover {
    color: #205F3E;
    text-decoration: underline;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .pres-links__inner {
        flex-direction: column;
        text-align: center;
    }

    .pres-links__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .pres-hero {
        padding: 72px 20px 60px;
    }

    .pres-info__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .pres-info {
        padding: 52px 20px;
    }

    .pres-links {
        padding: 48px 20px;
    }
}

@media (max-width: 480px) {
    .pres-hero {
        padding: 56px 16px 48px;
    }

    .pres-hero__title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .pres-hero__subtitle {
        font-size: 0.975rem;
    }

    .pres-btn-cta {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .pres-info__card {
        padding: 20px;
    }
}
