/* ==========================================================================
   SERVICE HERO | .ps-service-hero
   One layout owns the spacing for copy, buttons, image, and callouts so the
   service hero stays consistent across all three service pages.
   ========================================================================== */

.ps-service-hero {
  padding-top: calc(var(--ps-prime-top) + var(--ps-prime-panel-h) + 34px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

.ps-service-hero__inner {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.4vw, 36px);
}

.ps-service-hero__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.ps-service-hero__left {
  min-width: 0;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  align-content: start;
  padding-top: clamp(8px, 1vw, 18px);
}

.ps-service-hero__copy {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
  max-width: 40rem;
}

.ps-service-hero__label {
  display: block;
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ps-blue);
}

.ps-service-hero__heading {
  margin: 0;
  max-width: 6.6ch;
  font-family: 'Alternate Gothic Extra Cond ATF', sans-serif;
  font-weight: 900;
  font-size: clamp(4.8rem, 8.5vw, 7.85rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ps-blue);
  text-wrap: balance;
}

.ps-service-hero__desc {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 0.92rem + 0.35vw, 1.28rem);
  line-height: 1.45;
  color: rgba(var(--ps-blue-rgb), 0.92);
  text-wrap: pretty;
}

.ps-service-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ps-service-hero__buttons .ps-btn {
  min-width: min(232px, 100%);
}

.ps-service-hero__right {
  width: min(100%, 560px);
  min-width: 0;
  justify-self: end;
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  align-content: start;
}

.ps-service-hero__figure {
  margin: 0;
  aspect-ratio: 1.4;
  background: #ece7df;
  overflow: hidden;
}

.ps-service-hero__right > .ps-service-hero__img {
  aspect-ratio: 1.4;
}

.ps-service-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ps-service-hero__callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px) clamp(20px, 2.4vw, 32px);
}

.ps-service-hero__callout {
  position: relative;
  min-height: 68px;
  padding: 8px 18px 10px 0;
  font-family: 'Alternate Gothic Extra Cond ATF', sans-serif;
  font-weight: 900;
  font-size: clamp(1.05rem, 0.88rem + 0.46vw, 1.34rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ps-blue);
  text-align: right;
  text-wrap: balance;
}

.ps-service-hero__callout::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ps-yellow);
  border-right: 2px solid var(--ps-yellow);
}

@media (max-width: 1180px) {
  .ps-service-hero__columns {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
    gap: 28px;
  }

  .ps-service-hero__heading {
    font-size: clamp(4.2rem, 7.6vw, 6.8rem);
  }

  .ps-service-hero__buttons .ps-btn {
    min-width: min(214px, 100%);
  }
}

@media (max-width: 781px) {
  .ps-service-hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .ps-service-hero__inner {
    padding-inline: 16px;
  }

  .ps-service-hero__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ps-service-hero__left,
  .ps-service-hero__copy {
    gap: 18px;
    max-width: none;
  }

  .ps-service-hero__heading {
    max-width: 7ch;
    font-size: clamp(3.9rem, 19vw, 5.4rem);
  }

  .ps-service-hero__desc {
    max-width: none;
    font-size: 1.02rem;
  }

  .ps-service-hero__buttons {
    display: grid;
    gap: 10px;
  }

  .ps-service-hero__buttons .ps-btn {
    width: 100%;
    min-width: 0;
  }

  .ps-service-hero__right {
    width: 100%;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(var(--ps-blue-rgb), 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(var(--ps-blue-rgb), 0.02) 0%, rgba(var(--ps-blue-rgb), 0.07) 100%);
  }

  .ps-service-hero__figure {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .ps-service-hero__right > .ps-service-hero__img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .ps-service-hero__callouts {
    gap: 12px;
  }

  .ps-service-hero__callout {
    min-height: 74px;
    display: flex;
    align-items: flex-end;
    padding: 14px 16px 16px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(var(--ps-blue-rgb), 0.06);
    text-align: left;
    font-size: clamp(0.98rem, 4.3vw, 1.18rem);
  }

  .ps-service-hero__callout::after {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 360px) {
  .ps-service-hero__heading {
    font-size: clamp(3.3rem, 22vw, 4.5rem);
  }

  .ps-service-hero__callouts {
    grid-template-columns: 1fr;
  }

  .ps-service-hero__callout {
    min-height: 0;
  }
}
