﻿/* Group tours page */

.group-page-hero,
.group-advantages,
.group-catalog,
.group-schedule,
.group-help {
  font-family: var(--font-main);
}

.group-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 96px 0;
  background: url("../images/group-hero-bg.webp") center / cover no-repeat;
  color: #fff;
}

.group-page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(246, 178, 77, 0.18), transparent 25%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 52%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

.group-page-hero .container,
.group-advantages .container,
.group-catalog .container,
.group-schedule .container,
.group-help .container {
  width: min(1280px, calc(100vw - 80px));
  max-width: 1280px;
  margin: 0 auto;
}

.group-page-hero .container {
  position: relative;
  z-index: 2;
}

.group-page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 70px;
}

.group-page-hero__content {
  max-width: 760px;
}

.group-page-hero__label {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #f6b24d;
}

.group-page-hero__title {
  margin: 0 0 26px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 700;
  color: #fff;
}

.group-page-hero__text {
  max-width: 700px;
  margin: 0 0 34px;
  font-size: 21px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.group-page-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.group-page-hero__btn {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  transition: 0.2s ease;
}

.group-page-hero__btn--primary {
  background: #f6b24d;
  color: #111;
}

.group-page-hero__btn--light {
  background: rgba(255, 255, 255, 0.88);
  color: #111;
}

.group-page-hero__btn:hover {
  transform: translateY(-1px);
}

.group-page-hero__card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(6, 39, 35, 0.82);
  border: 1px solid rgba(246, 178, 77, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.group-page-hero__card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.08;
  color: #fff;
}

.group-page-hero__card p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.group-page-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.group-page-hero__stats div {
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.group-page-hero__stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
}

.group-page-hero__stats div > span {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
}

/* Shared heading */

.group-section-head {
  margin-bottom: 26px;
}

.group-section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.group-section-head p {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #d49b38;
}

.group-section-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  color: #141414;
}

/* Advantages */

.group-advantages {
  padding: 54px 0 30px;
  background: #faf8f4;
}

.group-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.group-advantage {
  padding: 26px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.group-advantage__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #082f2b;
  color: #f6b24d;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.group-advantage h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.15;
  color: #151515;
}

.group-advantage p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #4c453d;
}

/* Catalog */

.group-catalog {
  padding: 38px 0 54px;
  background: #faf8f4;
}

.group-catalog__tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.group-catalog__tab {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #ded3c5;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2b;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.group-catalog__tab--active {
  background: #082f2b;
  border-color: #082f2b;
  color: #fff;
}

.group-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.group-tour-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.group-tour-card__image {
  position: relative;
  height: 190px;
  display: block;
  overflow: hidden;
  background: #ddd;
}

.group-tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

.group-tour-card:hover .group-tour-card__image img {
  transform: scale(1.05);
}

.group-tour-card__image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f6b24d;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.group-tour-card__body {
  padding: 20px;
}

.group-tour-card__small {
  display: inline-flex;
  margin-bottom: 16px;
  color: #f6b24d;
  font-size: 14px;
  font-weight: 700;
}

.group-tour-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
  color: #141414;
}

.group-tour-card h3 a {
  color: inherit;
  text-decoration: none;
}

.group-tour-card p {
  min-height: 66px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #4d4740;
}

.group-tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #6a6258;
}

.group-tour-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.group-tour-card__bottom strong {
  font-size: 18px;
  color: #111;
}

.group-tour-card__bottom a,
.group-tour-card__request {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 12px;
  background: #082f2b;
  color: #fff;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 13px;
  font-weight: 700;
}

.group-tour-card--accent {
  min-height: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(246, 178, 77, 0.18), transparent 32%),
    #082f2b;
}

.group-tour-card--accent h3,
.group-tour-card--accent p {
  color: #fff;
}

.group-tour-card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.group-tour-card__request {
  background: #f6b24d;
  color: #111;
}

/* Schedule */

.group-schedule {
  padding: 54px 0;
  background: #faf8f4;
}

.group-schedule__list {
  display: grid;
  gap: 14px;
}

.group-schedule__item {
  display: grid;
  grid-template-columns: 86px 1fr 150px 170px;
  gap: 18px;
  align-items: center;

  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.group-schedule__date {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: #f6b24d;
  color: #111;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.group-schedule__date strong {
  font-size: 28px;
  line-height: 1;
}

.group-schedule__date span {
  font-size: 13px;
  font-weight: 700;
}

.group-schedule__content h3 {
  margin: 0 0 6px;
  font-size: 21px;
  color: #141414;
}

.group-schedule__content p {
  margin: 0;
  font-size: 14px;
  color: #5f574e;
}

.group-schedule__price {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.group-schedule__btn {
  min-height: 44px;
  border-radius: 12px;
  background: #082f2b;
  color: #fff;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
}

/* Help */

.group-help {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 90px 0;
  background: url("../images/consult-bg.webp") center / cover no-repeat;
  color: #fff;
}

.group-help__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.74) 100%);
  z-index: 1;
}

.group-help .container {
  position: relative;
  z-index: 2;
}

.group-help__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.group-help__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  color: #fff;
}

.group-help__content p {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.32;
  color: #fff;
}

.group-help__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.group-help__btn {
  min-width: 230px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.group-help__btn--primary {
  background: #f6b24d;
  color: #111;
}

.group-help__btn--light {
  background: #f3eee6;
  color: #111;
}

/* Adaptive */

@media (max-width: 1100px) {
  .group-page-hero__inner,
  .group-help__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .group-page-hero__card {
    max-width: 480px;
  }

  .group-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .group-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .group-schedule__item {
    grid-template-columns: 80px 1fr;
  }

  .group-schedule__price,
  .group-schedule__btn {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .group-page-hero .container,
  .group-advantages .container,
  .group-catalog .container,
  .group-schedule .container,
  .group-help .container {
    width: min(100% - 32px, 1280px);
  }

  .group-page-hero {
    min-height: 520px;
    padding: 72px 0;
  }

  .group-page-hero__title {
    font-size: 38px;
  }

  .group-page-hero__text {
    font-size: 17px;
  }

  .group-page-hero__actions,
  .group-help__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .group-page-hero__btn,
  .group-help__btn {
    width: 100%;
  }

  .group-page-hero__stats {
    grid-template-columns: 1fr;
  }

  .group-section-head--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .group-section-head h2 {
    font-size: 30px;
  }

  .group-advantages__grid,
  .group-catalog__grid {
    grid-template-columns: 1fr;
  }

  .group-tour-card__image {
    height: 220px;
  }

  .group-tour-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .group-tour-card__bottom a {
    width: 100%;
  }

  .group-schedule__item {
    grid-template-columns: 1fr;
  }

  .group-schedule__price,
  .group-schedule__btn {
    grid-column: auto;
  }

  .group-help {
    min-height: auto;
    padding: 60px 0;
  }

  .group-help__title {
    font-size: 34px;
  }

  .group-help__content p {
    font-size: 20px;
    line-height: 1.4;
  }
}
