﻿.catalog-hero {
  padding: 72px 0 54px;
  background: #faf8f4;
  font-family: var(--font-main);
}

.catalog-hero .container,
.catalog .container {
  width: min(1280px, calc(100vw - 40px));
  max-width: 1280px;
  margin: 0 auto;
}

.catalog-hero__label {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #d29a36;
}

.catalog-hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.catalog-hero__title {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  color: #141414;
}

.catalog-hero__text {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #4a4540;
}

.catalog-hero__badge {
  width: 150px;
  height: 120px;
  flex: 0 0 150px;
  border-radius: 18px;
  background: #082f2b;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.catalog-hero__badge strong {
  margin-bottom: 6px;
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  color: #f6b24d;
}

.catalog-hero__badge span {
  font-size: 15px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}

.catalog {
  padding: 0 0 60px;
  background: #faf8f4;
  font-family: var(--font-main);
}

.catalog__top {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-search {
  height: 54px;
  padding: 0 18px;
  border: 1px solid #e0d8cc;
  border-radius: 12px;
  background: #fff;

  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
  stroke-linecap: round;
}

.catalog-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;

  font-family: var(--font-main);
  font-size: 15px;
  color: #222;
}

.catalog-sort {
  height: 54px;
  padding: 0 16px;
  border: 1px solid #e0d8cc;
  border-radius: 12px;
  background: #fff;

  font-family: var(--font-main);
  font-size: 15px;
  color: #222;
  outline: none;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
  align-items: start;
}

.catalog-filter {
  position: sticky;
  top: 20px;

  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.catalog-filter__title {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: #141414;
}

.catalog-filter__group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ece5da;
}

.catalog-filter__group h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  color: #191919;
}

.catalog-filter__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.catalog-filter__group-head h3 {
  margin-bottom: 0;
}

.catalog-filter__price-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7efe2;
  color: #1f1a15;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.catalog-filter__price-range {
  width: 100%;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6b24d 0%, #f6b24d 55%, #ece5da 55%, #ece5da 100%);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.catalog-filter__price-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

.catalog-filter__price-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #082f2b;
  box-shadow: 0 4px 12px rgba(8, 47, 43, 0.24);
  appearance: none;
  -webkit-appearance: none;
}

.catalog-filter__price-range::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #ece5da;
}

.catalog-filter__price-range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #f6b24d;
}

.catalog-filter__price-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #082f2b;
  box-shadow: 0 4px 12px rgba(8, 47, 43, 0.24);
}

.catalog-filter__price-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.2;
  color: #7b7267;
}

.catalog-filter__group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;

  font-size: 15px;
  line-height: 1.3;
  color: #3f3a35;
  cursor: pointer;
}

.catalog-filter__group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #f6b24d;
}

.catalog-filter__button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #f6b24d;
  color: #111;

  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
  transition: 0.2s ease;
}

.catalog-filter__button:hover {
  background: #eba340;
}

.catalog__count {
  margin-bottom: 16px;
  font-size: 15px;
  color: #6a6258;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.catalog-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.09);
  outline: none;
}

.catalog-card__image {
  position: relative;
  height: 180px;
  display: block;
  overflow: hidden;
  background: #ddd;
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.05);
}

.catalog-card__tag {
  position: absolute;
  left: 14px;
  top: 14px;

  padding: 7px 12px;
  border-radius: 999px;
  background: #f6b24d;
  color: #111;

  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.catalog-card__body {
  padding: 18px 18px 20px;
}

.catalog-card__title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.18;
  font-weight: 700;
  color: #141414;
}

.catalog-card__title a {
  color: inherit;
  text-decoration: none;
}

.catalog-card__text {
  min-height: 66px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #4d4740;
}

.catalog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;

  font-size: 13px;
  line-height: 1.2;
  color: #6a6258;
}

.catalog-empty {
  margin-top: 18px;
  padding: 34px 22px;
  border: 1px dashed #d7cdbf;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog-empty strong,
.catalog-empty span {
  display: block;
}

.catalog-empty strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.catalog-empty span {
  margin-bottom: 18px;
  color: #6a6258;
}

.catalog-empty button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #082f2b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#konaev-tour {
  order: -1;
}

.catalog-card__notice {
  margin: -4px 0 16px;
  padding: 9px 11px;
  border-left: 3px solid #e5ad3f;
  border-radius: 0 8px 8px 0;
  background: #fff8e8;
  color: #665a47;
  font-size: 11px;
  line-height: 1.4;
}

.catalog-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card__bottom strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  color: #111;
}

.catalog-card__bottom a {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  background: #082f2b;
  color: #fff;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 13px;
  line-height: 1;
  font-weight: 700;

  transition: 0.2s ease;
}

.catalog-card__bottom a:hover {
  background: #0d403a;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.catalog-pagination__item,
.catalog-pagination__next {
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid #dfd6ca;
  background: #fff;
  color: #242424;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
}

.catalog-pagination__item--active {
  background: #082f2b;
  color: #fff;
  border-color: #082f2b;
}

.catalog-pagination__next:hover,
.catalog-pagination__item:hover {
  border-color: #f6b24d;
}

.group-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  min-height: 810px;
  margin-bottom: 48px;
  background: url("../images/tours-hero.webp") center / cover no-repeat;
  font-family: var(--font-main);
  color: #fff;
}

.group-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.62) 48%,
      rgba(0, 0, 0, 0.68) 100%
    );
  z-index: 1;
}

.group-hero .container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100vw - 80px));
  max-width: 1280px;
  margin: 0 auto;
}

.group-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 70px;
}

.group-hero__content {
  max-width: 720px;
}

.group-hero__title {
  margin: 0 0 26px;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.group-hero__text {
  max-width: 700px;
  margin: 0 0 34px;
  font-size: 21px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.group-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.group-hero__btn {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;

  transition: 0.2s ease;
}

.group-hero__btn--primary {
  background: #f6b24d;
  color: #111;
}

.group-hero__btn--primary:hover {
  background: #eba340;
  transform: translateY(-1px);
}

.group-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #111;
}

.group-hero__btn--secondary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.group-hero__card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.group-hero__preview {
  position: relative;
  height: 190px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #8cb7ae 0%, #7ba8a0 100%);
}

.group-hero__sun {
  position: absolute;
  right: 34px;
  top: 18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #f5cf7b;
  z-index: 1;
}

.group-hero__mountain {
  position: absolute;
  bottom: 0;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.group-hero__mountain--1 {
  left: -10px;
  width: 170px;
  height: 105px;
  background: #275b53;
  z-index: 2;
}

.group-hero__mountain--2 {
  left: 78px;
  width: 180px;
  height: 135px;
  background: #174d46;
  z-index: 3;
}

.group-hero__mountain--3 {
  right: -8px;
  width: 180px;
  height: 115px;
  background: #10413b;
  z-index: 4;
}

.group-hero__preview::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -4px;
  height: 82px;
  background: #002b27;
  clip-path: polygon(
    0 45%,
    16% 18%,
    30% 48%,
    50% 8%,
    72% 46%,
    88% 20%,
    100% 40%,
    100% 100%,
    0 100%
  );
  z-index: 5;
}

.group-hero__card-title {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.group-hero__card-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

.group-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.group-hero__stat {
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.group-hero__stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
}

.group-hero__stat > span {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}

.consult-cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;

  background: url("../images/consult-bg.webp") center / cover no-repeat;
  font-family: var(--font-main);
  color: #ffffff;
}

.consult-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 48%,
      rgba(0, 0, 0, 0.74) 100%
    );
  z-index: 1;
}

.consult-cta .container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100vw - 80px));
  max-width: 1280px;
  margin: 0 auto;
}

.consult-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.consult-cta__title {
  margin: 0;

  font-size: 58px;
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;

  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.consult-cta__text {
  margin: 0 0 34px;

  font-size: 24px;
  line-height: 1.32;
  font-weight: 700;
  color: #ffffff;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.consult-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.consult-cta__btn {
  min-width: 260px;
  min-height: 58px;
  padding: 0 32px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;

  transition: 0.2s ease;
}

.consult-cta__btn--primary {
  background: #f6b24d;
  color: #111111;
}

.consult-cta__btn--primary:hover {
  background: #eba340;
  transform: translateY(-1px);
}

.consult-cta__btn--light {
  background: #f3eee6;
  color: #111111;
}

.consult-cta__btn--light:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
@media (max-width: 1100px) {
  .catalog__layout {
    grid-template-columns: 1fr;
  }

  .catalog-filter {
    position: static;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .consult-cta {
    padding: 80px 0;
  }

  .consult-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .consult-cta__title {
    font-size: 46px;
  }

  .consult-cta__text {
    font-size: 26px;
  }

  .group-hero {
    min-height: 520px;
    padding: 72px 0;
  }

  .group-hero .container {
    width: min(100% - 32px, 1280px);
  }

  .group-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .group-hero__card {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .catalog-hero {
    padding: 54px 0 42px;
  }

  .catalog-hero .container,
  .catalog .container,
  .group-hero .container,
  .consult-cta .container {
    width: min(100% - 32px, 1280px);
  }

  .catalog-hero__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-hero__title {
    font-size: clamp(30px, 6vw, 34px);
  }

  .catalog-hero__text {
    font-size: 15px;
  }

  .catalog-hero__badge {
    width: 100%;
    height: auto;
    min-height: 90px;
  }

  .catalog__top {
    grid-template-columns: 1fr;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .catalog-card__image {
    height: 220px;
  }

  .catalog-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-card__bottom a {
    width: 100%;
  }

  .group-hero__title {
    font-size: 36px;
  }

  .group-hero__text {
    font-size: 16px;
  }

  .group-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .group-hero__btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .group-hero__stats {
    grid-template-columns: 1fr;
  }

  .consult-cta {
    min-height: auto;
    padding: 60px 0;
  }

  .consult-cta__title {
    font-size: clamp(34px, 6vw, 46px);
  }

  .consult-cta__text {
    font-size: 20px;
    line-height: 1.4;
  }

  .consult-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .consult-cta__btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 16px;
  }
}
