:root {
  --orange: #F97316;
  --orange-dk: #c95d0e;
  --orange-bg: rgba(249,115,22,0.08);
  --orange-bg2: rgba(249,115,22,0.14);
  --bg: #f8f8f6;
  --white: #ffffff;
  --text: #181816;
  --text-2: #5c5c58;
  --text-3: #9c9c97;
  --border: #e6e6e2;
  --border-2: #d0d0ca;
  --radius: 14px;
  --radius-sm: 9px;
  --font-d: 'Unbounded', sans-serif;
  --font-b: 'Manrope', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── HERO ── */
.hero {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 36px 20px 28px; text-align: center;
}
.hero-eye {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-bg); border-radius: 20px;
  padding: 4px 12px; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-d); font-size: clamp(20px, 4.5vw, 36px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: 10px;
  text-transform: none; border: none; padding: 0;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { font-size: 14px; color: var(--text-2); max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* ── STEP BAR ── */
.step-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}
.step-bar-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center;
}
.step-item {
  display: flex; align-items: center; gap: 8px;
  flex: 1;
}
.step-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 10px; font-weight: 700;
  border: 2px solid var(--border-2); color: var(--text-3);
  transition: all .2s;
}
.step-num.done { background: var(--orange); border-color: var(--orange); color: #fff; }
.step-num.active { border-color: var(--orange); color: var(--orange); }
.step-label-text { font-size: 12px; font-weight: 600; color: var(--text-3); transition: color .2s; white-space: normal; line-height: 1.3; }
.step-label-text.active { color: var(--text); }
.step-label-text.done { color: var(--orange); }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 8px; max-width: 48px; }
.step-line.done { background: var(--orange); }

/* ── MAIN LAYOUT ── */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 24px 20px 80px; }

/* ── STEP DIVIDER ── */
.step-divider {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
/* extra top margin for the step2 divider inside hotel-detail */
#hotel-detail .step-divider:first-child {
  margin-top: 32px;
}
.step-divider-line { flex: 1; height: 1px; background: var(--border); }
.step-divider-label {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  color: var(--orange); background: var(--orange-bg);
  border-radius: 20px; padding: 4px 12px; white-space: nowrap;
}

/* ── AIRPORT TABS ── */
.airport-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ap-tab {
  padding: 7px 14px; border-radius: 20px;
  border: 1.5px solid var(--border-2); background: var(--white);
  font-family: var(--font-b); font-size: 12px; font-weight: 700;
  color: var(--text-2); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.ap-tab:hover { border-color: var(--orange); color: var(--orange); }
.ap-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── HOTEL CARDS GRID ── */
.hotels-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.hotel-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  user-select: none;
}
.hotel-card:hover { border-color: var(--orange); }
.hotel-card.selected {
  border-color: var(--orange);
  background: #fffbf8;
  box-shadow: 0 2px 16px rgba(249,115,22,.1);
}
.hotel-card.hidden { display: none; }

.hcard-airport { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.hcard-iata {
  font-family: var(--font-d); font-size: 10px; font-weight: 700;
  background: var(--text); color: #fff;
  border-radius: 4px; padding: 2px 6px; letter-spacing: .04em;
}
.hcard-zone {
  font-size: 9px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(249,115,22,.3); border-radius: 4px; padding: 2px 5px;
  background: var(--orange-bg);
}
.hcard-name {
  font-family: var(--font-d); font-size: 12px; font-weight: 600;
  line-height: 1.3; color: var(--text); margin-bottom: 4px;
}
.hcard-desc { font-size: 11px; color: var(--text-3); line-height: 1.4; }

.hcard-check {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); display: none;
  align-items: center; justify-content: center;
}
.hcard-check svg { width: 10px; height: 10px; color: #fff; }
.hotel-card.selected .hcard-check { display: flex; }

/* ── HOTEL DETAIL ── */
#hotel-detail { display: none; }
#hotel-detail.visible { display: block; }

.detail-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.detail-name {
  font-family: var(--font-d); font-size: 16px; font-weight: 700;
  line-height: 1.2; color: var(--text);
}
.detail-address { font-size: 13px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }
.detail-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--orange-bg); color: var(--orange);
  border-radius: 20px; padding: 4px 10px; white-space: nowrap; flex-shrink: 0;
}

/* ── YANDEX MAP (full-width above columns) ── */
.map-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
}
.ymap-iframe {
  width: 100%; height: 340px; display: block; border: none;
}
.map-route-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 16px; border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--orange);
  text-decoration: none; transition: background .15s;
}
.map-route-link:hover { background: var(--orange-bg); }
.map-route-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── TWO-COLUMN ── */
.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── CONTACT BLOCK ── */
.contact-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px;
}
.contact-block h3 {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 12px;
  border: none; padding: 0;
}
.contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row:hover .contact-row-label { color: var(--orange); }
.contact-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--orange-bg); color: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 15px; height: 15px; }
.contact-row-content { flex: 1; min-width: 0; }
.contact-row-type { font-size: 10px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-row-label { font-size: 13px; font-weight: 600; color: var(--text); transition: color .15s; }
.contact-row-arrow { color: var(--text-3); font-size: 16px; }

/* ── HOW TO GET ── */
.how-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px;
}
.how-block h3 {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 12px;
  border: none; padding: 0;
}
.how-item {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border); font-size: 13px;
  color: var(--text-2); line-height: 1.6;
}
.how-item:last-child { border-bottom: none; padding-bottom: 0; }
.how-icon {
  width: 26px; height: 26px; border-radius: 6px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; color: var(--text-3);
}
.how-icon svg { width: 13px; height: 13px; }
.how-item-text { flex: 1; }
.how-item-text strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }

/* ── BOOK CTA ── */
.book-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--text); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.book-cta-text h3 {
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  color: #fff; margin-bottom: 3px;
  border: none; padding: 0; text-transform: none;
}
.book-cta-text p { font-size: 12px; color: rgba(255,255,255,.45); }
.book-cta-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 16px; border-radius: 20px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; transition: background .15s;
}
.book-cta-btn:hover { background: var(--orange-dk); }

/* ── FORM ── */
.form-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.form-block h3 {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 16px;
  border: none; padding: 0;
}
.form-hotel-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-bg); border: 1px solid var(--orange-bg2);
  border-radius: 8px; padding: 8px 12px; margin-bottom: 16px; width: 100%;
}
.form-hotel-tag svg { width: 14px; height: 14px; color: var(--orange); flex-shrink: 0; }
.form-hotel-tag span { font-size: 12px; font-weight: 700; color: var(--orange); }
.form-hotel-tag small { font-size: 11px; color: var(--text-3); margin-left: auto; }

.form-field { margin-bottom: 12px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-2); margin-bottom: 5px; letter-spacing: .03em;
}
.form-input, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-2); border-radius: var(--radius-sm);
  background: var(--bg); font-family: var(--font-b); font-size: 13px; color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-input.error, .form-textarea.error { border-color: #e53935; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: .02em; transition: background .15s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.form-submit:hover { background: var(--orange-dk); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }
.form-submit svg { width: 14px; height: 14px; }
.form-note { font-size: 11px; color: var(--text-3); margin-top: 10px; line-height: 1.5; text-align: center; }

.form-status { min-height: 0; font-size: 13px; margin-bottom: 10px; border-radius: 8px; transition: all .2s; }
.form-status.success { color: #2e7d32; background: #e8f5e9; padding: 9px 12px; }
.form-status.error   { color: #c62828; background: #ffebee; padding: 9px 12px; }

/* ── ANIMATION ── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#hotel-detail.visible { animation: slideDown .25s ease; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .detail-body { grid-template-columns: 1fr; }
  .hotels-grid { grid-template-columns: 1fr 1fr; }
  .book-cta { flex-direction: column; align-items: flex-start; }
  .book-cta-btn { width: 100%; justify-content: center; }
  .step-bar { overflow-x: auto; }
  .step-bar-inner { min-width: 320px; }
  .ymap-iframe { height: 240px; }
}
@media (max-width: 380px) {
  .hotels-grid { grid-template-columns: 1fr; }
}
