/**
 * Shepway Pet Taxi — compact image-background homepage hero.
 * Designed to leave room for the 70px trust bar and a future top bar.
 * Uses the existing assets/images/pet-taxi-hero.jpg file.
 */
.spt-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(557px, 41.1vw, 650px);
  overflow: hidden;
  color: var(--spt-white, #fff);
  background-color: var(--spt-ink, #000);
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.82) 31%, rgba(0,0,0,.49) 62%, rgba(0,0,0,.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.03) 55%, rgba(0,0,0,.29) 100%),
    url('../images/pet-taxi-hero.jpg');
  background-repeat: no-repeat;
  background-position: center, center, center 43%;
  background-size: cover;
}

.spt-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  padding-block: 32px 40px;
}

.spt-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.spt-hero__eyebrow {
  margin: 0 0 9px;
  color: var(--spt-lime, #79df09);
  font-family: var(--spt-font-body, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spt-hero__title {
  margin: 0;
  color: var(--spt-white, #fff);
  font-family: var(--spt-font-heading, 'Nunito', sans-serif);
  font-size: clamp(45px, 4.2vw, 72px);
  font-weight: 900;
  letter-spacing: -.052em;
  line-height: 1.025;
}

.spt-hero__title-line {
  display: block;
}

.spt-hero__description {
  max-width: 520px;
  margin: 14px 0 21px;
  color: #e2e9e1;
  font-family: var(--spt-font-body, 'Manrope', sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.spt-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.spt-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--spt-font-body, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.spt-hero__button--primary {
  background: var(--spt-lime, #79df09);
  color: #101510;
}

.spt-hero__button--primary:hover {
  background: var(--spt-lime-hover, #8ff323);
  color: #101510;
}

/* Ghost button: crisp white outline, light translucent fill on hover. */
.spt-hero__button--call {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.035);
  color: #fff;
}

.spt-hero a.spt-hero__button--call:hover {
  border-color: #fff;
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* No phone number is supplied yet; don't expose a broken tel: link. */
.spt-hero__button--unconfigured {
  cursor: not-allowed;
}

.spt-hero__button:focus-visible {
  outline: 2px solid var(--spt-lime, #79df09);
  outline-offset: 4px;
}

.spt-hero__button-arrow,
.spt-hero__phone-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.spt-hero__button-arrow {
  fill: currentColor;
  transition: transform .16s ease;
}

.spt-hero__button--primary:hover .spt-hero__button-arrow {
  transform: translateX(3px);
}

@media (max-width: 1020px) {
  .spt-hero {
    min-height: 420px;
    background-position: center, center, 58% center;
  }
  .spt-hero__title {
    font-size: clamp(40px, 5vw, 55px);
  }
}

@media (max-width: 767px) {
  .spt-hero {
    min-height: clamp(382px, 62svh, 445px);
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.91) 0%, rgba(0,0,0,.73) 65%, rgba(0,0,0,.49) 100%),
      linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.04) 55%, rgba(0,0,0,.46) 100%),
      url('../images/pet-taxi-hero.jpg');
    background-position: center, center, 58% center;
  }
  .spt-hero__inner {
    padding-block: 28px 31px;
  }
  .spt-hero__eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .spt-hero__title {
    font-size: clamp(31px, 7vw, 42px);
    letter-spacing: -.048em;
    line-height: 1.06;
  }
  .spt-hero__description {
    max-width: 510px;
    margin: 13px 0 18px;
    font-size: 13px;
    line-height: 1.55;
  }
  .spt-hero__actions {
    gap: 10px;
  }
  .spt-hero__button {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .spt-hero__title {
    font-size: 29px;
  }
  .spt-hero__description {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spt-hero__button,
  .spt-hero__button-arrow {
    transition: none;
  }
}
