/* hero.css — Home hero section */

.hero {
  max-width: 1440px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--page-px);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* ---- Header row ---- */
.hero__header {
  display: flex;
  align-items: flex-end;
  gap: clamp(40px, 10vw, 137px);
  color: var(--color-forest);
}

.hero__headline {
  flex: 1 1 480px;
  max-width: 622px;
  font-size: 42px;
  font-weight: var(--fw-light);
  line-height: 51px;
}

.hero__contact-info {
  display: flex;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  font-size: 18px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.36px;
  white-space: nowrap;
}

.hero__address p,
.hero__tel a {
  line-height: 27px;
  display: block;
}

.hero__tel-link {
  text-decoration: none;
  line-height: 27px;
  transition: opacity 0.15s ease;
}

.hero__tel-link:hover {
  opacity: 0.6;
}

/* ---- Images row ---- */
.hero__images {
  display: flex;
  gap: 24px;
  align-items: stretch;
  height: 565px;
}

.hero__img-main {
  flex: 2 1 0;
  min-width: 0;
  height: 565px;
  overflow: hidden;
  position: relative;
}

.hero__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__img-side {
  flex: 1 1 0;
  min-width: 0;
  height: 565px;
  overflow: hidden;
  position: relative;
}

.hero__img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .hero__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero__headline {
    flex: none;
    max-width: none;
    font-size: 32px;
    line-height: 40px;
  }

  .hero__contact-info {
    gap: 40px;
    font-size: 16px;
  }

  .hero__images {
    height: auto;
  }

  .hero__img-main {
    height: 400px;
  }

  .hero__img-side {
    height: 400px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .hero {
    gap: var(--space-md);
  }

  .hero__header {
    gap: var(--space-sm);
  }

  .hero__headline {
    font-size: 28px;
    line-height: 36px;
  }

  .hero__contact-info {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-start;
    font-size: 15px;
    white-space: normal;
  }

  .hero__images {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .hero__img-main {
    flex: none;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .hero__img-main img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero__img-side {
    flex: none;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .hero__img-side img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
