/**
 * HERO — AMP.RF
 * SVG подключены как <img>, чтобы изменения файла отражались мгновенно
 */

.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* Контент */
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 90px;
  min-height: 450px;
  z-index: 2;
}

.hero-content {
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  color: #000;
}

.hero-brand {
  display: inline-block;
  margin: 26px 0 18px;
  padding: 18px 36px;
  background: #a6ce38;
  color: #fff;
  font-size: 90px;
  font-weight: 700;
  border-radius: 30px;
  transform: rotate(-3deg);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1;
  color: #747474;
  margin-bottom: 42px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #000;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-btn:hover { transform: translateY(-2px); }
.hero-btn--auto:hover { background: #4471e2; }
.hero-btn--realty:hover { background: #f63d4a; }

/* ===== Декор (иконки) ===== */

.hero-bg {
  position: absolute;
  top: 50%;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
  transform: translateY(-50%);
}

/* Размер иконок (можешь менять) */
.hero-bg img {
  width: 520px;
  height: auto;
  display: block;
}

/*
  СИММЕТРИЧНЫЙ "ВЫЛЕТ" ЗА ЭКРАН:
  одинаковое значение в px слева и справа.
  Если надо больше выглядывать: сделай -220px
*/
.hero-bg--auto {
  left: -180px;
}

.hero-bg--realty {
  right: -180px;
}

/* ===== Адаптив ===== */

@media (max-width: 1024px) {
  .hero-inner {
    min-height: 550px;
    padding-top: 80px;
  }
  .hero-title { font-size: 46px; }
  .hero-brand { font-size: 72px; }
  .hero-bg img { width: 440px; }
  .hero-bg--auto { left: -160px; }
  .hero-bg--realty { right: -160px; }
}

@media (max-width: 768px) {
  .hero-bg { display: none; }

  .hero-inner {
    min-height: auto;
    padding: 80px 16px 70px;
  }

  .hero-title {
    font-size: 50px;
    line-height: 1.1;
  }

  .hero-brand {
    font-size: 56px;
    padding: 14px 26px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 33px; }
  .hero-brand { font-size: 48px; }
  .hero-subtitle { font-size: 14px; }
}