:root{
    --global-gradient: radial-gradient(ellipse at center, rgb(16 109 217) 0%, rgb(0 84 160) 100%);
}
.slide-banner .swiper-slide:before{
    background: linear-gradient(
        to bottom,  
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0) 100%
    );
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
    height: 440px;
    opacity: .8;
}
.slide-banner .swiper-slide:after{
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
    height: 100%;
    opacity: .9;
    transition: all .2s linear;
}
.slide-banner .swiper-slide{
    background: var(--global-gradient)
}
.slide-banner .swiper-slide img{
    opacity: .8;
}
.slide-banner .swiper-slide article {
    left: 0;
    bottom: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
}
.title-banner{
    font-size: 3.2vw;
    line-height: 3.25vw;
}
.title-banner strong{
    color: var(--tertiary);
    font-weight: inherit;
}
.description-banner{
    font-size: 1.2vw;
}
.slide-banner .swiper-slide .btn{
    font-size: 1vw;
}
.divider-banner{
    width: 4vw;
    height: 5px;
}
.swp-arrows .swiper-arrows{
    position: relative!important;
    top: 0;
    transform: translateY(0);
}
.swp-arrows {
    left: 0;
    bottom: 50%;
    width: 100%;
    transform: translateY(50%);
    z-index: 2;
}
/* .slide-banner .swiper-slide a{
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
} */
 .slide-banner .swiper-slide a:hover{
    color: var(--primary);
 }

.year-since{
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.year-since{
    line-height: 1;
    font-size: clamp(18px, 2vw, 35px);
}
.year-since span{
    font-size: 2em;
    display: block;
}
.grid-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 276px;
    grid-gap: 2rem;
}

.grid-products__item{
    overflow: hidden;
    position: relative;
}
.grid-products__item img,
.item-blog img{
    transition: opacity .2s linear,  transform .2s linear,  filter .2s linear;
}
.grid-products__item:hover figure img,
.item-blog:hover figure img{
    transform: scale(1.3) rotate(5deg);
    filter:brightness(112%) contrast(110%);
}

.grid-products__item figure,
.grid-products__item figure picture{
    height: 100%;
    width: 100%;
}
.grid-products__item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.grid-products__item:nth-child(1) {
    grid-row-start: span 2;
    grid-column-start: span 2;
}
.grid-products__item:nth-child(2),
.grid-products__item:nth-child(5),
.grid-products__item:nth-child(6){
    grid-column-start: span 2;
}
.grid-products__item:nth-child(1) img{
    aspect-ratio: 1/1;
}
.grid-products__item a.category-title{
    background: linear-gradient(135deg,  rgba(0,0,0,.95) 0%,rgba(0,0,0,0) 75%);
    font-size: 22px;
    font-weight:700;
    line-height: 1.2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.grid-products__item a.category-title h3{
    font-size: 22px;
}
.grid-products__item a.category-title span{
    color: var(--secondary);
}
.proceso-container{
    background: var(--global-gradient);
    overflow: hidden;
}
.proceso-container img{
    opacity: .3;
    object-fit: cover;
}
.proceso-container img,
.proceso-container figure{
    height: 100%;
}
.proceso-container picture{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.proceso-container picture:last-child{
    z-index: 1;
}
.proceso-container picture:last-child img{
    mix-blend-mode: luminosity;
}
.proceso-container figure:after,
.proceso-container figure:before{
    content: '';
    height: 100%;
    left: 0;
    mix-blend-mode: multiply;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}
.proceso-container figure:after{
    background: linear-gradient(to bottom,  rgba(18, 39, 86, 0) 50%,rgba(18, 39, 86, 1) 100%);
}
.proceso-container figure:before{
    background: linear-gradient(to bottom,  rgba(18, 39, 86, 0) 0%,rgba(18, 39, 86, 1) 100%);
}
.proceso-info,
.proceso{
    left: 0;
    z-index: 5;
}
.proceso-info{
    top: 0;
}
.proceso{
    bottom: 0;
    width: 70%;
}
.proceso ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.proceso ul > span{
    width: 10vw;
    margin-top: 25px;
}
.proceso ul > li{
    align-items: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}
.proceso ul > li > span{
    align-items: center;
    aspect-ratio: 1/1;
    border: 2px solid var(--tertiary);
    border-radius: 50%;
    display: flex;
    font-weight: 600;
    justify-content: center;
    width: 50px;
}

.calidad a{
    text-decoration: underline;
}
.item-blog:not(.item-featured) h3{
    font-size: 16px;
}
.item-blog:not(.item-featured) span{
    font-size: 13px;
}
.item-blog figure{
    overflow: hidden;
}
.item-blog a{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.bg-home-footer{
    background: var(--global-gradient);
}
.bg-home-footer>figure img{
    object-fit: cover;
    mix-blend-mode: luminosity;
    opacity: .3;
}
.bg-home-footer>figure:after{
    background: linear-gradient(to bottom,  rgba(18, 39, 86, 0) 0%,rgba(18, 39, 86, 1) 100%);
    content: '';
    height: 100%;
    left: 0;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 100%;
}
.bg-home-footer>figure,
.bg-home-footer>figure>picture,
.bg-home-footer>figure>picture>img{
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;

}
.bg-home-footer a span{
    text-decoration: underline;
}
@media screen and (min-width:1080px) {
    .overlap header{
        box-shadow: none;
        background-color: transparent;
        left: 0;
        position: absolute;
        top: 0;
    }
    header:not(.fixed-header) .main-menu > .menu-item.level-0 > a,
    header:not(.fixed-header) .main-menu > .menu-item.level-0 > .menu-link-wrapper,
    header:not(.fixed-header) .main-menu > .menu-item.level-0 > .menu-link-wrapper > a,
    header:not(.fixed-header) .main-menu > .menu-more-button {
        color: #ffffff;
    }
    .logo-overlap,
    .fixed-header .logo-color{
        display: block!important;
    }
    .logo-color,
    .fixed-header .logo-overlap{
        display: none!important;
    }
    .overlap header.fixed-header{
        background-color: var(--white);
    }
    .swiper-slide{
        position: relative;
    }
    .overlap .hide-menu{
        display: none;
    }
}
@media screen and (min-width:992px) {
    .proceso-info{
        width: 60%;
    }
    .calidad{
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 400px;
        z-index: 5;
        width: 32.5%;
    }
    .proceso-container{
        width: 83.4%;
    }
}
@media screen and (min-width: 768px) {
    .slide-banner .swiper-slide::after {
        background: linear-gradient(
            to right,
            rgba(6,15,45,1) 0%,
            rgba(6,15,45,0) 100%
        );
    }

    .slide-banner .swiper-slide.gradient-reverse::after {
        background: linear-gradient(
            to left,
            rgba(6,15,45,1) 0%,
            rgba(6,15,45,0) 100%
        );
    }
    .gradient-reverse article{
        justify-content: flex-end;
        text-align: end
    }
    .gradient-reverse .divider-banner{
        margin-left: auto;
    }
}
@media screen and (max-width:1180px) {
    .grid-products {
        grid-auto-rows: 216px;
        
    }
}
@media only screen and  (max-device-width : 1080px) and (orientation : portrait) {
    .slide-banner .swiper-slide:before{
        display: none;
    }
    .grid-products {
        grid-auto-rows: 172px;
        grid-gap: 1rem;
    }
    .grid-products__item a.category-title,
    .grid-products__item h3{
        font-size: 18px;
    }
}
@media screen and (max-width:767px) {
    .slide-banner .swiper-slide:after{
        background: linear-gradient(
            to top,  
            rgba(6,15,45,1) 0%,
            rgba(6,15,45,0) 100%
        );
    }
    .title-banner{
        font-size: 7vw;
        line-height: 7vw;
    }
    .description-banner{
        font-size: 3.5vw;
    }
    .slide-banner .swiper-slide .btn{
        font-size: 3.5vw;
    }
    .divider-banner{
        width: 10vw;
        height: 5px;
    }
    .swp-arrows {
        bottom: 2rem;
        transform: translateY(0);
    }
    .swp-arrows .swiper-prev{
        left: 0;
    }
    .swp-arrows .swiper-next{
        right: 0;
    }
    .grid-products {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 150px;
    }
    .grid-products__item:nth-child(1) {
        grid-row-start: span 1;
        grid-column-start: span 1;
    }
    .grid-products__item:nth-child(2),
    .grid-products__item:nth-child(5),
    .grid-products__item:nth-child(6){
        grid-column-start: span 1;
    }
    .item-blog:not(.item-featured) h3{
        font-size: 14px;
    }
    .item-blog:not(.item-featured) span{
        font-size: 12px;
    }
    .bg-home-footer .container figure img{
        width: 25%;
    }
}
/* La primera nota ocupa la mitad del grid y las dos filas. */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
.home-blog-grid__item { min-width: 0; }
.home-blog-grid__item--lead {
    grid-column: span 2;
    grid-row: span 2;
}
.home-blog-grid__item--lead .item-blog {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home-blog-grid__item--lead figure {
    position: relative;
    flex: 1;
    min-height: 260px;
}
.home-blog-grid .home-blog-grid__item--lead figure picture,
.home-blog-grid .home-blog-grid__item--lead figure img,
.home-blog-grid .home-blog-grid__item--lead .blog-logo-placeholder {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
}
.home-blog-grid__item--lead figure > picture,
.home-blog-grid__item--lead figure > .blog-logo-placeholder {
    position: absolute;
    inset: 0;
}
.home-blog-grid .home-blog-grid__item--lead .blog-logo-placeholder img {
    height: auto;
    object-fit: contain;
}
@media (max-width: 767px) {
    .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .home-blog-grid__item--lead { grid-row: auto; }
    .home-blog-grid__item--lead figure { flex: none; aspect-ratio: 1 / 1; }
}
