/* ==========================================================================
   ALTIPEAK™ — Cinematic video components (shared across public pages)
   ========================================================================== */

/* ---------- Full-bleed background video section ---------- */
.cine-video-section {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 460px;
    max-height: 680px;
    overflow: hidden;
    background: #02025E;
}
.cine-video-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cine-video-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,2,94,.55) 0%, rgba(2,2,94,.30) 42%, rgba(2,2,94,.88) 100%);
    z-index: 1;
}

/* No background video/photo yet — a premium atmospheric gradient stands in until real
   ALTIPEAK footage is supplied. Swap this out by re-adding a video.cine-lazy element. */
.cine-no-media {
    background:
        radial-gradient(110% 90% at 15% 0%, rgba(56, 129, 252, 0.2) 0%, transparent 55%),
        radial-gradient(90% 80% at 100% 100%, rgba(247, 12, 52, 0.14) 0%, transparent 60%),
        #02025E;
}
.cine-video-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

/* ---------- Shared typography ---------- */
.cine-eyebrow {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--logo-blue);
    font-weight: 600;
    margin-bottom: 16px;
}
.cine-heading {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.15;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 820px;
}
.cine-heading span { color: var(--logo-blue); }
.cine-sub {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-secondary, rgba(255,255,255,.7));
    max-width: 560px;
    line-height: 1.75;
}

/* ---------- Framed / split section (video card + text) ---------- */
.cine-framed-section {
    position: relative;
    padding: 110px 6vw;
    background: #02025E;
    overflow: hidden;
}
.cine-framed-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.cine-framed-wrap.cine-reverse { grid-template-columns: 1fr 1fr; }
.cine-framed-wrap.cine-reverse .cine-framed-text { order: 2; }
.cine-framed-wrap.cine-reverse .cine-card-wrap { order: 1; }
.cine-framed-text .cine-eyebrow,
.cine-framed-text .cine-heading,
.cine-framed-text .cine-sub { text-align: left; margin-left: 0; }
.cine-framed-text .cine-heading { max-width: none; }

.cine-card-wrap { display: flex; justify-content: center; }
.cine-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(56,129,252,.05);
    background: #02025E;
}
.cine-card.cine-portrait { max-width: 300px; aspect-ratio: 9 / 16; }
.cine-card.cine-landscape { max-width: 520px; aspect-ratio: 16 / 9; }
.cine-card video { width: 100%; height: 100%; object-fit: cover; display: block; background: #02025E; }

.cine-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(2,2,94,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 99px;
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 10.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
}
.cine-badge .cine-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #3881FC;
    animation: cinePulse 1.6s infinite;
    flex-shrink: 0;
}
@keyframes cinePulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (max-width: 860px) {
    .cine-framed-wrap,
    .cine-framed-wrap.cine-reverse { grid-template-columns: 1fr; gap: 40px; }
    .cine-framed-wrap.cine-reverse .cine-framed-text,
    .cine-framed-wrap.cine-reverse .cine-card-wrap { order: initial; }
    .cine-framed-text .cine-eyebrow,
    .cine-framed-text .cine-heading,
    .cine-framed-text .cine-sub { text-align: center; margin: 0 auto 18px; }
    .cine-framed-section { padding: 70px 6vw; }
    .cine-video-section { height: 62vh; min-height: 380px; }
}

/* ---------- Class Experience block (taller variant) ---------- */
.cine-video-tall { height: 84vh; max-height: 760px; }
@media (max-width: 860px) { .cine-video-tall { height: 62vh; min-height: 380px; } }

/* ---------- Final Cinematic CTA ---------- */
.final-cta-section {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #02025E;
}
.final-cta-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.final-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 40%, rgba(2,2,94,.55) 0%, rgba(2,2,94,.86) 60%, rgba(2,2,94,.96) 100%),
        linear-gradient(180deg, rgba(2,2,94,.75) 0%, rgba(2,2,94,.35) 30%, rgba(2,2,94,.75) 100%);
}
.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}
.final-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 22px;
}
.final-cta-sub {
    font-family: var(--font-body);
    font-size: 17px;
    color: rgba(255,255,255,.75);
    margin-bottom: 40px;
}
.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.final-cta-buttons .footer-btn { padding: 18px 40px; }
@media (max-width: 600px) {
    .final-cta-heading { font-size: 42px; }
    .final-cta-sub { font-size: 15px; margin-bottom: 30px; }
}
