/* ==========================================================================
   booking.css — страница «Бронирование гостиниц» (раздел «Участникам»).
   Figma 2149:135502. База 1920. Hero — из arrival.css (тёмный). Токены base.css.
   Лесенка брейкпоинтов проекта: 1920 (база) / 1440 / 768 / 360.
   ========================================================================== */

/* ---------- Двухколоночный блок: тёмная карточка + светлый callout ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 88px;
}

/* Тёмная карточка «Проживание» */
.booking-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 48px;
  border-radius: var(--r-24);
  background: var(--c-dark);
  color: #fff;
}
.booking-card__text {
  max-width: 640px;
  font: 400 18px/28px var(--font-text);
  color: #fff;
}
.booking-card__note {
  max-width: 480px;
  font: 400 12px/20px var(--font-text);
  color: var(--c-bg);
}
.booking-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  margin-top: auto;
  padding: 0 32px;
  border-radius: var(--r-8);
  background: var(--c-accent);
  color: #fff;
  font: 500 16px/1 var(--font-text);
  transition: background-color .2s ease;
}
.booking-card__btn:hover { background: #a82f16; }
.booking-card__btn .icon { transition: transform .2s ease; }
.booking-card__btn:hover .icon { transform: translateX(4px); }

/* Светлый callout «Ограниченные квоты» (визуально как visa-note) */
.booking-note {
  display: flex;
  gap: 16px;
  padding: 40px 44px;
  border-radius: var(--r-24);
  background: rgba(196, 58, 30, .06);
}
.booking-note__icon { flex: none; margin-top: 2px; color: var(--c-accent); }
.booking-note__body { display: flex; flex-direction: column; gap: 16px; }
.booking-note__title {
  font: 400 20px/28px var(--font-display);
  text-transform: uppercase;
  color: var(--c-text);
}
.booking-note__body p {
  font: 400 16px/24px var(--font-text);
  color: var(--c-secondary);
}

/* ---------- Блок «Контакты» (тёмная карточка с фоновым коллажем) ---------- */
.booking-contacts {
  position: relative;
  margin-top: 32px;
  margin-bottom: 152px;
  border-radius: var(--r-24);
  overflow: hidden;
  background: var(--c-dark);
  isolation: isolate;
}
.booking-contacts__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.booking-contacts__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.booking-contacts__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 56px;
  color: #fff;
}
.booking-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-contacts__phone {
  font: 400 32px/40px var(--font-display);
  color: var(--c-bg);
  transition: opacity .2s ease;
}
.booking-contacts__phone:hover { opacity: .85; }
.booking-contacts__email {
  font: 400 18px/26px var(--font-text);
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity .2s ease;
  width: fit-content;
}
.booking-contacts__email:hover { opacity: .8; }

/* ==========================================================================
   ≤1440
   ========================================================================== */
@media (max-width: 1919px) {
  .booking-grid { gap: 24px; margin-top: 64px; }
  .booking-card { padding: 36px 40px; }
  .booking-card__text { font-size: 17px; line-height: 26px; }
  .booking-note { padding: 32px 36px; }
  .booking-contacts { margin-bottom: 120px; }
  .booking-contacts__inner { padding: 40px 44px; }
  .booking-contacts__phone { font-size: 28px; line-height: 34px; }
}

/* ==========================================================================
   ≤768 — стек в одну колонку
   ========================================================================== */
@media (max-width: 1023px) {
  .booking-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .booking-card { padding: 32px; }
  .booking-note { padding: 28px 32px; }
  .booking-contacts { margin-top: 24px; margin-bottom: 80px; }
  .booking-contacts__inner { padding: 32px; }
}

/* ==========================================================================
   ≤360
   ========================================================================== */
@media (max-width: 767px) {
  .booking-grid { margin-top: 36px; }
  .booking-card { padding: 24px 20px; gap: 20px; }
  .booking-card__text { font-size: 16px; line-height: 24px; }
  .booking-card__btn { width: 100%; justify-content: center; }
  .booking-note { padding: 22px 20px; gap: 12px; }
  .booking-contacts { margin-bottom: 56px; }
  .booking-contacts__inner { padding: 24px 20px; }
  .booking-contacts__phone { font-size: 24px; line-height: 30px; }
  .booking-contacts__email { font-size: 16px; line-height: 24px; }
}
