/* Hero hotfix: final framing and fold balance */
.hero {
  min-height: clamp(380px, calc(72vh - 80px), 460px);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 36%;
  transform: scale(1);
  transform-origin: center center;
  filter: saturate(1.03) contrast(1.04) brightness(1.02);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 34%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 12%, rgba(255,255,255,0) 28%),
    linear-gradient(
      90deg,
      rgba(10, 27, 49, 0.97) 0%,
      rgba(10, 27, 49, 0.92) 34%,
      rgba(10, 27, 49, 0.78) 54%,
      rgba(10, 27, 49, 0.36) 74%,
      rgba(10, 27, 49, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 27, 49, 0.12) 0%,
      rgba(10, 27, 49, 0.02) 48%,
      rgba(10, 27, 49, 0.20) 100%
    );
}

.hero-inner {
  min-height: clamp(320px, calc(58vh - 90px), 380px);
  align-items: flex-end;
  padding: 14px 0 44px;
}

.hero-copy {
  max-width: 545px;
  padding-top: 0;
  margin-top: auto;
}

.hero-kicker {
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero h1 {
  max-width: 530px;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 0.98;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.46);
}

.hero-lead {
  max-width: 500px;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.97);
  text-shadow: 0 2px 12px rgba(0,0,0,0.30);
}

.hero-actions,
.hero-actions-expanded {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-actions .btn,
.hero-actions-expanded .btn {
  min-width: 160px;
  min-height: 48px;
  font-size: 0.95rem;
}

.hero-actions .btn-primary,
.hero-actions-expanded .btn-primary {
  box-shadow: 0 14px 28px rgba(199,58,58,0.26);
}

.trust-bar {
  position: relative;
  z-index: 2;
}

.trust-grid.trust-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 1px 0;
}

.trust-pill {
  padding: 4px 8px;
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.trust-pill::before,
.trust-pill::after {
  margin: 0 3px;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 420px;
  }

  .hero-img {
    object-position: 70% 34%;
  }

  .hero-inner {
    padding-bottom: 34px;
  }

  .hero-copy {
    max-width: 500px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-img {
    object-position: 64% center;
    transform: none;
  }

  .hero-bg {
    background: linear-gradient(
      180deg,
      rgba(10, 27, 49, 0.92) 0%,
      rgba(10, 27, 49, 0.78) 44%,
      rgba(10, 27, 49, 0.54) 100%
    );
  }

  .hero-inner {
    min-height: 360px;
    padding: 40px 0 22px;
    align-items: flex-end;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
  }

  .trust-grid.trust-grid-3 {
    grid-template-columns: 1fr;
  }
}
