/*
  shine-guarantee — red plate, 100% badge, promise list.
  Desktop: Figma 304:2618
  Mobile: no frame yet — stack badge above the list.
*/

.shine-guarantee {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.shine-guarantee__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.shine-guarantee__bg-img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.shine-guarantee__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: var(--header-frame-max);
  margin-inline: auto;
  padding-block: var(--shine-guarantee-pad-y);
  padding-inline: var(--space-md);
  text-align: center;
}

.shine-guarantee__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  inline-size: 100%;
}

.shine-guarantee__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-black);
  font-size: var(--fs-hero-title-mobile);
  line-height: var(--hero-title-lh-mobile);
  text-transform: uppercase;
  color: var(--color-text-inverse);
}

.shine-guarantee__lead,
.shine-guarantee__footer {
  margin: 0;
  max-inline-size: var(--shine-guarantee-lead-max);
  font-family: var(--font-body-alt);
  font-weight: var(--fw-regular);
  font-size: var(--fs-hero-text-mobile);
  line-height: 1.875rem;
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
}

.shine-guarantee__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  inline-size: 100%;
}

.shine-guarantee__badge {
  margin: 0;
  inline-size: min(100%, 20rem);
  aspect-ratio: var(--shine-guarantee-badge-ratio);
}

.shine-guarantee__badge-img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-width: none;
  object-fit: contain;
}

.shine-guarantee__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  inline-size: 100%;
  max-inline-size: var(--shine-guarantee-list-w);
  text-align: start;
}

.shine-guarantee__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  inline-size: 100%;
}

.shine-guarantee__check {
  flex-shrink: 0;
  display: block;
  inline-size: var(--shine-guarantee-check);
  block-size: var(--shine-guarantee-check);
  object-fit: contain;
}

.shine-guarantee__label {
  flex: 1 1 auto;
  font-family: var(--font-body-alt);
  font-weight: var(--fw-bold);
  font-size: var(--fs-hero-text);
  line-height: 1.875rem;
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
}

/* ---------- Desktop — Figma 304:2618 ---------- */

@media (min-width: 1024px) {
  .shine-guarantee__inner {
    padding-inline: var(--header-pad-x);
  }

  .shine-guarantee__title {
    font-size: 3.375rem; /* 54px */
    line-height: 3.375rem;
  }

  .shine-guarantee__lead,
  .shine-guarantee__footer {
    font-size: var(--fs-hero-text);
  }

  .shine-guarantee__footer {
    max-inline-size: var(--shine-guarantee-foot-max);
  }

  .shine-guarantee__row {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  /* Figma image frame is 540×301.797 — contain the shield inside that box. */
  .shine-guarantee__badge {
    inline-size: var(--shine-guarantee-badge-w);
    block-size: var(--shine-guarantee-badge-h);
    aspect-ratio: var(--shine-guarantee-badge-ratio);
  }
}
