@charset "utf-8";

hr{opacity: 1!important;}
hr.hr-border{border-top: 12px solid #e6e1d0; width: 60px;}
h1{color:#000;margin-bottom: 0px!important;font-size: var(--font-size-heading-slider)!important;
    font-weight: 500;
   line-height: 1.1;
    letter-spacing: -2.5px;
    position: relative;}
.header-image [class^="ico"]{height: 40px;margin-bottom: 12px;}
.header-image p.txt-header{color: #22446c;padding: 37px 0px;font-size: 20px;}
.header-image .box-cont{background-color: #00803900;padding: 20px;}
.header-image img{width: 100%;}
.header-image img.separador{width: 100px!important;}
.header-image .boxi {padding: 60px 30px;position: relative;overflow: hidden;background: #9c8311;box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);transition: all 0.3s ease-in-out;border-radius: 8px;z-index: 1;height: 100%;width: 100%;text-align: center;}
.header-image .boxi:hover {background: #009786;}
.header-image {width: 100%; position: relative;background-image: url(/sites/default/files/images/home/parallax1.jpg);background-position: center right;background-repeat: no-repeat;background-size: cover;}
.header-image .mask-header-image{background: linear-gradient(to top, #375542 2%, #375542 3%, #375542bd);}
.header-image .box-content {padding-bottom: 60px;}
.box-content{position: relative;}
.header-image:before {content: "";position: absolute;bottom: 0;top: 0;left: 0;right: 0;}
.header-image .container{width: 100%;padding-right: calc(1.5rem * .5);padding-left: calc(1.5rem * .5);margin-right: auto;margin-left: auto;}
.header-image,
.header-image .container,
/*.mask-header-image{min-height: 38vh}*/
.head-sub-title{font-size: 1.3rem; color:var(--primary-color); font-weight: 400;text-align: start;line-height: normal;}
.header-image-box{background-color: #22446c;}
.header-txt{padding: 35px 36px 28px 50px;}
.header-image-txt h2{ font-size: var( --font-size-heading2-slider); color:#FFF;}
.header-image-txt p{font-size: var(--font-size-subheading2-slider);color:#FFF;}
.svgico{width: 100px;height: 100%;}
.header-box .box-context{min-height: 50vh;}
.header-box .box-context h1 span {color:var(--secondary-color)!important;}
.header-box .box-context h1 {
    font-size: var(--font-size-heading-slider);
    font-weight: 500;
    margin-bottom: 50px;
    color: #FFFFFF!important;
    line-height: 1.1;
    letter-spacing: -2.5px;
    position: relative
}
/* Asegura que el contenedor se estira */
.img-svg{position: relative;
    background-image: url(/sites/default/files/images/slider/pattern.svg);
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    background-position-x: right;
    height: auto;}
.box-svgico {
  height: 100%;
  display: flex!important;
  align-items: stretch!important;
}

/* SVG ocupa todo el alto disponible */
.svgico {
  height: 100%;
  width: auto;
  object-fit: contain;
  max-height: 100vh; /* Para que no se salga nunca del viewport */
}

/*  Estilos generales para la cabecera */
.header-box .box-context p {
    color: #FFFFFF;
    margin-bottom: 41px;
    font-size: var(--font-size-subheading-slider);
    font-weight: bold;
    line-height: 1.5;
}

/*Estilos para pantallas muy pequeñas (máx. 425px) */

@media (max-width: 425px) {
    .header-box .box-context h1::before {
        left: 36%;
    }
    p.head-sub-title {
        font-size: 20px;
    }
    .header-image p.txt-header {
        padding: 10px 0px;
    }
    .header-image-box {
        display: none;
    }
  .header-box .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .header-box .row > [class^="col"] {
    padding-left: 0;
    padding-right: 0;
  }
  
}

/*Estilos para dispositivos móviles (hasta 575px) */
@media (max-width: 575px) {
    .header-txt {
        padding: 35px 0px 28px 0px;
    }
   
    .header-box .box-context h1 {
        font-size: 35px;
    }
    .header-box .box-context p {
        margin-bottom: 43px;
        font-size: 18px;
    }
    .header-box .box-context p br {
        display: none;
    }
}

/* Estilos para pantallas pequeñas (576px - 767px) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
    .header-txt {
        padding: 35px 0px 28px 0px;
    }
    .header-box .box-context h1 {
        font-size: 48px;
    }
    .header-box .box-context p {
        margin-bottom: 43px;
        font-size: 18px;
    }
    .header-box .box-context p br {
        display: none;
    }
}

/*  Estilos para pantallas medianas (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-box .box-context h1 {
        font-size: 50px;
    }
    .header-box .box-context p {
        margin-bottom: 43px;
        font-size: 21px;
    }
}

/*  Estilos para pantallas grandes (992px - 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header-box .box-context h1 {
        font-size: 60px;
    }
}

/*  Ajustes generales para pantallas grandes (hasta 1440px) */
@media (max-width: 1800px) {
    .header-image {
        background-size: cover;
        background-repeat: no-repeat;
    }

}
@media (max-width: 768px) {    
.header-image img.svgico {left: -550px;}
 }

/*  Ajustes para centrar elementos en pantallas pequeñas (hasta 769px) */
@media (max-width: 769px) {
    .box-context h1::before {
        left: 50% !important;
        transform: translateX(-50%);
    }
}

/*  Ocultar iconos en pantallas pequeñas (hasta 990px) */
@media (max-width: 990px) {
    .box-svgico {
        display: none;
    }
}


