/* =========================================
   1. VARIABLES GLOBALES Y RESET (TEMA OSCURO PDF)
   ========================================= */
:root {
    --bg-primary: #0A1B3D;
    --bg-secondary: #0F2552;
    --brand-blue: #0A1B3D;
    --brand-red: #E31B23;
    
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --border-light: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(10, 27, 61, 0.85);
    
    --transition-base: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
	overflow-x: hidden; /* Corta automáticamente cualquier contenido desbordado a los lados */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   2. BOTONES GLOBALES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-sm {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
}

.btn-primary {
    background-color: var(--brand-red);
    color: #FFFFFF;
    border: 2px solid var(--brand-red);
}

.btn-primary:hover {
    background-color: #c4141b;
    border-color: #c4141b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* =========================================
   3. HEADER NAVEGACIÓN
   ========================================= */
.main-header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}

.main-nav a:hover {
    color: var(--brand-red);
}

/* Submenú */
.dropdown { position: relative; }

.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary) !important;
    min-width: 220px;
    border-top: 3px solid var(--brand-red);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1100;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
}

@media (min-width: 769px) {
    .dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.submenu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    text-transform: none;
}

.submenu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF !important;
    padding-left: 24px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    padding: 100px 0 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.hero-section .badge {
    display: inline-block;
    background-color: rgba(227, 27, 35, 0.15);
    color: #FF6B6B;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(227, 27, 35, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #FFB4B4;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   5. MÓVIL (< 768px)
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 25px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        border-top: 1px solid var(--border-light);
        display: none;
    }

    .nav-wrapper.active { display: flex; }

    .main-nav > ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn { width: 100%; }
}
/* =========================================
   SECCIÓN: CINTA BRANDING LANYARD (MARQUEE RESPONSIVO)
   ========================================= */

.lanyard-banner {
    width: 100%;
    max-width: 100vw;
    overflow: hidden; /* Recorta automáticamente la imagen en los bordes de la pantalla */
    position: relative;
    background: rgba(10, 27, 61, 0.95);
    border-top: 2px solid var(--brand-red);
    border-bottom: 2px solid var(--border-light);
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.lanyard-track {
    display: flex;
    width: max-content; /* Permite fluidez de imágenes sin expandir el viewport */
    animation: scrollLanyard 35s linear infinite;
    will-change: transform;
}

.lanyard-track img {
    height: 55px; /* Mantiene la proporción de la cinta */
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* Efecto de pausa al pasar el cursor */
.lanyard-banner:hover .lanyard-track {
    animation-play-state: paused;
}

@keyframes scrollLanyard {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Adaptabilidad para pantallas móviles */
@media (max-width: 768px) {
    .lanyard-banner {
        padding: 6px 0;
    }
    .lanyard-track img {
        height: 38px; /* Reduce proporcionalmente la altura en pantallas pequeñas */
    }
}