/* STRUCTURAL STYLES FOR PISCINAS GANDUGLIA - SERVICIOS INTEGRALES e21d565c */

.pgs-services {
  box-sizing: border-box;
}

.pgs-container {
  width: min(100%, 1240px);
  margin: 0 auto;
}

/* HEADER GRID */
.pgs-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  align-items: start;
  gap: 72px;
  margin-bottom: 52px;
}

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

.pgs-eyebrow i {
  width: 27px;
  height: 1px;
}

.pgs-heading h2 {
  max-width: 685px;
  margin: 17px 0 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.pgs-intro {
  padding-top: 31px;
}

.pgs-intro p {
  max-width: 440px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/* CTA BUTTON */
.pgs-main-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 22px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  text-decoration: none;
}

.pgs-main-button:hover {
  transform: translateY(-2px);
}

.pgs-main-button svg,
.pgs-main-button i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* LISTADO */
.pgs-services-list {
  border-top: 1px solid rgba(30,30,28,.12);
}

.pgs-service-item {
  display: grid;
  grid-template-columns: 48px 62px minmax(260px, 1.1fr) minmax(270px, .86fr) 118px;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(30,30,28,.12);
  transition: transform 0.25s ease, padding 0.25s ease;
}

/* HOVER SLIDE OPTIONAL CONTROLED BY ELEMENTOR */
.pgs-service-item.pgs-has-hover-slide:hover {
  padding-left: 10px;
  padding-right: 10px;
}

.pgs-service-number {
  font-size: 22px;
  line-height: 1;
}

.pgs-service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47,127,134,.16);
  border-radius: 20px;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.pgs-service-icon svg,
.pgs-service-icon i {
  width: 29px;
  height: 29px;
  font-size: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pgs-service-item:hover .pgs-service-icon {
  transform: translateY(-3px);
}

.pgs-service-main {
  min-width: 0;
}

.pgs-service-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pgs-service-main h3 {
  margin: 0 0 10px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.018em;
}

.pgs-service-main p {
  max-width: 450px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

/* TAGS */
.pgs-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.pgs-service-tags span {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(30,30,28,.09);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

/* LINK */
.pgs-service-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease;
  text-decoration: none;
}

.pgs-service-link svg,
.pgs-service-link i {
  width: 17px;
  height: 17px;
  font-size: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.pgs-service-link:hover svg,
.pgs-service-link:hover i {
  transform: translateX(3px);
}

/* BOTTOM NOTE */
.pgs-bottom-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 19px 21px;
  border: 1px solid rgba(47,127,134,.15);
  border-radius: 22px;
}

.pgs-bottom-note-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
}

.pgs-bottom-note-icon svg,
.pgs-bottom-note-icon i {
  width: 17px;
  height: 17px;
  font-size: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pgs-bottom-note p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* TABLET BREKPOINT */
@media (max-width: 1024px) {
  .pgs-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 21px;
    margin-bottom: 40px;
  }

  .pgs-heading h2 {
    max-width: 720px;
    font-size: 44px;
  }

  .pgs-intro {
    max-width: 620px;
    padding-top: 0 !important; /* Force reset of Desktop Offset */
  }

  .pgs-service-item {
    grid-template-columns: 46px 58px minmax(0, 1fr);
    gap: 20px;
  }

  .pgs-service-tags {
    grid-column: 3;
  }

  .pgs-service-link {
    grid-column: 3;
    justify-content: flex-start;
  }
}

/* MOBILE BREAKPOINT */
@media (max-width: 767px) {
  .pgs-header {
    gap: 19px;
    margin-bottom: 30px;
  }

  .pgs-eyebrow {
    font-size: 10px;
  }

  .pgs-eyebrow i {
    width: 21px;
  }

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

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

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

  .pgs-service-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .pgs-service-item.pgs-has-hover-slide:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .pgs-service-number {
    padding-top: 4px;
    font-size: 19px;
  }

  .pgs-service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 3px;
    border-radius: 17px;
  }

  .pgs-service-icon svg,
  .pgs-service-icon i {
    width: 25px;
    height: 25px;
    font-size: 25px;
  }

  .pgs-service-main {
    grid-column: 1 / -1;
  }

  .pgs-service-kicker {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .pgs-service-main h3 {
    margin-bottom: 9px;
    font-size: 26px;
  }

  .pgs-service-main p {
    font-size: 14px;
    line-height: 1.62;
  }

  .pgs-service-tags {
    grid-column: 1 / -1;
    gap: 7px;
  }

  .pgs-service-tags span {
    padding: 7px 9px;
    font-size: 9px;
  }

  .pgs-service-link {
    grid-column: 1 / -1;
    margin-top: 1px;
    font-size: 11px;
    justify-content: flex-start;
  }

  .pgs-bottom-note {
    align-items: flex-start;
    gap: 10px;
    margin-top: 23px;
    padding: 16px;
    border-radius: 18px;
  }

  .pgs-bottom-note p {
    font-size: 12px;
  }
}
