/* Aislamiento completo de estilos usando selector de envoltura de Elementor */

.pg-shell {
  width: 100%;
  padding-inline: 24px;
}

.pg-container {
  width: 100%;
  margin-inline: auto;
}

.pg-hero {
  display: flex;
  align-items: center;
}

.pg-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.86fr);
  align-items: center;
}

.pg-hero-content {
  min-width: 0;
  max-width: 660px;
}

.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}

.pg-eyebrow i {
  height: 1px;
  display: inline-block;
}

.pg-hero-layout .pg-title {
  display: block;
  margin: 17px 0;
}

.pg-hero-text {
  margin: 0;
}

.pg-primary-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pg-primary-button span {
  font-family: inherit;
  font-weight: inherit;
}

.pg-primary-button svg {
  width: 1em;
  height: 1em;
}

/* Servicios */
.pg-services-strip {
  margin-top: 27px;
  padding-top: 15px;
  border-top-style: solid;
  border-top-width: 1px;
  overflow: visible;
}

.pg-services-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pg-services-heading > span {
  text-transform: uppercase;
}

.pg-services-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.pg-services-link svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform .2s ease;
}

.pg-services-link:hover svg {
  transform: translateX(3px);
}

.pg-service-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding-block: 5px;
  overflow: visible;
}

.pg-service-icon {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-style: solid;
  border-width: 1px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pg-service-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-service-svg svg, 
.pg-service-svg img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.pg-service-tooltip {
  position: absolute;
  z-index: 1000;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 8px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@media (hover:hover) and (pointer:fine) {
  .pg-service-icon:hover {
    transform: translateY(-3px);
  }

  .pg-service-icon:hover .pg-service-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.pg-service-icon:focus-visible {
  transform: translateY(-3px);
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
}

.pg-service-icon:focus-visible .pg-service-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Imagen */
.pg-hero-visual {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.pg-image-frame {
  position: absolute;
  border-style: solid;
  border-width: 1px;
  pointer-events: none;
  z-index: 0;
}

.pg-hero-visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  object-fit: cover;
}

.pg-image-gradient {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.pg-proof-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 206px;
  padding: 13px 16px;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
}

.pg-proof-card strong {
  font-family: inherit;
  line-height: 1;
}

.pg-proof-card span {
  font-family: inherit;
  line-height: 1.35;
  text-transform: uppercase;
}

/* RESPONSIVE LAYOUTS EN BASE A BREAKPOINTS ELEMENTOR */

@media (max-width:1024px) {
  .pg-shell {
    padding-inline: 24px;
  }

  .pg-hero {
    min-height: auto !important;
  }

  .pg-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .pg-hero-content {
    width: 100%;
    max-width: none;
  }

  .pg-service-icons {
    justify-content: flex-start;
  }

  .pg-hero-visual {
    width: 100%;
  }
}

@media (max-width:767px) {
  .pg-shell {
    padding-inline: 20px;
  }

  .pg-services-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .pg-service-icons {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: min(100%, 330px) !important;
    margin: 10px auto 0 !important;
    padding-block: 5px;
  }

  .pg-service-icon {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    flex: none !important;
    aspect-ratio: 1;
  }

  .pg-service-tooltip {
    display: none !important;
  }
}
