/* ==========================================================================
   TUS ESTILOS BASE (Copiados exactamente)
   ========================================================================== */
html, body {
    position: relative; 
    width: 100%; 
    height: 100%;
}

::selection {
    background: #39adff;
    color: #fff;
}

::-moz-selection {
    color: #fff;
    background: #31353d;
}

body {
    font-size: 16px;    
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.68;
    font-weight: 400;
    color: #555;
    background-color: #fff;
}

/*** CONFIGURACIÓN DE H1 (GRANDE Y BLANCO) ***/
h1 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 28px !important; 
    color: #ffffff !important;  
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: 1px;
}

/*** CONFIGURACIÓN DE OTROS TÍTULOS ***/
h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.2;
    font-weight: 300;
    color: #414141;
}

h3 { font-size: 20px !important; }

p {
    margin-bottom: 20px;
}

blockquote, .blockquote {
    position: relative;    
    border: none;
    margin: 20px 0;
    padding: 30px;
    line-height: 1.2;
    border-left: 10px solid #39adff;
    font-size: inherit;
    color: #414141;
}

.image-icon i {
    color: #39adff;
}

blockquote h1, blockquote h3 {
    font-style: normal; 
    font-size: 22px; 
    margin-top: 14px;
}

blockquote h1:before, blockquote h3:before, 
blockquote h3:after {
    content: ' - ';
}

sup, .sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    top: -0.5em;
}

sub, .sub {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    bottom: -0.25em;
}

img { max-width: 100%; }

a {
    color: #39adff;
    text-decoration: none;
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

a:hover {
    color: #414141;    
    text-decoration: none;
    -webkit-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -o-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
    transition: all 0.1s linear 0s;
}

a:focus {
    color: #414141;
    outline: medium none;
    text-decoration: none;
}

a img {
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

a:hover img {
    opacity: 0.8;
}

iframe { border: none; max-width: 100%; }


/* ==========================================================================
   ESTILOS COMPLEMENTARIOS PARA MAQUETAR EL MENU (1200px máx)
   ========================================================================== */

/* Contenedor principal alineado a la dimensión de tu web */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Header con fondo blanco según tu regla body background */
.light_section {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-brand img {
    display: block;
    max-height: 55px;
    width: auto;
}

/* Menú de navegación */
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

/* Enlaces del menú usan las transiciones y pesos tipográficos */
.nav-list li a {
    text-decoration: none;
    color: #414141; /* Color gris oscuro de tus títulos */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* El hover del menú adopta tu color azul #39adff */
.nav-list li a:hover {
    color: #39adff;
}

/* El número de teléfono utiliza tu azul de enlaces destacado */
.phone-link {
    color: #39adff !important;
    font-weight: 700 !important;
}

.phone-link:hover {
    color: #414141 !important;
}

/* --- Botón Hamburguesa (Móvil) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #414141;
}

/* --- Responsive para dispositivos móviles --- */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .mainmenu_wrap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .mainmenu_wrap.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        display: block;
        padding: 5px 0;
    }
}
