﻿
.hero {
  position: relative;
  min-height: 810px;
  padding: 170px 20px 150px;
  overflow: hidden;
  background: url("../images/hero-main-new.webp") center / cover no-repeat;
  color: var(--white);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(3, 16, 15, 0.9) 0%,
      rgba(3, 16, 15, 0.66) 42%,
      rgba(3, 16, 15, 0.42) 68%,
      rgba(3, 16, 15, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 16, 15, 0.45) 0%,
      rgba(3, 16, 15, 0.08) 45%,
      rgba(3, 16, 15, 0.48) 100%
    );
}

.hero__container {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.hero__content {
  max-width: 660px;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.hero__label span {
  width: 78px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  margin: 0 0 24px;
  font-size: 64px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

.hero__title span {
  color: var(--accent-light);
}

.hero__text {
  margin: 0 0 34px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__btn {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: 0.2s ease;
}

.hero__btn--primary {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #1c1c1c;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero__btn--primary .button-icon {
  width: 19px;
  height: 19px;
}

.hero__btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffd36d 0%, #e5ad3f 100%);
}

.hero__btn--outline {
  min-width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 20, 19, 0.34);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.hero__btn--outline:hover {
  border-color: var(--accent);
  background: rgba(217, 166, 63, 0.12);
}

.hero__play {
  width: 24px;
  height: 24px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__play svg {
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.hero__features {
  width: 320px;
  flex: 0 0 320px;
  padding: 30px 28px;
  border: 1px solid rgba(217, 166, 63, 0.35);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(21, 87, 75, 0.46), transparent 55%),
    rgba(4, 31, 28, 0.88);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 22px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.hero-feature:not(:last-child) {
  margin-bottom: 30px;
}

.hero-feature__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--accent);
}

.hero-feature__icon svg,
.hero-feature__icon .tabler-icon {
  width: 100%;
  height: 100%;
}

.hero-feature__icon svg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--white);
}

.hero-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

/* SEARCH */

.hero-search {
  position: relative;
  z-index: 5;
  padding: 0 20px 48px;
  margin-top: -40px;
}

.hero-search__container {
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
}

.search-panel {
  min-height: 86px;
  padding: 18px;
  border-radius: 10px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 212px;
  align-items: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.search-panel__item {
  position: relative;
  min-height: 50px;
  padding: 0 38px 0 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-panel__item:hover,
.search-panel__item:focus-within {
  background: #f8f6f0;
}

.search-panel__item:focus-within {
  box-shadow: inset 0 0 0 1px rgba(6, 43, 39, 0.14);
}

.search-panel__item:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: #e8e8e8;
}

.search-panel__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.search-panel__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #222;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 24px;
  pointer-events: none;
}

.search-panel__content span {
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #8b8b8b;
}

.search-panel__content strong {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  color: #222;
  transition: color 0.2s ease;
}

.search-panel__item--selected .search-panel__content strong {
  color: var(--dark-2);
}

.search-panel__select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.search-panel__arrow {
  position: absolute;
  z-index: 1;
  right: 28px;
  top: 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.search-panel__item:hover .search-panel__arrow,
.search-panel__item:focus-within .search-panel__arrow {
  opacity: 0.85;
}

.search-panel__item:focus-within .search-panel__arrow {
  transform: translateY(-50%) rotate(180deg);
}

.search-panel__arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #111;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel__submit {
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--dark-2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: 0.2s ease;
}

.search-panel__submit svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel__submit:hover {
  background: #0b3b35;
  transform: translateY(-1px);
}

/* TOURS */

.tours {
  padding: 34px 20px 48px;
  background: var(--white);
}

.tours__container {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.tours__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.tours__label {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #d59c35;
}

.tours__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #222;
}

.tours__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  color: #c9922e;
  transition: 0.2s ease;
}

.tours__link .button-icon {
  width: 17px;
  height: 17px;
}

.tours__link:hover {
  color: #a97618;
}

.tours__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tour-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-card:hover,
.tour-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  outline: none;
}

.tour-card__image {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #d9d9d9;
}

.tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: var(--white);
}

.tour-card__badge--green {
  background: #2d7c4a;
}

.tour-card__badge--orange {
  background: #eba52e;
}

.tour-card__badge--blue {
  background: #3d9fdc;
}

.tour-card__badge--purple {
  background: #8a5fb8;
}

.tour-card__body {
  padding: 14px 16px 16px;
}

.tour-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: #202020;
}

.tour-card__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #777;
}

.tour-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-card__price {
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  color: #111;
}

.tour-card__btn {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #dda83b;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(221, 168, 59, 0.35);
  transition: 0.2s ease;
}

.tour-card__btn:hover {
  background: var(--accent-dark);
  transform: translateX(2px);
}

.tours__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.tours__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
}

.tours__dot--active {
  background: #d4a245;
}

/* DIRECTIONS */

.directions {
  padding: 34px 20px 42px;
  background: var(--bg);
}

.directions__container {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.directions__label {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #d4a247;
}

.directions__title {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #202020;
}

.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.direction-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.direction-card__img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.direction-card:hover .direction-card__img {
  transform: scale(1.06);
}

.direction-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.direction-card__content {
  position: absolute;
  left: 22px;
  right: 70px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
}

.direction-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  color: var(--white);
}

.direction-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
}

.direction-card__text {
  max-width: 310px;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.direction-card__btn {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: 0.2s ease;
}

.direction-card__btn:hover {
  transform: translateX(3px);
  background: var(--accent);
  color: var(--white);
}

/* FEATURED TOUR */

.konaev-spotlight {
  padding: 28px 0 88px;
}

.konaev-spotlight__card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(229, 173, 63, 0.34);
  border-radius: 28px;
  background: #062b27;
  box-shadow: 0 24px 60px rgba(4, 31, 29, 0.18);
  color: #fff;
}

.konaev-spotlight__media {
  position: relative;
  min-height: 420px;
}

.konaev-spotlight__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(6, 43, 39, 0.78));
  pointer-events: none;
}

.konaev-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.konaev-spotlight__age {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(4, 31, 29, 0.78);
  color: var(--accent-light);
  font: 700 16px/1 "Inter", sans-serif;
  backdrop-filter: blur(8px);
}

.konaev-spotlight__age .num {
  display: inline;
  line-height: inherit;
}

.konaev-spotlight__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
}

.konaev-spotlight__label {
  margin: 0 0 13px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.konaev-spotlight h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
}

.konaev-spotlight__content > p:not(.konaev-spotlight__label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.konaev-spotlight__features {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.konaev-spotlight__features li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.konaev-spotlight__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

.konaev-spotlight__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.konaev-spotlight__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  color: #15201f;
  font-weight: 700;
}

.konaev-spotlight__actions small {
  color: rgba(255, 255, 255, 0.52);
  font: 400 10px/1.4 "Inter", sans-serif;
}

.featured-tour {
  padding: 18px 20px 20px;
  background: var(--bg);
}

.featured-tour__container {
  width: min(1390px, calc(100vw - 40px));
  margin: 0 auto;
}

.featured-tour__main {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.72fr;
  gap: 42px;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 60% 30%, rgba(22, 85, 73, 0.45), transparent 38%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.featured-tour__main::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  z-index: 4;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
}

.featured-tour__main.is-autoplaying::after {
  opacity: 1;
  animation: featuredTourProgress var(--featured-autoplay-delay, 5000ms) linear forwards;
}

.featured-tour__main.is-transitioning {
  animation: featuredTourLift 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes featuredTourProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes featuredTourLift {
  0% {
    transform: translateY(0);
    box-shadow: none;
  }

  45% {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
  }

  100% {
    transform: translateY(0);
    box-shadow: none;
  }
}

.featured-tour__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: #12342f;
}

.featured-tour__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.featured-tour__content {
  padding: 12px 0 4px;
}

.featured-tour__label {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #d6a53c;
}

.featured-tour__title {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
}

.featured-tour__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.featured-tour__meta span {
  white-space: nowrap;
}

.featured-tour__text {
  max-width: 460px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.featured-tour__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px;
  border-radius: 12px;
  background: #efbd4d;
  color: #17211b;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  transition: 0.2s ease;
}

.featured-tour__button:hover {
  background: #dca638;
  transform: translateY(-1px);
}

.featured-tour__routes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
}

.featured-tour__routes::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.route-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.2s ease;
}

.route-item--active,
.route-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.route-item img {
  width: 86px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.route-item span {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.route-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #d6a53c;
}

.featured-tour__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
  padding: 22px 38px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(20, 79, 68, 0.45), transparent 42%),
    linear-gradient(135deg, var(--dark) 0%, #062a27 55%, var(--dark) 100%);
  color: var(--white);
}

.stat-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 72px;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat-item__icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #d6a53c;
}

.stat-item__icon svg,
.stat-item__icon .tabler-icon {
  width: 100%;
  height: 100%;
}

.stat-item__icon svg {
  fill: none;
  stroke: #d6a53c;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 31px;
  line-height: 1;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.stat-item > div:not(.stat-item__icon) > span {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

/* FOOTER */

/* ADAPTIVE */

@media (max-width: 1180px) {
  .hero__container {
    gap: 40px;
  }

  .hero__title {
    font-size: 54px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__features {
    width: 300px;
    flex-basis: 300px;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .search-panel__submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-panel__item:nth-of-type(2)::after {
    display: none;
  }

  .tours__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-card__image {
    height: 210px;
  }

  .featured-tour__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .featured-tour__routes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
  }

  .featured-tour__routes::before {
    display: none;
  }

  .featured-tour__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    padding-top: 190px;
    padding-bottom: 140px;
  }

  .hero__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__features {
    width: 100%;
    flex-basis: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .hero-feature:not(:last-child) {
    margin-bottom: 0;
  }

  .directions__grid {
    grid-template-columns: 1fr;
  }

  .direction-card,
  .direction-card__img {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .hero__container,
  .hero-search__container,
  .tours__container,
  .directions__container,
  .featured-tour__container {
    width: min(100%, calc(100vw - 32px));
  }

  .hero {
    min-height: 660px;
    padding: 96px 16px 104px;
  }

  .hero__label {
    font-size: 14px;
  }

  .hero__label span {
    width: 48px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__features {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-search {
    margin-top: -24px;
    padding: 0 16px 24px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 0;
  }

  .search-panel__item {
    padding: 16px 34px 16px 0;
  }

  .search-panel__item:not(:last-of-type)::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .search-panel__arrow {
    right: 4px;
  }

  .search-panel__submit {
    margin-top: 16px;
  }

  .tours {
    padding: 28px 16px 40px;
  }

  .tours__top {
    flex-direction: column;
    margin-bottom: 22px;
  }

  .tours__title {
    font-size: 26px;
  }

  .tours__link {
    margin-top: 0;
  }

  .tours__grid {
    grid-template-columns: 1fr;
  }

  .tour-card__image {
    height: 200px;
  }

  .directions {
    padding: 28px 16px 36px;
  }

  .directions__title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .direction-card,
  .direction-card__img {
    min-height: 230px;
  }

  .direction-card__content {
    left: 18px;
    right: 64px;
    bottom: 18px;
  }

  .direction-card__title {
    font-size: 18px;
  }

  .direction-card__text {
    font-size: 12px;
  }

  .featured-tour {
    padding: 14px 14px 18px;
  }

  .featured-tour__main {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 22px;
  }

  .featured-tour__media,
  .featured-tour__media img {
    min-height: 220px;
  }

  .featured-tour__title {
    font-size: 30px;
  }

  .featured-tour__meta {
    gap: 10px;
    font-size: 14px;
  }

  .featured-tour__routes {
    grid-template-columns: 1fr;
  }

  .featured-tour__stats {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .stat-item {
    justify-content: flex-start;
    padding: 14px 0;
  }

  .stat-item:not(:last-child)::after,
  .stat-item:nth-child(2)::after {
    display: block;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: 34px;
  }
}

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

  .konaev-spotlight__media {
    min-height: 360px;
  }

  .konaev-spotlight__media::after {
    background: linear-gradient(180deg, transparent 70%, rgba(6, 43, 39, 0.75));
  }
}

@media (max-width: 760px) {
  .konaev-spotlight {
    padding: 16px 0 54px;
  }

  .konaev-spotlight__card {
    min-height: 0;
    border-radius: 20px;
  }

  .konaev-spotlight__media {
    min-height: 260px;
  }

  .konaev-spotlight__age {
    top: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
  }

  .konaev-spotlight__content {
    align-items: center;
    padding: 32px 22px;
    text-align: center;
  }

  .konaev-spotlight h2 {
    font-size: 34px;
  }

  .konaev-spotlight__features {
    width: max-content;
    max-width: 100%;
    text-align: left;
  }

  .konaev-spotlight__actions {
    flex-direction: column;
    width: 100%;
  }

  .konaev-spotlight__button {
    width: 100%;
  }
}
