/* --------------------------------------------------------------------------
   WIDGET: PISCINAS GANDUGLIA - TRABAJOS DESTACADOS (Isolated cb7e0cca)
-------------------------------------------------------------------------- */

.pgw-works-cb7e0cca {
  padding: 112px 24px 120px;
  background: #FAF8F4;
  box-sizing: border-box;
}

.pgw-container-cb7e0cca {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Header Alignment */
.pgw-header-cb7e0cca {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 48px;
  box-sizing: border-box;
}

.pgw-eyebrow-cb7e0cca {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2F7F86;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.pgw-eyebrow-cb7e0cca i {
  width: 27px;
  height: 1px;
  background: #B99A63;
  display: inline-block;
}

.pgw-heading-cb7e0cca h2 {
  max-width: 650px;
  margin: 17px 0 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #1E1E1C;
}

.pgw-intro-cb7e0cca {
  padding-bottom: 2px;
  box-sizing: border-box;
}

.pgw-intro-cb7e0cca p {
  max-width: 440px;
  margin: 0;
  color: #706B63;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/* CTA Button */
.pgw-button-cb7e0cca {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 22px;
  padding: 0 22px;
  border: 1px solid #2F7F86;
  border-radius: 999px;
  background: #2F7F86;
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(47,127,134,.15);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.pgw-button-cb7e0cca:hover {
  transform: translateY(-2px);
  background: #246B71;
  border-color: #246B71;
  box-shadow: 0 14px 28px rgba(47,127,134,.22);
}

.pgw-button-icon-cb7e0cca svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Gallery Grid System */
.pgw-gallery-cb7e0cca {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: 24px;
  box-sizing: border-box;
}

.pgw-side-works-cb7e0cca {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
  box-sizing: border-box;
}

/* Cards Design */
.pgw-work-cb7e0cca {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  background: #1E1E1C;
  color: #FFFFFF;
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.pgw-work--main-cb7e0cca {
  min-height: 590px;
  border-radius: 44px 26px 78px 26px;
}

.pgw-work--side-cb7e0cca {
  min-height: 283px;
  border-radius: 28px;
}

.pgw-work--infinity-cb7e0cca {
  border-radius: 28px 28px 56px 28px;
}

/* Additional works below */
.pgw-additional-works-cb7e0cca {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  box-sizing: border-box;
}

.pgw-work--additional-cb7e0cca {
  min-height: 250px;
  border-radius: 28px;
}

/* Card image */
.pgw-work-cb7e0cca img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .55s ease;
  z-index: 0;
}

/* Hover effects */
.pgw-work-cb7e0cca.pgw-zoom-enabled:hover img {
  transform: scale(1.05);
}

/* Card Overlay */
.pgw-work-overlay-cb7e0cca {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,17,16,.03) 25%,
    rgba(17,17,16,.14) 50%,
    rgba(17,17,16,.78) 100%
  );
  transition: background .3s ease;
}

/* Card Content */
.pgw-work-content-cb7e0cca {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 23px;
  left: 24px;
  padding-right: 52px;
  pointer-events: none;
}

.pgw-work-label-cb7e0cca {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pgw-work-cb7e0cca h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
}

.pgw-work--side-cb7e0cca h3,
.pgw-work--additional-cb7e0cca h3 {
  font-size: 25px;
}

/* Arrow inside cards */
.pgw-work-arrow-cb7e0cca {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  pointer-events: auto;
}

.pgw-work-arrow-cb7e0cca svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

/* Arrow Hover Effect */
.pgw-work-cb7e0cca.pgw-arrow-hover-enabled:hover .pgw-work-arrow-cb7e0cca {
  transform: translateX(3px);
  border-color: #2F7F86;
  background: #2F7F86;
}


/* --------------------------------------------------------------------------
   TABLET RESPONSIVE (1024px)
-------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pgw-works-cb7e0cca {
    padding: 88px 24px 94px;
  }

  .pgw-header-cb7e0cca {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 21px;
    margin-bottom: 38px;
  }

  .pgw-intro-cb7e0cca {
    max-width: 620px;
    padding-bottom: 0;
  }

  .pgw-heading-cb7e0cca h2 {
    max-width: 700px;
    font-size: 44px;
  }

  .pgw-gallery-cb7e0cca {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .pgw-side-works-cb7e0cca {
    gap: 22px;
  }

  .pgw-work--main-cb7e0cca {
    min-height: 548px;
  }

  .pgw-work--side-cb7e0cca {
    min-height: 262px;
  }

  .pgw-additional-works-cb7e0cca {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .pgw-work--additional-cb7e0cca {
    min-height: 262px;
  }
}


/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE (767px)
-------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pgw-works-cb7e0cca {
    padding: 64px 20px 70px;
  }

  .pgw-header-cb7e0cca {
    gap: 19px;
    margin-bottom: 30px;
  }

  .pgw-eyebrow-cb7e0cca {
    font-size: 10px;
  }

  .pgw-eyebrow-cb7e0cca i {
    width: 21px;
  }

  .pgw-heading-cb7e0cca h2 {
    margin-top: 15px;
    font-size: 34px;
    line-height: 1.13;
  }

  .pgw-intro-cb7e0cca p {
    font-size: 15px;
    line-height: 1.65;
  }

  .pgw-button-cb7e0cca {
    width: 100%;
    min-height: 47px;
    margin-top: 19px;
    font-size: 12px;
  }

  .pgw-gallery-cb7e0cca {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pgw-side-works-cb7e0cca {
    grid-template-rows: none;
    gap: 16px;
  }

  .pgw-work--main-cb7e0cca {
    min-height: 365px;
    border-radius: 32px 21px 54px 21px;
  }

  .pgw-work--side-cb7e0cca {
    min-height: 250px;
    border-radius: 24px;
  }

  .pgw-work--infinity-cb7e0cca {
    border-radius: 24px 24px 42px 24px;
  }

  .pgw-additional-works-cb7e0cca {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .pgw-work--additional-cb7e0cca {
    min-height: 250px;
    border-radius: 24px;
  }

  .pgw-work-content-cb7e0cca {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding-right: 45px;
  }

  .pgw-work-cb7e0cca h3 {
    font-size: 26px;
  }

  .pgw-work--side-cb7e0cca h3,
  .pgw-work--additional-cb7e0cca h3 {
    font-size: 23px;
  }

  .pgw-work-label-cb7e0cca {
    font-size: 9px;
  }

  .pgw-work-arrow-cb7e0cca {
    width: 35px;
    height: 35px;
  }
}
