body{
    background-color: #ecebeb;
}

.logo-nav {
    width: 11rem;
    position: absolute;
    filter: drop-shadow(0 0 6px #000)
            drop-shadow(0 0 20px #000)
            drop-shadow(0 0 20px #000);
    top: 0.6rem;
}

.nav {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
}

.nav-dropdown{
    color: #155488 !important;
}

.nav-dropdown:hover{
    background-color: #568fbd !important;
    color: #ffffff !important;
}

/* Tablets */
@media (max-width: 992px) {
    .logo-nav {
        position: relative;
    }
    header{
        margin-bottom: 6rem !important;
    }
}
/* Celulares grandes / tablets pequeñas */
@media (max-width: 768px) {
    .logo-nav {
        position: relative;
    }
    header{
        margin-bottom: 6rem !important;
    }
}
/* Ajuste solo para móvil */
@media (max-width: 576px) {
    .logo-nav {
        position: relative;
    }
    header{
        margin-bottom: 6rem !important;
    }
}



.nav{
    background-color: black !important;
    font-size: 13px !important;
}

.a_nav:hover,.color-azul-palabras-clave{
    color: #1d70b5 !important;    
}
.a-enlaces{
    color: #1d70b5 !important;    
}
.a-enlaces:hover{
    color: #568fbd !important;    
}

.color-azul-objetos-clave{
    background-color: #1d70b5 !important;
}

.color-azul-boton-clave{
    background-color: #1d70b5 !important;
    color: #ffffff !important;
}
.color-azul-boton-clave:hover{    
    background-color: #568fbd !important;
    color: #ffffff !important;
}

.color-blanco-boton-clave{
    border-radius: 10rem;
    background-color: #ffffff !important;
    color: #1d70b5 !important;
    padding: 0rem 1rem 0rem 1rem!important;
    font-size: 20px !important;
}
.color-blanco-boton-clave:hover{
    background-color: #568fbd !important;
    color: #ffffff !important;
}


/*Fondo Secciones Inicio*/
/* Fondo de la primera seccion */
.fondo_section1 {
    position: relative;
    background: url('../images/secciones_home/fondo_section1.webp') center center / cover no-repeat;
    overflow: hidden;
    background-position: -5px center;
    background-size: calc(100% + 6px) 100%;
    padding: 8rem;
    min-height: 30rem;
    height: auto;
}

/* Capa oscura o clara encima del fondo */
.fondo_section1::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Asegura que el contenido quede visible sobre la capa */
.fondo_section1 * {
    position: relative;
    z-index: 2;
}

/* Tamaños de texto fluidos, se ajustan solos entre móvil y desktop */
.fondo_section1 h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    line-height: 1.2;
}

.fondo_section1 h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.fondo_section1 .btn .fs-1 {
    font-size: clamp(1.2rem, 3vw, 1.75rem) !important;
}

.fondo_section1 .btn .fs-3 {
    font-size: clamp(1rem, 2.2vw, 1.5rem) !important;
}

/* Tablets */
@media (max-width: 992px) {
    .fondo_section1 {
        padding: 5rem 3rem;
        min-height: 26rem;
    }
}

/* Celulares grandes / tablets pequeñas */
@media (max-width: 768px) {
    .fondo_section1 {
        padding: 4rem 2rem;
        min-height: 24rem;
        background-position: 70% center !important;
        background-size: cover !important;
    }

    .fondo_section1::before {
        background-color: rgba(0, 0, 0, 0.45) !important;
    }
}

/* Ajuste solo para móvil */
@media (max-width: 576px) {
    .fondo_section1 {
        padding: 3rem 1.5rem;
        min-height: 22rem;
        background-position: 75% center !important;
        background-size: cover !important;
    }

    .fondo_section1::before {
        background-color: rgba(0, 0, 0, 0.55) !important;
    }

    .fondo_section1 .btn {
        padding: 0.6rem 1.5rem !important;
    }

    .fondo_section1 .btn i {
        margin-right: 0.5rem !important;
    }
}

/*Fondo Secciones Sobre Nosotros*/
/* Fondo de la segunda seccion */
.fondo_section2 {
    position: relative;
    height: 450px;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0) 27%,
            rgba(0, 0, 0, 0.4) 38%,
            rgba(0, 0, 0, 0.75) 46%,
            #000 55%,
            #000 100%
        ),
        url('../images/secciones_home/fondo_section2.webp');

    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
}

.fondo_section2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.fondo_section2 > * {
    position: relative;
    z-index: 2;
}

.fondo_section2 h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.fondo_section2 h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.fondo_section2 p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Tablets */
@media (max-width: 992px) {
    .fondo_section2 {
        height: auto !important;
        min-height: 28rem;
        padding: 3rem 0;
        background:
            linear-gradient(
                to right,
                rgba(0, 0, 0, 0) 10%,
                rgba(0, 0, 0, 0.5) 25%,
                rgba(0, 0, 0, 0.85) 35%,
                #000 45%,
                #000 100%
            ),
            url('../images/secciones_home/fondo_section2.webp') !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: right center !important;
    }
}

/* Móvil */
@media (max-width: 576px) {
    .fondo_section2 {
        height: auto !important;
        min-height: 26rem;
        padding: 2.5rem 1rem;
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.75) 0%,
                rgba(0, 0, 0, 0.92) 100%
            ),
            url('../images/secciones_home/fondo_section2.webp') !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: 75% right !important;
    }

    .fondo_section2 .row {
        justify-content: center !important;
    }

    .fondo_section2 [class*="col-"] {
        text-align: center;
    }

    .fondo_section2 [class*="col-"] .text-start {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/*BORDE DE TODOS LOS form*/
.input-form-desing{
    border-color: #95bfe2 !important;
}