/* lux-minimal: Luxury Minimal — premium restraint.
   Костяной фон, графитовый текст, приглушённая бронза, волосяные линии,
   строки вместо карточек, подчёркнутые инпуты, максимум воздуха. */
:root {
  --bg: #f7f5f0;
  --ink: #1d1c1a;
  --muted: #8f8a80;
  --accent: #9a8c74;
  --hairline: rgba(29, 28, 26, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

em { font-style: italic; color: var(--accent); }

/* ---- шапка ---- */
.top { padding: 34px 20px 6px; text-align: center; }

.logo {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 7px;
  color: var(--ink);
}

.progress { max-width: 260px; margin: 26px auto 0; }
.progress__track {
  position: relative;
  height: 1px;
  background: var(--hairline);
}
.progress__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--accent);
  transition: width 0.6s ease;
}
.progress__dot {
  position: absolute; top: 50%;
  width: 1px; height: 7px;
  transform: translate(-50%, -50%);
  background: var(--hairline);
  transition: background 0.3s;
}
.progress__dot[data-mile="0"] { left: 2%; }
.progress__dot[data-mile="1"] { left: 34%; }
.progress__dot[data-mile="2"] { left: 66%; }
.progress__dot[data-mile="3"] { left: 98%; }
.progress__dot--done { background: var(--accent); }
.progress__label {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ---- сцена ---- */
.stage {
  flex: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 24px 160px;
  position: relative;
}

.screen { display: none; animation: rise 0.5s ease; }
.screen--active { display: block; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.screen__title {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.screen__quote {
  margin: 22px auto 0;
  max-width: 360px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.screen__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- триада качеств вместо цифр ---- */
.proof {
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.proof span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.proof span + span::before {
  content: '·';
  margin-right: 26px;
  color: var(--accent);
}

/* ---- опции: строки с волосяными линиями, без карточек ---- */
.options {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.8px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 17px 6px;
  cursor: pointer;
  transition: padding-left 0.25s ease, color 0.25s;
}
.option::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.option:hover { padding-left: 12px; }
.option:hover::before { width: 14px; }
.option--selected { color: var(--accent); }
.option--selected::before { width: 22px; }

/* страна/регион: компактная сетка в 2 колонки — 12 стран без прокрутки
   на 360×640 (инвариант 11), стиль строк с волосяными линиями сохранён */
.options--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.options--grid .option {
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 13px 4px;
}

/* ---- даты и контакт: подчёркнутые поля ---- */
.dates-box, .contact-box {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dates-box input, .contact-box input {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 8px 2px;
  width: 100%;
}
.dates-box input::placeholder, .contact-box input::placeholder { color: #c2bcb0; }
.dates-box input:focus, .contact-box input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.fine {
  margin-top: 26px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- интерлюдия ---- */
.plan-bar {
  margin: 44px auto 0;
  max-width: 220px;
  height: 1px;
  background: var(--hairline);
}
.plan-bar__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.3s linear;
}

.error {
  position: fixed;
  left: 50%; bottom: 132px;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid rgba(160, 60, 60, 0.4);
  color: #a03c3c;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  z-index: 20;
  width: max-content;
  max-width: calc(100vw - 32px);
  text-align: center;
}

/* ---- низ: сдержанная графитовая CTA ---- */
.bottom {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px 16px;
  background: linear-gradient(180deg, rgba(247, 245, 240, 0), var(--bg) 45%);
}
.bottom__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}
.back {
  font: inherit;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 17px 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
}
.back:hover { color: var(--ink); }
.cta {
  display: block;
  flex: 1;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 17px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, opacity 0.2s;
}
.cta:hover:not(:disabled) { background: transparent; color: var(--ink); }
.cta:disabled { opacity: 0.35; cursor: default; }

.bottom__links {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 1px;
  color: #b9b3a7;
}
.bottom__links a { color: inherit; text-decoration: none; }
.bottom__links a:hover { color: var(--accent); }

/* календарь ядра — подчёркнутое поле в тон */
.sr-cal__field {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 8px 2px;
}
.sr-cal__field:hover { border-bottom-color: var(--accent); }

@media (min-width: 700px) {
  .screen__title { font-size: 46px; }
}

/* 360×640: щедрые люкс-отступы ужимаются, каждый экран — без прокрутки
   (инвариант 11): меньше воздуха в шапке/сцене/футере, плотнее строки опций */
@media (max-width: 480px) {
  .top { padding: 18px 20px 4px; }
  .progress { margin-top: 14px; }
  .progress__label { margin-top: 9px; }
  .stage { padding: 24px 20px 140px; }
  .screen__title { font-size: 28px; }
  .screen__quote { margin-top: 14px; font-size: 13px; line-height: 1.7; }
  .screen__hint { margin-top: 10px; }
  .proof { margin-top: 36px; gap: 18px; }
  .proof span + span::before { margin-right: 18px; }
  .options { margin-top: 24px; }
  .option { padding: 12px 4px; font-size: 14px; }
  .options--grid .option { padding: 11px 2px; font-size: 13px; letter-spacing: 0.3px; }
  .dates-box, .contact-box { margin-top: 26px; gap: 18px; }
  .dates-box input, .contact-box input, .sr-cal__field { font-size: 18px; }
  .fine { margin-top: 18px; }
  .plan-bar { margin-top: 32px; }
  .bottom { padding: 10px 16px; }
  .back { padding: 14px 4px; }
  .cta { padding: 14px; }
  .bottom__links { margin-top: 8px; }
}
