body {
    
    font-family: 'Roboto', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Imagen industrial genérica */
    background-size: cover;
    background-position: center;
    height: 80vh;
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #0056b3;
    border: none;
}

.btn-primary:hover {
    background-color: #004494;
}

h2 {
    font-weight: 700;
    color: #002d5b;
}

section {
    padding: 80px 0;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}
/* Estilos adicionales para mejorar la lectura corporativa */
.text-primary {
    color: #004085 !important; /* Un azul más profundo y serio */
}

.bg-primary {
    background-color: #002d5b !important;
}

.list-group-item {
    border-left: 4px solid #002d5b;
    margin-bottom: 10px;
    background: #f8f9fa;
    font-size: 1.1rem;
}

.badge {
    min-width: 120px;
    font-weight: 500;
}

h2.border-bottom {
    border-width: 3px !important;
}

/* Banner específico para la página Nosotros */
.nosotros-hero {
    background: linear-gradient(rgba(0, 45, 91, 0.8), rgba(0, 45, 91, 0.7)), 
                url('https://images.unsplash.com/photo-1513828583688-c52646db42da?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    height: 50vh; /* Igualamos la altura a la de servicios */
    position: relative;
    display: flex;
    align-items: center;
}
/* Asegurar que el título en el banner de Nosotros tenga sombreado */
.nosotros-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3); /* Mismo sombreado que en Servicios */
}

/* La línea decorativa */
.header-line {
    width: 80px;
    height: 5px;
    background-color: #ffc107;
    border-radius: 2px;
}

/* Estilos para las Tarjetas del Home */
/* Ajustes para las 2 Divisiones */
.custom-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
}

.custom-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 45, 91, 0.2) !important;
}

.card-img-container {
    height: 240px; /* Altura ideal para balancear con el texto largo */
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.custom-card:hover .card-img-container img {
    transform: scale(1.08);
}

.list-unstyled li {
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

.card-img-container {
    height: 250px; /* Altura equilibrada */
    overflow: hidden;
    background-color: #d1d8e0; /* Color neutro industrial de respaldo */
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Elimina espacios extraños abajo de la imagen */
}

.btn-outline-primary {
    color: #002d5b;
    border-color: #002d5b;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-primary:hover {
    background-color: #002d5b;
    border-color: #002d5b;
}

.collapse ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.collapse ul li:last-child {
    border-bottom: none;
}

.btn-outline-primary {
    color: #002d5b;
    border-color: #002d5b;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-primary:hover {
    background-color: #002d5b;
    border-color: #002d5b;
}

.collapse ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.collapse ul li:last-child {
    border-bottom: none;
}

/* Banner específico para Servicios */
.servicios-hero {
    background: linear-gradient(rgba(0, 45, 91, 0.8), rgba(0, 45, 91, 0.7)), 
                url('https://images.unsplash.com/photo-1701448149957-b96dbd1926ff?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    height: 50vh; /* Altura imponente pero funcional */
    position: relative;
}

/* Línea decorativa amarilla/dorada para resaltar el título */
.header-line {
    width: 80px;
    height: 5px;
    background-color: #ffc107;
    border-radius: 2px;
}

/* Asegurar que el texto en los banners internos sea legible */
.servicios-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

/* Estilos para la sección Nosotros extendida */
.rounded-custom {
    border-radius: 30px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    border: 2px solid #fff;
}

.mision-box {
    background-color: rgba(0, 45, 91, 0.03);
    padding: 20px;
    border-radius: 0 15px 15px 0;
}

.valor-item {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-5px);
    background: #002d5b;
    color: #fff;
}

.valor-item i {
    font-size: 1.5rem;
}

.valor-item:hover i {
    color: #ffc107 !important;
}
/* Efecto de elevación para las tarjetas de valores */
.hover-up {
    transition: all 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 91, 0.1) !important;
}

/* Estilo para los estándares con el Cian Eléctrico de la imagen */
.hover-warning {
    transition: all 0.3s ease;
    cursor: default;
    border-color: rgba(0, 255, 255, 0.2) !important; 
    color: #ffffff;
}

.hover-warning:hover {
    border-color: #00FFFF !important; /* Cian fuerte */
    color: #00FFFF; /* Texto cian */
    background-color: rgba(0, 255, 255, 0.05); 
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); /* Brillo intenso */
    transform: scale(1.05);
}

/* Ajustes de iconos en la misión */
.bi-check-circle-fill {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Línea sutil en los encabezados de misión/visión */
.icon-box i {
    opacity: 0.8;
}
.text-gray-custom {
    color: #adb5bd !important; /* Un gris plateado industrial que resalta bien en fondo oscuro */
}
/* Estilos para las tarjetas de Misión/Visión con imagen */
.card-img-wrap {
    height: 220px; /* Altura fija para la imagen */
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen no se deforme */
    transition: transform 0.6s ease;
}

/* Efecto de zoom en la imagen al pasar el mouse por la tarjeta */
.card.hover-up:hover .card-img-wrap img {
    transform: scale(1.1);
}

/* Máscara (overlay) degradada para el texto */
.card-img-overlay {
    background: linear-gradient(to top, rgba(0, 45, 91, 0.9) 0%, rgba(0, 45, 91, 0.2) 60%, rgba(0, 45, 91, 0) 100%);
    border: none;
}

/* Sombreado de texto para máxima legibilidad */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Ajuste del icono dentro del overlay */
.icon-box-sm i {
    opacity: 0.9;
    color: #ffc107; /* Amarillo para resaltar sobre el azul del overlay */
}

/* Mantenemos el efecto de elevación que definimos antes */
.hover-up {
    transition: all 0.3s ease;
}
.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 91, 0.1) !important;
}

/* Gris industrial para el cuerpo de las tarjetas de Misión/Visión */
.card-body p, 
.card-body span {
    color: #6c757d !important; /* Gris estándar profesional */
}

.card-body .lead {
    color: #495057 !important; /* Un gris un poco más oscuro para el texto principal */
}

/* Resaltar el título blanco SOBRE la imagen para que no lo "trague" el azul */
.card-img-overlay h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Sombra más densa */
    letter-spacing: 1px;
}

/* Opcional: Si el icono amarillo se pierde, dale un toque de brillo */
.icon-box-sm i {
    color: #ffc107 !important;
    filter: drop-shadow(0px 0px 5px rgba(255, 193, 7, 0.5));
}

/* Botón Tecnológico estilo Cian Eléctrico */
.btn-tecnologico {
    background-color: transparent !important;
    color: #00FFFF !important; /* El cian de tu imagen */
    border: 2px solid #00FFFF !important;
    border-radius: 8px; /* Un poco más cuadrado para toque industrial */
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); /* Brillo inicial suave */
}

.btn-tecnologico:hover {
    background-color: rgba(0, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: #00FFFF !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7); /* El resplandor fuerte de la imagen */
    transform: translateY(-3px);
}

/* Efecto de parpadeo suave opcional para que parezca "activo" */
.btn-tecnologico {
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); }
}

/* Estilos para el Formulario de Contacto */
.custom-input {
    border: 2px solid #eee;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* El toque tecnológico al hacer clic en un campo */
.custom-input:focus {
    border-color: #00FFFF !important; /* Tu cian fuerte */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2) !important;
    outline: none;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #00FFFF; /* Iconos en cian */
    font-size: 1.2rem;
}

/* Ajuste para que el botón tecnológico combine con el formulario blanco */
#contact .btn-tecnologico {
    border-width: 2px;
    color: #002d5b !important;
    border-color: #002d5b !important;
}

#contact .btn-tecnologico:hover {
    background-color: #002d5b !important;
    color: #00FFFF !important;
    border-color: #002d5b !important;
    box-shadow: 0 0 20px rgba(0, 45, 91, 0.3);
}
html {
    scroll-behavior: smooth;
}
/* Esto crea un margen invisible para que al bajar, la sección no quede pegada al borde superior */
section {
    scroll-margin-top: 70px; /* Ajusta este número según el alto de tu Navbar */
}

/* Badge de División estilo Cian Eléctrico */
.experience-badge-cian {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #00FFFF;
    color: #002d5b;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Items de la División Mecánica */
.service-check-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #495057;
    border-left: 3px solid #00FFFF; /* El toque Cian */
    transition: all 0.3s ease;
}

.service-check-item:hover {
    background: #002d5b;
    color: #fff;
    transform: translateX(5px);
}

.service-check-item i {
    color: #00FFFF;
}

/* Tarjetas de la División de Construcción */
.construction-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.construction-card:hover {
    border-color: #00FFFF;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #eee, transparent);
    margin: 2rem 0;
}
/* Colores de Marca */
.text-primary-cian { color: #00FFFF !important; }
.ls-2 { letter-spacing: 2px; }

/* Overlay de Cristal sobre imágenes */
.overlay-glass {
    background: rgba(0, 45, 91, 0.7);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.icon-shape {
    width: 50px;
    height: 50px;
    background: #00FFFF;
    color: #002d5b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
}

/* Tarjetas de Valores Estilo Tech */
.card-value-tech {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
}

.card-value-tech:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    color: #00FFFF;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}


.text-secondary-gray { color: #adb5bd; }

.divider-cian {
    width: 60px;
    height: 4px;
    background: #00FFFF;
    margin-top: 15px;
    border-radius: 2px;
}

/* Animación de check para Misión */
.service-check-item {
    transition: transform 0.3s ease;
}
.service-check-item:hover {
    transform: translateX(10px);
}
/* Cabeceras de Panel en Misión/Visión */
.vision-header-img, .mision-header-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.vision-header-img { background-image: url('https://images.unsplash.com/photo-1513059260653-32fd11ccc184?q=80&w=1470&auto=format&fit=crop'); }
.mision-header-img { background-image: url('https://images.unsplash.com/photo-1518291182257-c3dbbc38d89f?q=80&w=1470&auto=format&fit=crop'); }

.panel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 45, 91, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.badge-tech {
    background: #00FFFF;
    color: #002d5b;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Iconos de Misión */
.mision-icon-box {
    min-width: 45px;
    height: 45px;
    background: rgba(0, 255, 255, 0.1);
    color: #00FFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Hover effect para el bloque completo */
.shadow-lg:hover .vision-header-img, 
.shadow-lg:hover .mision-header-img {
    filter: saturate(1.2);
}

/* Estilo para el cuadro de Compliance */
.compliance-box {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.compliance-box:hover {
    transform: scale(1.02);
}

.x-small {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Tipografía de la Misión */
.mision-points p {
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

/* Badge de estado tecnológico */
.badge-tech {
    background: #00FFFF;
    color: #002d5b;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
/* Utilidades de Diseño */
.ls-2 { letter-spacing: 2px; }
.rounded-custom { border-radius: 2rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 45, 91, 0.25); }
.shadow-cian { box-shadow: 0 0 40px rgba(0, 255, 255, 0.15); }

/* Misión Estilo */
.mission-visual { position: relative; }
.mission-floating-card {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid #00FFFF;
}

.m-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.m-item i {
    font-size: 2rem;
    background: rgba(0, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Visión Estilo (Modo Oscuro) */
.vision-status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00FFFF;
    color: #002d5b;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.vision-card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    height: 100%;
}

.vision-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}
/*Posicionamiento */
.vision-visual-container {
    position: relative;
    padding-top: 20px; /* Espacio para que el badge no se salga del contenedor */
}

.status-tag-top {
    position: absolute;
    top: 0;
    left: 20px;
    background: #00FFFF;
    color: #002d5b;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

/* Tipografía y Espaciado */
.ls-3 { letter-spacing: 3px; }
.text-primary-cian { color: #00FFFF !important; }
.text-secondary-gray { color: #adb5bd; }

/* Tarjetas de Visión */
.vision-card-premium {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.15);
    padding: 1.8rem;
    border-radius: 1.2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.vision-card-premium:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: #00FFFF;
    transform: translateY(-5px);
}

.v-icon-box {
    color: #00FFFF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.shadow-cian-heavy {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.1);
}

.x-small { font-size: 0.85rem; line-height: 1.6; }

/* Colores de Marca */
.text-primary-cian { color: #00FFFF !important; }
.text-secondary-gray { color: #adb5bd; }
.ls-3 { letter-spacing: 3px; }

/* Contenedor de Imagen y Badge */
.vision-visual-wrapper {
    position: relative;
    z-index: 1;
}

.status-tag-tech {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #00FFFF;
    color: #002d5b;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); /* Sombreo verde/cian */
    text-transform: uppercase;
}

/* Efecto de Brillo y Zoom en Imagen */
.img-zoom-container {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.08);
}

.shadow-cian-glow {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.1);
    transition: box-shadow 0.4s ease;
}

.shadow-cian-glow:hover {
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.25);
}

/* Tarjetas Interactivas */
.vision-card-interactive {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.vision-card-interactive:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: #00FFFF;
    transform: translateY(-10px);
}

.v-icon {
    font-size: 1.8rem;
    color: #00FFFF;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
}

.x-small { font-size: 0.85rem; line-height: 1.6; }

/* Ajuste de tamaño para los iconos de bandera */
.fi {
    font-size: 1.1rem;
    border-radius: 2px; /* Un ligero redondeado para suavizar los bordes */
    vertical-align: middle;
}

/* Efecto visual cuando el botón de la bandera está activo */
.btn-outline-light.active {
    background-color: #00FFFF !important; /* Usamos el cian eléctrico para resaltar la activa */
    border-color: #00FFFF !important;
    color: #002d5b !important;
}
/* ==========================================
   BLOQUE DE RESPONSIVIDAD (Pegar al final)
   ========================================== */

/* Tablets y Laptops pequeñas */
@media (max-width: 991.98px) {
    .hero-section { 
        height: 60vh; 
    }
    section { 
        padding: 60px 0; 
    }
    .card-img-container, .card-img-wrap { 
        height: 200px; 
    }
}

/* Móviles (Pantalla vertical) */
@media (max-width: 767.98px) {
    h1 { 
        font-size: 1.8rem !important; 
    }
    
    .nosotros-hero, .servicios-hero { 
        height: 40vh; 
    }

    /* Ajuste de la etiqueta amarilla en móviles para que no tape contenido */
    .experience-badge-yellow { 
        position: relative !important; 
        bottom: 0 !important; 
        left: 0 !important; 
        display: block;
        width: fit-content;
        margin: 15px auto 0 auto; 
    }

    /* Botones tecnológicos a ancho completo en móvil */
    .btn-tecnologico { 
        width: 100%; 
        text-align: center; 
        display: block;
    }
    
    /* Espaciado de tarjetas en móvil */
    .custom-card, .valor-item {
        margin-bottom: 20px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 575.98px) {
    .hero-section { 
        height: 50vh; 
    }
    .ls-3 { 
        letter-spacing: 1px; 
    }
}
/* --- AJUSTES MENÚ MÓVIL PARA INTERACTION PETROLEUM --- */

@media (max-width: 991.98px) {
    /* Espaciado para los items del menú cuando está desplegado */
    .navbar-nav {
        padding: 20px 0;
        text-align: center; /* Centramos para mejor UX en móvil */
    }

    .nav-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Línea divisoria sutil */
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    /* Ajuste para el selector de idiomas en móvil */
    .nav-item.ms-lg-3 {
        margin-top: 15px;
        margin-left: 0 !important;
        display: flex;
        justify-content: center;
    }

    /* Hacemos los botones de banderas un poco más fáciles de tocar */
    .btn-group-sm > .btn {
        padding: 8px 20px;
        font-size: 1.2rem;
    }
}

/* Efecto de hover en el botón de hamburguesa */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 255, 0.25); /* Glow cian al tocarlo */
    border-color: #00FFFF;
}
/* Botón Hamburguesa Estilo Personalizado */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .menu-toggle { display: flex; }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        left: -110%; /* Escondido a la izquierda */
        width: 100%;
        height: 100vh;
        background-color: #212529; /* Color Dark de Bootstrap */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
    }

    .nav-links-wrapper.is-active {
        left: 0; /* Entra a pantalla completa */
    }

    .navbar-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.5rem;
    }
}
/* --- ESTRUCTURA BASE --- */
.navbar-custom {
    background-color: #212529;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* LOGO IZQUIERDA - BOTÓN DERECHA */
    align-items: center;
    padding: 0 5%;
}

.brand {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- MENÚ ESCRITORIO --- */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 25px;
}

.nav-list a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s;
}

.nav-list a:hover { color: #00FFFF; }

/* --- BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none; /* Se oculta en PC */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
}

/* --- RESPONSIVIDAD (MÓVIL) --- */
@media (max-width: 992px) {
    .menu-toggle { display: flex; } /* Aparece el botón */

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Sale desde la derecha */
        width: 80%;
        height: 100vh;
        background-color: #1a1e21;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links-wrapper.is-active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 35px;
    }

    .nav-list a { font-size: 1.5rem; }
}

/* Selector de Idiomas */
.btn-flag {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    cursor: pointer;
}

.btn-flag.active {
    border-color: #00FFFF;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre el logo y el nombre */
    text-decoration: none;
}

.nav-logo {
    height: 35px; /* Ajusta según el tamaño de tu logo */
    width: auto;
    object-fit: contain;
}