:target {
    scroll-margin-top: 30px;
}

.section-information {
    display: flex;
}

.section-information * {
    flex: 1;
    box-sizing: border-box;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.section-title h2 {
    font-size: 1em;
    text-transform: uppercase;
    border: none;
}

.img-sobre-nosotros {
   width: 100%;
}

.margin-left-text {
    margin-left: 30px;
}

.filler-text {
    margin: 1.5rem 20px;
}

.title-principal {
    position: relative;
    display: inline;
    font-size: 2em;
    margin-bottom: .6em;
}
.title-principal::before {
    content: '';
    display: block;
    width: 100%;
    height: 19px;
    background-image: url(../images/bg-title.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -.5em;
}
.title-img {
    color: gray;
    font-size: 1.2em;
    font-weight: normal;
    text-transform: none;
    text-align: center;
}
/*TRABAJOS*/

.trabajos-container {
    padding: 35px 0;
}

.aside-trabajos {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(4, 2fr);
    gap: 10px; /* Espacio entre las celdas */
}


.item {
    background-color: #ddd;
    border: 1px solid #999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item1, .item2, .item3, .item4 {
    height: 30rem;
}

.item4 {
    grid-row: span 2; /* Ocupa dos filas */
}

.item5 {
    grid-row: span 2; /* Ocupa dos filas */
    grid-column: span 2; /* Ocupa dos columnas */
}

.item6 {
    grid-row: 1; /* Ocupa una fila */
    grid-column: span 2; /* Ocupa dos columnas */
}

/*SPACING GREEN AND GREY */

.middle-highlight {
    background: rgb(92,92,92);
    background: linear-gradient(-75deg, rgba(92,92,92,1) 50%, rgba(155,194,3,1) 50%);
}

.middle-highlight .highlight-content {
    display: flex;
    max-width: 1280px;
    box-sizing: border-box;
    background-color: transparent;
    gap: 4em;
}

.middle-highlight .highlight-content > * {
    display: flex;
    flex: 1;
    flex-grow: 1;
    align-items: center;
}

.middle-highlight .highlight-content>*.flex-column {
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.middle-highlight .highlight-content section {
    padding: 2em 0;
}
.middle-highlight .highlight-content section > * {
    margin: 0;
    color: #fff;
}
.middle-highlight .highlight-content section h1 {
    font-size: 3em;
}

.middle-highlight .highlight-content section h2 {
    margin-bottom: .6em;
    font-size: 1.3em;
    border: none;
}
.middle-highlight .highlight-content section:first-child h2 {
    color: #5c5c5c;
}
.middle-highlight .highlight-content section:last-child h2 {
    color: #9bc203;
}

.middle-highlight .highlight-content section p {
    font-size: 1em;
}
.middle-highlight .highlight-content section .button {
    margin-left: 1em;
}
.padding-r {
    padding-right: 38px;
}

.padding-l {
    padding-left: 45px;
}


.color-one, .color-two {
    flex: 1;
    position: relative;
}

.aling-center {
    text-align: center;
    display: flex;
    align-items: center;
}

.aling-button {
    float: right;
    justify-content:flex-end ;
    margin-top: 1rem;
    margin-right: 5rem;
    display: block;
    color: white;
}

.margin-text {
    margin: 0.5rem 0;
    color: white;
    text-align: left;
}

.margin-text1 {
    margin: 0.5rem 2rem;
    color: white;
}


.big-text {
    font-size: 3.75rem;
    color: white;
    text-align: center;
    margin: 67px 0;
    font-weight: bold;
}

.align-section {
    margin-top: 20px;
    font-size: 30px;
}

.align-section3 {
    margin-top: 20px;
    padding-left: 70px;
    font-size: 30px;
}

/*TESTIMONIOS*/

.testimonials {
    overflow: hidden;
    padding-bottom: 2em;
}
.testimonials__viewport {
    display: flex;
    margin-left: 1em;
}
.testimonials__slide {
    min-width: 0;
}

.div-margin-separator-testimonials {
    margin-top: 50px;
}

.section-testimonials {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
}

.title-testimonial {
    padding: .5em 0;
    margin-bottom: .5em;
    border-bottom: 1.5px solid #9bc203;
}

.text-testimonial {
    overflow: hidden;
    margin-bottom: .5em;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical; 
}

.box-comment1 {
    position: relative;
    padding: 20px;
    border: 2px solid #9bc203; 
    box-sizing: border-box;
}

.box-comment1:before {
    content: '';
    position: absolute;
    bottom: -20px; 
    left: 10%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #9bc203;
    border-bottom: 0;
    border-left: 0;
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 5px 5px 0 0;
}

.box-comment1:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 10%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-top-color: white; 
    border-bottom: 0;
    border-left: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.testimonials-container {
    width: 100%;
    max-width: 1280px;
    position: relative;
    padding: 0 1em;
}

.testimonials-wrapper {
    width: 100%;
    height: max-content !important;
    padding-bottom: 64px !important;
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}

.testimonials-pagination {
    display: flex;
    gap: 8px;
}
.testimonials-pagination .embla__dot {
    width: 8px;
    height: 8px;
    background: #9bc203;
    border-radius: 4px;
}

.testimonials-pagination .embla__dot--selected {
    background: #9bc203 !important;
    width: 30px;
    border-radius: 5px;
}

.fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc((100% - 1280px) / 2);
    z-index: 1;
}

.testimonials-pagination {
    bottom: 0 !important;
    top: -.5em !important;
    width: auto !important;
    position: relative !important;
}

.testimonials-fade-right, .gallery-right {
    cursor: pointer;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.testimonials-fade-left, .gallery-left {
    cursor: pointer;
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.testimonials-container-relative {
    position: relative;
}

/* START */
#carousel .carousel-clip-image {
    clip-path: inset(10% 0 10% 0);
    margin-top: -10%;
    margin-bottom: -10%;
}

#carousel .carousel-clip-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
/* END */

.carousel-container {
    overflow: hidden;
}
.carousel {
    display: flex;
}
.carousel-item {
    flex: 0 0 100%;
    min-width: 0;
}
.carousel-container {
    width: 100%;
    margin-top: -60px;
    border-bottom: 15px solid #9bc203;
}
.carousel-wrapper {
    width: 100%;
    height: max-content !important;
    padding-bottom: 0 !important;
}
.carousel-pagination > * {
    cursor: pointer;
    width: 8px;
    height: 8px;
    border-radius: 4px;
}
.carousel-pagination {
    position: absolute;
    z-index: 10;
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
    bottom: 1em;
}
.carousel-pagination .embla__dot {
    background: #9bc203;
}
.carousel-pagination .embla__dot--selected {
    background: #9bc203 !important;
    width: 30px;
    border-radius: 5px;
}
.carousel-left,
.carousel-right {
    cursor: pointer;
}
.carousel-left {
    right: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
}
.carousel-right {
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
}

.gallery-pagination {
    position: absolute;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.gallery-pagination .swiper-pagination-bullet {
    background: #9bc203;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: #9bc203 !important;
    width: 30px;
    border-radius: 5px;
}