* { box-sizing: border-box; }

        /* ── LOGOTIPO ── */
        .logoRobotics img {
            display: block;
            margin: 0 auto;
            max-width: 30%;
            height: auto;
        }
        .logoFinal img {
            display: block;
            height: 80px;
            margin: 0 auto;
        }

        /* ── BARRA DE NAVEGACIÓN ── */
        .barraContenidos {
            background: #0F2E5E;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            min-height: 60px;
            padding: 4px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .botonInformacion {
            height: 46px;
            line-height: 46px;
            text-align: center;
            font-family: Inter, sans-serif;
            font-size: clamp(0.65rem, 2.5vw, 0.85rem);
            padding: 0 10px;
            white-space: nowrap;
        }
        .botonInformacion:hover { background-color: #ffa000; }

        /* ── SUBMENÚS ── */
        .menu {
            position: relative;
            display: inline-block;
        }
        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 200;
            width: 160px;
        }
        .menu:hover .submenu {
            display: flex;
            flex-direction: column;
        }
        .menuInformacion {
            background-color: white;
            border: 1px solid #ccc;
            height: 46px;
            line-height: 46px;
            text-align: center;
            color: black;
            font-family: Inter, sans-serif;
            font-size: clamp(0.7rem, 2.5vw, 0.85rem);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .menuInformacion:hover { background-color: #ffa000; }

        /* ── CARRUSEL ── */
        .carrusel-wrapper {
            position: relative;
            width: 100%;
            height: 55vw;
            min-height: 200px;
            max-height: 55vh;
            overflow: hidden;
            background: #061830;
        }
        .carrusel-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        .carrusel-slide.activo { opacity: 1; }
        .carrusel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .carrusel-slide::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(6,24,48,0.1) 0%, rgba(6,24,48,0.6) 100%);
        }
        .carrusel-texto {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            text-align: center;
            color: white;
            text-shadow: 0 2px 8px rgba(0,0,0,0.7);
            pointer-events: none;
            width: 90%;
        }
        .carrusel-texto h2 {
            font-size: clamp(0.95rem, 4vw, 2.2rem);
            font-family: 'Trebuchet MS', sans-serif;
            font-weight: 700;
            letter-spacing: 1px;
            margin: 0 0 4px;
        }
        .carrusel-texto p {
            font-size: clamp(0.75rem, 2.5vw, 1rem);
            margin: 0;
            opacity: 0.9;
        }
        .carrusel-puntos {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 20;
        }
        .punto {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            border: 2px solid rgba(255,255,255,0.7);
            cursor: pointer;
            transition: background 0.3s;
        }
        .punto.activo {
            background: #ffa000;
            border-color: #ffa000;
        }
        .carrusel-flecha {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
            background: rgba(15,46,94,0.6);
            border: none;
            color: white;
            font-size: clamp(1.2rem, 4vw, 1.8rem);
            width: clamp(32px, 8vw, 44px);
            height: clamp(32px, 8vw, 44px);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .carrusel-flecha:hover { background: #ffa000; }
        .flecha-izq { left: 8px; }
        .flecha-der { right: 8px; }

        /* ── CONTENIDO DINÁMICO ── */
        #informacion, #reglamento {
            padding: 10px 16px;
            font-size: clamp(0.85rem, 3vw, 1rem);
        }
        #informacion img, #reglamento img {
            max-width: 100% !important;
            height: auto !important;
        }

        /* ── PIE DE PÁGINA ── */
        .piePagina {
            background-color: #0F2E5E;
            color: white;
            text-align: center;
            padding: 20px 16px;
            font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        }
        .logosRedes {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            padding: 10px 0;
        }
        .logosRedes img {
            height: clamp(24px, 6vw, 35px);
            width: auto;
            cursor: pointer;
        }

        .oculto { display: none !important; }

        /* ── SECCIONES DE CONTENIDO ── */
        .negritas {
            font-weight: bold;
            font-family: Inter;
            font-size: clamp(1.2rem, 5vw, 2.2rem);
        }
        .titulo {
            display: block;
            text-align: center;
        }

        /* Nosotros: contenedor flex horizontal en escritorio */
        .contenedor {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            margin: clamp(16px, 4vw, 40px);
        }
        .contenidos img {
            height: clamp(160px, 30vw, 500px);
            width: auto;
            flex-shrink: 0;
        }
        .contenedor ul {
            padding-left: 0;
            margin: 0;
        }
        .contenedor ul li {
            margin-top: 8px;
            list-style-type: disc !important;
            padding-left: 20px !important;
        }
        .contenedor li {
            display: list-item !important;
        }

        /* Tarjetas de acreditaciones e historial */
        .tarjeta {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            font-size: clamp(0.85rem, 2.5vw, 1.1rem);
            margin: clamp(16px, 4vw, 60px) clamp(16px, 6vw, 100px);
        }
        .tarjeta ul {
            padding-left: 0;
            margin: 0;
        }
        .tarjeta ul li {
            margin-top: 6px;
            padding-left: 20px !important;
        }
        .tarjeta img {
            width: clamp(140px, 35vw, 500px);
            border: 4px solid #0F2E5E;
            border-radius: 10px;
            padding: 8px;
            background-color: white;
            flex-shrink: 0;
        }
        .trofeos img {
            width: clamp(80px, 20vw, 200px);
            border: none !important;
            padding: 0 !important;
        }

        /* Historial */
        .historia img{
            width: clamp(180px, 30vw, 320px) !important;

            border: 5px solid #F39C12 !important;
            border-radius: 18px;

            padding: 8px;
            background-color: white;

            box-shadow: 0 8px 25px rgba(0,0,0,0.15);

            flex-shrink: 0;
        } 
        .logosHistorial{
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .logosHistorial img{
            max-width:60px;
            height: 60 px;
            vertical-align: middle;
            border: none !important;
            box-shadow: none !important;
        }
        .titulo-evento{
            font-family: Georgia, serif;
            font-size: clamp(1.8rem, 4vw, 3rem);
            font-weight: bold;

            color: #0F2E5E;

            margin: 0 0 25px 0;

            position: relative;
            cursor: pointer;
        }

        .titulo-evento::after{
            content: "";

            position: absolute;
            left: 0;
            bottom: -10px;

            width: 120px;
            height: 5px;

            background-color: #F39C12;

            border-radius: 10px;
        }
        .enlaces{
            cursor: pointer;
            font-weight: bold;
            color: #283593;
        }

        /* ── RESPONSIVE MÓVIL ── */
        @media (max-width: 600px) {
            /* Submenú último botón no se sale */
            .submenu { width: 130px; }
            .menu:last-of-type .submenu {
                left: auto;
                right: 0;
            }

            /* Nosotros y Objetivos: apila verticalmente */
            .contenedor {
                flex-direction: column;
                align-items: center;
            }
            .contenidos img {
                height: auto;
                width: 80%;
                max-width: 300px;
            }

            /* Tarjetas: apila verticalmente */
            .tarjeta {
                flex-direction: column;
                align-items: center;
                margin: 16px;
            }
            .tarjeta img {
                width: 90%;
                max-width: 340px;
            }
            .trofeos {
                width: 100%;
                text-align: center;
            }
            .trofeos img {
                width: clamp(60px, 25vw, 120px) !important;
            }
            .apuntado{
                cursor: pointer;
            }
        }

        @media (min-width: 481px) {
            .barraContenidos { justify-content: flex-end; }
        }
        #Roles{
                margin: 40px;
                padding: 30px 0;
                border-top: 5px solid #0F2E5E;
                border-bottom: 5px solid #0F2E5E;
            }

            .titulo-roles{
                text-align: center;
                font-size: 40px;
                font-weight: bold;
                color: #0F2E5E;
                margin-bottom: 40px;
            }

            .tarjeta-rol{
                display: flex;
                align-items: center;
                gap: 30px;
                margin-bottom: 30px;
            }

            .tarjeta-rol img{
                width: 220px;
                height: 300px;

                object-fit: cover;

                border: 8px solid #0F2E5E;
                border-radius: 50%;

                padding: 5px;
                background-color: white;
            }

            .info-rol{
                font-size: 20px;
            }

            .info-rol p{
                margin: 10px 0;
            }
        .representantes{
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 40px;
            flex-wrap: wrap;
        }

        .representante{
            text-align: center;
        }

        .nombre{
            font-weight: bold;
            font-size: 24px;
            color: #0F2E5E;
            margin-bottom: 15px;
        }

        .representante img{
            width: 220px;
            height: 300px;

            object-fit: cover;

            border: 4px solid #ffa000;
            border-radius: 50%;
            padding: 5px;
            background-color: white;
        }
        .titulo{
            text-align: center;
            font-size: clamp(1.8rem, 4vw, 3rem);
            color: #0F2E5E;
            font-weight: bold;
            margin: 0 0 25px 0;
            position: relative;
        }
        .titulo::after{
            content: "";

            position: absolute;
            left: 46%;
            bottom: -10px;
            width: 120px;
            height: 5px;
            background-color: #0F2E5E;
            border-radius: 10px;
        }
        /* ── MINI CARRUSEL CON TEXTO ── */
        .mini-carrusel-wrapper {
            display: flex;
            align-items: center;
            gap: 30px;
            margin: 30px clamp(16px, 5vw, 80px);
        }

        .mini-carrusel {
            position: relative;
            width: clamp(220px, 35vw, 420px);
            flex-shrink: 0;
            border-radius: 12px;
            overflow: hidden;
            border: 4px solid #0F2E5E;
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            height: calc(clamp(160px, 25vw, 300px) + 32px);
        }

        .mini-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            pointer-events: none;
        }
        .mini-slide.activo {
            opacity: 1;
            pointer-events: all;
        }
        .mini-slide img {
            width: 100%;
            height: clamp(160px, 25vw, 300px);
            object-fit: cover;
            display: block;
        }

        .mini-flechas {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 6px;
            pointer-events: none;
        }
        .mini-flecha {
            pointer-events: all;
            background: rgba(15,46,94,0.65);
            border: none;
            color: white;
            font-size: 1.2rem;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .mini-flecha:hover { background: #ffa000; }

        .mini-puntos {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 6px;
            padding: 6px 0;
            background: #0F2E5E;
            z-index: 10;
        }
        .mini-punto {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.35);
            border: 2px solid rgba(255,255,255,0.6);
            cursor: pointer;
            transition: background 0.3s;
        }
        .mini-punto.activo {
            background: #ffa000;
            border-color: #ffa000;
        }

        /* Texto al lado derecho */
        .mini-carrusel-texto {
            flex: 1;
            font-family: Inter, sans-serif;
            font-size: clamp(0.85rem, 2.5vw, 1rem);
            color: #1a1a1a;
        }
        .mini-carrusel-texto h3 {
            font-size: clamp(1.1rem, 3vw, 1.6rem);
            color: #0F2E5E;
            font-weight: bold;
            margin: 0 0 10px 0;
        }
        .mini-carrusel-texto p {
            margin: 6px 0;
            line-height: 1.6;
        }

        /* Responsive: apila en móvil */
        @media (max-width: 600px) {
            .mini-carrusel-wrapper {
                flex-direction: column;
                align-items: stretch;
            }
            .mini-carrusel {
                width: 100%;
            }
        }
        /* ── PAGINACIÓN ── */
        .paginacion {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 16px;
        }
        .pagina-btn {
            width: 34px;
            height: 34px;
            border-radius: 6px;
            border: 2px solid #0F2E5E;
            background: white;
            color: #0F2E5E;
            font-weight: bold;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
        }
        .pagina-btn:hover,
        .pagina-btn.activo {
            background: #0F2E5E;
            color: white;
        }
        .noticia-item {
            border-bottom: 1px solid #e0e0e0;
            padding: 8px 0;
        }
        .noticia-item:last-child { border-bottom: none; }
        .noticia-item h4 {
            margin: 0 0 4px;
            color: #0F2E5E;
            font-size: clamp(0.9rem, 2.5vw, 1.05rem);
        }
        .noticia-item p {
            margin: 0;
            font-size: clamp(0.78rem, 2vw, 0.9rem);
            color: #444;
        }
        .noticia-fecha {
            font-size: 0.78rem !important;
            color: #888 !important;
            margin-bottom: 2px !important;
        }
        .puntoUbicacion img{
            width:90%; 
            max-width:1000px; 
            border-radius:20px; 
            display: block; 
            margin:0 auto;
            border: 8px solid #0F2E5E;
            padding: 12px;
        }
        .horarios-page { padding: 1.5rem 16px; font-family: Inter, sans-serif; }

          .horarios-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.5rem; }
          .horarios-header-icon {
            width: 44px; height: 44px; border-radius: 8px;
            background: #e6f1fb; display: flex; align-items: center;
            justify-content: center; flex-shrink: 0;
          }
          .horarios-header h1 { font-size: clamp(1.3rem, 4vw, 1.6rem); font-weight: 600; color: #0F2E5E; line-height: 1.2; }
          .horarios-header p  { font-size: 13px; color: #555; margin-top: 4px; line-height: 1.5; }

          .horarios-main-layout { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }

          .horarios-card {
            background: white; border: 1px solid #e0e0e0;
            border-radius: 12px; overflow: hidden;
          }
          .horarios-card-header {
            display: flex; align-items: center; gap: 8px;
            padding: 10px 16px; border-bottom: 1px solid #e0e0e0;
          }
          .horarios-card-header span { font-size: 13px; font-weight: 600; color: #185FA5; }

          .horarios-table-wrap { overflow-x: auto; }
          .horarios-table { border-collapse: collapse; font-size: 12px; }

          .horarios-table th {
            background: #0F2E5E; color: white;
            padding: 7px 6px; font-weight: 500; font-size: 11px;
            white-space: nowrap; text-align: center;
          }
          .horarios-table th.h-hora-th { min-width: 52px; }

          .horarios-table td { height: 24px; border-top: 0.5px solid #e0e0e0; border-bottom: 0.5px solid #e0e0e0; }

          .horarios-table td.h-hora-cell {
            font-size: 11px; color: #666; padding: 0 10px 0 6px;
            white-space: nowrap; text-align: right;
            background: #f9f9f9; font-weight: 500;
            border-right: 2px solid #0F2E5E;
          }
          .horarios-table td.h-block-cell { width: 26px; min-width: 26px; padding: 2px; border-left: none; border-right: none; }
          .horarios-table td.h-block-cell div { width: 100%; height: 100%; border-radius: 3px; }

          .horarios-legend-card { min-width: 160px; flex-shrink: 0; }
          .horarios-legend-title {
            font-size: 11px; font-weight: 700; color: #0F2E5E;
            padding: 10px 14px 8px; letter-spacing: 0.5px;
            border-bottom: 1px solid #e0e0e0;
          }
          .horarios-legend-row {
            display: flex; align-items: center; justify-content: space-between;
            padding: 4px 14px; gap: 10px;
          }
          .horarios-legend-name { font-size: 12px; color: #222; }
          .horarios-legend-dot  { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; }

          .horarios-info-bar {
            display: flex; align-items: flex-start; gap: 10px;
            background: #e6f1fb; border: 1px solid #b5d4f4;
            border-radius: 8px; padding: 10px 14px; margin-top: 14px;
          }
          .horarios-info-bar p { font-size: 12px; color: #185FA5; line-height: 1.5; }

          @media (max-width: 600px) {
            .horarios-legend-card { width: 100%; }
          }
        .video-contenedor {
            display: flex;
            justify-content: center;
            padding: 20px 16px;
        }
        .video-contenedor video,
        .video-contenedor iframe {
            width: 60%;
            max-width: 800px;
            min-width: 280px;
            border-radius: 12px;
            border: 4px solid #0F2E5E;
            aspect-ratio: 16 / 9;
        }
        .competencias{
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 40px;
            flex-wrap: wrap;
        }
        .competencias img{
            border-radius: 10px;
            max-width: 400px;
            height: 500px;
            display: block;
            margin: 0 auto;
            border-width: 8px;
            background-color: white;
            border-style: solid;
            border-top-color: #0F2E5E;
            border-left-color: #0F2E5E;
            border-right-color: #F39C12;
            border-bottom-color: #F39C12;
            padding: 6px;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .logoRobotics img {
                width: 100%;
            }

            /* ── HISTORIAL ── */
            .tarjeta.historia {
                flex-direction: column;
                align-items: center;
                margin: 16px 8px;
            }
            .historia img {
                width: 95% !important;
                max-width: 360px !important;
            }
            .logosHistorial {
                font-size: 14px;
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
                width: 100%;
                padding: 0 4px;
            }
            .logosHistorial ul {
                width: 100%;
                padding: 0;
            }
            .logosHistorial ul li {
                display: flex;
                align-items: flex-start;
                gap: 6px;
                margin-top: 10px;
                line-height: 1.5;
                word-break: break-word;
            }
            .logosHistorial img {
                width: 40px !important;
                height: 35px !important;
                flex-shrink: 0;
                margin-top: 2px;
            }
            .titulo-evento {
                font-size: clamp(1.1rem, 5vw, 1.6rem);
                margin-bottom: 20px;
                word-break: break-word;
            }
            .titulo-evento::after {
                width: 70px;
            }
            .enlaces {
                font-size: 11px;
                word-break: break-all;
            }
            /* ── ACREDITACIONES ── */
            .tarjeta {
                flex-direction: column;
                align-items: center;
                margin: 16px;
            }
            .trofeos {
                width: 100%;
                text-align: center;
            }

            /* ── ROLES ── */
            #Roles {
                margin: 16px;
            }
            .tarjeta-rol {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 16px;
                margin-bottom: 24px;
                padding-bottom: 24px;
                border-bottom: 1px solid #e0e0e0;
            }
            .tarjeta-rol img {
                width: 160px;
                height: 160px;
            }
            .info-rol {
                font-size: 15px;
            }
            .titulo-roles {
                font-size: 28px;
            }

            /* ── TABLA DE HORARIOS ── */
            .horarios-main-layout {
                flex-direction: column;
            }
            .horarios-legend-card {
                width: 100%;
            }
            .horarios-page {
                padding: 1rem 8px;
            }

            /* ── ENCARGADOS ── */
            .representantes {
                gap: 20px;
                margin: 20px 10px;
            }
            .representante img {
                width: 160px;
                height: 160px;
            }
            .nombre {
                font-size: 16px;
            }

            /* ── VIDEO TIKTOK ── */
            .video-contenedor {
                padding: 10px 8px;
            }

            /* ── COMPETENCIAS ── */
            .competencias {
                gap: 20px;
                margin: 20px 10px;
            }
            .competencias img {
                max-width: 100%;
                height: auto;
                width: 100%;
            }

            /* ── NOSOTROS ── */
            .contenedor {
                flex-direction: column;
                align-items: center;
                margin: 12px;
            }
            .contenidos img {
                height: auto;
                width: 80%;
                max-width: 280px;
            }

            /* ── TÍTULOS ── */
            .titulo::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .titulo-evento::after {
                width: 80px;
            }

            /* ── MINI CARRUSEL ── */
            .mini-carrusel-wrapper {
                flex-direction: column;
                margin: 16px 10px;
                gap: 16px;
            }
            .mini-carrusel {
                width: 100%;
            }

            /* ── BARRA DE NAVEGACIÓN ── */
            .barraContenidos {
                justify-content: center;
            }
            .botonInformacion {
                padding: 0 8px;
                font-size: 0.7rem;
            }
            .horarios-card {
                max-width: 100%;
                overflow: hidden;
            }
            .horarios-table-wrap {
                overflow-x: scroll;
                -webkit-overflow-scrolling: touch;
                max-width: 100%;
            }
            .horarios-main-layout {
                max-width: 100%;
                overflow: hidden;
            }
            .horarios-page {
                max-width: 100%;
                overflow: hidden;
            }
        }
        .videoFondo {
            background-color: #0F2E5E;
            color: white;
            font-weight: bold;
            font-size: 40px;
            border: 10px solid #0F2E5E;
            border-top-color: #F39C12;
            border-bottom-color: #F39C12;
        }
        .driveLogo{
            margin-left: 2%;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
        }
