﻿@font-face {
  font-family: "Schueler";
  src: url("../fonts/SchuelerErweitertErneuerung-Regular.otf") format("opentype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "Schueler", "Inter", "Segoe UI", Arial, sans-serif;
  --bg: #fffaf1;
  --white: #ffffff;
  --text: #151515;
  --dark: #041f1d;
  --dark-2: #062b27;
  --accent: #e5ad3f;
  --accent-light: #f4c85d;
  --accent-dark: #c99123;
  --muted: rgba(255, 255, 255, 0.78);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
}

.num {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.button-icon,
.arrow-icon,
.meta-item__icon,
.feature-icon-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-item__icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
  stroke-width: 2.1;
}

.tabler-icon {
  display: block;
  width: 1em;
  height: 1em;
  object-fit: contain;
}

body :is(a, button):hover > .button-icon,
body :is(a, button):hover .arrow-icon {
  transform: translateX(2px);
}

body :is(
  .hero__btn,
  .cta,
  .search-panel__submit,
  .about-hero__btn,
  .about-cta__btn,
  .group-page-hero__btn,
  .group-schedule__btn,
  .group-help__btn,
  .group-tour-card__request,
  .individual-hero__btn,
  .individual-section-link,
  .vip-hero__btn,
  .vip-section-link,
  .catalog-filter__button,
  .catalog-card__bottom a,
  .catalog-pagination__next,
  .group-tour-card__bottom a,
  .consult-cta__btn,
  .tour-info__btn,
  .tour-gallery-section__button,
  .tour-cta__button,
  .featured-tour__button,
  .footer__button,
  .contacts-form button,
  .individual-request button,
  .vip-request button
) {
  border-radius: 12px;
  font-family: var(--font-main);
  letter-spacing: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

body :is(
  .hero__btn,
  .cta,
  .search-panel__submit,
  .about-hero__btn,
  .about-cta__btn,
  .group-page-hero__btn,
  .group-schedule__btn,
  .group-help__btn,
  .group-tour-card__request,
  .individual-hero__btn,
  .individual-section-link,
  .vip-hero__btn,
  .vip-section-link,
  .catalog-filter__button,
  .catalog-card__bottom a,
  .catalog-pagination__next,
  .group-tour-card__bottom a,
  .consult-cta__btn,
  .tour-info__btn,
  .tour-gallery-section__button,
  .tour-cta__button,
  .featured-tour__button,
  .footer__button,
  .contacts-form button,
  .individual-request button,
  .vip-request button
):hover {
  transform: translateY(-2px);
}

body :is(
  .hero__btn,
  .cta,
  .search-panel__submit,
  .about-hero__btn,
  .about-cta__btn,
  .group-page-hero__btn,
  .group-schedule__btn,
  .group-help__btn,
  .group-tour-card__request,
  .individual-hero__btn,
  .individual-section-link,
  .vip-hero__btn,
  .vip-section-link,
  .catalog-filter__button,
  .catalog-card__bottom a,
  .catalog-pagination__next,
  .group-tour-card__bottom a,
  .consult-cta__btn,
  .tour-info__btn,
  .tour-gallery-section__button,
  .tour-cta__button,
  .featured-tour__button,
  .footer__button,
  .contacts-form button,
  .individual-request button,
  .vip-request button,
  .tour-card__btn,
  .direction-card__btn,
  .featured-tour__play,
  .tour-gallery__control,
  .tour-lightbox__nav,
  .tour-lightbox__close
):focus-visible {
  outline: 3px solid rgba(244, 200, 93, 0.45);
  outline-offset: 3px;
}

body :is(.tour-card__btn, .direction-card__btn, .featured-tour__play) {
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.container {
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(4, 31, 28, 0.76), rgba(9, 54, 48, 0.5)),
    rgba(5, 24, 22, 0.52);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition:
    padding 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    backdrop-filter 0.24s ease;
}

body:not(.tour-page) .header:not(.is-scrolled) {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  width: 215px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--white);
}

.nav a {
  position: relative;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--accent-light);
}

.nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.header__menu-button {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(4, 31, 29, 0.28);
}

.language-switch a {
  padding: 7px 9px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.language-switch a.is-active {
  background: var(--accent);
  color: #17211f;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--white);
}

.phone img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.phone span {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffd36d 0%, #e5ad3f 100%);
}

/* HERO */


.footer {
  padding: 26px 20px 18px;
  background:
    radial-gradient(circle at 65% 20%, rgba(31, 51, 58, 0.45), transparent 35%),
    linear-gradient(135deg, #11191e 0%, #151d22 45%, #10171b 100%);
  color: rgba(255, 255, 255, 0.72);
}

.footer__container {
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.65fr 1fr 1.35fr 1.45fr;
  gap: 54px;
}

.footer__brand {
  min-width: 220px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.footer__logo-img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
}

.footer__text {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.footer__socials a {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: 0.2s ease;
}

.footer__socials a:hover {
  background: #d7a83d;
  transform: translateY(-2px);
}

.footer__socials svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__copy {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

.footer__column h3,
.footer__contacts h3 {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: var(--white);
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__column a {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  transition: 0.2s ease;
}

.footer__column a:hover {
  color: #d7a83d;
}

.footer__column a[aria-current="page"] {
  color: #d7a83d;
}

.footer__contacts {
  min-width: 220px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.footer__button {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #efc258 0%, #d9a539 100%);
  color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  transition: 0.2s ease;
}

.footer__button:hover {
  background: linear-gradient(180deg, #ffd36b 0%, #dfa93d 100%);
  transform: translateY(-1px);
}

.footer__made {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.42);
}

/* ADAPTIVE */

@media (max-width: 1180px) {
  .header__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }

  .header__actions {
    margin-left: auto;
  }

  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
  }

  .footer__contacts {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    overflow-x: hidden;
  }

  body.has-open-menu {
    overflow: hidden;
  }

  .container,
  .footer__container {
    width: min(100%, calc(100vw - 32px));
  }

  .header {
    padding: 9px 0;
    border-color: rgba(255, 255, 255, 0.13) !important;
    background: rgba(4, 31, 29, 0.94) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  .header__inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .brand__logo {
    width: 150px;
  }

  .header__menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .language-switch {
    margin-left: auto;
  }

  .language-switch a {
    padding: 7px 8px;
  }

  .header__menu-button span {
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .header.is-menu-open .header__menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.is-menu-open .header__menu-button span:nth-child(2) {
    opacity: 0;
  }

  .header.is-menu-open .header__menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav,
  .header__actions {
    position: fixed;
    left: 16px;
    right: 16px;
    z-index: 1;
    display: flex;
    width: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav {
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 10px;
    border-radius: 16px 16px 0 0;
    background: #082d29;
  }

  .nav a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .header__actions {
    top: 273px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 14px 18px 18px;
    border-radius: 0 0 16px 16px;
    background: #082d29;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.35);
  }

  .header.is-menu-open :is(.nav, .header__actions) {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .phone {
    min-height: 44px;
  }

  .cta {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  main,
  section {
    min-width: 0;
  }

  :is(input, select, textarea) {
    max-width: 100%;
    font-size: 16px;
  }

  :is(button, .cta, [class$="__btn"], [class$="__button"]) {
    min-height: 44px;
  }

  /* Center hero copy and actions on mobile across every page. */
  :is(
    .hero__content,
    .catalog-hero,
    .about-hero__content,
    .contacts-hero__content,
    .group-page-hero__content,
    .group-hero__content,
    .individual-hero__content,
    .vip-hero__content
  ) {
    text-align: center !important;
  }

  :is(
    .hero__content,
    .about-hero__content,
    .contacts-hero__content,
    .group-page-hero__content,
    .group-hero__content,
    .individual-hero__content,
    .vip-hero__content
  ) {
    width: 100%;
    margin-inline: auto;
  }

  :is(
    .hero__label,
    .catalog-hero__label,
    .about-hero__label,
    .contacts-hero__label,
    .group-page-hero__label,
    .individual-hero__label,
    .vip-hero__label
  ) {
    justify-content: center !important;
    margin-inline: auto;
  }

  :is(
    .hero__actions,
    .about-hero__actions,
    .group-page-hero__actions,
    .group-hero__actions,
    .individual-hero__actions,
    .vip-hero__actions
  ) {
    justify-content: center !important;
    align-items: center;
  }

  .catalog-hero__top {
    align-items: center !important;
  }

  :is(
    .hero__text,
    .catalog-hero__text,
    .about-hero__text,
    .contacts-hero__text,
    .group-page-hero__text,
    .group-hero__text,
    .individual-hero__text,
    .vip-hero__text
  ) {
    margin-inline: auto;
  }

  .footer {
    padding: 30px 16px 22px;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer__brand,
  .footer__contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .phone span {
    font-size: 14px;
  }

  .cta {
    width: 100%;
    min-width: 0;
  }

  .container,
  .footer__container {
    width: min(100%, calc(100vw - 24px));
  }

  h1 {
    overflow-wrap: anywhere;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__column h3,
  .footer__contacts h3 {
    margin-bottom: 12px;
  }

  .footer__button {
    max-width: 280px;
  }
}
