.home-hero {
  padding: 28px 0 38px;
  background: #f8f7f5;
}

.home-hero__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: 'intro media' 'partner media';
  gap: 20px;
  align-items: stretch;
  max-width: min(1280px, calc(200svh - 420px));
  margin: 0 auto;
}

.home-hero__intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 34px 40px;
  border: 1px solid #e9e9e9;
  border-radius: 24px;
  background: #fff;
}

.home-hero__eyebrow {
  margin-bottom: 14px;
  color: #bd4848;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero__title {
  margin: 0 0 18px;
  color: #152f50;
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-hero__lead {
  margin: 0 0 20px;
  color: #43566c;
  font-size: 15px;
  line-height: 1.55;
}

.home-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 10px 17px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-hero__action:hover {
  transform: translateY(-2px);
}

.home-hero__action:focus-visible {
  outline: 2px solid #152f50;
  outline-offset: 3px;
}

.home-hero__action--primary {
  background: #bd4848;
  color: #fff;
}

.home-hero__action--primary:hover {
  background: #a63b3b;
  color: #fff;
}

.home-hero__action--secondary {
  background: #152f50;
  color: #fff;
}

.home-hero__action--secondary:hover {
  background: #25476b;
  color: #fff;
}

.home-hero__partner {
  grid-area: partner;
  min-width: 0;
  padding: 20px 28px;
  border: 1px solid #e9e9e9;
  border-radius: 22px;
  background: #fff;
}

.home-hero__partner-title {
  margin: 0 0 8px;
  color: #152f50;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.25;
}

.home-hero__partner-copy {
  margin: 0 0 14px;
  color: #607084;
  font-size: 13px;
  line-height: 1.5;
}

.home-hero__media {
  grid-area: media;
  min-width: 0;
}

.home-hero__campaign {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  background: #ded2c8;
}

.home-hero__campaign:focus-visible {
  outline: 2px solid #bd4848;
  outline-offset: 3px;
}

.home-hero__campaign-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 1280px) and (max-height: 820px) {
  .home-hero__layout {
    gap: 12px 20px;
  }

  .home-hero__intro {
    padding: 24px;
  }

  .home-hero__title {
    font-size: clamp(34px, 3vw, 44px);
  }

  .home-hero__lead {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .home-hero__partner {
    padding: 16px 22px;
  }

  .home-hero__partner-title {
    font-size: 19px;
  }

  .home-hero__partner-copy {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 1279px) {
  .home-hero__layout {
    max-width: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 'intro' 'media' 'partner';
  }

  .home-hero__intro {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding: 16px 0 28px;
  }

  .home-hero__layout {
    gap: 12px;
  }

  .home-hero__intro {
    padding: 26px 21px;
    border-radius: 20px;
  }

  .home-hero__partner {
    padding: 22px 21px;
    border-radius: 20px;
  }

  .home-hero__title {
    margin-bottom: 18px;
  }

  .home-hero__lead {
    font-size: 14px;
  }

  .home-hero__campaign {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__action {
    transition: none;
  }
}
