/* Pactura mobile homepage hero refinement. Keep desktop/tablet rules in pactura.css unchanged. */
@media (max-width: 767px) {
  .homepage .hero {
    position: relative;
    overflow: hidden;
    background: var(--midnight);
  }

  .homepage .hero::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("images/hero-warehouse-v2.jpg") 68% 42% / cover no-repeat;
  }

  .homepage .hero::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    border: 0;
    background:
      linear-gradient(180deg, rgba(11,37,69,.28) 0%, rgba(11,37,69,.42) 22%, rgba(11,37,69,.76) 48%, rgba(11,37,69,.94) 70%, rgba(11,37,69,.99) 100%),
      linear-gradient(90deg, rgba(11,37,69,.78) 0%, rgba(11,37,69,.52) 46%, rgba(11,37,69,.18) 100%);
  }

  .homepage .hero-inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    padding-top: clamp(75px, 25vw, 115px);
    padding-bottom: 48px;
  }

  .homepage .hero-copy {
    max-width: none;
  }

  .homepage .hero h1 {
    max-width: none;
    margin-bottom: 24px;
    font-size: clamp(29px, 8.9vw, 37px);
    line-height: 1.12;
    letter-spacing: -.045em;
    text-shadow: 0 1px 10px rgba(11,37,69,.18);
  }

  .homepage .hero h1::after {
    content: "";
    display: block;
    width: 76px;
    height: 3px;
    margin-top: 24px;
    background: var(--cobalt);
  }

  .homepage .hero-title-keep,
  .homepage .hero-title-second {
    display: block;
    white-space: nowrap;
  }

  .homepage .hero-subtitle {
    margin-bottom: 20px;
    padding-top: 0;
    border-top: 0;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: .10em;
  }

  .homepage .hero-copy > p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    text-shadow: 0 1px 8px rgba(11,37,69,.20);
  }

  .homepage .hero-benefits {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(220,232,246,.38);
  }

  .homepage .hero-benefit {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 12.5px;
  }

  .homepage .hero-benefit-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    margin-inline: 1px;
    border-radius: 50%;
    background: var(--accent-dark);
  }

  .homepage .hero-benefit > span:not(.hero-benefit-dot) + span:not(.hero-benefit-dot) {
    margin-left: 0;
  }

  .homepage .hero-actions {
    margin-top: 26px;
  }

  .homepage .hero .btn-primary {
    width: 100%;
    min-height: 56px;
    padding: 16px 18px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .homepage .hero-inner {
    width: calc(100% - 32px);
    padding-top: 70px;
  }

  .homepage .hero h1 {
    font-size: 28px;
    line-height: 1.14;
  }

  .homepage .hero-benefit {
    gap: 5px;
    font-size: 11.5px;
  }
}
