/* ==========================================================================
   Result screen (Figma 2002:1871 + 2196:899/1505/2111/2717, frame 402 × 2370)
   Three stacked sections; decor is positioned relative to its own section so
   it follows the content when a mesa has longer copy.
   ========================================================================== */

.page--resultado {
  --page-height: 2370px;
}

/* Sections must not create stacking contexts: strings hide behind the band,
   the waves and the CTA through page-level z-index */
.result-hero,
.result-ideas,
.result-cta {
  position: relative;
  width: 100%;
}

/* ---------- Hero (red, 0 → 759) ---------- */
.result-hero {
  min-height: 759px;
  padding: 130px 0 27px;
}

.result-hero__eyebrow {
  position: relative;
  z-index: 5;
  margin-left: 37px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 28px;
  line-height: 1.43;
  color: var(--color-dorado-blanco);
}

.result-hero__title {
  position: relative;
  z-index: 5;
  width: 308px;
  margin: 19px 0 0 37px;
}

.result-hero__title .title-display {
  letter-spacing: 1.28px;
  line-height: 0.86;
}

.result-photo {
  position: absolute;
  left: 50%;
  top: 254px;
  width: 409px;
  height: 233px;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 1;
}

.result-photo img,
.product-card__media img {
  position: absolute;
  left: var(--img-x, 0);
  top: var(--img-y, 0);
  width: var(--img-w, 100%);
  height: var(--img-h, 100%);
  max-width: none;
  object-fit: cover;
}

.result-hero__text {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Figma box is 347px; the web Nunito Sans runs slightly wider and needs 3px more to keep the same line breaks */
  width: 350px;
  margin: 260px auto 0;
  line-height: normal;
}

/* ---------- Ideas (cream, grows with the cards) ---------- */
.result-ideas {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 21px;
}

.result-ideas__title {
  position: relative;
  z-index: 5;
  width: 334px;
}

.result-ideas__title .title-display {
  line-height: 0.95;
}

.result-ideas__list {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  list-style: none;
}

.product-idea {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.product-idea__heading {
  max-width: 362px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: normal;
  color: #000;
  text-align: center;
}

.product-card {
  width: 264.417px;
  border-radius: 13.47px;
  background-color: var(--color-blanco);
  overflow: hidden;
}

.product-card__media {
  position: relative;
  height: 135.182px;
  overflow: hidden;
}

.product-card__caption {
  min-height: 30.83px;
  padding: 4px 10px 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-caption);
  line-height: normal;
  color: var(--color-fondo);
  text-align: center;
}

/* Client products not delivered yet */
.product-card--pending .product-card__media {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-dorado-blanco) 0 10px,
    var(--color-crema) 10px 20px
  );
}

.product-card__placeholder {
  padding: 6px 12px;
  border: 1px dashed var(--color-dorado-oscuro);
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-granate);
}

/* ---------- CTA (red, 243px tall, baubles hang behind the button) ---------- */
.result-cta {
  height: 243px;
  padding-top: 34px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.result-cta__btn {
  position: relative;
  z-index: 5;
}
