        :root {
            --primary: #0056b3;
            --primary-dark: #003366;
            --secondary: #17a2b8;
            --accent: #ffc107;
            --dark: #14203b;
            --white: #ffffff;
            --light: #f0f4f8;
            --gray: #6b7280;
            --text: #1f2937;
            --danger: #dc3545;
            --success: #28a745;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
        body {
            background: var(--light);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* ===== NAVBAR ===== */
        .navbar {
            background: var(--dark);
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }
        .navbar-logo {
            color: var(--white);
            font-size: 22px;
            font-weight: 800;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .navbar-logo i {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        .navbar-menu {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .navbar-menu a {
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 8px;
            transition: var(--transition);
            white-space: nowrap;
        }
        .navbar-menu a:hover {
            color: var(--white);
            background: rgba(255,255,255,0.1);
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 28px;
            cursor: pointer;
            padding: 5px;
        }
        @media (max-width: 1024px) {
            .navbar { padding: 12px 20px; }
            .menu-toggle { display: block; }
            .navbar-menu {
                position: fixed;
                top: 0;
                right: -320px;
                width: 300px;
                height: 100vh;
                background: var(--dark);
                flex-direction: column;
                padding: 80px 25px 30px;
                gap: 5px;
                transition: right 0.3s ease;
                z-index: 999;
                overflow-y: auto;
                box-shadow: -5px 0 30px rgba(0,0,0,0.3);
            }
            .navbar-menu.active { right: 0; }
            .navbar-menu a {
                padding: 14px 16px;
                border-bottom: 1px solid rgba(255,255,255,0.05);
            }
        }

        /* ===== HERO / REPRODUCTOR PRINCIPAL ===== */
        .hero-video {
            background: #0f172a;
            padding: 92px 20px 34px;   /* despeja el navbar fijo compartido */
        }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .player-wrapper {
            background: #000;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            border: 1px solid #334155;
            position: relative;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }
        .player-wrapper iframe,
        .player-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .video-info-dark {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            padding: 30px;
            border-radius: 0 0 var(--radius) var(--radius);
            border: 1px solid #334155;
            border-top: none;
            box-shadow: var(--shadow-lg);
            color: white;
            margin-bottom: 40px;
        }
        .video-title {
            font-size: clamp(24px, 4vw, 32px);
            color: white;
            margin-bottom: 15px;
            font-weight: 800;
            line-height: 1.2;
        }
        .video-meta {
            font-size: 14px;
            color: #94a3b8;
            margin-bottom: 20px;
            font-weight: 600;
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }
        .badge-cat {
            background: var(--secondary);
            color: white;
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .video-desc {
            font-size: 16px;
            line-height: 1.7;
            color: #cbd5e1;
            margin-bottom: 25px;
        }
        .btn-descarga {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--secondary);
            color: white;
            padding: 12px 25px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(23,162,184,0.3);
        }
        .btn-descarga:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(23,162,184,0.4);
            background: #138496;
        }

        /* ===== CARRUSEL HORIZONTAL ===== */
        .carousel-section {
            background: var(--white);
            padding: 30px 0;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            margin-bottom: 40px;
            overflow: hidden;
        }
        .carousel-title {
            font-size: 20px;
            color: var(--dark);
            margin-bottom: 20px;
            font-weight: 700;
            padding: 0 30px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .carousel-container {
            position: relative;
            padding: 0 30px;
        }
        .carousel-track {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 0;
            scrollbar-width: thin;
            scrollbar-color: var(--secondary) transparent;
        }
        .carousel-track::-webkit-scrollbar {
            height: 8px;
        }
        .carousel-track::-webkit-scrollbar-track {
            background: transparent;
        }
        .carousel-track::-webkit-scrollbar-thumb {
            background: var(--secondary);
            border-radius: 4px;
        }
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary);
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            z-index: 10;
            transition: var(--transition);
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .carousel-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-btn.prev { left: 10px; }
        .carousel-btn.next { right: 10px; }
        .carousel-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .vid-card-horizontal {
            min-width: 280px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            text-decoration: none;
            color: inherit;
            border: 1px solid #e5e7eb;
            flex-shrink: 0;
        }
        .vid-card-horizontal:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary);
        }
        .vid-thumb-h {
            width: 100%;
            height: 160px;
            background: #0f172a;
            position: relative;
            overflow: hidden;
        }
        .vid-thumb-h img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: var(--transition);
        }
        .vid-card-horizontal:hover .vid-thumb-h img {
            opacity: 1;
            transform: scale(1.1);
        }
        .vid-play-h {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 40px;
            color: white;
            text-shadow: 0 4px 15px rgba(0,0,0,0.6);
            transition: var(--transition);
        }
        .vid-card-horizontal:hover .vid-play-h {
            color: var(--secondary);
            transform: translate(-50%, -50%) scale(1.15);
        }
        .vid-body-h { padding: 15px; }
        .vid-tit-h {
            font-size: 14px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 6px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .vid-cat-h {
            font-size: 11px;
            color: var(--secondary);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        /* ===== CATÁLOGO CON FILTROS ===== */
        .catalog-section {
            background: white;
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            margin-bottom: 50px;
        }
        .catalog-title {
            font-size: 26px;
            color: var(--dark);
            margin-bottom: 25px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .filtros-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }
        .filtro-btn {
            padding: 10px 20px;
            background: #f1f5f9;
            border: 2px solid transparent;
            border-radius: 50px;
            color: #475569;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
        }
        .filtro-btn:hover {
            background: #e2e8f0;
            color: var(--dark);
            transform: translateY(-2px);
        }
        .filtro-btn.activo {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 10px rgba(0,86,179,0.2);
        }
        
        .galeria-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        .vid-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            text-decoration: none;
            display: flex;
            flex-direction: column;
            border: 1px solid #e5e7eb;
        }
        .vid-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary);
        }
        .vid-thumb {
            width: 100%;
            height: 180px;
            background: #0f172a;
            position: relative;
            overflow: hidden;
        }
        .vid-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: transform 0.5s ease;
        }
        .vid-card:hover .vid-thumb img {
            opacity: 1;
            transform: scale(1.1);
        }
        .vid-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 50px;
            color: white;
            text-shadow: 0 4px 15px rgba(0,0,0,0.6);
            opacity: 0.8;
            transition: var(--transition);
        }
        .vid-card:hover .vid-play {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.15);
            color: var(--secondary);
        }
        .vid-body {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        .vid-cat {
            font-size: 11px;
            font-weight: 800;
            color: var(--secondary);
            text-transform: uppercase;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }
        .vid-tit {
            font-size: 17px;
            color: var(--dark);
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .vid-date {
            font-size: 12px;
            color: var(--gray);
            margin-top: auto;
            font-weight: 500;
        }

        /* ===== PAGINACIÓN ===== */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 30px;
        }
        .page-btn {
            padding: 10px 16px;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            color: var(--text);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }
        .page-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .page-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .page-btn.disabled {
            opacity: 0.5;
            pointer-events: none;
        }

        /* ===== SECCIÓN DE COMENTARIOS ===== */
        .comments-section {
            background: white;
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            margin-bottom: 50px;
        }
        .comments-title {
            font-size: 22px;
            color: var(--dark);
            margin-bottom: 25px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .comment-form {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 30px;
            border: 1px solid #e5e7eb;
        }
        .comment-form h4 {
            margin-bottom: 15px;
            color: var(--dark);
            font-weight: 600;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text);
        }
        .form-control {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            font-family: inherit;
            transition: var(--transition);
            background: white;
        }
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
        }
        .btn-submit {
            background: var(--primary);
            color: white;
            padding: 12px 28px;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-submit:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,86,179,0.3);
        }
        .comment-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .comment-item {
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 4px solid var(--secondary);
            transition: var(--transition);
        }
        .comment-item:hover {
            background: #f0f4f8;
            transform: translateX(5px);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .comment-author {
            font-weight: 700;
            color: var(--dark);
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .comment-date {
            font-size: 12px;
            color: var(--gray);
            font-weight: 500;
        }
        .comment-text {
            color: #475569;
            line-height: 1.6;
            font-size: 14px;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .carousel-section { padding: 20px 0; }
            .carousel-container { padding: 0 15px; }
            .vid-card-horizontal { min-width: 240px; }
            .catalog-section { padding: 25px; }
            .comments-section { padding: 25px; }
            .form-row { grid-template-columns: 1fr; }
            .video-info-dark { padding: 20px; }
        }
