.home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(520px, 42vw, 690px);
  padding: 0;
  overflow: hidden;
  background: #071624;
}

.home-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071624 0%, #071624 28%, rgba(7, 22, 36, 0.88) 42%, rgba(7, 22, 36, 0.22) 63%, transparent 80%);
}

.home-hero-inner {
  display: flex;
  align-items: center;
  width: min(100%, 1240px);
  min-height: inherit;
  margin: 0 auto;
  padding: 54px 32px;
}

.home-hero-copy {
  max-width: 510px;
  color: #fff;
}

.home-hero h1 {
  font-size: clamp(2.45rem, 3.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 18px;
}

.home-hero-copy > p {
  max-width: 470px;
  font-size: clamp(0.98rem, 1.17vw, 1.12rem);
  line-height: 1.55;
  color: #e6edf5;
  margin-bottom: 22px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-hero-actions a:hover {
  transform: translateY(-2px);
}

.home-hero-actions a:focus-visible {
  outline: 3px solid #58c7ff;
  outline-offset: 3px;
}

.home-hero-primary {
  border: 1px solid #0873cb;
  background: #0873cb;
  box-shadow: 0 10px 25px rgba(0, 45, 94, 0.25);
}

.home-hero-primary:hover {
  background: #0b89ec;
}

.home-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(2, 13, 30, 0.36);
}

.home-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: #fff;
}

.home-hero-benefits {
  display: grid;
  gap: 7px;
  list-style: none;
  color: #e6edf5;
  font-size: 0.83rem;
  line-height: 1.35;
}

.home-hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.home-hero-benefits li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid #37bc63;
  border-radius: 50%;
  color: #54d277;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero-image {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(270px, 62vw, 520px);
    object-position: center;
    -webkit-mask-image: linear-gradient(#000 82%, transparent 100%);
    mask-image: linear-gradient(#000 82%, transparent 100%);
  }

  .home-hero::before {
    display: none;
  }

  .home-hero-inner {
    display: block;
    min-height: 0;
    padding: 0 24px 38px;
  }

  .home-hero-copy {
    max-width: 670px;
  }

  .home-hero h1 {
    font-size: clamp(2.05rem, 6vw, 3.15rem);
  }
}

@media (max-width: 520px) {
  .home-hero-inner {
    padding: 0 20px 32px;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 8.2vw, 2.45rem);
  }

  .home-hero-actions {
    gap: 10px;
  }

  .home-hero-actions a {
    width: 100%;
  }
}
