@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@300;400;700&display=swap');

* {
    font-family: 'Comic Neue', cursive;
    box-sizing: border-box;
}

/* ============================================================
   PAGE
============================================================ */
.videos-main {
    background: linear-gradient(180deg, #f6f7fb 0%, #eef2f7 100%);
    padding: 50px 0 90px;
}

.videos-container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

/* ============================================================
   HERO
============================================================ */
.videos-hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #13294b;
}

.videos-hero__image {
    position: absolute;
    inset: 0;
}

.videos-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.videos-hero__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 150px 24px 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 21, 47, 0.22) 0%, rgba(0, 21, 47, 0.48) 40%, rgba(0, 21, 47, 0.78) 100%);
}

.videos-hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.videos-hero__overlay h2 {
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.videos-hero__overlay p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.8;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid #e6eaf0;
}

.breadcrumb-container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.breadcrumb-container a {
    color: #001f3f;
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb-container i {
    color: #9aa4b2;
    font-size: 0.72rem;
}

/* ============================================================
   INTRO
============================================================ */
.videos-intro {
    text-align: center;
    margin-bottom: 48px;
}

.videos-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #001226;
    font-weight: 800;
    margin-bottom: 10px;
}

.videos-title span {
    color: #ff4136;
}

.videos-line {
    width: 74px;
    height: 4px;
    border-radius: 999px;
    background: #daa520;
    margin: 0 auto 22px;
}

.videos-line.small {
    width: 56px;
    margin: 0 auto;
}

.videos-intro p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #586274;
}

/* ============================================================
   VIDEO DESTACADO
============================================================ */
.videos-destacado {
    display: grid;
    grid-template-columns: 1.02fr 1.18fr;
    gap: 28px;
    margin-bottom: 54px;
    align-items: stretch;
}

.videos-destacado__info,
.videos-destacado__player {
    background: #ffffff;
    border: 1px solid #e8ecf3;
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.videos-destacado__info.is-visible,
.videos-destacado__player.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.videos-destacado__info {
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.videos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: rgba(255, 65, 54, 0.1);
    color: #ff4136;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.videos-destacado__info h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: #001f3f;
    margin-bottom: 14px;
    font-weight: 800;
}

.videos-destacado__info p {
    color: #5b6576;
    font-size: 1rem;
    line-height: 1.85;
    margin: 0 0 20px;
}

.videos-destacado__lista {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.videos-destacado__lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #22314a;
    font-weight: 700;
    line-height: 1.5;
}

.videos-destacado__lista i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 31, 63, 0.08);
    color: #001f3f;
    flex-shrink: 0;
}

.videos-destacado__player {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   VIDEO FRAME RESPONSIVE
============================================================ */
.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ============================================================
   FRASE VISUAL
============================================================ */
.videos-frase {
    margin-bottom: 54px;
}

.videos-frase__box {
    position: relative;
    background: linear-gradient(135deg, #001f3f 0%, #173d76 100%);
    border-radius: 28px;
    padding: 42px 32px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    overflow: hidden;

    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.videos-frase__box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.videos-frase__box::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    top: -100px;
    right: -70px;
    background: rgba(255, 255, 255, 0.08);
}

.videos-frase__box::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    bottom: -90px;
    left: -60px;
    background: rgba(255, 65, 54, 0.16);
}

.videos-frase__box > * {
    position: relative;
    z-index: 2;
}

.videos-frase__box i {
    font-size: 2rem;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.videos-frase__box p {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.8;
    font-weight: 700;
}

/* ============================================================
   LISTADO DE VIDEOS
============================================================ */
.videos-listado {
    margin-bottom: 58px;
}

.videos-section-head {
    text-align: center;
    margin-bottom: 28px;
}

.videos-section-head h3 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 10px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.videos-card {
    background: #ffffff;
    border: 1px solid #e8ecf3;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.65s ease;

    opacity: 0;
    transform: translateY(28px);
}

.videos-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.videos-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.videos-card__top h4 {
    font-size: 1.42rem;
    color: #001f3f;
    font-weight: 800;
    margin: 0 0 10px;
}

.videos-card__top p {
    color: #5b6576;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.videos-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 31, 63, 0.08);
    color: #001f3f;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 14px;
}

/* ============================================================
   CIERRE
============================================================ */
.videos-cierre__content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border: 1px solid #e8ecf3;
    border-radius: 28px;
    padding: 42px 28px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.videos-cierre__content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.videos-cierre__content h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 14px;
}

.videos-cierre__content p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #5b6576;
    font-size: 1.04rem;
    line-height: 1.85;
}

.videos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background: #ff4136;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 12px 24px rgba(255, 65, 54, 0.26);
}

.videos-btn:hover {
    transform: translateY(-3px);
    background: #e3362c;
}

/* ============================================================
   TABLET
============================================================ */
@media (max-width: 1100px) {
    .videos-destacado {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 768px) {
    .videos-main {
        padding: 38px 0 70px;
    }

    .videos-container,
    .breadcrumb-container {
        width: calc(100% - 22px);
    }

    .videos-hero {
        min-height: 400px;
    }

    .videos-hero__overlay {
        padding: 124px 18px 88px;
    }

    .videos-destacado__info,
    .videos-destacado__player,
    .videos-card,
    .videos-cierre__content {
        border-radius: 22px;
    }

    .videos-destacado__info {
        padding: 28px 20px;
    }

    .videos-destacado__player {
        padding: 12px;
    }

    .videos-frase__box {
        padding: 34px 20px;
        border-radius: 24px;
    }

    .videos-card {
        padding: 18px;
    }

    .videos-cierre__content {
        padding: 34px 18px;
    }
}

@media (max-width: 480px) {
    .videos-hero {
        min-height: 340px;
    }

    .videos-hero__overlay {
        padding: 110px 14px 70px;
    }

    .videos-hero__overlay p,
    .videos-intro p,
    .videos-destacado__info p,
    .videos-card__top p,
    .videos-cierre__content p {
        font-size: 0.97rem;
        line-height: 1.75;
    }

    .videos-frase__box p {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .videos-btn {
        width: 100%;
        padding: 14px 18px;
    }
}