* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: #333;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    line-height: 1.5;
}

.mobile-header {
    display: none;
    background: linear-gradient(135deg, #001090 0%, #0030c0 100%);
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 16, 144, 0.2);
}

.mobile-header img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.menu-toggle {
    cursor: pointer;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.desktop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

header.desktop-header {
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.logo-main {
    width: 180px;
}

.logo-subtitle {
    font-size: 13px;
    color: #666;
    margin: 3px 0 0 0;
    font-weight: 500;
    text-align: right;
    width: 100%;
    position: relative;
    top: -10px;
}

nav.nav-bar {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-top: 1px solid #e0e6ff;
    border-bottom: 1px solid #e0e6ff;
    box-shadow: 0 2px 15px rgba(0, 16, 144, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#main-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    padding: 8px 0;
    margin: 0;
}

#main-menu a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

#main-menu a:hover {
    color: #001090;
    background: #f0f4ff;
    border-color: #d0d8ff;
    transform: translateY(-2px);
}

#main-menu a.active {
    background: linear-gradient(135deg, #001090 0%, #0030c0 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 16, 144, 0.25);
    transform: translateY(-2px);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #001090;
    text-align: center;
    font-weight: 700;
    width: 100%;
    max-width: 1000px;
}

.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

.video-box {
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

.map-box {
    position: relative;
    margin: 50px 0 50px 0;
    width: 100%;
    max-width: 1000px;
    padding: 0;
}

#mapa-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cam-icon {
    position: absolute;
    width: 20px !important;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: translate(-50%, -50%) scale(1);
    z-index: 5;
}

.cam-icon:hover {
    transform: translate(-50%, -50%) scale(2);
}

.active-dot {
    filter: hue-rotate(150deg) brightness(1.3);
    transform: translate(-50%, -50%) scale(2);
    z-index: 10;
}

footer {
    background: linear-gradient(135deg, #001090 0%, #0020a0 100%);
    color: #fff;
    padding: 25px 25px;
    font-size: 12px;
    text-align: center;
}

footer a {
    color: #a0c0ff;
    text-decoration: none;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    body {
        padding-top: 64px;
        background: #fff;
    }

    .desktop-container,
    header.desktop-header,
    nav.nav-bar {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    #main-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        flex-wrap: nowrap;
        z-index: 1500;
        padding: 10px 0;
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    #main-menu.open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 20px;
    }

    #main-menu li {
        width: 100%;
        min-width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex: 0 0 auto;
    }

    #main-menu a {
        color: #333;
        padding: 12px 18px;
        font-size: 16px;
        font-weight: 500;
        border-left: 4px solid transparent;
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
        text-align: left;
        white-space: normal;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    #main-menu a.active {
        background: linear-gradient(135deg, #001090 0%, #0030c0 100%);
        color: #fff;
        font-weight: 600;
        border-left: 5px solid #ffd700;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .video-container {
        padding: 0;
    }

    .video-box {
        border-radius: 0px;
    }

    .map-box {
        padding: 3px 0 3px 0;
        margin: 0;
        box-sizing: border-box;
    }

    #mapa-img {
        border-radius: 0px;
    }

    .cam-icon:hover {
        transform: translate(-50%, -50%) scale(1.5);
    }

    .active-dot {
        transform: translate(-50%, -50%) scale(1.5);
    }
}
