/**
 * CEBA — Pulido elegante para todas las páginas públicas
 */

/* Navegación suave — transición */
body.ceba-nav-loading main.main-content {
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

body.ceba-nav-loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 100001;
    background: linear-gradient(90deg, #002966, #0047AB, #C8102E, #0047AB);
    background-size: 200% 100%;
    animation: cebaNavBar 0.9s linear infinite;
}

@keyframes cebaNavBar {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Dock persistente — video no se mueve al cambiar página */
#cebaPersistentDock {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
}

#cebaPersistentDock .guia-video-pip {
    pointer-events: auto;
}

/* Hero video — reproductor inline en el marco (sin dock flotante) */
.hero-v2__video-frame .video-player-drive,
.hero-v2__video-frame #videoPlayer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    z-index: 1;
}

.hero-v2__video-frame .video-player-drive iframe,
.hero-v2__video-frame #videoPlayer iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 16px;
    pointer-events: none !important;
    display: block !important;
    transform: none !important;
}

/* Dock oculto — mantiene el video reproduciéndose al cambiar de página (solo visible en Inicio) */
.ceba-hero-video-park,
.ceba-hero-video-park--hidden {
    position: fixed !important;
    left: -9999px !important;
    top: 0 !important;
    width: 320px !important;
    height: 180px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: -1 !important;
    display: block !important;
}

.ceba-hero-video-park #videoPlayer,
.ceba-hero-video-park .video-player-drive {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Legacy float — desactivado */
.ceba-hero-video-park--float.is-visible {
    display: none !important;
}

/* Franja referencia — legible y elegante */
.mod-ref-strip {
    background: linear-gradient(180deg, #f4f7fc 0%, #eef3fa 100%) !important;
    border-bottom: 1px solid #d6e2f3 !important;
    color: #475569 !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.84rem !important;
}

.mod-ref-strip strong {
    color: #0047AB !important;
    font-weight: 700;
}

/* Heroes modalidades — base (variantes de color en modalidades-pages.css) */
.mod-hero {
    padding: 2.25rem 0 2rem !important;
    border-bottom: 3px solid #C8102E;
}

.mod-hero--hub:not(.mod-hero--compact) {
    background: linear-gradient(145deg, #002966 0%, #0047AB 58%, #003d94 100%) !important;
}

.mod-hero h1 {
    font-size: clamp(1.55rem, 3.5vw, 2.15rem) !important;
    color: #fff !important;
}

.mod-hero .mod-hero-lead {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.98rem !important;
}

.mod-hero-kpis li {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-size: 0.72rem !important;
    padding: 0.32rem 0.65rem !important;
}

.mod-breadcrumb {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0.5rem 0 !important;
}

/* Tarjetas modalidades — limpias */
.modalidad-card,
.modalidad-card-modern {
    border: 1px solid #d6e2f3 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(0, 41, 102, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.modalidad-card:hover,
.modalidad-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 71, 171, 0.12) !important;
    border-color: #0047AB !important;
}

/* Tarjetas hub modalidades — estilos finos en modalidades-pages.css */

/* Secciones generales — ritmo visual */
.main-content > section {
    scroll-margin-top: 72px;
}

.page-header,
.nosotros-hero,
.contacto-hero {
    padding-top: 2.25rem !important;
    padding-bottom: 2rem !important;
}

/* Bloques informativos */
.info-box,
.alert-info-modern,
.nota-informativa {
    background: #f4f7fc !important;
    border: 1px solid #d6e2f3 !important;
    border-left: 3px solid #0047AB !important;
    border-radius: 10px !important;
    color: #334155 !important;
}

/* Tablas comparativas */
.tabla-comparacion,
.tabla-eq {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 41, 102, 0.06);
}

/* Formularios públicos */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    border-radius: 8px !important;
    border-color: #d6e2f3 !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0047AB !important;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.12) !important;
}

/* Logos oficiales — más compacto */
.logos-oficiales {
    padding: 1.75rem 0 !important;
    background: #f8fafc !important;
}

.logos-section-title {
    font-size: 0.95rem !important;
    color: #334155 !important;
}

@media (max-width: 768px) {
    .mod-hero {
        padding: 1.65rem 0 1.5rem !important;
    }

    .mod-ref-strip {
        font-size: 0.78rem !important;
        text-align: left !important;
        padding: 0.55rem 0.85rem !important;
    }

    .modalidades-intro h2 {
        font-size: 1.35rem !important;
    }
}

/* ═══════════════════════════════════════
   Programas educativos — cards compactas
   ═══════════════════════════════════════ */
.programas-educativos {
    padding: 2.75rem 0 !important;
}

.programas-educativos .section-header-center {
    margin-bottom: 1.75rem !important;
}

.programas-educativos .section-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
    margin-bottom: 0.35rem !important;
}

.programas-educativos .section-subtitle {
    font-size: 0.9rem !important;
}

.programas-grid-mejorado {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1.75rem !important;
}

.programa-card-mejorado {
    border-radius: 12px !important;
    border: 1px solid #d6e2f3 !important;
    box-shadow: 0 2px 10px rgba(0, 41, 102, 0.06) !important;
}

.programa-card-mejorado:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(0, 71, 171, 0.12) !important;
}

.programa-logo-oficial {
    height: 88px !important;
    padding: 0.65rem 1rem !important;
    background: linear-gradient(180deg, #f4f7fc 0%, #eef3fa 100%) !important;
}

.programa-logo-oficial::after {
    display: none !important;
}

.logo-img {
    max-width: 72px !important;
    max-height: 72px !important;
}

.logo-svg {
    width: 64px !important;
    height: 64px !important;
}

.logo-fallback {
    font-size: 2rem !important;
    border-radius: 12px !important;
    max-height: 64px !important;
}

.programa-content {
    padding: 0.85rem 1rem 0.65rem !important;
}

.programa-content h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.25 !important;
}

.programa-descripcion {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.55rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.programa-beneficios {
    gap: 0.3rem !important;
    margin-bottom: 0 !important;
}

.beneficio-tag {
    padding: 0.2rem 0.45rem !important;
    font-size: 0.68rem !important;
    border-radius: 999px !important;
    background: #e8f0fb !important;
    border-color: #d6e2f3 !important;
    color: #0047AB !important;
}

.beneficio-tag i {
    font-size: 0.58rem !important;
}

.btn-programa-mejorado {
    padding: 0.5rem 0.75rem !important;
    margin: 0.65rem 0.85rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #0047AB !important;
}

.btn-programa-mejorado:hover {
    background: #002966 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 71, 171, 0.2) !important;
}

.btn-programa-mejorado i {
    font-size: 0.72rem !important;
}

.programas-footer-mejorado .footer-destacado-mejorado {
    padding: 1.25rem 1.5rem !important;
    border-radius: 12px !important;
    gap: 1rem !important;
}

@media (min-width: 992px) {
    .programas-grid-mejorado {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .programas-educativos {
        padding: 2rem 0 !important;
    }

    .programas-grid-mejorado {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    .programa-logo-oficial {
        height: 72px !important;
        padding: 0.5rem !important;
    }

    .logo-img {
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .programa-content {
        padding: 0.65rem 0.75rem 0.5rem !important;
    }

    .programa-content h4 {
        font-size: 0.82rem !important;
    }

    .programa-descripcion {
        font-size: 0.72rem !important;
        -webkit-line-clamp: 2;
    }

    .btn-programa-mejorado {
        margin: 0.5rem 0.65rem 0.65rem !important;
        padding: 0.45rem 0.55rem !important;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 420px) {
    .programas-grid-mejorado {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════
   HERO V2 — diseño desde cero
   ═══════════════════════════════════════ */
.hero-v2 {
    position: relative;
    padding: 1.15rem 0 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.hero-v2 + .comparacion-ebr-ceba {
    padding-top: 2rem;
}

/* CTA index — menos hueco si el contenido tarda en animar */
.cta-section-clean {
    padding: 3.5rem 0 !important;
}

/* Animaciones — visible sin JS; efecto al navegar con ceba-nav */
body:not(.ceba-aos-ready) [data-aos],
body:not(.ceba-aos-ready) .reveal {
    opacity: 1 !important;
    transform: none !important;
}

body.ceba-aos-ready [data-aos]:not(.aos-animate) {
    opacity: 0;
}

body.ceba-aos-ready .reveal:not(.active) {
    opacity: 0;
    transform: translateY(50px);
}

[data-aos="fade-down"].aos-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* ═══════════════════════════════════════
   Nosotros — compacto y sin huecos
   ═══════════════════════════════════════ */
.nosotros-hero {
    padding: 2.25rem 0 2rem !important;
}

.quienes-somos {
    padding: 2.75rem 0 !important;
}

.quienes-grid {
    gap: 2rem !important;
}

.datos-oficiales,
.mision-vision-nueva,
.nosotros-equipo,
.valores-nueva {
    padding: 2.75rem 0 !important;
}

.nosotros-cta {
    padding: 2.5rem 0 !important;
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 1.75rem 0 1.5rem !important;
    }

    .quienes-somos,
    .datos-oficiales,
    .mision-vision-nueva,
    .nosotros-equipo,
    .valores-nueva {
        padding: 2rem 0 !important;
    }

    .quienes-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .quienes-visual {
        order: -1;
    }
}

.hero-v2 .container {
    position: relative;
    z-index: 1;
}

.hero-v2__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.78fr);
    gap: 1.5rem 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-v2__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    color: #0f172a;
}

.hero-v2__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #64748b 0%, #0047AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2__title {
    margin: 0;
    font-size: clamp(1.85rem, 4.8vw, 2.85rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    max-width: 18ch;
    background: linear-gradient(135deg, #002966 0%, #0047AB 42%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2__headline {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
    max-width: 32rem;
}

.hero-v2__headline strong {
    font-weight: 900;
    background: linear-gradient(90deg, #0047AB 0%, #002966 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2__minedu {
    font-weight: 800;
    background: linear-gradient(90deg, #C8102E 0%, #a50d1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge 100% Virtual — protagonista */
.hero-v2__virtual-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0.15rem 0 0.25rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0047AB 0%, #002966 50%, #003d94 100%);
    color: #fff;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 71, 171, 0.22);
    border: 2px solid rgba(201, 162, 39, 0.45);
}

.hero-v2__virtual-badge i {
    font-size: 1.1em;
    color: #C9A227;
}

.hero-v2__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.hero-v2__tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.hero-v2__tags i {
    color: #C9A227;
    font-size: 0.6rem;
}

.hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.25rem;
}

.hero-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-v2__btn:hover {
    transform: translateY(-2px);
}

.hero-v2__btn--primary {
    background: linear-gradient(135deg, #0047AB 0%, #003380 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 71, 171, 0.28);
}

.hero-v2__btn--primary:hover {
    background: linear-gradient(135deg, #003380 0%, #002966 100%);
    color: #fff;
}

.hero-v2__btn--wa {
    background: #128C7E;
    color: #fff;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.28);
}

/* —— Video + controles abajo —— */
.hero-v2__media {
    min-width: 0;
    width: 100%;
    max-width: 440px;
    justify-self: center;
}

.hero-v2__video-wrap {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hero-v2__video-frame.video-wrapper {
    position: relative;
    min-height: 0 !important;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid #e2e8f0;
    background: #0f172a;
}

/* Quitar capa blanca/gris legacy del reproductor */
.hero-v2__video-frame.video-wrapper::before {
    display: none !important;
    content: none !important;
}

.hero-v2__video-wrap.video-institucional-container {
    margin-bottom: 0 !important;
}

.hero-v2__video-frame .video-player-drive {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    z-index: 1;
}

.hero-v2__video-frame .video-player-drive iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}

.hero-v2__video-frame .video-player-drive.loading::before {
    background: #0f172a !important;
    animation: none !important;
}

.hero-v2__video-frame .video-player-drive.loading::after {
    color: rgba(255, 255, 255, 0.55);
    font-size: 2rem;
}

.hero-v2__video-frame .video-player-drive,
.hero-v2__video-frame .video-player-drive iframe {
    pointer-events: none !important;
    cursor: default !important;
}

.hero-v2__video-shield {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    cursor: default;
}

.hero-v2__video-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    z-index: 5;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.hero-v2__video-bar {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap;
    gap: 0.45rem !important;
    margin: 0 !important;
    padding: 0.6rem 0.75rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-v2__video-bar .video-nav-btn,
.hero-v2__video-bar .video-play-pause-btn,
.hero-v2__video-bar .video-fullscreen-btn,
.hero-v2__video-bar .video-mute-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.8rem !important;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 71, 171, 0.15);
}

.hero-v2__video-bar .video-mute-btn {
    width: auto !important;
    min-width: 38px;
    padding: 0 0.65rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    border: none;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #C9A227, #b45309) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.72rem !important;
    cursor: pointer;
    animation: hero-v2-pulse-sound 2s ease-in-out infinite;
}

.hero-v2__video-bar .video-mute-btn:not(.is-muted) {
    background: linear-gradient(135deg, #0047AB, #003380) !important;
    animation: none;
}

.hero-v2__video-bar .video-mute-label {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}

@keyframes hero-v2-pulse-sound {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(201, 162, 39, 0); }
}

.hero-v2__video-bar .video-play-pause-btn {
    background: linear-gradient(135deg, #C8102E, #a50d1a) !important;
    width: 42px !important;
    height: 42px !important;
}

.hero-v2__video-bar .video-indicators {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 960px) {
    .hero-v2__layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 520px;
    }

    .hero-v2__media {
        order: -1;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-v2 {
        padding: 1.1rem 0 1.25rem;
    }

    .hero-v2__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-v2__btn {
        justify-content: center;
        width: 100%;
    }

    .hero-v2__virtual-badge {
        width: 100%;
        max-width: 280px;
    }
}

/* ═══════════════════════════════════════
   Hero legacy (otras páginas)
   ═══════════════════════════════════════ */
.hero-elegante.hero-elegante--premium:not(.hero-unified) {
    padding: 1rem 0 1.75rem !important;
    background: #f8fafc !important;
}

.hero-elegante--premium .hero-shapes {
    opacity: 0.35;
}

.hero-premium-banner {
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 28px rgba(0, 41, 102, 0.18);
    border-bottom: 3px solid #C8102E;
}

.hero-compact-row {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    position: relative;
    z-index: 1;
}

.hero-logo-frame {
    width: 76px;
    height: 76px;
    padding: 0.45rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.hero-compact-text {
    flex: 1;
    min-width: 0;
}

.hero-sub {
    margin: 0 0 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.hero-elegante--premium .hero-elegante-title {
    margin: 0 0 0.35rem !important;
    text-align: left !important;
}

.hero-elegante--premium .hero-elegante-title,
.hero-elegante--premium .title-highlight {
    font-size: clamp(1.1rem, 2.5vw, 1.55rem) !important;
    line-height: 1.2 !important;
}

.hero-value-line {
    margin: 0 0 0.5rem;
    font-size: clamp(0.88rem, 2vw, 1.05rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}

.hero-value-line strong {
    color: #fde68a;
    font-weight: 800;
}

.hero-value-virtual {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-weight: 800;
    font-size: 0.82em;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    margin-left: 0.15rem;
    vertical-align: middle;
}

.hero-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.65rem;
}

.hero-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.hero-meta-tag i {
    font-size: 0.6rem;
    color: #C9A227;
}

.hero-head-cta {
    gap: 0.45rem;
}

.btn-hero-cta {
    padding: 0.48rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.hero-elegante--premium .hero-elegante-grid {
    gap: 1rem !important;
}

.hero-elegante--premium .hero-bottom-actions {
    margin-top: 0.85rem;
    gap: 0.5rem;
}

.hero-elegante--premium .hero-bottom-actions .btn-elegante-primary,
.hero-elegante--premium .hero-bottom-actions .btn-elegante-secondary {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

/* Navbar — logo limpio, sin card */
.header .logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .logo-main {
    display: flex;
    align-items: center;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    line-height: 0;
}

.header .logo-ceba {
    height: 52px !important;
    width: auto !important;
    max-width: 180px;
    object-fit: contain !important;
    object-position: left center;
    filter: none !important;
    display: block;
}

.header .logo-main:hover .logo-ceba {
    transform: scale(1.02) !important;
}

.header .navbar {
    align-items: center;
}

.header .nav-container {
    align-items: center;
}

.hero-premium-banner {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #002966 0%, #0047AB 55%, #003d94 100%);
    overflow: hidden;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-logo-frame {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-elegante--premium .hero-elegante-title,
.hero-elegante--premium .title-highlight {
    font-weight: 800 !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}

.hero-head-cta {
    display: flex;
    flex-wrap: wrap;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: transform 0.15s ease;
    font-weight: 700;
}

.btn-hero-cta:hover {
    transform: translateY(-1px);
}

.btn-hero-cta--primary {
    background: #fff;
    color: #0047AB;
}

.btn-hero-cta--wa {
    background: #128C7E;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-premium-banner {
        padding: 0.85rem 0.9rem;
        margin-bottom: 0.85rem;
    }

    .hero-compact-row {
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
    }

    .hero-logo-frame {
        width: 64px;
        height: 64px;
    }

    .hero-elegante--premium .hero-elegante-title {
        text-align: center !important;
    }

    .hero-value-line {
        font-size: 0.82rem;
    }

    .hero-compact-meta,
    .hero-head-cta {
        justify-content: center;
    }

    .btn-hero-cta {
        flex: 1 1 45%;
        justify-content: center;
        min-width: 120px;
    }

    .header .logo-ceba {
        height: 42px !important;
        max-width: 150px;
    }
}
