@font-face {
  font-family: "DM Sans";
  src: url("/landing/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

#propuesta .hs-testi__intro :is(h2, p) {
  font-family: "DM Sans", var(--display);
}
#propuesta .hs-testi__intro h2 {
  max-width: min(24ch, 92%);
  font-size: clamp(31px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}
#propuesta .hs-testi__intro p {
  max-width: min(55ch, 88%);
  margin-inline: auto;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  color: color-mix(in srgb, var(--ink) 88%, var(--screen));
  text-wrap: pretty;
}
@media (max-width: 600px) {
  #propuesta .hs-testi__intro p {
    max-width: min(38ch, calc(100% - 32px));
    font-size: clamp(17px, 4.7vw, 20px);
    text-align: start;
  }
}

.beneficio-enlace { text-decoration: none; }
.beneficio-enlace::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.beneficio-enlace:focus-visible {
  outline: 3px solid var(--card-name);
  outline-offset: 5px;
}
.hs--testimonials .hs-testi__card {
  position: relative;
  height: 100%;
  gap: .74em;
  padding: 1.4em;
}
.hs--testimonials .pieza-formato {
  color: var(--card-name);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 650;
  letter-spacing: .045em;
}
.hs--testimonials .hs-testi__video {
  width: 100%;
  aspect-ratio: 1.95;
  border-radius: 5px;
}
.hs--testimonials .hs-testi__video img {
  display: block;
  width: 100%;
  height: 100%;
}
.hs--testimonials .hs-testi__video :is(video, img) {
  object-fit: cover;
  object-position: center;
}
.beneficio-contenido {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: .5em;
  color: var(--card-ink);
}
.beneficio-contenido h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 1.75vw, 29px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.038em;
  color: inherit;
}
.beneficio-contenido p {
  margin: 0;
  font-size: var(--reading-size);
  font-weight: 480;
  line-height: 1.43;
  color: inherit;
}
.beneficio-acciones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35em .6em;
  align-self: stretch;
  margin-top: auto;
}
.beneficio-accion {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  padding-top: .28em;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  color: var(--card-name);
}
.beneficio-agregar {
  position: relative;
  border: 1px solid var(--xcale-hairline);
  border-radius: 99px;
  padding: .36em .7em;
  background: var(--xcale-blush);
  color: var(--card-name);
  font: 600 clamp(14px, 1.05vw, 17px)/1.25 var(--body);
  white-space: nowrap;
  cursor: pointer;
}
.beneficio-agregar:hover { background: var(--xcale-pink); color: #291321; }
.beneficio-agregar[aria-disabled="true"] { cursor: default; }
.story.is-pinned .hs--testimonials .hs-testi__card {
  width: min(88vw, clamp(320px, 27vw, 440px));
  height: auto;
  min-height: clamp(380px, 34vw, 510px);
  aspect-ratio: auto;
  gap: clamp(9px, .85vw, 14px);
  padding: clamp(15px, 1.45vw, 24px);
  background-image: linear-gradient(148deg, transparent 55%, #7d75ff0b);
}
#propuesta .hs-testi__card {
  --card-ink: #251c24;
  --card-name: #912459;
  background-color: #fffcfe;
}
:root[data-theme=dark] #propuesta .hs-testi__card {
  --card-ink: #fff6fc;
  --card-name: #ffb0d9;
  background-color: #211b21;
}
.story.is-pinned #propuesta .hs-testi__list {
  mask: none;
}
#propuesta .hs-testi__video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#propuesta .hs-testi__video > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#propuesta .hs-testi__video video {
  opacity: 0;
}
#propuesta .hs-testi__video video.has-frame {
  opacity: 1;
}
#propuesta .servicio-ver {
  z-index: 1;
}

/* In a shallow browser pane, the image and copy share the available height. */
@media (min-width: 700px) and (max-height: 740px) {
  .story.is-pinned #propuesta .hs-testi__item {
    top: calc(50% + 26px);
  }
  .story.is-pinned #propuesta .hs-testi__card {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    width: min(76vw, 670px);
    min-height: 0;
    padding: clamp(14px, 1.6vw, 20px);
    gap: 8px clamp(16px, 1.8vw, 24px);
  }
  .story.is-pinned #propuesta .hs-testi__video {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    aspect-ratio: 1.65;
  }
  .story.is-pinned #propuesta :is(.pieza-formato, .beneficio-contenido) {
    grid-column: 2;
  }
  .story.is-pinned #propuesta .beneficio-acciones {
    margin-top: 6px;
  }
}
