/* ============================================
   UBICACIÓN 
   ============================================ */

:root {
    --primary: #0066B3;
    --accent: #14427a;
    --light: #f5f5f5;
    --dark: #1A202C;
    --gray: #666666;
    --gray-light: #E2E8F0;
    --white: #FFFFFF;
    --black: #000000;
    --orange: #FF6B00;
    --accent-color: #003D73;
    --radius: 8px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}
/* ============================================
   ESTILOS DEL HEADER Y MENÚ 
   ============================================ */


.header {
    background: #0066B3 !important;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    display: block;
    width: 180px;
    height: 80px;
    object-fit: contain;
}

/* Navegación */
.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #FFFFFF !important;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 10px 5px;
}

.nav a:hover,
.nav a.active {
    color: #bad6ff !important;
}

/* Submenú desktop */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0066B3 !important;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
    width: 100%;
}

.submenu a {
    color: #FFFFFF !important;
    padding: 12px 20px;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
    width: 100%;
}

.submenu a:hover {
    background: #003D73;
    padding-left: 25px;
}

/* Botón CTA */
.cta-button {
    background: #1A202C;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #FF6B00;
    transform: translateY(-3px);
}

/* Botón hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #FFFFFF !important;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Submenú toggle (solo móvil) */
.submenu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 50px;
    z-index: 2;
}

.submenu-toggle.active {
    transform: rotate(90deg);
}

/* ============================================
   RESPONSIVE DEL MENÚ
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0066B3 !important;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: stretch;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        position: relative;
        display: block;
    }

    .nav a {
        padding: 15px 20px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .submenu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
        width: 50px;
        z-index: 2;
        margin: 0;
    }

    .nav-item.has-submenu > a {
        padding-right: 50px;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1) !important;
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
    }

    .submenu.active-mobile {
        max-height: 500px;
        padding: 5px 0;
    }

    .submenu li {
        border-bottom: none;
    }

    .submenu a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
    }

    .submenu a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 45px;
    }
}


.ubicacion-main {
    margin-top: 90px;
}

@media (max-width: 768px) {
    .ubicacion-main {
        margin-top: 70px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.ubicacion-main {
    margin-top: 90px;
    padding: 60px 0;
}

.ubicacion-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.ubicacion-header h1 {
    font-size: 48px;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 15px;
}

.ubicacion-header p {
    font-size: 18px;
    color: var(--gray);
}

/* ============================================
   MAPA
   ============================================ */
.map-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.google-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ============================================
   CARDS GRID
   ============================================ */
.ubicacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.ubicacion-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--gray-light);
}

.ubicacion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.ubicacion-card h3 {
    font-size: 22px;
    color: var(--black);
    margin-bottom: 15px;
    font-weight: 700;
}

.main-info {
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 8px;
}

.secondary-info {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-action:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   ZONES
   ============================================ */
.zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.zone-badge {
    background: var(--light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 80px 5%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: var(--radius);
    color: var(--white);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    padding: 50px 0;
    border-top: 1px solid var(--gray-light);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 13px;
    color: var(--black);
    margin-bottom: 8px;
}

.footer-left a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-left a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   NOTIFICACIONES
   ============================================ */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    max-width: 350px;
    font-family: 'Inter', sans-serif;
}

.notification.success {
    background: #28a745;
    color: white;
}

.notification.error {
    background: #dc3545;
    color: white;
}

.notification.info {
    background: var(--primary);
    color: white;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .ubicacion-header h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .ubicacion-main {
        margin-top: 70px;
        padding: 40px 0;
    }
    
    .ubicacion-header h1 {
        font-size: 32px;
    }
    
    .ubicacion-header p {
        font-size: 16px;
    }
    
    .google-map {
        height: 400px;
    }
    
    .ubicacion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section {
        padding: 50px 5%;
        margin: 0 20px;
    }
    
    .cta-section h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .footer {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .ubicacion-header h1 {
        font-size: 28px;
    }
    
    .google-map {
        height: 350px;
    }
    
    .ubicacion-card {
        padding: 25px 20px;
    }
    
    .cta-section h2 {
        font-size: 22px;
    }
    
    .cta-section p {
        font-size: 14px;
    }
}

/* Utilidades */
button, a {
    -webkit-tap-highlight-color: transparent;
}

body.keyboard-navigation *:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.cta-button {
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before { left: 100%; }
.cta-button:hover { background: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }