

:root{
    --wrb-primary-text: #52555B;
    --wrb-primary-text1: #77797E;
}


/* Project Module */
.my-custom-module-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

@media (max-width: 900px) {
    .my-custom-module-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .my-custom-module-projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-item {
    text-align: center;
}

.project-thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.project-title {
    margin: 12px 0 8px 0;
    font-size: 1.8em;
    color: #878787;
}

.project-excerpt {
    font-size: 1em;
    color: #666;
}

/* Project Module */


/* Testimonials */

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 2rem 1rem;
}

.testimonial {
    background: transparent;
    padding: 1rem;
    position: relative;
    font-family: "Helvetica", sans-serif;
}

.quote-symbol {
    font-size: 3.4rem;
    font-weight: bold;
    color: #000;
    display: block;
    line-height: 1;
    text-align: left;
}

.quote-symbol.closing {
    text-align: right;
}

.testimonial-text {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.6;
    margin: 1rem 0;
}

.testimonial-author {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */



/* Team Members */
.team-members {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 60px;
}

.team-member {
    text-align: left;
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    filter: grayscale(100%);
}

.team-member h3 {
    font-weight: bold;
    padding: 0;
}

.team-member p {
    padding: 0;
    line-height: 32px;
    font-size: 24px;
    margin-top: 10px;
}

/* Team Members */
/* Portfolio Items */
.portfolio-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    column-gap: 60px;
    row-gap: 52px;
}
.portfolio-item img{
    width: 100%;     
}
.portfolio-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 88px;
    padding: 0px 50px;
}

.portfolio-filter button {
    background: transparent;
    outline: none;
    border: 0;
    font-size: 28px;
    color: var(--wrb-primary-text1);
}
button.filter-btn.naves-industriales-locales-y-oficinas {
    max-width: 350px;
}
button.filter-btn.active {
    font-weight: 700;
    color: var(--wrb-primary-text);
    position: relative;
}

button.filter-btn.active:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: gray;
    bottom: 20px;
}
button.filter-btn.naves-industriales-locales-y-oficinas.active:before {
    bottom: -10px;
}
/* Custom Quote Styles */
span.right-quote {
    position: absolute;
    right: 0;
    transform: rotate(180deg);
}
.wrb-custom-quote-content {
    font-size: 22px;
    text-align: center;
    line-height: 1.3em;
}
.wrb-custom-quote {
    position: relative;
}
h6.dicm-author {
    text-align: center;
    margin-top: 30px;
    font-size: 24px !important;
    color: var(--wrb-primary-text);
    font-weight: 500 !important;
}
/* Custom Quote Styles */
.dicm-project-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    margin-left: 70px;
    margin-right: 40px;
    align-items: center;
    margin-bottom: 45px;
}
.info-list .info-item {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
}
span.info-key {
    font-size: 32px;
    font-weight: 700;;
}
span.info-value {
    font-size: 32px;
}
.dicm-project-right .img1 {
    margin-bottom: 20px;
}

/* Before After */

.before-after-container {
  position: relative;
  width: 100%;
  height: 600px;
  border: 2px solid white;
}
.before-after-container .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 900px 100%;
}
.before-after-container .slider {
  position: absolute;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  background: rgba(242, 242, 242, 0.3);
  outline: none;
  margin: 0;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.before-after-container .slider:hover {
  background: rgba(242, 242, 242, 0.1);
}
.before-after-container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 6px;
  height: 600px;
  background: white;
  cursor: pointer;
}
.before-after-container .slider::-moz-range-thumb {
  width: 6px;
  height: 600px;
  background: white;
  cursor: pointer;
}
.before-after-container .slider-button {
  pointer-events: none;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.before-after-container .slider-button:after {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.before-after-container .slider-button:before {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(135deg);
}
.img.foreground-img {
    width: 50%;
}
/* Before After */

/* Gallery */

ul.project-gallery-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));  
    row-gap: 45px;
    column-gap: 45px; 
    box-sizing: border-box;
    margin: 0;
    padding: 0px !important;
}

ul.project-gallery-list li {
    list-style: none;
    position: relative;
    display: inline-block;
}
ul.project-gallery-list li img {
    width: 100%;
    height: auto; 
    transition: transform 0.3s ease;
}
/* Gallery */

.yhs-wrb-button {
 border: none !important;
  border-bottom: 2px solid #9A9A9A !important;
  color: #9A9A9A !important;
}

.yhs-wrb-button:hover {
  background: transparent !important;
}
.banner-overlay{
    position: relative;
}
.banner-overlay .et_pb_slide:before {
    content: "";
    position: absolute;
    background: black;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    opacity: .4;
}
.single-project {
    overflow-x: hidden;
}
.global-header-column .et_pb_column_1_tb_header,
.global-header-column .et_pb_column_2_tb_header, 
.global-header-column .et_pb_column_3_tb_header {
    margin-right: 1.4%!important;
}