#home-page {
    /* max-width: 1449px; */
    margin: 0 auto;
}


/* Video */

#home-slider .content-video-home {
    height: 70vh;
}

#home-slider .video-home {
    object-fit: cover;
    width: 100%;
    height: 70vh;
}


/* Viewer */

#viewer_home {
    width: 100%;
    min-height: 55vh;
}

#viewer_home .slider-image {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 55vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#viewer_home .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    color: #fff;
}

#viewer_home .hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

#viewer_home .hero-inner {
    max-width: 640px;
}

#viewer_home .hero-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 17px rgba(0, 0, 0, 0.6);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.7);
}

#viewer_home .hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}


/*
#viewer_home .slider-image .img-viewer {
	width: 100%;
	height: 100%;
    min-height: 100vh;
    object-fit: cover;
}

#viewer_home .slider-image .img-viewer.first {
	max-width: 50%;
	object-fit: contain;
}
*/


/* #viewer_home .slider-logo-super .image-logo-super {
	aspect-ratio: 16/9;
} */

#viewer_home .slider-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

#viewer_home .slider-down .arrow-down {
    color: #555;
    font-size: calc(2.5em + 2vw);
    /* 76px; */
    cursor: pointer;
}

#viewer_home .slider-down .arrow-down:hover {
    color: #555;
}

@media (max-width: 576px) {
    #viewer_home .slider-down .arrow-down {
        font-size: 1.25em;
    }
}


/* Texts */

#home-presentation .home-presentation {
    display: flex;
    justify-content: center;
    height: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
}

#home-presentation .text-home-presentation {
    max-width: 70%;
    font-size: 18px;
}

#home-presentation .title-home-presentation {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 0.9em;
}

#home-presentation .description-home-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

#home-footer .img-home-footer {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    min-height: 325px;
    object-fit: cover;
}


/* Table */

#home-presentation .description-home-presentation table {
    width: 50% !important;
    max-width: 100%;
    font-size: 18px;
    border: 0;
    color: #fff;
    background: rgb(47, 85, 112);
    box-shadow: 1px 2px 4px #555;
}

#home-presentation .description-home-presentation table tr {
    height: 70px !important;
}

#home-presentation .description-home-presentation table td {
    padding: 2px 20px;
}

.intro {
    background: #fff;
    padding: 1px 0 20px;
}

.intro__wrap {
    max-width: 75%;
    /* margin:0 auto; */
    /* padding:0 24px; */
    text-align: start;
    margin: 20px auto
}

.intro__title {
    font-size: 26px;
    /* margin:0 0 18px; */
    font-weight: 400;
    letter-spacing: 0.5px;
}

.intro__text {
    max-width: 900px;
    /* margin:0 auto 50px; */
    /* font-size:1.2rem;
	line-height:1.8; */
    color: #3b3b3b;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
}

.intro__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    font-size: 1.2rem;
    transition: 0.2s ease;
    border: 1px solid #AE001C;
    color: #AE001C;
}

.intro__btn:hover {
    background-color: #AE001C;
    color: #fff;
}

.intro__btn--chevron::after {
    content: ">";
    margin-left: 0.5rem;
}


/*  Carrousel cards */

.hl-carousel {
    position: relative;
    padding: 24px 48px;
}

.hl-carousel__viewport {
    overflow: hidden;
}

.hl-carousel__track {
    display: flex;
    gap: 24px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 8px 0 16px;
}

.hl-card {
    flex: 0 0 calc(33.333% - 24px);
    min-width: 260px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.hl-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .hl-card {
        flex: 0 0 calc(50% - 24px);
    }
}

@media (max-width: 768px) {
    .hl-card {
        flex: 0 0 100%;
        max-width: 95%;
        margin: 0 auto;
    }
}

.hl-card,
.hl-card * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.hl-card__image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    touch-action: none;
    /* desactiva gestos del navegador (p. ej. scroll/zoom) */
    cursor: grab;
}

.hl-card__image:active {
    cursor: grabbing;
}


/* .hl-card__image img {
	touch-action: none;
	cursor: grab;
} */

.hl-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.hl-card__image,
.hl-card__image img {
    pointer-events: auto;
}

.hl-card__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #AE001C;
}

.hl-card__desc {
    margin-bottom: 16px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.hl-card__title {
    margin-bottom: 12px;
}

.hl-card__image {
    margin-top: 20px;
}

.hl-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #1f1f1f;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: .9;
}

.hl-carousel__btn:hover {
    opacity: 1;
}

.hl-prev {
    left: 8px;
}

.hl-next {
    right: 8px;
}

.hl-carousel__track {
    scroll-padding-inline-end: 8px;
    /* o 24px si te gusta más aire */
}

.hl-carousel__track::-webkit-scrollbar {
    height: 8px;
}

.hl-carousel__track::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 999px;
}

.highlighted__intro {
    background: #ffffff;
    padding: 60px 0;
}

.highlighted__wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: #333;
}

.highlighted__title {
    font-size: 26px;
    margin: 0 0 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.highlighted_text {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

@media (max-width: 992px) {
    #home-presentation .description-home-presentation table {
        width: 70% !important;
    }
}

@media (max-width: 768px) {
    #home-presentation .description-home-presentation table {
        width: 100% !important
    }
}

@media (max-width: 576px) {
    #home-presentation .description-home-presentation table {
        width: 80% !important;
    }
}

#home-presentation .img-home-presentation {
    width: 100%;
    height: 50vh;
    min-height: 480px;
    object-fit: cover;
}

@media(min-width: 1900px) {
    #home-presentation .home-presentation,
    #home-presentation .img-home-presentation {
        min-height: 760px;
    }
}

@media(max-width: 576px) {
    #home-slider .logo-presentation {
        max-width: 180px;
    }
    #home-presentation .text-home-presentation {
        max-width: 100%;
    }
}

#cms_projectes {
    padding: 22px;
    margin: 0;
}

.home_projects {
    margin: 0;
    padding-inline: 35px;
}

.project {
    padding-inline: 18px;
    break-inside: avoid;
}

.masonry {
    column-count: 1;
}

@media (min-width: 768px) {
    .masonry {
        column-count: 3;
    }
}

.hl-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hl-card__desc {
    flex-grow: 1;
    margin-bottom: 20px;
}

.hl-card__image {
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
}

.hl-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hl-card {
    align-items: stretch;
}

.highlighted-services {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.highlighted-item {
    margin-bottom: 4rem;
}

.highlighted-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    color: #3b3b3b;
    margin-bottom: 1rem;
}

.highlighted-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.highlighted-link {
    font-weight: 700;
    text-decoration: underline;
    color: #0052cc;
}

.highlighted-link:hover {
    color: #003e99;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .highlighted-title {
        font-size: 1.8rem;
    }
}

.fa-arrow-up-right-from-square::before {
    color: #AE001C
}