/* === БАЗА === */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
               "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.4;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: 1200px;
  padding-inline: 20px;
  margin-inline: auto;
}

/* === HERO === */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;       /* во весь экран */
  display: grid;
  align-items: center;
  isolation: isolate;      /* чтобы overlay не смешивался с другими слоями */
}

/* Фон: подставь свой путь к изображению ниже */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/img/wall.jpg"); /* <-- заменишь на свой файл */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);         /* чётче на мобильных */
  filter: brightness(0.9);
  z-index: -2;
}

/* Градиентная подложка для читаемости текста */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.65) 100%);
  z-index: -1;
}

/* Контент */
.hero__content {
  padding-block: clamp(48px, 10vh, 120px);
}

.hero__title {
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
  font-size: clamp(28px, 7vw, 60px);
  max-width: 18ch; 
  color: white;
}

.hero__meta {
  margin: 0 0 28px;
  font-size: clamp(14px, 2.5vw, 18px);
  opacity: 0.9;
  color: white;
}

/* Кнопки */
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 25px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, opacity .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  outline: none;
  border: 2px solid transparent;
  will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(212,160,23,0.35);
}

/* Прозрачная/вторичная */
.btn--ghost {
  background: #fff;
  color: #111;
}
.btn--ghost:hover { opacity: 0.92; }

/* Основная (золото) */
.btn--primary {
  background: #d4a017;    /* золото под стили «Кайрата» */
  color: #111318;
}
.btn--primary:hover { filter: brightness(1.08); }

/* Заглушки для якорей ниже страницы */
.stub { min-height: 1px; }

/* === АДАПТИВ === */

/* Средние экраны: слегка увеличим отступы и ширину строки */
@media (min-width: 768px) {
  .hero__content { padding-block: 12vh; }
  .hero__title { max-width: 16ch; }
}

/* Большие экраны: ещё комфортнее типографика */
@media (min-width: 1200px) {
  .hero__title { font-size: 64px; }
  .hero__meta { font-size: 19px; }
}







/* --- Информация о матче --- */
.match-info {
  background: #fff;
  color: #0e0f12;
  border-top: 1px solid #e6e7ea;
  border-bottom: 1px solid #e6e7ea;
}

.match-info__container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 36px;
}

.match-info__title {
  margin: 0 0 18px;
  font-size: clamp(20px, 3.6vw, 28px);
  line-height: 1.2;
  font-weight: 800;
}

.match-info__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.match-info__item h3 {
  margin: 0 0 6px;
  font-size: clamp(15px, 2.6vw, 18px);
  font-weight: 700;
}

.match-info__item p {
  margin: 0;
  font-size: clamp(14px, 2.4vw, 16px);
  color: #1d2027;
}

.match-info__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: clamp(14px, 2.4vw, 16px);
}

.match-info__cta-text {
  margin: 6px 0 0;
  font-size: clamp(14px, 2.6vw, 16px);
}

/* --- Карточки гарантий --- */
.assurances {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.assurance-card {
  background: #f7f8fa;
  border: 1px solid #e6e7ea;
  border-radius: 14px;
  padding: 16px 16px 18px;
}

.assurance-card--dark {
  background: #303136;
  color: #fff;
  border-color: #303136;
}

.assurance-card h4 {
  margin: 0 0 8px;
  font-size: clamp(14px, 2.6vw, 16px);
  font-weight: 800;
}

.assurance-card p {
  margin: 0;
  font-size: clamp(13px, 2.4vw, 15px);
  line-height: 1.45;
  color: inherit;
}

/* --- Адаптив --- */
@media (min-width: 720px) {
  .match-info__content { gap: 20px; }
  .assurances { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .match-info__container { padding: 36px 24px 42px; }
  .match-info__content {
    grid-template-columns: 1fr;
    max-width: 900px;
  }
}





/* 3 секция */


/* ==== базовые вещи ==== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #0f1115; }

/* ====== Купить билеты (polished) ====== */
.tickets-lite {
  background: #f6f7f9;
  border-top: 1px solid #e7e9ee;
  border-bottom: 1px solid #e7e9ee;
  color: #0f1115;
}

.tl__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.tl__title {
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .2px;
  font-size: clamp(20px, 3.4vw, 28px);
  color: #0e1117;
}

/* Сетка секции */
.tl__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 900px) {
  .tl__grid {
    grid-template-columns: 1.1fr .9fr; /* схеме чуть больше места */
    gap: 24px;
  }
}

/* Левая колонка — схема */
.tl__plan {
  background: #ffffff;
  border: 1px solid #e6e9f0;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 380px;
  box-shadow: 0 6px 24px rgba(16, 18, 24, 0.06);
}
.tl__plan-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Правая колонка — панель */
.tl__panel {
  display: grid;
  gap: 16px;
}

/* Фильтр */
.tl__filter {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(16,18,24,0.05);
}

.tl__select {
  display: grid;
  gap: 6px;
  min-width: 220px;
}
.tl__select span {
  font-size: 12px;
  color: #6a7383;
}
.tl__select select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d9dee6;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: #0f1115;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.tl__select select:focus-visible {
  box-shadow: 0 0 0 4px rgba(212,160,23,0.25);
  border-color: #d4a017;
}

.tl__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eceff4;
  font-size: 14px;
}
.tl__checkbox input { accent-color: #28a76a; }

/* Список карточек */
.tl__list {
  display: grid;
  gap: 16px;
}

.tl__card {
  display: grid;
  grid-template-columns: 1.2fr .8fr .6fr auto;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e6e9f0;
  border-radius: 20px;
  padding: 18px 18px;
  box-shadow: 0 10px 28px rgba(16,18,24,0.06);
}
@media (max-width: 760px) {
  .tl__card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
}

/* Левая колонка карточки */
.tl__meta { display: grid; gap: 8px; }
.tl__kicker { font-size: 12px; color: #6b7383; }
.tl__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 830;
  font-size: 18px;
  letter-spacing: .2px;
  color: #0e1117;
}
.tl__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px rgba(0,0,0,0.06);
}
.tl__pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #12b3a4;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  width: max-content;
}

/* Средние колонки */
.tl__col { display: grid; gap: 6px; }
.tl__col small { color: #7a8395; }
.tl__stock { font-size: 14px; color: #0f1115; }
.tl__price {
  font-size: 18px;
  font-weight: 850;
  color: #0f1115;
}

/* Колонка покупки */
.tl__buy {
  display: grid;
  gap: 10px;
  justify-items: end;
}
@media (max-width: 760px) {
  .tl__buy { justify-items: stretch; }
}

.tl__qty { display: grid; gap: 6px; }
.tl__qty small { color: #7a8395; }
.tl__qty select {
  height: 42px;
  width: 100px;
  border: 1px solid #d9dee6;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.tl__qty select:focus-visible {
  box-shadow: 0 0 0 4px rgba(40,167,106,.22);
  border-color: #28a76a;
}

.tl__btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: .2px;
  color: #fff;
  background: #28a76a;
  box-shadow: 0 8px 18px rgba(40,167,106,.22);
  transition: transform .1s ease, filter .2s ease, box-shadow .2s ease;
}
.tl__btn:hover { filter: brightness(1.06); box-shadow: 0 10px 22px rgba(40,167,106,.28); }
.tl__btn:active { transform: translateY(1px); }
.tl__btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* Цветовые точки для категорий */
.dot--vip { background: #f6a9c5; }
.dot--2   { background: #27a7d8; }
.dot--3   { background: #b04c9c; }
.dot--4   { background: #4b4ea3; }
.dot--5   { background: #e44c51; }
.dot--6   { background: #34a853; }
.dot--7   { background: #143a63; }




/* Модальное окно */

/* ===== Modals ===== */
.modal { position: fixed; inset: 0; display: none; z-index: 1000; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal__dialog {
  position: relative;
  max-width: 560px;
  margin: min(8vh,60px) auto;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
@media (max-width: 620px) { .modal__dialog { margin: 0; min-height: 100vh; border-radius: 0; } }

.modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 10px; border: 1px solid #e6e9f0; background: #fff; cursor: pointer;
  font-size: 20px; line-height: 1; color: #0e1117;
}
.modal__title { margin: 4px 36px 8px 2px; font-size: 22px; font-weight: 800; }
.modal__subtitle { margin: 0 0 12px; color: #6a7383; font-size: 14px; }

/* форма */
.form { display: grid; gap: 12px; }
.form__row label { display: grid; gap: 6px; font-size: 14px; color: #273042; }
.form__row input {
  height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid #d9dee6; outline: none;
}
.form__row input:focus-visible { box-shadow: 0 0 0 4px rgba(212,160,23,.25); border-color: #d4a017; }
.form__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }

/* карточка реквизитов */
.paycard { display: grid; gap: 10px; background: #f7f8fa; border: 1px solid #e6e9f0; border-radius: 14px; padding: 14px; }
.paycard__row { display: grid; gap: 4px; }
.paycard__row span { font-size: 12px; color: #6a7383; }
.paycard__row strong { font-size: 16px; letter-spacing: .2px; color: #0e1117; }

/* мелкая кнопка */
.btn--sm { height: 34px; padding: 0 12px; border-radius: 10px; font-weight: 700; }







/* Floating WhatsApp button */
.wapp-fab {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: calc(env(safe-area-inset-bottom, 0) + clamp(12px, 2vw, 20px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366; /* WhatsApp green */
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  outline: none;
}

/* pulsing ring */
.wapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: wapp-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes wapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  60%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wapp-fab:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 6px 16px rgba(0,0,0,.15);
  transform: translateY(-1px);
}
.wapp-fab:active { transform: translateY(0); }

.wapp-fab:focus-visible {
  box-shadow:
    0 0 0 4px rgba(255,255,255,.9),
    0 0 0 7px rgba(37, 211, 102, .55),
    0 10px 24px rgba(37, 211, 102, 0.35);
}

/* поддержка пользователей с reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wapp-fab::after { animation: none; }
  .wapp-fab { transition: none; }
}







/* Вопросы и ответы */


/* ==== FAQ Section ==== */
.faq {
  background: #fff;
  border-top: 1px solid #e6e9f0;
  border-bottom: 1px solid #e6e9f0;
}
.faq__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.faq__title {
  margin: 0 0 24px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: #0e1117;
  text-align: center;
}
.faq__list {
  display: grid;
  gap: 14px;
}
.faq__item {
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fafbfc;
  padding: 0 16px;
  overflow: hidden;
}
.faq__question {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}
.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform .2s ease;
}
.faq__item[open] > .faq__question::after {
  content: "–";
}
.faq__answer {
  margin: 0 0 14px;
  font-size: 15px;
  color: #444b58;
  line-height: 1.45;
}
