/* ------------ MAIN ------------ */
.hero-section {
  position: relative;
  width: 100%;
  height: 785px;
  overflow: hidden;
  background-color: #f5f5f8;
}

.hero-section .container {
  position: relative;
  height: 100%;
}

.hero-content {
  position: absolute;
  width: 100%;
  max-width: 1638px;
  height: 664px;
  top: 121px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-card {
  position: absolute;
  width: 100%;
  max-width: 1596px;
  height: 585px;
  top: 79px;
  background-color: #ffffff;
}

/* Text Elements */
.section-title {
  font-weight: 600;
  color: #000000;
  font-size: 24px;
  white-space: nowrap;
  position: absolute;
  letter-spacing: 0;
  line-height: normal;
}

.directions-title {
  top: 70px;
  left: 706px;
}

.topics-title {
  top: 70px;
  left: 1161px;
}

/* Списки направлений и тем */
.destination-list {
  position: absolute;
  top: 110px;
  left: 706px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.topic-list {
  position: absolute;
  top: 110px;
  left: 1161px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.destination-item,
.topic-item {
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: normal;
  cursor: pointer;
}

.destination-item:hover,
.topic-item:hover {
  color: #1d97a0;
}


/* Остальные стили остаются без изменений */
.main-title {
  font-weight: 700;
  color: #000000;
  font-size: 40px;
  position: absolute;
  letter-spacing: 0;
  line-height: normal;
  top: 70px;
  left: 99px;
}

.description-text {
  font-weight: 600;
  color: #000000;
  font-size: 24px;
  position: absolute;
  letter-spacing: 0;
  line-height: normal;
}

.ask-text {
  top: 245px;
  left: 99px;
}

.share-text {
  top: 346px;
  left: 99px;
}

.support-link {
  font-weight: 500;
  color: transparent;
  font-size: 20px;
  white-space: nowrap;
  position: absolute;
  letter-spacing: 0;
  line-height: normal;
  top: 467px;
  left: 99px;
}

.support-link span {
  color: #000000;
}

.support-link .highlight {
  color: #1d97a0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.support-link .highlight:hover {
  opacity: 0.8;
}

/* Search Form Styles */
.search-container {
  position: absolute;
  width: 452px;
  height: 52px;
  top: 0;
  left: 1146px;
  min-width: 300px;
}

.search-form {
  position: relative;
  width: 450px;
  height: 50px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 5px;
  border: 2px solid #e0e0e0;
  overflow: hidden;
}

.search-input {
  flex: 1;
  height: 100%;
  padding: 0 25px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #000000;
}

.search-divider {
  width: 1px;
  height: 50px;
  background-color: #e0e0e0;
}

.search-button {
  width: 82px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.search-icon-box2 {
  width: 34px;
  height: 34px;
  transition: opacity 0.2s;
}

.search-icon:hover {
  opacity: 0.8;
}

/* Slogan Text */
.slogan-text {
  position: absolute;
  top: 0px;
  left: 104px;
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 0;
  line-height: normal;
  font-family: 'Montserrat Alternates', sans-serif;
}

.slogan-text .normal {
  color: #000000 !important;
  font-family: 'Montserrat Alternates', sans-serif;
  font-style: italic;
}

.slogan-text .accent {
  color: #1d97a0 !important;
  font-family: 'Montserrat Alternates', sans-serif;
  font-style: italic;
}


/* Секция с промо-карточкой */
.promo-section{
  margin-top: 65px;
}

.promo-sec-main{
  display: flex;
  gap: 146px;
  align-items: center;
}

.promo-section {
  width: 100%;
  height: 540px;
  background-color: #f5f5f8; /* Серый фон */
  display: flex;
  align-items: center;
}

.promo-card {
  width: 100%;
  max-width: 800px;
  height: 386px;
  position: relative;
  box-sizing: border-box;
}

.promo-card2-img{
  width: 614px;
  height: 540px;
}

.promo-container {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promo-logo {
  width: 300px;
  height: auto;
  margin-bottom: 0px;
}

.promo-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.promo-tag {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  color: #fbbc13;
  font-size: 34px;
  margin: 0 0 10px 0;
}

.promo-title {
  font-weight: 700;
  font-size: 30px;
  color: #000;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.promo-description {
  margin-bottom: 30px;
}

.promo-description p {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

.highlight-text {
  font-weight: 700;
  color: #000;
}

.highlight-number {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  color: #f3b203;
  font-size: 22px;
  margin: 0 4px;
}

.promo-button {
  width: 204px;
  height: 40px;
  border: 2px solid #fbbc13;
  background: transparent;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; /* Плавный переход */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.promo-button:hover {
  background-color: #fbbd1321;
}




/* Медиа-запросы для адаптации */
@media (max-width: 1596px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 1200px) {
  .logo {
    gap: 50px;
    margin-right: 100px;
  }
  
  .phoneprof {
    gap: 40px;
  }
  
  .header__nav__ul {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: auto;
    padding-bottom: 30px;
  }

  .hero-content {
    position: static;
    transform: none;
    height: auto;
    max-width: 100%;
    top: auto;
    left: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .slogan-text {
    position: static;
    font-size: 32px;
    margin-bottom: 20px;
  }

  .slogan-text .normal {
    color: #000000 !important;
  }
  .slogan-text .accent {
    color: #1d97a0 !important;
  }

  .search-container {
    position: static;
    width: 100%;
    max-width: 452px;
    left: auto;
    top: auto;
    margin-bottom: 30px;
  }

  .search-form {
    width: 100%;
  }

  .hero-card {
    position: static;
    height: auto;
    max-width: 100%;
    top: auto;
    padding: 30px;
  }

  .main-title {
    position: static;
    font-size: 32px;
    margin-bottom: 20px;
  }

  .description-text {
    position: static;
    font-size: 20px;
    margin-bottom: 15px;
  }

  .support-link {
    position: static;
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
  }

  .section-title {
    position: static;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
  }

  .destination-list,
  .topic-list {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .destination-item,
  .topic-item {
    font-size: 18px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
  }

  .search-results-title {
    font-size: 28px;
  }

  .search-topics h3,
  .search-categories h3 {
    font-size: 18px;
  }

  .forum-topic,
  .forum-category {
    padding: 15px;
  }

  /* Promo Section */
  .promo-section {
    height: auto;
    padding: 30px 0;
  }

  .promo-sec-main {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .promo-card2 {
    display: none;
  }

  .promo-card {
    max-width: 100%;
    height: auto;
  }

  .promo-logo {
    width: 250px;
  }

  .promo-tag {
    font-size: 28px;
  }

  .promo-title {
    font-size: 26px;
  }

  .promo-description p {
    font-size: 18px;
  }

  .highlight-number {
    font-size: 20px;
  }

  .promo-button {
    width: 180px;
    height: 35px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .slogan-text {
    font-size: 28px;
  }
  .slogan-text .normal {
    color: #000000 !important;
  }
  .slogan-text .accent {
    color: #1d97a0 !important;
  }

  .main-title {
    font-size: 28px;
  }

  .description-text {
    font-size: 18px;
  }

  .support-link {
    font-size: 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .destination-item,
  .topic-item {
    font-size: 16px;
  }

  .search-input {
    font-size: 14px;
  }

  .search-results-title {
    font-size: 24px;
  }

  .search-topics h3,
  .search-categories h3 {
    font-size: 16px;
  }

  /* Promo Section */
  .promo-logo {
    width: 200px;
  }

  .promo-tag {
    font-size: 24px;
  }

  .promo-title {
    font-size: 22px;
  }

  .promo-description p {
    font-size: 16px;
  }

  .highlight-number {
    font-size: 18px;
  }

  .promo-button {
    width: 160px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 15px;
  }

  .slogan-text {
    font-size: 24px;
  }
  .slogan-text .normal {
    color: #000000 !important;
  }
  .slogan-text .accent {
    color: #1d97a0 !important;
  }

  .search-container {
    margin-bottom: 20px;
  }

  .main-title {
    font-size: 24px;
  }

  .description-text {
    font-size: 16px;
  }

  .support-link {
    font-size: 14px;
  }

  .hero-card {
    padding: 20px;
  }

  .destination-list,
  .topic-list {
    gap: 8px;
  }

  .destination-item,
  .topic-item {
    font-size: 14px;
    padding: 6px 12px;
  }

  .search-results-title {
    font-size: 20px;
  }

  .search-topics h3,
  .search-categories h3 {
    font-size: 14px;
  }

  .forum-topic,
  .forum-category {
    padding: 10px;
  }

  /* Promo Section */
  .promo-logo {
    width: 150px;
  }

  .promo-tag {
    font-size: 20px;
  }

  .promo-title {
    font-size: 18px;
  }

  .promo-description p {
    font-size: 14px;
  }

  .highlight-number {
    font-size: 16px;
  }

  .promo-button {
    width: 140px;
    height: 28px;
    font-size: 10px;
  }
}

/* Более специфичные правила для слогана */
.hero-section .hero-content .slogan-text .normal {
  color: #000000 !important;
}

.hero-section .hero-content .slogan-text .accent {
  color: #1d97a0 !important;
}