 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header y navegación */
        header {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo {
            width: 100%;
            height: 50px;
            background: linear-gradient(135deg, #2c5aa0, #1a3a6c);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
        }
        
        .logo-text {
            font-size: 22px;
            font-weight: 700;
            color: #1a3a6c;
        }
        
        .logo-text span {
            color: #2c5aa0;
            font-weight: 600;
        }
        
        /* Menú de navegación */
        .nav-menu {
            display: flex;
            align-items: center;
            list-style: none;
            gap: 30px;
        }
        
        .nav-menu li {
            position: relative;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: #444;
            font-weight: 600;
            font-size: 16px;
            transition: color 0.3s;
            padding: 5px 0;
        }
        
        .nav-menu a:hover {
            color: #2c5aa0;
        }
        
        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #2c5aa0;
            transition: width 0.3s;
        }
        
        .nav-menu a:hover::after {
            width: 100%;
        }
        
        /* Botón de inicio de sesión */
        .login-btn {
            background: linear-gradient(to right, #2c5aa0, #1a3a6c);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
        }
        
        /* Icono hamburguesa para móviles */
        .hamburger {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            color: #1a3a6c;
            cursor: pointer;
            padding: 5px;
        }
        
        /* Sección principal */
        .hero {
            position: relative;
            height: calc(100vh - 80px);
            min-height: 600px;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        
        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        .hero-background::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(8, 8, 8, 0.7);
            z-index: 1;
        }
        
        .hero-background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
        .hero-content {
            width: 100%;
            color: white;
            text-align: center;
            padding: 20px;
        }
        
        .hero-title {
            font-size: 48px;
            margin-bottom: 20px;
            font-weight: 800;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .hero-subtitle {
            font-size: 22px;
            max-width: 800px;
            margin: 0 auto 30px;
            font-weight: 400;
            line-height: 1.5;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }
        
        .highlight {
            color: #8bb8ff;
            font-weight: 700;
        }
        
        /* Responsive */
        @media screen and (max-width: 992px) {
            .hero-title {
                font-size: 42px;
            }
            
            .hero-subtitle {
                font-size: 20px;
                max-width: 700px;
            }
        }
        
        @media screen and (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            .nav-menu {
                position: fixed;
                top: 80px;
                right: -100%;
                flex-direction: column;
                background-color: white;
                width: 100%;
                height: calc(100vh - 80px);
                text-align: center;
                transition: 0.5s;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                padding-top: 40px;
                gap: 30px;
                z-index: 999;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-menu a {
                font-size: 18px;
                padding: 10px 0;
            }
            
            .login-btn {
                margin: 10px auto;
            }
            
            .hero {
                height: calc(100vh - 80px);
                min-height: 500px;
            }
            
            .hero-title {
                font-size: 36px;
            }
            
            .hero-subtitle {
                font-size: 18px;
                padding: 0 15px;
            }
        }
        
        @media screen and (max-width: 576px) {
            .logo-text {
                font-size: 20px;
            }
            
            .logo {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
            
            .hero-title {
                font-size: 32px;
            }
            
            .hero-subtitle {
                font-size: 17px;
            }
            
            .hero {
                min-height: 450px;
            }
        }
        
        @media screen and (max-width: 400px) {
            .hero-title {
                font-size: 28px;
            }
            
            .hero-subtitle {
                font-size: 16px;
            }
        }




    /* Estilos para la sección Sobre Nosotros */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #1a3a6c);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 42px;
    color: #1a3a6c;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1a3a6c);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid principal */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Tarjetas de Visión y Misión */
.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border-top: 5px solid;
    display: flex;
    flex-direction: column;
}

.vision-card {
    border-top-color: #2c5aa0;
}

.mission-card {
    border-top-color: #1a3a6c;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5aa0, #1a3a6c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
}

.card-title {
    font-size: 26px;
    color: #1a3a6c;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 16px;
    flex-grow: 1;
}

.card-features {
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #444;
}

.feature-item i {
    color: #2c5aa0;
    margin-right: 10px;
    font-size: 18px;
}

/* Imagen central */
.about-image {
    position: relative;
}

.image-frame {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.years-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.years-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #1a3a6c;
    line-height: 1;
    margin-bottom: 5px;
}

.years-text {
    font-size: 14px;
    color: #2c5aa0;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1200px) {
    .about-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-frame img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-card {
        padding: 30px 25px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .years-badge {
        padding: 15px;
        min-width: 100px;
    }
    
    .years-number {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .image-frame img {
        height: 300px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
}

/* Estilos para la sección Servicios */
.urb-services-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.urb-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e6ef, transparent);
}

/* Container */
.urb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.urb-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.urb-header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.urb-deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2c5aa0, transparent);
}

.urb-deco-text {
    color: #2c5aa0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.urb-section-title {
    font-size: 42px;
    color: #1a3a6c;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
}

.urb-section-title .urb-highlight {
    font-weight: 600;
    color: #1a3a6c;
    position: relative;
}

.urb-section-title .urb-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #8bb8ff);
    border-radius: 2px;
}

.urb-section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Grid de servicios - 3 cartas por fila */
.urb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Tarjetas de servicios */
.urb-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 58, 108, 0.08);
    transition: all 0.5s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.urb-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(26, 58, 108, 0.15);
}

/* Imagen del servicio */
.urb-service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.urb-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.urb-service-card:hover .urb-service-image img {
    transform: scale(1.05);
}

.urb-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 58, 108, 0.1), transparent);
    z-index: 1;
}

.urb-service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    line-height: 1;
}

/* Contenido del servicio */
.urb-service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.urb-service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5aa0, #1a3a6c);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    transition: all 0.4s ease;
}

.urb-service-card:hover .urb-service-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #64a1ff, #2c5aa0);
}

.urb-service-title {
    font-size: 24px;
    color: #1a3a6c;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.urb-service-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 300;
    flex-grow: 1;
}

/* Características */
.urb-service-features {
    margin-bottom: 25px;
}

.urb-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #444;
}

.urb-feature i {
    color: #2c5aa0;
    margin-right: 10px;
    font-size: 14px;
    width: 16px;
}

.urb-feature span {
    font-size: 14.5px;
    line-height: 1.5;
}

/* Tags */
.urb-service-tags {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.urb-tag {
    background: #f0f5ff;
    color: #2c5aa0;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.urb-service-card:hover .urb-tag {
    background: #e8f0ff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .urb-services-grid {
        gap: 25px;
    }
    
    .urb-service-content {
        padding: 25px;
    }
    
    .urb-service-title {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .urb-services-section {
        padding: 80px 0;
    }
    
    .urb-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .urb-section-title {
        font-size: 36px;
    }
    
    .urb-service-image {
        height: 220px;
    }
    
    .urb-service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .urb-services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .urb-section-title {
        font-size: 32px;
    }
    
    .urb-section-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .urb-header-decoration {
        gap: 10px;
    }
    
    .urb-deco-text {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .urb-deco-line {
        width: 40px;
    }
    
    .urb-service-number {
        font-size: 60px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .urb-services-section {
        padding: 60px 0;
    }
    
    .urb-section-title {
        font-size: 28px;
    }
    
    .urb-service-image {
        height: 200px;
    }
    
    .urb-service-content {
        padding: 20px;
    }
    
    .urb-service-title {
        font-size: 20px;
    }
    
    .urb-service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
}


/* Estilos para la sección Galería */
.mg-galeria {
    padding: 100px 0;
    background: white;
    position: relative;
}

.mg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Galería */
.mg-galeria-header {
    text-align: center;
    margin-bottom: 60px;
}

.mg-galeria-badge {
    display: inline-block;
    background: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.mg-galeria-title {
    font-size: 42px;
    color: #1a3a6c;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.mg-galeria-title .mg-galeria-highlight {
    font-weight: 600;
    color: #1a3a6c;
    position: relative;
}

.mg-galeria-title .mg-galeria-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #8bb8ff);
    border-radius: 2px;
}

.mg-galeria-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Grid de Galería */
.mg-galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Items de Galería */
.mg-galeria-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
}

.mg-galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(26, 58, 108, 0.15);
}

.mg-galeria-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mg-galeria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mg-galeria-item:hover .mg-galeria-img img {
    transform: scale(1.1);
}

/* Overlay de Galería */
.mg-galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 58, 108, 0.9), transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mg-galeria-item:hover .mg-galeria-overlay {
    opacity: 1;
}

.mg-galeria-info h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mg-galeria-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.mg-galeria-item:hover .mg-galeria-info h3,
.mg-galeria-item:hover .mg-galeria-info p {
    transform: translateY(0);
}

.mg-galeria-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5aa0;
    font-size: 18px;
    transform: scale(0);
    transition: all 0.3s ease 0.2s;
}

.mg-galeria-item:hover .mg-galeria-icon {
    transform: scale(1);
}

/* Modal de Galería */
.mg-galeria-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mg-galeria-modal.active {
    display: flex;
    opacity: 1;
}

.mg-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    animation: mgModalFade 0.3s ease;
}

@keyframes mgModalFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mg-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.mg-modal-close:hover {
    background: #1a3a6c;
    transform: rotate(90deg);
}

.mg-modal-body {
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 80px);
}

.mg-modal-body img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.mg-modal-info {
    padding: 30px;
    flex-grow: 1;
    overflow-y: auto;
}

.mg-modal-info h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

.mg-modal-info p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.mg-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.mg-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #2c5aa0;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mg-nav-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .mg-galeria {
        padding: 80px 0;
    }
    
    .mg-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .mg-galeria-title {
        font-size: 36px;
    }
    
    .mg-modal-content {
        width: 95%;
    }
    
    .mg-modal-body img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .mg-galeria-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .mg-galeria-title {
        font-size: 32px;
    }
    
    .mg-galeria-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .mg-galeria-info h3 {
        font-size: 20px;
    }
    
    .mg-modal-body img {
        height: 250px;
    }
    
    .mg-modal-info {
        padding: 20px;
    }
    
    .mg-modal-info h3 {
        font-size: 24px;
    }
    
    .mg-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .mg-galeria {
        padding: 60px 0;
    }
    
    .mg-galeria-title {
        font-size: 28px;
    }
    
    .mg-galeria-badge {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .mg-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .mg-modal-body img {
        height: 200px;
        border-radius: 0;
    }
    
    .mg-modal-close {
        top: 10px;
        right: 10px;
    }
}



/* Estilos para la sección Ubicación */
.mg-ubicacion {
    padding: 100px 0;
    background: white;
    position: relative;
}

.mg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Ubicación */
.mg-ubicacion-header {
    text-align: center;
    margin-bottom: 60px;
}

.mg-ubicacion-badge {
    display: inline-block;
    background: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.mg-ubicacion-title {
    font-size: 42px;
    color: #1a3a6c;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.mg-ubicacion-title .mg-ubicacion-highlight {
    font-weight: 600;
    color: #1a3a6c;
    position: relative;
}

.mg-ubicacion-title .mg-ubicacion-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #8bb8ff);
    border-radius: 2px;
}

.mg-ubicacion-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Contenido Ubicación */
.mg-ubicacion-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Mapa grande */
.mg-mapa-grande {
    margin-bottom: 0;
}

.mg-mapa-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 58, 108, 0.1);
    margin-bottom: 15px;
}

.mg-mapa-info-box {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1a3a6c;
    font-weight: 500;
    font-size: 15px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(26, 58, 108, 0.08);
}

.mg-mapa-info-box i {
    color: #2c5aa0;
    font-size: 18px;
}

/* Información de Ubicación */
.mg-info-ubicacion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mg-info-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid #2c5aa0;
    transition: all 0.3s ease;
}

.mg-info-card:hover {
    background: #f0f5ff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(44, 90, 160, 0.1);
}

.mg-info-icon {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.mg-info-content h3 {
    font-size: 20px;
    color: #1a3a6c;
    margin-bottom: 10px;
    font-weight: 600;
}

.mg-info-content p {
    color: #666;
    line-height: 1.6;
    font-size: 15.5px;
    margin: 0;
}

.mg-info-content strong {
    color: #1a3a6c;
}


/* Estilos para la sección Contacto */
.mg-contacto {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

/* Header Contacto */
.mg-contacto-header {
    text-align: center;
    margin-bottom: 60px;
}

.mg-contacto-badge {
    display: inline-block;
    background: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.mg-contacto-title {
    font-size: 42px;
    color: #1a3a6c;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.mg-contacto-title .mg-contacto-highlight {
    font-weight: 600;
    color: #1a3a6c;
    position: relative;
}

.mg-contacto-title .mg-contacto-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #8bb8ff);
    border-radius: 2px;
}

.mg-contacto-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Contenido Contacto */
.mg-contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Datos de Contacto */
.mg-datos-contacto {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mg-contacto-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(26, 58, 108, 0.08);
    text-align: center;
}

.mg-card-destacada {
    border-top: 5px solid #2c5aa0;
}

.mg-contacto-icon-grande {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #8bb8ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 25px;
}

.mg-contacto-card h3 {
    font-size: 24px;
    color: #1a3a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

.mg-contacto-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}

.mg-contacto-horarios {
    text-align: left;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
}

.mg-contacto-horarios h4 {
    font-size: 18px;
    color: #1a3a6c;
    margin-bottom: 10px;
    font-weight: 600;
}

.mg-contacto-horarios p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

/* Lista de Contacto */
.mg-contacto-datos-lista {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mg-contacto-item-detalle {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(26, 58, 108, 0.05);
    transition: all 0.3s ease;
}

.mg-contacto-item-detalle:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 58, 108, 0.1);
}

.mg-contacto-item-icon {
    width: 55px;
    height: 55px;
    background: #2c5aa0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.mg-contacto-item-content h4 {
    font-size: 18px;
    color: #1a3a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Teléfonos y Correos */
.mg-telefonos,
.mg-correos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-telefono,
.mg-correo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mg-telefono-tipo,
.mg-correo-tipo {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mg-telefono-numero,
.mg-correo-direccion {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mg-telefono-numero:hover,
.mg-correo-direccion:hover {
    color: #1a3a6c;
    text-decoration: underline;
}

.mg-oficina-info p {
    color: #555;
    line-height: 1.6;
    font-size: 15.5px;
    margin: 0;
}

.mg-oficina-info strong {
    color: #1a3a6c;
}

/* Formulario de Contacto */
.mg-formulario-contacto {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(26, 58, 108, 0.1);
}

.mg-form-header {
    margin-bottom: 30px;
}

.mg-form-header h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 10px;
    font-weight: 600;
}

.mg-form-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Formulario */
.mg-form-contacto {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mg-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mg-form-group {
    display: flex;
    flex-direction: column;
}

.mg-form-group label {
    font-size: 14px;
    color: #1a3a6c;
    margin-bottom: 8px;
    font-weight: 600;
}

.mg-form-group input,
.mg-form-group select,
.mg-form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.mg-form-group input:focus,
.mg-form-group select:focus,
.mg-form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.mg-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.mg-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232c5aa0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.mg-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.mg-btn-form {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.mg-btn-form:hover {
    background: #1a3a6c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.2);
}

.mg-form-nota {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .mg-info-ubicacion {
        grid-template-columns: 1fr;
    }
    
    .mg-contacto-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .mg-ubicacion,
    .mg-contacto {
        padding: 80px 0;
    }
    
    .mg-form-grid {
        grid-template-columns: 1fr;
    }
    
    .mg-ubicacion-title,
    .mg-contacto-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mg-ubicacion-title,
    .mg-contacto-title {
        font-size: 32px;
    }
    
    .mg-ubicacion-subtitle,
    .mg-contacto-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .mg-info-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }
    
    .mg-info-icon {
        margin: 0 auto;
    }
    
    .mg-contacto-item-detalle {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .mg-contacto-item-icon {
        margin: 0 auto;
    }
    
    .mg-formulario-contacto {
        padding: 30px;
    }
    
    .mg-form-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .mg-btn-form {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .mg-ubicacion,
    .mg-contacto {
        padding: 60px 0;
    }
    
    .mg-ubicacion-title,
    .mg-contacto-title {
        font-size: 28px;
    }
    
    .mg-ubicacion-badge,
    .mg-contacto-badge {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .mg-mapa-container iframe {
        height: 400px;
    }
    
    .mg-contacto-card {
        padding: 30px 25px;
    }
    
    .mg-formulario-contacto {
        padding: 25px;
    }
}


/* Estilos para el Footer */
.mg-footer {
    background: linear-gradient(135deg, #0a2444 0%, #1a3a6c 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.mg-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #8bb8ff);
}

.mg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Contenido principal del footer */
.mg-footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Columnas del footer */
.mg-footer-col {
    display: flex;
    flex-direction: column;
}

/* Logo del footer */
.mg-footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mg-logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8bb8ff, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.mg-logo-text h3 {
    font-size: 22px;
    margin: 0 0 5px;
    font-weight: 600;
    color: white;
}

.mg-logo-text p {
    font-size: 14px;
    color: #8bb8ff;
    margin: 0;
    font-weight: 300;
}

/* Descripción */
.mg-footer-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-weight: 300;
}

/* Redes sociales */
.mg-footer-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.mg-social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mg-social-link:hover {
    background: #2c5aa0;
    transform: translateY(-3px);
    border-color: #2c5aa0;
}

/* Títulos del footer */
.mg-footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.mg-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8bb8ff, #2c5aa0);
    border-radius: 2px;
}

/* Enlaces rápidos */
.mg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mg-footer-links li {
    margin-bottom: 12px;
}

.mg-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.mg-footer-links a:hover {
    color: #8bb8ff;
    transform: translateX(5px);
}

.mg-footer-links a i {
    font-size: 12px;
    color: #8bb8ff;
    transition: transform 0.3s ease;
}

.mg-footer-links a:hover i {
    transform: translateX(3px);
}

/* Información de contacto */
.mg-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mg-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.mg-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 184, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8bb8ff;
    font-size: 16px;
    flex-shrink: 0;
}

.mg-contact-details h5 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.mg-contact-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.mg-contact-details a {
    color: #8bb8ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mg-contact-details a:hover {
    color: white;
    text-decoration: underline;
}

/* Horarios */
.mg-schedule {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mg-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #2c5aa0;
}

.mg-schedule-days {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.mg-schedule-hours {
    font-size: 14px;
    color: #8bb8ff;
    font-weight: 600;
}

/* Newsletter */
.mg-newsletter h5 {
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.mg-newsletter-form {
    display: flex;
    gap: 10px;
}

.mg-newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mg-newsletter-input:focus {
    outline: none;
    border-color: #8bb8ff;
    background: rgba(255, 255, 255, 0.1);
}

.mg-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mg-newsletter-btn {
    width: 46px;
    height: 46px;
    background: #2c5aa0;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mg-newsletter-btn:hover {
    background: #8bb8ff;
    transform: translateY(-2px);
}

/* Línea divisoria */
.mg-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 30px 0;
}

/* Footer inferior */
.mg-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mg-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Enlaces legales */
.mg-legal-links {
    display: flex;
    gap: 25px;
}

.mg-legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mg-legal-link:hover {
    color: #8bb8ff;
}

/* Botón volver arriba */
.mg-back-to-top {
    margin-left: auto;
}

.mg-back-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mg-back-top-btn:hover {
    background: #2c5aa0;
    border-color: #2c5aa0;
    transform: translateY(-2px);
    gap: 12px;
}

.mg-back-top-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mg-back-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .mg-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mg-footer {
        padding: 60px 0 25px;
    }
    
    .mg-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mg-footer-logo {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .mg-footer-description {
        text-align: center;
    }
    
    .mg-footer-social {
        justify-content: center;
    }
    
    .mg-footer-title {
        text-align: center;
    }
    
    .mg-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mg-footer-links {
        text-align: center;
    }
    
    .mg-footer-links a {
        justify-content: center;
    }
    
    .mg-contact-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .mg-schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .mg-newsletter {
        text-align: center;
    }
    
    .mg-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .mg-legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .mg-back-to-top {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .mg-footer {
        padding: 50px 0 20px;
    }
    
    .mg-logo-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .mg-logo-text h3 {
        font-size: 20px;
    }
    
    .mg-footer-title {
        font-size: 17px;
    }
    
    .mg-social-link {
        width: 38px;
        height: 38px;
    }
    
    .mg-newsletter-form {
        flex-direction: column;
    }
    
    .mg-newsletter-btn {
        width: 100%;
        height: 46px;
    }
    
    .mg-back-top-btn {
        width: 100%;
        justify-content: center;
    }
}