/*
 * SP high-ticket composition based on the production PC design master.
 * Source of truth: production PC high-ticket master (1672 x 941).
 * The panel is not redrawn. The crop exposes the exact PC source pixels;
 * only its scale and the surrounding flow change for a natural phone layout.
 */
@media (max-width: 840px) {
  body.sp-phase2-active #trial-sp {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 238px 0 26px !important;
    overflow: hidden !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-offer {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: clamp(264px, 70vw, 286px) !important;
    height: auto !important;
    aspect-ratio: 545 / 620;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-offer::before,
  body.sp-phase2-active #trial-sp .sp-cta-offer::after {
    display: none !important;
  }

  body.sp-phase2-active #trial-sp .sp-offer-production-master {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
  }

  body.sp-phase2-active #trial-sp .sp-offer-production-master img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(calc(100% - 30px), 360px) !important;
    height: 98px !important;
    margin: 18px auto 0 !important;
    transform: none !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact .cta-reception {
    top: 8px !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact .cta-easy {
    top: 5px !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact .cta-mail-row {
    top: 44px !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact .cta-tap {
    top: 31px !important;
    width: 33px !important;
    height: 63px !important;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefits {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin: 18px 0 0;
    padding: 6px 20px 8px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #04356b 0%, #002957 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,.28);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .01em;
    text-align: left;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit i {
    flex: 0 0 56px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42px 42px;
    transform: scale(.88);
    transform-origin: center;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit--industry i { background-image: url("assets/phase1/service-chart.svg"); }
  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit--analysis i { background-image: url("assets/phase1/service-doc.svg"); }
  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit--support i { background-image: url("assets/phase1/service-user.svg"); }

  body.sp-phase2-active #trial-sp .sp-high-ticket-brand {
    display: grid;
    min-height: 58px;
    align-content: center;
    padding-top: 3px;
    color: #fff;
    text-align: center;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-brand small {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-brand strong {
    margin-top: 2px;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .02em;
  }
}

@media (min-width: 601px) and (max-width: 840px) {
  body.sp-phase2-active #trial-sp {
    padding-top: 250px !important;
    padding-bottom: 30px !important;
  }

  body.sp-phase2-active #trial-sp .sp-cta-offer {
    width: 320px !important;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(calc(100% - 48px), 680px);
    margin: 20px auto 0;
    padding: 8px 0 4px;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit {
    min-height: 104px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    border-right: 1px solid rgba(255,255,255,.28);
    border-bottom: 0;
    font-size: 14px;
    text-align: center;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit--support {
    border-right: 0;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-benefit i {
    flex-basis: 56px;
  }

  body.sp-phase2-active #trial-sp .sp-high-ticket-brand {
    grid-column: 1 / -1;
    min-height: 62px;
    border-top: 1px solid rgba(255,255,255,.28);
  }

  body.sp-phase2-active #trial-sp .sp-cta-contact {
    width: 390px !important;
    margin-top: 20px !important;
  }
}

@media (min-width: 841px) {
  .sp-high-ticket-benefits { display: none !important; }
}
