.hero {
  width: 100%;
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  min-height: 565px;
}

.hero__content,
.hero__media {
  min-width: 0;
}

.hero__content {
  background: var(--color-turquoise);
  display: flex;
  align-items: center;
}

.hero__content-inner {
  max-width: 640px;
  padding: 68px 56px 68px 84px;
}

.hero__title {
  margin: 0 0 26px;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  overflow-wrap: normal;
  max-width: 15ch;
}

.hero__text {
  margin: 0 0 26px;
}

.hero__text p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__media {
  min-height: 565px;
  background: #d8e4df;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 565px;
  object-fit: cover;
  object-position: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 3px solid #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button--primary {
  background: #f0c419;
  color: #111111;
}

.button--primary:hover {
  background: #d4a800;
  border-color: #111111;
}

.button--secondary {
  background: #ffffff;
  color: #111111;
}

.button--secondary:hover {
  background: #f0c419;
  border-color: #111111;
}

@media (max-width: 1024px) {
  .hero__content-inner {
    max-width: 520px;
    padding: 52px 40px 52px 56px;
  }

  .hero__title,
  .hero__text,
  .hero__text p {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__content-inner {
    max-width: none;
    padding: 40px 24px;
  }

  .hero__title,
  .hero__text,
  .hero__text p {
    max-width: none;
  }

  .hero__media {
    min-height: 320px;
  }

  .hero__image {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
