/* v3 section: promo_banner. Figma desktop 12153:21063 (1440), mobile 12192:32164 (430). */
.v3-promo {
  --promo-lines: calc(var(--v3-gutter) - 12px);
  background: var(--v3-bg-light);
  overflow: hidden;
  isolation: isolate;
}
.v3-promo::before {                      /* dashed guide lines (3 on / 2 off) + bottom edge */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, var(--v3-gray-50) 0 3px, transparent 3px 5px) var(--promo-lines) 0 / 1px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--v3-gray-50) 0 3px, transparent 3px 5px) calc(100% - var(--promo-lines)) 0 / 1px 100% no-repeat,
    repeating-linear-gradient(90deg, var(--v3-gray-50) 0 3px, transparent 3px 5px) 0 100% / 100% 1px no-repeat;
}
.v3-promo::after {                       /* paper noise, 3% */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  background: url("../../../images/v3/hero/noise.webp") 0 0 / 1024px;
}

.v3-promo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 488px;
  padding: 48px;
  border-radius: var(--v3-radius-lg);
  background: var(--v3-dark);
  color: var(--v3-white);
  overflow: hidden;
  isolation: isolate;
}
.v3-promo__card::before {                /* card noise, 4% */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background: url("../../../images/v3/hero/noise.webp") 0 0 / 1024px;
}
.v3-promo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.v3-promo__logos {
  position: relative;
  display: block;
  width: 315px;
  max-width: 100%;
  height: auto;
}
.v3-promo__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 400px;
  max-width: 100%;
  margin-top: 92px;
}
.v3-promo__title { color: var(--v3-white); }
.v3-promo__accent { color: var(--v3-primary); }
.v3-promo__text {
  max-width: 329px;
  margin: 20px 0 40px;
  color: var(--v3-gray-50);
  font-size: var(--v3-fs-body-m);
  line-height: var(--v3-lh-body-m);
}
.v3-promo__terms {
  margin-top: 16px;
  color: var(--v3-gray-100);
  font-size: var(--v3-fs-caption);
  line-height: var(--v3-lh-tight);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.v3-promo__terms:hover { color: var(--v3-white); }
.v3-promo__terms:focus-visible { outline: 2px solid var(--v3-primary); outline-offset: 3px; }

/* product photo: right side, bottom-aligned (650x474 at 1440) */
.v3-promo__photo {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 49.4%;
  aspect-ratio: 650 / 474;
}
.v3-promo__photo::before {               /* blue glow behind the product */
  content: "";
  position: absolute;
  left: -4.9%;
  top: -10.3%;
  width: 117.4%;
  aspect-ratio: 1;
  background: radial-gradient(circle closest-side, #4099ff 0, rgba(64, 153, 255, 0.48) 34.6%, rgba(64, 153, 255, 0) 100%);
  pointer-events: none;
}
.v3-promo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.v3-promo__pill {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 8px 13px;
  border-radius: 100px;
  background: var(--v3-white);
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--v3-lh-body-m);
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .v3-promo__pill { padding: 7px 12px; font-size: 14px; }   /* the photo shrinks, the pills must stay inside the card */
}

/* stacked: text first, photo below (tablet + mobile) */
@media (max-width: 1024px) {
  .v3-promo__card { min-height: 0; padding: 44px 48px 0; align-items: center; }
  .v3-promo__content { margin-top: 47px; }
  .v3-promo__photo {
    position: relative;
    right: auto;
    bottom: auto;
    flex: none;
    width: min(560px, 100%);
    margin-top: 44px;
  }
  .v3-promo__pill { left: var(--xm); top: var(--ym); }
}
@media (max-width: 768px) {
  .v3-promo__logos { width: 266px; }
  .v3-promo__text { max-width: none; margin: 12px 0 32px; }
  .v3-promo__pill { padding: 8px 13px; font-size: 12px; font-weight: 700; line-height: 1.3; }
}
@media (max-width: 480px) {
  .v3-promo { --promo-lines: calc(var(--v3-gutter) - 4px); }
  .v3-promo__card { padding-inline: 32px; border-radius: var(--v3-radius-md); }
  .v3-promo__content { width: 100%; }
  .v3-promo__btn { width: 100%; }
  .v3-promo__photo { width: calc(100% + 64px); margin-inline: -32px; }
}
