/* Главная страница: первый экран с фотографией региона и приветствием. */
.home-hero {
  height: 1053px;
  position: relative;
  isolation: isolate;
  color: white;
  background: #07151b;
}
.home-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#23303c90, transparent 25%, transparent 52%, #000 100%);
}
.home-hero .hero-photo {
  object-position: center;
}
.home-hero-content {
  padding-top: 221px;
  padding-right: 153px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}
.region-mark {
  width: 189px;
  height: 189px;
  object-fit: contain;
  margin-bottom: 29px;
}
.home-hero-content > p {
  font-size: 36px;
  margin-bottom: 12px;
}
.home-hero h1 {
  font-family: Asylbek, Inter, sans-serif;
  font-size: 96px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.26;
  letter-spacing: -0.025em;
}
/* Короткий слоган в нижней части первого экрана. */
.hero-tagline {
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}
.hero-tagline > img {
  width: 30px;
  height: 30px;
  transform: rotate(90deg);
}
.hero-tagline p {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}
/* Тёмный блок направлений отдыха с декоративными орнаментами. */
.home-explore {
  background:
    radial-gradient(ellipse at 77% 23%, #160837 0, transparent 24%),
    radial-gradient(ellipse at 33% 63%, #433e00 0, transparent 22%), #000;
  color: white;
  border-radius: 0 0 90px 90px;
  position: relative;
  isolation: isolate;
  padding: 44px 0 100px;
  overflow: hidden;
}
.ornament {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.ornament-one {
  width: 700px;
  height: 1070px;
  top: 240px;
  left: 32%;
}
/* Промоблок Имантау-Шалкар: фотография, подписи и кнопка перехода. */
.discover {
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
}
.discover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.discover-copy {
  position: absolute;
  right: 80px;
  top: 80px;
  text-align: right;
}
.discover-copy h2 {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.discover-copy p {
  font-size: 40px;
  font-weight: 800;
  margin: 4px 0 32px;
}
.discover-label {
  position: absolute;
  top: 190px;
  left: 50px;
  width: 365px;
  text-align: center;
  display: grid;
}
.discover-label strong {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
}
.discover-label span {
  font-size: 20px;
  font-style: italic;
}
/* Блоки отдыха с детьми и развлечений. */
.leisure {
  display: grid;
  grid-template-columns: 569fr 479fr;
  gap: 112px;
  margin-top: 80px;
}
.children-copy {
  padding-top: 60px;
}
.children-copy h2 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 30px;
}
.children-copy p {
  font-size: 20px;
  font-weight: 800;
  margin-top: 42px;
}
.entertainment {
  position: relative;
  height: 592px;
  overflow: hidden;
  border-radius: 40px;
}
.entertainment > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entertainment:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #000c);
}
.entertainment > div {
  position: absolute;
  inset: auto 32px 40px;
  z-index: 1;
}
.entertainment h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
/* Легенды и театры: композиция из фотографий и текстовых блоков. */
.legends-theatres {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 350fr 734fr;
  gap: 76px;
}
.legends h2,
.theatres h2 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
}
.legend-photo {
  height: 432px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}
.legend-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legend-photo:after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #000b);
}
.legend-photo .button {
  position: absolute;
  z-index: 1;
  left: 40px;
  bottom: 36px;
  padding-inline: 26px;
}
.theatres {
  height: 661px;
  position: relative;
}
.theatre-base {
  position: absolute;
  inset: 293px 0 0;
  background: linear-gradient(#1c6ff6, #153057);
  border-radius: 30px;
}
.theatre-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 73%;
  height: 91%;
  object-fit: cover;
  object-position: left;
  z-index: 1;
  border-radius: 0 0 30px 0;
}
.theatre-ornament {
  position: absolute;
  left: 7%;
  top: 40%;
  width: 70%;
  height: 55%;
  object-fit: contain;
}
.theatres h2 {
  position: absolute;
  left: 4px;
  top: 196px;
  z-index: 2;
}
.theatres .button {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
}
/* Гастрономия: фон и декоративные изображения поверх карточки. */
.gastronomy-wrap {
  position: relative;
  margin-top: 80px;
  padding-bottom: 50px;
}
.gastronomy {
  height: 408px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.gastronomy-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
  z-index: -2;
}
.gastronomy:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0007;
  z-index: -1;
}
.gastronomy-copy {
  text-align: center;
  padding: 25px;
}
.gastronomy h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -0.035em;
}
.gastronomy-copy p {
  font-size: 15px;
  margin-top: 20px;
}
.food-decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  object-fit: contain;
}
.food-decor-left {
  left: 2%;
  top: 0;
  width: 29%;
  height: 410px;
  opacity: 0.2;
}
.food-decor-right {
  right: 10%;
  top: 45px;
  width: 22%;
  height: 407px;
}
/* Новости: крупные публикации, даты и список коротких анонсов. */
.home-news {
  padding-top: 120px;
}
.home-news > .section-title {
  margin-bottom: 60px;
}
.news-features {
  display: grid;
  gap: 60px;
}
.news-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}
.news-photo {
  position: relative;
  margin-right: 40px;
  padding-top: 40px;
}
.news-photo:before {
  content: '';
  position: absolute;
  inset: 0 -40px 48px 46px;
  border: 1px solid #ddd;
  border-radius: 40px;
}
.news-photo img {
  width: 100%;
  aspect-ratio: 523/657;
  object-fit: cover;
  border-radius: 50px;
  position: relative;
}
.news-copy {
  padding: 10px;
}
.news-copy time,
.news-small time {
  display: inline-block;
  background: #e4e4e4;
  color: #0860cd;
  border-radius: 30px;
  font-size: 24px;
  padding: 9px 16px;
  white-space: nowrap;
}
.news-copy h3 {
  font-size: 32px;
  line-height: 1.25;
  margin: 30px 0 20px;
}
.news-copy p {
  font-size: 20px;
  line-height: 1.25;
  color: #4e5058;
}
.news-feature--reverse .news-photo {
  order: 2;
}
.news-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 30px;
  margin-top: 60px;
}
.news-small article {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}
.news-small h3 {
  font-size: 20px;
  line-height: 1.3;
}
.news-small time {
  font-size: 20px;
  padding: 8px 12px;
}
.news-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}
/* Культура: синяя подложка и вырезанная фотография танцовщицы. */
.culture {
  height: 790px;
  margin-top: 10px;
  position: relative;
}
.culture-panel {
  position: absolute;
  inset: 271px 0 0;
  background: #1c6ff6;
  border-radius: 30px;
  color: white;
  padding: 80px;
}
.culture-panel p {
  font-size: 20px;
  font-weight: 600;
}
.culture-panel h2 {
  font-size: 96px;
  font-weight: 800;
  margin: 20px 0 150px;
  letter-spacing: -0.04em;
}
.culture-panel .button {
  background: #3a94fc;
  border-color: #3a94fc;
}
.culture-dancer {
  position: absolute;
  right: -180px;
  bottom: 0;
  width: 993px;
  height: 790px;
  object-fit: contain;
  pointer-events: none;
}
/* Маршруты: список направлений, карточки и управление каруселью. */
.home-routes {
  padding: 120px 0 170px;
}
.routes-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.routes-heading p {
  font-size: 24px;
  line-height: 1.3;
  margin-top: 20px;
}
.carousel-controls {
  display: flex;
  gap: 12px;
}
.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid #333;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
}
.carousel-controls button:first-child {
  background: var(--sky);
  border-color: var(--sky);
  color: white;
}
.routes-layout {
  display: grid;
  grid-template-columns: 383fr 766fr;
  gap: 45px;
  align-items: center;
  margin-top: 55px;
}
.route-list ul {
  list-style: none;
  position: relative;
  padding: 0 0 0 44px;
  display: grid;
  gap: 30px;
  margin: 0 0 30px;
}
.route-list ul:before {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  border-left: 1px solid #555;
}
.route-list li {
  position: relative;
  font-size: 24px;
  line-height: 1.25;
}
.route-list li:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #222;
  left: -42px;
  top: 10px;
  border-radius: 50%;
  outline: 4px solid white;
}
.route-list .button {
  width: 100%;
}
/* Горизонтальная полоса с привязкой прокрутки к карточкам (scroll-snap). */
.route-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.route-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.route-card img {
  width: 100%;
  height: 424px;
  object-fit: cover;
  border-radius: 30px;
}
.route-card h3 {
  font-size: 24px;
  margin: 20px 0;
  min-height: 105px;
}
.route-card .button {
  width: 100%;
  padding-inline: 12px;
  margin-top: auto;
}
.button--green {
  background: #13b665;
  border-color: #13b665;
  color: white;
}
/* Адаптация главной под компактные настольные мониторы. */
@media (max-width: 1500px) {
  .home-hero-content {
    padding-right: 9%;
  }
  .home-hero h1 {
    font-size: 86px;
  }
  .leisure {
    gap: 70px;
  }
  .discover-copy {
    right: 55px;
  }
  .discover-copy h2 {
    font-size: 80px;
  }
  .discover-copy p {
    font-size: 34px;
  }
  .discover-label {
    left: 25px;
    width: 340px;
  }
  .culture-dancer {
    right: -100px;
    width: 80%;
  }
  .culture-panel {
    padding: 65px;
  }
  .culture-panel h2 {
    font-size: 86px;
  }
  .food-decor-right {
    right: 2%;
  }
}
/* Планшетная компоновка и уменьшенные изображения. */
@media (max-width: 1200px) {
  .home-hero-content {
    padding-right: 32px;
  }
  .home-hero h1 {
    font-size: 75px;
  }
  .home-hero {
    height: 1000px;
  }
  .discover {
    height: 410px;
  }
  .discover-copy {
    top: 80px;
    right: 30px;
  }
  .discover-copy h2 {
    font-size: 64px;
  }
  .discover-copy p {
    font-size: 26px;
  }
  .discover-label {
    width: 270px;
    left: 20px;
    top: 175px;
  }
  .discover-label strong {
    font-size: 32px;
  }
  .discover-label span {
    font-size: 15px;
  }
  .leisure {
    gap: 45px;
  }
  .entertainment h2 {
    font-size: 38px;
  }
  .legends-theatres {
    gap: 35px;
  }
  .legends h2,
  .theatres h2 {
    font-size: 52px;
  }
  .legend-photo .button {
    left: 20px;
    font-size: 14px;
    padding-inline: 20px;
  }
  .theatres .button {
    left: 20px;
  }
  .news-small article {
    display: block;
  }
  .news-small h3 {
    margin-top: 16px;
  }
  .culture-panel h2 {
    font-size: 72px;
  }
  .routes-layout {
    grid-template-columns: 1fr 1.6fr;
    gap: 25px;
  }
  .route-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .route-list li {
    font-size: 20px;
  }
  .route-card img {
    height: 350px;
  }
  .route-card h3 {
    font-size: 20px;
  }
  .culture {
    height: 700px;
  }
  .culture-panel {
    top: 230px;
  }
  .culture-dancer {
    height: 700px;
  }
  .culture-panel h2 {
    margin-bottom: 100px;
  }
}
/* Мобильная версия: блоки в одну колонку, карточки листаются жестом. */
@media (max-width: 768px) {
  .home-hero {
    height: 760px;
  }
  .home-hero .hero-photo {
    object-position: 47% center;
  }
  .home-hero-content {
    padding: 155px 0 0;
  }
  .region-mark {
    width: 125px;
    height: 125px;
    margin-bottom: 25px;
  }
  .home-hero-content > p {
    font-size: 22px;
  }
  .home-hero h1 {
    font-size: clamp(32px, 6.7vw, 51px);
    line-height: 1.35;
    letter-spacing: -0.02em;
  }
  .hero-tagline {
    bottom: 40px;
    gap: 20px;
  }
  .hero-tagline p {
    font-size: 16px;
  }
  .hero-tagline > img {
    width: 24px;
    height: 24px;
  }
  .home-explore {
    padding: 20px 0 55px;
    border-radius: 0 0 38px 38px;
  }
  .discover {
    height: 320px;
    border-radius: 25px;
  }
  .discover-photo {
    object-position: 35% center;
  }
  .discover-copy {
    top: 40px;
    right: 20px;
  }
  .discover-copy h2 {
    font-size: 44px;
  }
  .discover-copy p {
    font-size: 19px;
    max-width: 185px;
    margin: 5px 0 18px;
  }
  .discover-label {
    top: auto;
    bottom: 30px;
    left: 10px;
    width: 160px;
  }
  .discover-label strong {
    font-size: 23px;
  }
  .discover-label span {
    font-size: 11px;
  }
  .discover .button {
    font-size: 13px;
    padding: 8px 22px;
    min-height: 42px;
  }
  .leisure {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 55px;
  }
  .children-copy {
    padding-top: 0;
  }
  .children-copy h2 {
    font-size: 48px;
    margin-bottom: 24px;
  }
  .children-copy p {
    font-size: 16px;
    margin-top: 25px;
  }
  .entertainment {
    height: 450px;
  }
  .entertainment > div {
    inset: auto 24px 28px;
  }
  .entertainment h2 {
    font-size: 38px;
  }
  .legends-theatres {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 55px;
  }
  .legends {
    max-width: 360px;
  }
  .legends h2,
  .theatres h2 {
    font-size: 44px;
  }
  .legend-photo {
    height: 400px;
  }
  .theatres {
    height: 480px;
  }
  .theatre-base {
    top: 170px;
  }
  .theatres h2 {
    top: 105px;
  }
  .theatre-photo {
    width: 75%;
    height: 95%;
    object-position: 20% center;
  }
  .theatres .button {
    bottom: 25px;
    left: 22px;
  }
  .gastronomy-wrap {
    margin-top: 55px;
    padding-bottom: 0;
  }
  .gastronomy {
    height: 350px;
    border-radius: 25px;
  }
  .gastronomy h2 {
    font-size: 30px;
  }
  .food-decor-left {
    width: 50%;
    height: 200px;
    top: 0;
  }
  .food-decor-right {
    width: 38%;
    height: 160px;
    right: -4%;
    top: auto;
    bottom: -35px;
  }
  .gastronomy-copy {
    position: relative;
    z-index: 3;
  }
  .home-news {
    padding-top: 65px;
  }
  .home-news > .section-title {
    margin-bottom: 35px;
  }
  .news-features {
    gap: 40px;
  }
  .news-feature {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .news-photo {
    max-width: 430px;
    margin-right: 25px;
    padding-top: 25px;
  }
  .news-photo:before {
    inset: 0 -25px 30px 25px;
    border-radius: 25px;
  }
  .news-photo img {
    border-radius: 28px;
    aspect-ratio: 523/550;
  }
  .news-feature--reverse .news-photo {
    order: 0;
  }
  .news-copy {
    padding: 0;
  }
  .news-copy time {
    font-size: 16px;
  }
  .news-copy h3 {
    font-size: 26px;
    margin: 20px 0 16px;
  }
  .news-copy p {
    font-size: 16px;
    line-height: 1.5;
  }
  .news-small {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
  }
  .news-small article {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
  }
  .news-small time {
    font-size: 12px;
    padding: 8px;
  }
  .news-small h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
  }
  .news-more {
    margin-top: 25px;
  }
  .culture {
    height: 530px;
    margin-top: 45px;
  }
  .culture-panel {
    inset: 140px 0 0;
    padding: 30px 22px;
    border-radius: 25px;
  }
  .culture-panel > div {
    position: relative;
    z-index: 2;
  }
  .culture-panel p {
    font-size: 14px;
    max-width: 190px;
  }
  .culture-panel h2 {
    font-size: 52px;
    margin: 16px 0 205px;
  }
  .culture-panel .button {
    font-size: 14px;
    padding-inline: 24px;
  }
  .culture-dancer {
    width: 120%;
    max-width: none;
    height: 430px;
    right: -25%;
    bottom: 0;
  }
  .home-routes {
    padding: 65px 0 85px;
  }
  .routes-heading {
    align-items: flex-start;
  }
  .routes-heading p {
    font-size: 16px;
  }
  .carousel-controls {
    display: none;
  }
  .routes-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }
  .route-list ul {
    gap: 22px;
    padding-left: 28px;
  }
  .route-list li {
    font-size: 18px;
  }
  .route-list li:before {
    left: -26px;
  }
  .route-track {
    gap: 18px;
  }
  .route-card {
    flex-basis: 75%;
    max-width: 320px;
  }
  .route-card img {
    height: 340px;
  }
  .route-card h3 {
    min-height: 60px;
    font-size: 21px;
  }
  .home-explore .ornament {
    width: 90%;
    left: 10%;
    top: 550px;
  }
}
/* Без плавного движения при включённом уменьшении анимаций. */
@media (prefers-reduced-motion: reduce) {
  .route-track {
    scroll-behavior: auto;
  }
}
/* Ориентация танцовщицы соответствует макету; недоступные кнопки карусели приглушены. */
.culture-dancer {
  transform: scaleX(-1);
}
.carousel-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
