/*
Theme Name: ConfiabilidadMX Base
Author: Tu Nombre
Description: Tema base simple personalizado para ConfiabilidadMX.
Version: 1.0
*/

/**/
body {
    margin: 0;
    font-family: Montserrat !important;
    background-color: white;
    color: #222;
    overflow-x: hidden;
    text-align: justify !important;
}

html, body {
    overflow-x: hidden;
}


.footer-grid {
    text-align: left;
}

.topbar {
    background: #1f2f4a;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
}

.header nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background: #333;
    padding: 120px 20px;
    text-align: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    display: inline-block;
    border-radius: 20px;
}

.hero h1 {
    color: #ffc107;
    font-size: 42px;
    margin: 0;
}

.hero p {
    color: #fff;
    font-size: 18px;
}

.btn-primary {
    background: #ffc107;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.stats {
    display: flex;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 220px;
    margin: 20px;
}

.footer {
    background: #1f2f4a;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
/*-----------------------------------------------------------------*/

@font-face {
  font-family: 'Montserrat';
  src: url(font/Montserrat-VariableFont_wght.ttf) format('woff2');
}

body {
    padding: 0px;
    margin: 0px;
    font-family: Montserrat!important;
}

header {
    font-family: Montserrat!important;
}

footer {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.header {
    background: #192946;
    opacity: 1;
    justify-content: space-between;
    width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    padding: 0px !important;
}

.header-logo {
    background-repeat: no-repeat;
    background-position: center;
    /* Layout Properties */
    top: 6px;
    left: 287px;
    width: 121px;
    height: 151px;
    /* UI Properties */
    opacity: 1;
    background-image: url(img/Logotipos/ConfiabilidadMX.svg);
}

.header-titles {
    display: flex;
    flex-direction: column;    
    margin-top: 15px;
}

.header-titles-line1 {
    display: flex;
    max-width: 1183px !important;
    height: 74px;
    align-items: center;
    opacity: 1;
}

.header-titles-line2 {
    display: flex;
    max-width: 1183px !important;
    height: 74px;
    opacity: 1;
    justify-content: center;
    align-items: center;
}


.header-title-1 {
    width: 326px;
    height: 49px;
    text-align: center;
    font: normal normal 600 16px / 24px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.header-totle-div-1{
    /* Layout Properties */
    top: 16px;
    left: 1085px;
    width: 0px;
    height: 67px;
    /* UI Properties */
    border: 1px solid var(--unnamed-color-ffffff);
    border: 1px solid #FFFFFF;
    opacity: 1;
    font-family: Montserrat!important;
}

.header-totle-div-2{
    /* Layout Properties */
    top: 16px;
    left: 1355px;
    width: 0px;
    height: 67px;
    /* UI Properties */
    border: 1px solid var(--unnamed-color-ffffff);
    border: 1px solid #FFFFFF;
    opacity: 1;
    font-family: Montserrat!important;
}

.header-title-2{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 158px;
    height: 49px;
    text-align: center;
    font: normal normal normal 20px / 20px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.header-title-3{
    display: flex;
    justify-content: center;
    align-items: center;
    /* Layout Properties */
    top: 16px;
    left: 1085px;
    width: 270px;
    height: 67px;
    /* UI Properties */
    opacity: 1;
    font-family: Montserrat!important;
}

.header-title-4{
    width: 200px;
    height: 74px;
    display: flex;
    justify-content: right;
    align-items: center;
    font: normal normal normal 24px / 24px Montserrat-Bold;
    letter-spacing: 0px;
    font-size: medium;
    color: #FFFFFF;
    opacity: 1;
    font-family: Montserrat !important;
}

.header-titles-element {
    cursor: pointer;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    background: #D3E0E3 0% 0% no-repeat padding-box;
    opacity: 1;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    display: flex;
    border-right: solid #FFFFFF00 .5px;
}

.header-titles-element.activo {
    background-color: transparent;
    color: #FFFFFF;
}

/* --- AJUSTES BASE PARA FLEXIBILIDAD --- */
.header-main-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    position: relative;
}


/* --- RESPONSIVE FOOTER (Añadir a tu css de footer) --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important; /* De 4 columnas a 1 */
        text-align: center;
        gap: 30px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Centrar iconos sociales en móvil */
    .footer-col .social-icons {
        justify-content: center;
        display: flex;
        gap: 15px;
    }
}

/* Contenedor del elemento para permitir posicionamiento absoluto del hijo */
.header-titles-element {
    position: relative; /* Importante para que el menú se alinee justo debajo */
    overflow: visible !important; /* Asegúrate de que no corte el menú */
}

/* Estilo base del menú desplegable */
.dropdown-menu {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 100%; /* Aparece justo debajo del padre */
    left: 0;
    background-color: #D3E0E3; /* Color coincidente con tus elementos actuales */
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Estilo de los links dentro del dropdown */
.dropdown-menu li {
    border-bottom: 1px solid #ffffff;
}

.dropdown-menu li a {
    color: #192946; /* Tu color azul de header */
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

/* Efecto Hover para mostrar el menú */
.header-titles-element:hover .dropdown-menu {
    display: block;
}

/* Cambio de color al pasar el cursor sobre la opción del menú */
.dropdown-menu li:hover {
    background-color: #192946;
}

.dropdown-menu li:hover a {
    color: #ffffff;
}

/* --- Lógica de Submenús con Divs --- */

.header-titles-element {
    position: relative; /* Base para posicionar el submenú */
    cursor: pointer;
    overflow: visible !important; /* Permite que el submenú sea visible */
}

.submenu-container {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 100%; /* Justo debajo del elemento padre */
    left: 0;
    background: #D3E0E3; /* Color de fondo de tus elementos actuales */
    min-width: 220px;
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.submenu-item {
    padding: 12px 20px;
    color: #192946; /* Azul de tu header */
    font-size: 10px;
    font-weight: bold;
    border-bottom: 1px solid #FFFFFF;
    text-align: left;
    transition: background 0.3s;
}

.submenu-item:hover {
    background-color: #192946;
    color: #FFFFFF;
}

/* Mostrar al hacer Hover */
.has-submenu:hover .submenu-container {
    display: flex;
    flex-direction: column;
}

/* --- AJUSTES RESPONSIVOS BASADOS EN TUS CLASES --- */

@media (max-width: 1100px) {
    .header {
        height: auto; /* Quitamos altura fija de 170px */
        flex-direction: column;
        padding: 20px 0 !important;
    }

    .header-logo {
        position: static; /* Quitamos left: 287px y top: 6px */
        margin: 0 auto 15px;
    }

    .header-titles {
        margin-top: 0;
        width: 100%;
    }

    .header-titles-line1 {
        display: none; /* Ocultamos línea de info en móvil para limpiar el diseño */
    }

    .header-titles-line2 {
        flex-direction: column;
        height: auto;
    }

    .header-titles-element {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #FFFFFF;
    }

    /* En móvil, el submenú se despliega hacia abajo empujando el contenido */
    .submenu-container {
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
    }
}
/* --- ESCRITORIO (Hover funcional) --- */
.has-submenu:hover .submenu-container {
    display: flex;
    flex-direction: column;
}

/* --- MÓVIL (Omisión de submenús) --- */
@media (max-width: 1024px) {
    /* Forzamos que el submenú nunca se muestre en móvil */
    .submenu-container {
        display: none !important;
    }

    .header {
        height: auto; /* Anulamos los 170px fijos */
        padding: 20px 0 !important;
    }

    .header-logo {
        position: static; /* Anulamos left: 287px y top: 6px */
        margin: 0 auto 15px;
        display: block;
    }

    .header-titles-line1 {
        display: none; /* Omitimos la línea superior de info para ahorrar espacio */
    }

    .header-titles-line2 {
        display: flex;
        flex-direction: column; /* Lista vertical */
        height: auto;
        width: 100%;
    }

    .header-titles-element {
        width: 100%;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px 0;
    }
}

.footer-social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0 15px;
}

/* Contenedor de iconos en el header */
.header-social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

/* Estilo circular para los iconos */
.social-icon {
    width: 40px;
    height: 40px;
    background-color: #FFFFFF00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 40px; /* Ajusta según el tamaño de tus SVG */
    height: 40px;
}

/* Ajuste para que el contenedor de los separadores no se rompa */
.header-title-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important; /* Deja que el contenido defina el ancho */
    min-width: 270px;
}

/*
ESTILOS PARA PÁGINAS
*/

/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================================================== */
:root {
    --azul-oscuro: #192946;
    --amarillo: #ffc107;
    --amarillo-hover: #e0a800;
    --gris-azulido: #D3E0E3; /* Color institucional */
    --fuente-principal: 'Montserrat', sans-serif;
}

/* ==========================================================================
   SECCIÓN DE TÍTULOS
   ========================================================================== */
.titulo-seccion-cursos {
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: clamp(24px, 5vw, 32px); /* Tamaño fluido para responsive */
    color: #000000;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

/* Línea decorativa amarilla */
.titulo-seccion-cursos::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background-color: var(--amarillo);
}

/* ==========================================================================
   ESTRUCTURA DE LA TARJETA (CURSO-CARD)
   ========================================================================== */
.curso-card-custom {
    background-color: var(--gris-azulido) !important;
    border-radius: 20px;
    text-align: center;
    padding-bottom: 25px;
    margin: 15px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    border: none !important;
}

.curso-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Imagen superior pegada al borde */
.curso-card-custom figure, 
.curso-card-custom img {
    margin: 0 !important;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

/* Título del curso */
.curso-card-custom h3 {
    font-family: var(--fuente-principal);
    font-weight: bold;
    font-size: 16px !important;
    color: #000;
    padding: 15px 20px;
    margin: 0;
    flex-grow: 1; /* Alinea los elementos inferiores automáticamente */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fecha con icono */
.curso-fecha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin: 10px 0 20px 0;
}

/* ==========================================================================
   BOTÓN PERSONALIZADO (ELIMINA FONDO OSCURO)
   ========================================================================== */
.btn-informacion > a,
.wp-block-button__link.btn-informacion {
    background-color: var(--amarillo) !important;
    color: var(--azul-oscuro) !important;
    border-radius: 40px !important;
    padding: 12px 35px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-informacion > a:hover {
    transform: scale(1.05);
    background-color: var(--amarillo-hover) !important;
}

/* ==========================================================================
   CONFIGURACIÓN DEL SLIDER (SLICK)
   ========================================================================== */
.cursos-slider {
    padding: 20px 0;
}

.cursos-slider .slick-slide {
    padding: 0 15px; /* Espacio entre tarjetas */
}

/* Dots y Flechas del Slider */
.slick-dots li button:before {
    color: var(--azul-oscuro) !important;
    font-size: 10px;
}

.slick-dots li.slick-active button:before {
    color: var(--amarillo) !important;
}

.slick-prev:before, .slick-next:before {
    color: var(--azul-oscuro) !important;
    font-size: 25px;
}

/* Hacer que todas las tarjetas tengan la misma altura en el slider */
.slick-track {
    display: flex !important;
    align-items: stretch;
}

/* ==========================================================================
   RESPONSIVE (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    .carousel-max-width {
        max-width: 90% !important;
    }
}

@media (max-width: 768px) {
    
/* Contenedor que ignora los márgenes del tema para ir de lado a lado */
.hero-full-wrapper {
    position: relative;
    z-index: -1;
    width: 100%;
    left: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
    overflow: hidden;
    background-color: #192946; /* Color base azul oscuro */
}

    .titulo-seccion-cursos {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .titulo-seccion-cursos::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }

    .curso-card-custom {
        max-width: 100%;
        height: 400px !important;
        margin-bottom: 30px;
    }

    .curso-card-custom h3 {
        font-size: 18px !important;
        height: 50;
    }
    
    /* Center mode para móviles para invitar al scroll */
    .cursos-slider .slick-list {
        padding: 0 10% 0 0 !important; 
    }
}

/* Posicionamiento y estilo de las flechas laterales */
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%; /* Centrado vertical respecto a las tarjetas */
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 10;
}

/* Icono de la flecha izquierda */
.slick-prev {
    left: -50px; /* Ajusta según el espacio disponible en tu contenedor */
}
.slick-prev:before {
    content: '←'; /* Puedes usar un SVG o icono de fuente aquí */
    font-family: 'slick';
    font-size: 30px;
    line-height: 1;
    opacity: .25; /* Estilo sutil de la referencia */
    color: var(--azul-oscuro);
}

/* Icono de la flecha derecha */
.slick-next {
    right: -50px;
}
.slick-next:before {
    content: '→';
    font-family: 'slick';
    font-size: 30px;
    line-height: 1;
    opacity: .25;
    color: var(--azul-oscuro);
}

/* Efecto al pasar el mouse */
.slick-prev:hover:before, .slick-next:hover:before {
    opacity: 1;
}

/* Asegurar que el slider no corte las flechas */
.cursos-slider {
    position: relative;
    width: calc(100% - 100px); /* Deja espacio para las flechas a los lados */
    margin: 0 auto;
}


/* ==========================================================================
   ALINEACIÓN DE ELEMENTOS INTERNOS (ALTURAS FIJAS)
   ========================================================================== */

/* 1. Título del curso con altura fija */
.curso-card-custom h3 {
    font-family: var(--fuente-principal);
    font-weight: bold;
    font-size: 16px !important;
    color: #000;
    padding: 10px 15px;
    margin: 0;
    
    /* Altura fija para títulos (aprox 3 líneas) */
    height: 50px; 
    display: flex;
    align-items: center; /* Centra el texto verticalmente si es corto */
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Evita que títulos larguísimos rompan el diseño */
}

/* 2. Contenedor de Fecha y Calendario con altura fija */
.curso-fecha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--azul-oscuro);
    
    /* Altura fija para la sección de fecha */
    height: 30px; 
    margin: 5px 0 5px 0;
}

/* Ajuste del icono del calendario */
.curso-fecha img, 
.curso-fecha i {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 3. Asegurar que el botón siempre empuje hacia abajo */
.btn-informacion {
    position: relative;
}

/* ==========================================================================
   AJUSTE DE TARJETA GLOBAL
   ========================================================================== */
.curso-card-custom {
    display: flex;
    flex-direction: column;
    height: 370px !important; /* Altura total mínima para todas las tarjetas */
    background-color: var(--gris-azulido) !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Contenedor relativo para permitir posicionamiento absoluto del botón */
.hero-item {
    position: relative;
    width: 100%;
    line-height: 0; /* Elimina espacio blanco debajo de imagen */
}

/* Imagen del banner */
.hero-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Posicionamiento del botón sobre la imagen */
.btn-hero-overlay {
    position: absolute;
    /* Ajusta estos valores para mover el botón según la imagen */
    bottom: 15%; 
    right: 8%;
    z-index: 10;
}

/* Estilo del botón amarillo tipo cápsula */
.btn-hero-overlay .wp-block-button__link {
    background-color: #ffc107 !important;
    color: #192946 !important;
    border-radius: 15px !important;
    padding: 20px 35px !important;
    font-weight: 800 !important;
    border: none !important;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.btn-hero-overlay .wp-block-button__link:hover {
    transform: scale(1.05);
    background-color: #e0a800 !important;
}

/* Ajuste de flechas del slider principal */
.hero-slider .slick-prev, .hero-slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 20;
}

.hero-slider .slick-prev { left: 20px; }
.hero-slider .slick-next { right: 20px; }



/* Contenedor que ignora los márgenes del tema para ir de lado a lado */
.hero-full-wrapper {
    position: relative;
    z-index: -1;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 50px;
    overflow: hidden;
}

/* Gradiente superior oscuro para mejorar legibilidad del menú */
.hero-full-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 2;
}

/* Curva decorativa inferior derecha */
.linea-azul-imagen {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -25px;
    width: 105%;
    height: 35% ;
    z-index: 5;
}

/* Ajuste de la imagen principal */
.hero-full-wrapper img {
    width: 100%;
    height: 600px; /* Ajusta según la altura deseada */
    object-fit: cover;
    display: block;
}

/* Caja de contenido (Mantenimiento Predictivo) */
.capa-texto-banner {
    z-index: 999;   
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.527); /* Transparencia oscura */
    padding: 50px;
    border-radius: 40px;
    max-width: 500px;
    text-align: right;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Tipografía institucional dentro del banner */
.capa-texto-banner h2 {
    color: #ffc107 !important; /* Amarillo institucional */
    font-size: 42px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.capa-texto-banner h3 {
    color: #ffffff !important;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
    margin: 10px 0 20px;
}

.capa-texto-banner p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    align-items: right;
}

/* Botón de acción */
.btn-cotizar .wp-block-button__link {
    background-color: #ffc107 !important;
    color: #192946 !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ==========================================================================
   CONFIGURACIÓN DEL GRADIENTE Y FONDO (DESKTOP)
   ========================================================================== */
.hero-full-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}


/* ==========================================================================
   RESPONSIVE: TABLETS (iPad / Pantallas Medianas)
   ========================================================================== */
@media (max-width: 1024px) {
    .encabezado-degradado {
        display: none !important;
    }

    .hero-full-wrapper img {
        height: 500px; /* Reducimos altura para tablets */
    }

    .capa-texto-banner {
        right: 5%; /* Acercamos la caja al borde */
        padding: 30px;
        max-width: 400px;
    }

    .capa-texto-banner h3 {
        font-size: 32px; /* Título un poco más pequeño */
    }
}

/* ==========================================================================
   RESPONSIVE: MÓVILES (Smartphones)
   ========================================================================== */
@media (max-width: 768px) {
    .curso-card-custom h3 {
        font-size: 14px !important;
    }
    .btn-informacion a {
        font-size: 13px !important;
    }
    .has-x-large-font-size {
        font-size: 26px !important;
    }

    /* 1. Ajuste del Contenedor: En móvil el texto suele ir debajo o centrado */
    .hero-full-wrapper {
        margin-top: 0; /* Quitamos el solapamiento si el menú móvil es opaco */
        padding-top: 0;
    }

    .hero-full-wrapper img {
        height: 400px; /* Altura optimizada para scroll vertical */
    }

    /* 2. Ajuste de la Caja de Texto */
    .capa-texto-banner {
        position: relative; /* Deja de flotar para no tapar toda la foto */
        top: 0;
        right: 0;
        transform: none;
        max-width: 100%;
        margin: -50px 15px 30px 15px; /* Sube un poco para pisar la imagen */
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* 3. Tipografía en Móvil */
    .capa-texto-banner h2 {
        font-size: 18px;
    }

    .capa-texto-banner h3 {
        font-size: 26px;
    }

    .capa-texto-banner p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 4. Ocultar la curva decorativa en móvil para ganar espacio */
    .linea-azul-imagen {
        display: none;
    }
}


@media (max-width: 768px) {
    /* 1. Ajuste del Contenedor Principal */
    .hero-full-wrapper {
        display: flex;
        flex-direction: column; /* Coloca el texto debajo de la imagen si es necesario */
        height: auto !important;
    }

    .hero-full-wrapper img {
        height: 350px !important; /* Altura fija para que la imagen luzca bien */
        object-position: center;
    }

    /* 2. Ajuste de la Caja de Texto (Capa Oscura) */
    .capa-texto-banner {
        z-index: 999;
        position: relative !important; /* Deja de flotar sobre la imagen central */
        top: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        margin-top: -500px !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        border-radius: 0 !important; /* Estilo de bloque sólido para el pie */
        background-color: #192946 !important; /* Azul sólido para máxima legibilidad */
        text-align: right;
    }

    /* 3. Ajuste de Tipografía en Móvil */
    .capa-texto-banner h2 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .capa-texto-banner h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .capa-texto-banner p {
        font-size: 15px !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }

    /* 4. Botón de Ancho Completo en Móvil */
    .btn-cotizar .wp-block-button__link {
        width: 100%; /* Más fácil de tocar con el pulgar */
        font-size: 16px !important;
        padding: 15px !important;
    }
}

body > div.section {
    padding-top: 0px !important;
}

.btn-cotizar .wp-block-button__link:hover {
    transform: scale(1.05);
    background-color: #e0a800 !important;
}

/* El contenedor principal debe tener un contexto de apilamiento */
.hero-full-wrapper {
    position: relative;
    z-index: 1; /* Base baja */
}

/* El gradiente NO debe bloquear los clics */
.hero-full-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, rgba(25, 41, 70, 1) 0%, transparent 100%);
    z-index: 2; /* Por debajo del texto */
    pointer-events: none; /* TRUCO CLAVE: Ignora el mouse y deja pasar el clic al fondo */
}

/* La caja de texto debe ser la capa más alta */
.capa-texto-banner {
    position: absolute;
    z-index: 20 !important; /* Valor alto para estar sobre todo */
    pointer-events: auto; /* Asegura que reciba clics */
}

/* El botón necesita prioridad dentro de la caja */
.btn-cotizar {
    position: relative;
    z-index: 25 !important;
}

.linea-azul-imagen {
    background-image: url(img/extra/Linea\ Azul.svg);
    background-size: cover;
    background-position-x: right;
}

.decoracion-izquierda-nosotros {
    background-image: url(img/Nosotros/Decoracion.svg);
    height: 250px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: cover;
    position: absolute;
    top: 670px;
    left: -70px;
}

.decoracion-izquierda-nosotros2 {
    background-image: url(img/Nosotros/Decoracion.svg);
    height: 250px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: cover;
    position: absolute;
    top: 2540px;
    left: -70px;
}


.decoracion-izquierda-capacitacion {
    background-image: url(img/Nosotros/Decoracion.svg);
    height: 250px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: cover;
    position: absolute;
    top: 1170px;
    left: -70px;
}

.decoracion-derecha-capacitacion {
    background-image: url(img/Nosotros/Decoracion.svg);
    height: 250px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: cover;
    position: absolute;
    top: 700px;
    right: -70px;
    transform: scaleX(-1);
}



.decoracion-derecha-nosotros {
    background-image: url(img/Nosotros/Decoracion.svg);
    height: 250px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: cover;
    position: absolute;
    top: 870px;
    right: -70px;
    transform: scaleX(-1);
}

/* 1. Contenedor de la Tarjeta */
.tarjeta-mision-vision {
    background-color: #e9eff1 !important; 
    border-radius: 15px;
    overflow: visible !important; 
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; 
    min-height: 550px; 
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 2. Encabezado Azul */
.tarjeta-mision-vision h2 {
    background-color: #192946; 
    color: #ffffff !important;
    margin: 0 !important;
    padding: 50px 20px 80px 20px !important; /* Espacio visual para el título */
    border-radius: 15px 15px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    text-transform: uppercase;
    flex-shrink: 0; 
}

/* 3. Hexágono Blanco (Capa base) - AJUSTADO A TOP 110px */
.tarjeta-mision-vision::after {
    content: "";
    position: absolute;
    top: 110px; /* Tu nuevo valor solicitado */
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 155px;
    background-color: #ffffff;
    
    /* Puntas redondeadas */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 20px; 
    
    z-index: 2;
}

/* 4. Hexágono Azul Claro (Borde interno) - REAJUSTADO */
.tarjeta-mision-vision::before {
    content: "";
    position: absolute;
    top: 118px; /* Ajustado proporcionalmente (110 + 8) */
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    height: 140px;
    background-color: #cbd7df; 
    
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 15px; 
    
    z-index: 3;
}

/* 5. Icono centrado - REAJUSTADO (Cálculo: 110 + (155/2)) */
.tarjeta-mision-vision .wp-block-image {
    position: absolute !important;
    top: 187px !important; /* Nuevo centro basado en top 110px */
    left: 50% !important;
    transform: translate(-50%, -50%) !important; 
    z-index: 4;
    width: 70px !important; 
    margin: 0 !important;
}

/* 6. Párrafo en NEGRITA cargado abajo */
.tarjeta-mision-vision p {
    flex-grow: 1; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    
    font-weight: 700 !important; /* Texto en negrita */
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    
    /* Padding superior para que el texto no toque el hexágono */
    padding: 140px 35px 50px 35px !important; 
    margin: 0 !important;
}

 
@media (max-width: 1400px) {
    .decoracion-izquierda-nosotros {
        display: none;
    }
    .decoracion-izquierda-nosotros2 {
        display: none;
    }
    .decoracion-derecha-nosotros {
        display: none;
    }
    .decoracion-izquierda-capacitacion {
        display: none;
    }
    .decoracion-derecha-capacitacion {
        display: none;
    }

}

/* Contenedor de la lista */
.lista-compromisos-css {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 20px;
}

/* Elemento de la lista */
.lista-compromisos-css li {
    position: relative;
    padding-left: 40px; /* Espacio para las flechas */
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700; /* Texto en negrita solicitado */
    line-height: 1.4;
    color: #000000;
}


/* Título de la sección */
.seccion-compromisos-mx h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px; /* Similar a los títulos de Misión/Visión */
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #000000;
}

/* Contenedor de cada punto */
.compromiso-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #1a1a1a;
    position: relative;
    padding-left: 55px;
}

/* === GENERACIÓN DE LA DOBLE FLECHA CSS === */

/* Primera Flecha (Izquierda) */
.compromiso-item::before {
content: "";
    position: absolute;
    left: 0;
    top: 0; /* Ajustable según el alineado del texto */
    
    /* Dimensiones exactas de tu archivo */
    width: 26px;
    height: 45px;
    
    /* Color y Opacidad */
    background-color: #F8BE13; 
    opacity: 1;
    
    /* Aplicando el transform: matrix(-1, 0, 0, -1, 0, 0) de tu spec */
    /* Este transform equivale a una rotación de 180° */
    transform: matrix(-1, 0, 0, -1, 0, 0);
    transform: rotate(0deg);
    /* Forma de la flecha mediante clip-path */
    /* Recrea la doble punta amarilla de la referencia */
    clip-path: polygon(0% 20%, 40% 50%, 0% 80%, 20% 80%, 60% 50%, 20% 20%, 40% 20%, 80% 50%, 40% 80%, 60% 80%, 100% 50%, 60% 20%);
}

/* === AJUSTE RESPONSIVO PARA MÓVILES === */
@media (max-width: 768px) {
    .compromiso-item {
        font-size: 16px;
        padding-left: 45px;
    }
    
    .compromiso-item::before,
    .compromiso-item::after {
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 15px;
    }
    
    .compromiso-item::after {
        left: 12px;
    }
}


/* Contenedor principal para crear las dos columnas */
.contenedor-sectores {
    display: flex;
    flex-direction: column;
    gap: 20px 40px;
    padding: 20px;
}

/* Estilo base para cada item del sector */
.sector-item {
    position: relative;
    padding-left: 60px; /* Espacio para el icono */
    min-height: 50px;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
}

/* Configuración general del pseudoelemento para los logos */
.sector-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px; /* Tamaño del icono */
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Identificadores específicos para cada logo */
.sector-aceria::before { background-image: url(img/Nosotros/Iconos/Nosotros-Acería.svg); }
.sector-petroquimica::before { background-image: url(img/Nosotros/Iconos/Nosotros-Petroquímica.svg); }
.sector-transformacion::before { background-image: url(img/Nosotros/Iconos/Nosotros-Transformación.svg); }
.sector-petrolera::before { background-image: url(img/Nosotros/Iconos/Nosotros-Petrolera.svg); }
.sector-mineria::before { background-image: url(img/Nosotros/Iconos/Nosotros-Minería.svg); }
.sector-gases::before { background-image: url(img/Nosotros/Iconos/Nosotros-Generación\ de\ GasesIndustriales.svg); }
.sector-energia::before { background-image: url(img/Nosotros/Iconos/Nosotros-Generación\ de\ Energía.svg); }
.sector-alimenticia::before { background-image: url(img/Nosotros/Iconos/Nosotros-Industria\ Alimenticia.svg); }
.sector-aguas::before { background-image: url(img/Nosotros/Iconos/Nosotros-Aguas\ Residuales.svg); }
.sector-extraccion::before { background-image: url(img/Nosotros/Iconos/Nosotros-Extracción\ y\ Reciclaje.svg); }
.sector-papel::before { background-image: url(img/Nosotros/Iconos/Nosotros-Papel\ y\ Cartón.svg); }

.columna-empresas-asociadas-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.encabezado-degradado {
    background-image: url(img/Inicio/Imagen\ Principal+Degradado.svg);
    width: 100%;
    height: 400px; /* Ajusta según la altura deseada */
    object-fit: cover;
    display: flex;
    position: relative;
    z-index: -1;
    width: 103vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: right;
    background-position-y: bottom;
    overflow: hidden;
}

.tarjeta-encabezado {
    position: absolute;
    top: 40%;
    left: 15%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.527);
    padding: 25px;
    border-radius: 40px;
    padding-left: 50px;
    text-align: left;
    z-index: 10;
    width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tarjeta-encabezado h2 {
    color: white !important; /* Amarillo institucional */
    font-size: 42px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.tarjeta-encabezado p {
    color: #e0a800;
    font-weight: 800;
}

.imagen-servicio img{
    border-radius: 20px;
}

.tarjetas-servicio h2 {
    min-height: 60px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.tarjetas-servicio p {
    min-height: 90px;
}

/* Contenedor de la Tarjeta */
.tarjeta-servicio-mx {
    background: #ffffff !important;
    padding: 0px !important;
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

/* Títulos de los Servicios */
.tarjeta-servicio-mx h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #192946; /* Azul oscuro corporativo */
    margin: 0 !important;
}

/* Imagen del Servicio */
.tarjeta-servicio-mx .wp-block-image img {
    border-radius: 12px !important;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Estilo de los Botones Amarillos */
.tarjeta-servicio-mx .wp-block-buttons .wp-block-button__link {
    background-color: #F8BE13 !important; /* Color exacto solicitado */
    color: #1a1a1a !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    flex-grow: 1;
    text-align: center;
}

/* Efecto Hover en botones */
.tarjeta-servicio-mx .wp-block-button__link:hover {
    background-color: #e2ad11 !important;
    transform: translateY(-2px);
}

/* Alineación de la fila de botones */
.tarjeta-servicio-mx .wp-block-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.icono-mantenimiento-condicion {
    background-image: url(img/Cursos/Iconos/condicion.svg);
    width: 60px;
    height: 60px;
}

.icono-mantenimiento-alineacion {
    background-image: url(img/Cursos/Iconos/Alineación.svg);
    width: 60px;
    height: 60px;
}

.icono-mantenimiento-balanceo {
    background-image: url(img/Cursos/Iconos/Balanceo.svg);
    width: 60px;
    height: 60px;
}

.icono-mantenimiento-termografia {
    background-image: url(img/Cursos/Iconos/Termografia.svg);
    width: 60px;
    height: 60px;
}

.icono-mantenimiento-vibraciones {
    background-image: url(img/Cursos/Iconos/Vibraciones.svg);
    width: 60px;
    height: 60px;
}

.icono-mantenimiento-rodamientos {
    background-image: url(img/Cursos/Iconos/Rodamientos\ y\ Engranajes.svg);
    width: 60px;
    height: 60px;
}

.cursos-confi-img img {
    border-radius: 10px !important;
    margin-top: 0px;
}

.no-margin-header-card {
    margin-bottom: 0px;
}

.botones-cursos-confi a {
    min-width: 130px;
    margin: 0px 10px;
}

.icono-ubicacion {
    background-image: url(img/Cursos/Iconos/Termografia.svg);
    width: 60px;
    height: 60px;
}


/* Bloques de encabezado (Dirección / Teléfono) */
.info-header-mx {
    background-color: #192946 !important; /* Azul oscuro corporativo */
    color: #ffffff !important;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* Iconos amarillos en cabeceras */
.info-header-mx .wp-block-image {
    width: 25px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(59%) saturate(3025%) hue-rotate(345deg) brightness(101%) contrast(95%); /* Convierte a #F8BE13 */
}

/* Tarjetas de Equipo */
.tarjeta-equipo-mx {
    text-align: center;
    background: transparent;
    margin-top: 140px;
}

/* Foto Circular con borde blanco */
.tarjeta-equipo-mx .wp-block-image img {
    border-radius: 50% !important;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: -40px; /* Superposición sobre el fondo azul */
    position: relative;
    z-index: 2;
}

/* Tarjetas de Equipo */
.tarjeta-equipo-mx-director {
    text-align: center;
    background: transparent;
    margin-top: -140px;
}

/* Foto Circular con borde blanco */
.tarjeta-equipo-mx-director .wp-block-image img {
    border-radius: 50% !important;
    border: 25px solid #192946;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: -165px;
    position: relative;
    background: white;
    z-index: 2;
}

.tarjeta-azul-director {
    background-color: #192946;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.contorno-tarjeta-contacto {
    border: solid gray 1px;
}

.tarjeta-equipo-mx-segunda-linea {
    text-align: center;
    background: transparent;
    margin-top: -140px;

}

.tarjeta-equipo-mx-segunda-linea .wp-block-image img {
    border-radius: 50% !important;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: -40px; /* Superposición sobre el fondo azul */
    position: relative;
    z-index: 2;
}


/* --- RESPONSIVE TABLET / MOBILE (Ajuste a 1024px) --- */
    @media (max-width: 1024px) {
    .header {
        height: auto; /* Quitamos la altura fija de 170px */
        padding: 15px !important;
    }

    .header-main-container {
        flex-direction: column;
    }

    .header-logo {
        position: static; /* Quitamos top: 6px y left: 287px */
        margin-bottom: 20px;
        width: 100px;
        height: 120px;
    }

    .header-titles {
        width: 100%;
    }

    /* Ocultamos elementos que saturan el móvil */
    .header-title-1, .header-title-2, .header-title-3, .header-title-4 {
        display: none; 
    }

    .header-titles-line1 {
        justify-content: center;
        height: auto;
        margin-bottom: 15px;
    }

    .header-title-4 {
        text-align: center;
        width: 100%;
    }

    /* Menú de navegación móvil */
    .header-titles-line2 {
        flex-direction: column;
        height: auto;
    }

    .header-titles-element {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px 0;
        background: #192946; /* Color oscuro para que se vea sobre el fondo */
        color: white;
    }

    /* Tarjetas de Equipo */
    .tarjeta-equipo-mx {
        text-align: center;
        background: transparent;
        margin-top: auto;
    }

    /* Foto Circular con borde blanco */
    .tarjeta-equipo-mx .wp-block-image img {
        border-radius: 50% !important;
        border: 5px solid #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        width: 150px;
        height: 150px;
        object-fit: cover;
        position: relative;
        z-index: 2;
    }

    /* Tarjetas de Equipo */
    .tarjeta-equipo-mx-director {
        text-align: center;
        background: transparent;
        margin-top: auto;
    }

    /* Foto Circular con borde blanco */
    .tarjeta-equipo-mx-director .wp-block-image img {
        border-radius: 50% !important;
        border: 25px solid #192946;
        width: 250px;
        height: 250px;
        object-fit: cover;
        position: relative;
        background: white;
        z-index: 2;
    }

    .tarjeta-azul-director {
        background-color: #192946;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .contorno-tarjeta-contacto {
        border: solid gray 1px;
    }

    .tarjeta-equipo-mx-segunda-linea {
        text-align: center;
        background: transparent;
        margin-top: auto;

    }

    .tarjeta-equipo-mx-segunda-linea .wp-block-image img {
        border-radius: 50% !important;
        border: 5px solid #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        width: 150px;
        height: 150px;
        object-fit: cover;
        margin-bottom: -40px; /* Superposición sobre el fondo azul */
        position: relative;
        z-index: 2;
    }

}

.logo-condiabilidadmx-contacto {
    background-image: url(img/Logotipos/ConfiabilidadMX.svg);
    width: 100%;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center;
}

.mapa-contacto {
    width: 100%;
}

.mapa-contacto iframe{
    width: 100%;
}

/* FORMULARIO */

/* Contenedor General */
.formulario-seccion-mx {
    background-color: #f1f4f9 !important; /* Fondo gris claro */
    padding: 50px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    WIDTH: 80%;
    height: calc(auto - 230px);
    align-self: center;
    justify-self: center;
    position: relative;
    top: -230px;
}

.form-titulo-principal {
    font-weight: 800 !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
    color: #000;
}

/* Separador Amarillo */
.form-separador-amarillo {
    width: 250px;
    height: 4px;
    background-color: #F8BE13;
    margin: 0 auto 40px auto;
}

/* Grid de Formulario */
.form-contenedor-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .form-grid-3-col { grid-template-columns: 1fr; }
}

/* Estilo de Inputs */
.selection-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.formulario-seccion-mx input, 
.formulario-seccion-mx select, 
.formulario-seccion-mx textarea {
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    margin: auto -15px !important;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
}

/* Botón con Flecha Amarilla */
.form-boton-container {
    margin-top: 20px;
}

.boton-enviar-mx {
    background-color: #192946 !important; /* Azul oscuro */
    color: #ffffff !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 30px !important;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}

.circulo-flecha {
    background-color: #F8BE13; /* Amarillo */
    color: #192946;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.boton-enviar-mx:hover {
    background-color: #111d33 !important;
}

/* FIN FORMULARIO */

.imagen-banner-midpage img {
    position: relative;
    width: 100%;
    height: 200px;
    left: 0px  ;
    margin: 0px;
}
.imagen-banner-midpage-degradado {
    position: relative;
    width: 100%;
    height: 200px;
    top: -30px;
    left: 0px  ;
    background: linear-gradient(to bottom, rgba(25, 41, 70, 1) 0%, transparent 100%);
    margin: 0px;
}

.imagen-banner-midpage {
    height: 0px;
}

.contenedor-formulario-contacto {
    margin-top: -280px;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle-btn {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* MÓVIL */
@media (max-width: 1024px) {

    .menu-toggle-btn {
        display: block;
    }

    .header-titles-line2 {
        display: none; /* OCULTO por defecto */
        flex-direction: column;
        width: 100%;
        background: #192946;
    }

    .header-titles-line2.active {
        display: flex; /* SE MUESTRA al hacer click */
    }

    .header-titles-element {
        width: 100%;
        padding: 15px;
        text-align: center;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* SUBMENÚS SIEMPRE OCULTOS */
    .submenu-container {
        display: none !important;
    }
}