:root {
  --bg: #0f1424; 
  --text: #f0f4ff;
  --muted: rgba(240, 244, 255, 0.75);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { min-height: 100vh; max-width: 100vw; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  width: 100%;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: .2s; }
.container { width: min(1160px, 92vw); margin: 0 auto; max-width: 100%; }

/* HERO */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding: 100px 0 60px; }
.hero__video-wrap { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,36,0.9) 0%, rgba(15,20,36,0.7) 60%, rgba(15,20,36,0.3) 100%); }

.header { position: absolute; top: 0; left: 0; width: 100%; padding: 20px 0; z-index: 10; }
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.brand__name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #fff; display: block; }
.brand__tag { font-size: 11px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.phone { font-weight: 700; font-size: 18px; color: #fff; }

.hero__content { position: relative; z-index: 2; max-width: 650px; }
.kicker { display: inline-block; padding: 6px 12px; border: 1px solid var(--gold-glow); background: rgba(212,175,55,0.1); color: var(--gold); border-radius: 99px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.h1 { margin: 0 0 20px; font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; font-weight: 700; color: #fff; }
.h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 4vw, 32px); font-weight: 700; text-align: center; color: #fff; margin: 0; }
.h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 10px 0; }

.glass { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px; }
.hero__gifts-block { margin-bottom: 30px; }
.hero__gifts-title { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin: 0 0 10px 0; }
.hero__gift-item { font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.2s; text-align: center; border: none; }
.btn--gold { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); }
.btn--glow { animation: pulseBtn 2s infinite; }
@keyframes pulseBtn { 0% { box-shadow: 0 0 0 0 var(--gold-glow); } 70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
.btn--secondary { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: #fff; }
.btn--back { background: transparent; color: var(--muted); padding: 10px; border: 1px solid var(--line); }

/* QUIZ GRID */
.section { padding: 80px 0; overflow-x: hidden; }
.quiz-grid { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }

/* SIDEBAR */
.route-sidebar__header { margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.route-sidebar__title { font-weight: 700; font-size: 18px; color: var(--gold); }
.route-sidebar__subtitle { font-size: 12px; color: var(--muted); }
.route-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: center; opacity: 0.5; transition: opacity 0.3s; }
.route-item.is-active { opacity: 1; }
.route-item__icon { font-size: 20px; }
.route-item__title { font-size: 12px; color: var(--muted); }
.route-item__value { font-size: 14px; font-weight: 600; color: #fff; }

/* QUIZ ELEMENTS */
.quiz__expert { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 16px; margin-bottom: 25px; border: 1px solid var(--line); }
.expert-photo { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.expert-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.expert-status { position: absolute; bottom: -5px; right: -5px; background: #22c55e; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 10px; font-weight: 700; border: 2px solid var(--bg); }
.expert-text strong { display: block; color: var(--gold); font-size: 14px; }
.expert-text p { margin: 4px 0 0 0; font-size: 13px; color: #fff; line-height: 1.4; }

.progress-wrap { margin-bottom: 30px; }
.progress-bar { height: 4px; background: var(--gold); width: 0%; border-radius: 4px; transition: width 0.4s ease; box-shadow: 0 0 10px var(--gold-glow); }
.progress-status { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: right; }

.chip { background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--text); padding: 15px; border-radius: 12px; cursor: pointer; transition: .2s; text-align: center; font-weight: 600; width: 100%; font-size: 15px; }
.chip.is-selected { background: var(--gold); color: #000; border-color: var(--gold); }
.input-xl { width: 100%; padding: 16px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: #fff; font-size: 16px; outline: none; margin-bottom: 15px; font-family: inherit; }
.input-xl:focus { border-color: var(--gold); }

/* CUSTOM CHECKBOX */
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
.check span { font-size: 14px; color: var(--muted); }

/* COUNTERS */
.counter-box { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.05); padding: 15px 20px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 15px; }
.counter-label { font-weight: 600; font-size: 16px; }
.counter-controls { display: flex; align-items: center; gap: 15px; }
.counter-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.counter-val { font-size: 18px; font-weight: 700; min-width: 20px; text-align: center; }
.child-ages { display: grid; gap: 10px; margin-bottom: 15px; padding-left: 20px; border-left: 2px solid var(--gold); }
.age-select { width: 100%; padding: 12px; border-radius: 8px; background: #161b2e; color: #fff; border: 1px solid var(--line); font-size: 16px; outline: none; }

/* GUARANTEES BLOCK */
.section--guarantees { padding: 60px 0; }
.guarantees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.guarantee-card { text-align: center; padding: 30px 20px; }
.guarantee-icon { font-size: 40px; margin-bottom: 15px; }
.guarantee-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
.review-name { font-weight: 700; color: var(--gold); }
.review-stars { color: #fbbf24; }
.review-text { font-size: 14px; color: var(--muted); line-height: 1.6; font-style: italic; }

/* EXIT MODAL */
.exit-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.exit-modal.is-visible { opacity: 1; pointer-events: auto; }
.exit-content { background: #161b2e; border: 1px solid var(--gold); padding: 40px; border-radius: 20px; text-align: center; max-width: 450px; width: 90%; position: relative; }
.exit-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; opacity: 0.5; }

/* MOBILE STICKY */
.mobile-sticky-btn { display: none; position: fixed; bottom: 20px; left: 50%; width: 90%; max-width: 400px; z-index: 9990; box-shadow: 0 10px 30px rgba(0,0,0,0.5); text-align: center; padding: 16px; font-size: 16px; font-weight: bold; background: linear-gradient(135deg, #d4af37, #b8860b); color: white; border-radius: 12px; opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(100px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-decoration: none; }

/* RESPONSIVE BREAKPOINTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

@media (max-width: 920px) { 
    .quiz-grid { grid-template-columns: 1fr; } 
    .desktop-only { display: none !important; } 
    .logistics-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .grid-2 { grid-template-columns: 1fr; }
    .mobile-sticky-btn { display: block; } 
    .mobile-sticky-btn.is-active { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); } 
    
    /* ИСПРАВЛЕНИЕ: Даем отступ контенту от многострочной шапки */
    .header__inner { flex-direction: column; gap: 8px; text-align: center; }
    .hero { padding-top: 140px; } 
}
@media (min-width: 921px) { .mobile-only { display: none !important; } }