/* ============================================================
   Global Fest Travel — design system
   Палитра: глубокий сливово-фиолетовый + тёплое золото + коралл
   ============================================================ */

:root {
  /* Цвета */
  --plum-900: #150a26;
  --plum-800: #1f0e36;
  --plum-700: #2c1450;
  --plum-600: #3a1c66;
  --plum-500: #4a2580;

  --gold-400: #ffcf5c;
  --gold-500: #f5b740;
  --gold-600: #e09a1f;

  --coral-400: #ff7a8a;
  --coral-500: #ff4d6d;
  --coral-600: #e83557;

  --ink: #1a1230;
  --muted: #6b6480;
  --line: #ece8f2;
  --paper: #ffffff;
  --paper-2: #faf8fd;

  /* Мессенджеры */
  --whatsapp: #25d366;
  --telegram: #29a9eb;

  /* Типографика */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Сетка / радиусы / тени */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(26, 11, 46, 0.08);
  --shadow-md: 0 14px 40px rgba(26, 11, 46, 0.14);
  --shadow-lg: 0 24px 70px rgba(26, 11, 46, 0.22);

  --gradient-festive: linear-gradient(120deg, var(--coral-500), var(--gold-500));
  --gradient-plum: linear-gradient(160deg, var(--plum-700), var(--plum-900));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; } /* шрифт крупных заголовков (вариант: Montserrat) */

/* ---------- Доступность и движение ---------- */
:focus-visible { outline: 3px solid var(--telegram); outline-offset: 2px; }
.btn:focus-visible, .float-cta a:focus-visible { outline-offset: 3px; }
section[id] { scroll-margin-top: 84px; } /* якорь не прячется под липкой шапкой */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.bg-soft { background: var(--paper-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 16px; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--gradient-festive); color: #fff; box-shadow: 0 10px 26px rgba(255,77,109,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,77,109,.45); }
.btn--wa { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.32); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.42); }
.btn--tg { background: var(--telegram); color: #fff; box-shadow: 0 10px 26px rgba(41,169,235,.32); }
.btn--tg:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(41,169,235,.42); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: #fff; color: var(--plum-700); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--coral-500); color: var(--coral-500); }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo > span { white-space: nowrap; line-height: 1.1; }
.logo__mark { flex: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--gradient-festive);
  display: grid; place-items: center; color: #fff; font-size: 19px;
  box-shadow: 0 6px 16px rgba(255,77,109,.4);
}
.logo small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); transition: color .15s; white-space: nowrap; }
.nav .btn--wa { display: none; } /* CTA-кнопка в навигации показывается только в мобильном меню */
.nav a:hover { color: var(--coral-500); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* Вариант с фоновой картинкой: затемняющий оверлей + SVG «ночь огней».
     Прежний чисто-градиентный фон (если убрать картинку):
     background: linear-gradient(180deg, rgba(21,10,38,.62), rgba(21,10,38,.86)),
                 radial-gradient(120% 120% at 80% 0%, var(--plum-600), var(--plum-900)); */
  background:
    linear-gradient(180deg, rgba(21,10,38,.62), rgba(21,10,38,.84)),
    url("../images/hero-bg.svg") center / cover no-repeat,
    var(--plum-900);
}
/* Огни/конфетти теперь запечены в hero-bg.svg → декоративные псевдоэлементы отключены */
.hero::before, .hero::after { content: none; }
.hero--blobs::before, .hero--blobs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0;
}
.hero::before { width: 460px; height: 460px; background: var(--coral-500); top: -120px; right: -80px; }
.hero::after { width: 420px; height: 420px; background: var(--gold-500); bottom: -160px; left: -100px; opacity:.4; }
.hero__inner { position: relative; z-index: 1; padding: 96px 22px 104px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 15px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); letter-spacing: -.01em; }
.hero h1 .accent { background: var(--gradient-festive); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: clamp(17px, 2.4vw, 21px); color: rgba(255,255,255,.82); margin: 22px 0 34px; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; margin-top: 46px; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-size: 28px; font-weight: 800; color: var(--gold-400); }
.hero__trust span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ============================================================
   Festival cards
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media {
  height: 210px; position: relative; display: grid; place-items: center; color: #fff;
  background-size: cover; background-position: center;
}
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); }
.card__emoji { font-size: 58px; position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--plum-700);
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .05em;
}
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 21px; }
.card__meta { color: var(--muted); font-size: 14px; margin: 8px 0 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__body p { color: var(--muted); font-size: 15px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.card__price b { font-size: 20px; color: var(--ink); }
.card__price small { display: block; font-size: 12px; color: var(--muted); }
.card__link { font-weight: 800; color: var(--coral-500); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; }

/* Тематические заливки карточек (фон под фото-плейсхолдер) */
.media--oktoberfest { background-image: linear-gradient(135deg, #c8102e, #f5b740); }
.media--diwali { background-image: linear-gradient(135deg, #6a1b9a, #ff7a18, #f5b740); }
.media--carnival { background-image: linear-gradient(135deg, #00a651, #f5b740, #ff4d6d, #29a9eb); }
.media--more { background-image: linear-gradient(135deg, var(--plum-600), var(--coral-500)); }

/* ============================================================
   Visa block
   ============================================================ */
.visa { background: var(--gradient-plum); color: #fff; border-radius: 28px; overflow: hidden; position: relative; }
.visa__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.visa h2 { font-size: clamp(26px, 3.5vw, 38px); }
.visa p { color: rgba(255,255,255,.8); margin: 16px 0 26px; }
.visa__list { display: grid; gap: 14px; }
.visa__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); }
.visa__list svg { flex: none; width: 24px; height: 24px; color: var(--gold-400); margin-top: 1px; }
.visa__card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px; backdrop-filter: blur(6px);
}
.visa__card h3 { font-size: 20px; margin-bottom: 18px; }
.visa__stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.visa__stat:last-child { border: none; }
.visa__stat b { font-size: 26px; color: var(--gold-400); min-width: 78px; }

/* ============================================================
   Steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--gradient-festive); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(255,77,109,.3);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============================================================
   Community
   ============================================================ */
.community { position: relative; background: var(--paper-2); }
.community__box {
  background: var(--gradient-festive); color: #fff; border-radius: 28px;
  padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.community__box h2 { font-size: clamp(26px, 3.6vw, 40px); }
.community__box p { color: rgba(255,255,255,.92); margin: 16px 0 28px; font-size: 18px; }
.community__perks { display: grid; gap: 12px; }
.community__perks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.community__perks li::before { content: "✦"; color: #fff; }
.community__actions { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--gold-500); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 16px; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-plum); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review__author b { display: block; font-size: 15px; }
.review__author span { font-size: 13px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--paper); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-weight: 700; font-size: 17px; }
.faq__q .icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: .25s; color: var(--coral-500); font-size: 18px; }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); background: var(--coral-500); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ============================================================
   CTA strip + Footer
   ============================================================ */
.cta-strip { background: var(--gradient-plum); color: #fff; text-align: center; border-radius: 28px; padding: 60px 32px; position: relative; overflow: hidden; }
.cta-strip h2 { font-size: clamp(26px, 4vw, 42px); }
.cta-strip p { color: rgba(255,255,255,.8); margin: 16px auto 30px; max-width: 540px; font-size: 18px; }
.cta-strip__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.footer { background: var(--plum-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; }
.footer a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); transition: color .15s; }
.footer a:hover { color: var(--gold-400); }
.footer__about p { margin: 16px 0; font-size: 15px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; }
.footer__social a:hover { background: var(--coral-500); }
.footer__social svg { width: 20px; height: 20px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ============================================================
   Floating messengers
   ============================================================ */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-cta a {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-md); transition: transform .15s; position: relative;
}
.float-cta a:hover { transform: scale(1.08); }
.float-cta svg { width: 30px; height: 30px; }
.float-cta .fl-wa { background: var(--whatsapp); }
.float-cta .fl-tg { background: var(--telegram); }
.float-cta a::after {
  content: attr(data-tip); position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-cta a:hover::after { opacity: 1; }
.float-pulse { animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   Inner page (tour / visa) helpers
   ============================================================ */
.page-hero { position: relative; color: #fff; padding: 110px 0 70px; background: var(--gradient-plum); overflow: hidden; }
.page-hero::before { content:""; position:absolute; width:400px;height:400px;border-radius:50%;filter:blur(90px);background:var(--coral-500);opacity:.4;top:-120px;right:-60px; }
.breadcrumbs { position: relative; z-index:1; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--gold-400); }
.page-hero h1 { position: relative; z-index:1; font-size: clamp(30px,5vw,52px); max-width: 760px; }
.page-hero__meta { position: relative; z-index:1; display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.page-hero__meta b { color: var(--gold-400); }

.tour-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #463f59; margin-bottom: 14px; }
.prose ul.checklist { display: grid; gap: 10px; margin: 8px 0 8px; }
.prose ul.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.prose ul.checklist li::before { content: "✓"; color: var(--whatsapp); font-weight: 900; }

.timeline { display: grid; gap: 18px; margin-top: 8px; }
.timeline__item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.timeline__day { background: var(--gradient-festive); color: #fff; border-radius: 12px; padding: 10px; text-align: center; font-weight: 800; line-height: 1.1; }
.timeline__day small { display: block; font-size: 11px; font-weight: 700; opacity: .85; }
.timeline__c h4 { font-size: 17px; margin-bottom: 4px; }
.timeline__c p { color: var(--muted); font-size: 15px; }

.booking {
  position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 28px;
}
.booking__price { font-size: 34px; font-weight: 800; }
.booking__price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.booking__note { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.booking__row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.booking__row span:first-child { color: var(--muted); }
.booking__actions { display: grid; gap: 10px; margin-top: 22px; }
.booking__safe { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .cards, .steps, .reviews { grid-template-columns: repeat(2, 1fr); }
  .visa__grid, .community__box, .tour-grid { grid-template-columns: 1fr; }
  .visa__grid, .community__box { padding: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .booking { position: static; }
}
/* Сворачиваем навигацию в бургер раньше — контента в шапке много */
@media (max-width: 1024px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .header__cta { gap: 0; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 74px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px; box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .btn { display: inline-flex; margin-top: 12px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .header__cta { gap: 0; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 74px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px; box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .btn { display: inline-flex; margin-top: 12px; }
  .cards, .steps, .reviews, .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 64px 22px 76px; }
  .hero__trust { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .visa__grid, .community__box, .cta-strip { padding: 32px 24px; }
  .float-cta a { width: 52px; height: 52px; }
}
