/* ============================================================ */
/* ===== PREMIO NACIONAL DE INGENIERÍA PETROLERA ===== */
/* ============================================================ */

/* ===== BANNER PRINCIPAL ===== */
.prize-banner {
    position: relative;
    min-height: 350px;
    background: linear-gradient(135deg, #0b3d78 0%, #005198 35%, #1a3a5c 70%, #0d2137 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prize-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.prize-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700 20%, #ffd700 80%, transparent);
    opacity: 0.8;
}

.prize-banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px;
    max-width: 900px;
}

.prize-banner-super {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 16px;
    padding: 6px 20px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    background: rgba(255, 215, 0, 0.08);
}

.prize-banner-inner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ===== SECCIÓN DE DESCRIPCIÓN ===== */
.prize-description-section {
    background: #ffffff;
    padding: 0;
}

.prize-description-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
}

.prize-description-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.prize-description-inner p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    position: relative;
    padding: 0 20px;
}

.prize-description-inner p::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #005198;
    border-radius: 2px;
}

/* ===== LÍNEA DE TIEMPO ===== */
.prize-timeline-section {
    background: #f5f5f5;
    padding: 60px 24px 80px;
}

.prize-timeline-container {
    max-width: 1100px;
    margin: 0 auto;
}

.prize-heading {
    text-align: center;
    margin-bottom: 60px;
}

.prize-super {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #005198;
    margin-bottom: 8px;
}

.prize-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.prize-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #005198;
    border-radius: 2px;
}

/* ===== TIMELINE VERTICAL ===== */
.prize-timeline {
    position: relative;
    padding: 0;
}

.prize-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #005198 0%, #3a7bd5 50%, #005198 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.prize-timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    z-index: 1;
}

.prize-timeline-item:last-child {
    margin-bottom: 0;
}

/* Línea conectora horizontal */
.prize-timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 45px;
    width: 40px;
    height: 2px;
    background: #005198;
    transform: translateX(-50%);
    z-index: 0;
}

.prize-timeline-dot {
    position: absolute;
    left: 50%;
    top: 35px;
    width: 22px;
    height: 22px;
    background: #005198;
    border: 4px solid #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(0, 81, 152, 0.15);
    transition: all 0.3s ease;
}

.prize-timeline-item:hover .prize-timeline-dot {
    background: #ffd700;
    box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.3);
}

.prize-timeline-content {
    width: 42%;
    margin-left: auto;
    padding-left: 0;
    padding-right: 60px;
}

/* Alternar: items pares a la derecha */
.prize-timeline-item:nth-child(even) .prize-timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 0;
}

.prize-timeline-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-timeline-item:hover .prize-timeline-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.12);
}

.prize-timeline-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e8ecf1;
}

.prize-timeline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.prize-timeline-item:hover .prize-timeline-card-image img {
    transform: scale(1.05);
}

.prize-timeline-card-info {
    padding: 28px 24px;
}

.prize-timeline-year {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd700;
    background: #005198;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.prize-timeline-card-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.prize-timeline-award {
    font-size: 0.95rem;
    font-weight: 600;
    color: #005198;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8ecf1;
}

.prize-timeline-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.prize-timeline-bio:last-child {
    margin-bottom: 0;
}

/* ===== ANIMACIÓN SCROLL REVEAL ===== */
.prize-timeline-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.prize-timeline-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .prize-timeline::before {
        left: 30px;
    }

    .prize-timeline-item::before {
        left: 30px;
        width: 30px;
    }

    .prize-timeline-dot {
        left: 30px;
    }

    .prize-timeline-content {
        width: calc(100% - 70px);
        margin-left: auto;
        padding-left: 30px;
        padding-right: 0;
    }

    .prize-timeline-item:nth-child(even) .prize-timeline-content {
        margin-left: auto;
        margin-right: 0;
        padding-left: 30px;
        padding-right: 0;
    }

    .prize-timeline-card-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .prize-banner {
        min-height: 280px;
    }

    .prize-banner-inner {
        padding: 40px 20px;
    }

    .prize-banner-inner h2 {
        font-size: 1.6rem;
    }

    .prize-banner-super {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .prize-description-container {
        padding: 36px 20px;
    }

    .prize-description-inner p {
        font-size: 1.05rem;
    }

    .prize-timeline-section {
        padding: 40px 16px 60px;
    }

    .prize-heading h2 {
        font-size: 1.6rem;
    }

    .prize-timeline::before {
        left: 24px;
    }

    .prize-timeline-item::before {
        left: 24px;
        width: 22px;
    }

    .prize-timeline-dot {
        left: 24px;
        width: 18px;
        height: 18px;
    }

    .prize-timeline-content {
        width: calc(100% - 56px);
        padding-left: 24px;
    }

    .prize-timeline-item:nth-child(even) .prize-timeline-content {
        padding-left: 24px;
    }

    .prize-timeline-card-image {
        height: 220px;
    }

    .prize-timeline-card-info {
        padding: 20px 16px;
    }

    .prize-timeline-card-info h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .prize-banner {
        min-height: 230px;
    }

    .prize-banner-inner h2 {
        font-size: 1.3rem;
    }

    .prize-banner-super {
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding: 4px 14px;
    }

    .prize-description-inner p {
        font-size: 0.98rem;
    }

    .prize-heading h2 {
        font-size: 1.3rem;
    }

    .prize-timeline-card-image {
        height: 200px;
    }

    .prize-timeline-card-info h3 {
        font-size: 1.05rem;
    }

    .prize-timeline-bio {
        font-size: 0.9rem;
    }
}
