/* ============================================================
   EasyRent Georgia — стили
   Светлая тема, высокий контраст, чёрный/белый, акцент = чёрный
   ============================================================ */

:root {
  /* Палитра: высокий контраст, без блёклости */
  --ink:        #0d0d0d;       /* основной текст и кнопки */
  --ink-2:      #2b2b2b;       /* почти чёрный для второстепенного текста */
  --ink-soft:   #555555;       /* мелкие лейблы (тоже читаемые) */
  --line:       #e1e1e1;       /* разделители */
  --line-soft:  #f0f0f0;       /* мягкие линии внутри карточек */
  --bg:         #ffffff;
  --bg-soft:    #fafafa;
  --bg-cream:   #faf6ee;       /* акцентные фоны (тбилиси) */
  --bg-sky:     #eef4f9;       /* акцентные фоны (батуми) */

  /* Семантика */
  --success:    #1c7a3e;
  --warning:    #b87000;
  --danger:     #b1271b;

  /* Бренд-цвета городов */
  --batumi:     #0C447C;
  --tbilisi:    #854F0B;

  /* Шрифты */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  /* Spacing scale */
  --gap-1: 4px;
  --gap-2: 8px;
  --gap-3: 12px;
  --gap-4: 16px;
  --gap-5: 20px;
  --gap-6: 24px;
  --gap-8: 32px;
  --gap-10: 40px;
  --gap-12: 48px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ============ CONTAINER ============ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gap-5);
}

/* ============ TYPOGRAPHY HELPERS ============ */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--gap-2);
}
.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.05;
}

/* ============ BRAND LOGO ============ */
.brand { display: block; }
.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--ink);
  line-height: 1;
}
.brand__sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--ink-2);
  margin-top: 2px;
}
.brand--xl .brand__name { font-size: 40px; letter-spacing: 6px; }
.brand--xl .brand__sub { font-size: 11px; letter-spacing: 6px; margin-top: 6px; }

/* Brand logo image (replaces text brand) */
.brand-logo { display: block; height: auto; width: auto; }
.brand-logo--xl     { width: 320px; max-width: 80vw; margin: 0 auto 32px; }
.brand-logo--header { height: 40px; }
.brand-logo--footer { height: 36px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 14px 30px; font-size: 15px; }
.btn--full { width: 100%; }

/* ============ CITY PICKER ============ */
.city-picker {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.city-picker.is-open {
  opacity: 1;
  pointer-events: auto;
}
/* === Тбилиси временно отключён (нет машин) ===
   Прячем выбор города: переключатель в хедере и ссылку на Тбилиси в футере.
   Чтобы вернуть — удали этот блок. */
.city-toggle { display: none !important; }
.footer__link[data-city-link="tbilisi"] { display: none !important; }
.city-picker__inner {
  background: #fff;
  border-radius: var(--r-xl);
  padding: var(--gap-12) var(--gap-8);
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: pickerIn 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1);
}
@keyframes pickerIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.city-picker__inner .brand--xl { margin-bottom: var(--gap-8); }

.picker-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: var(--gap-2);
  color: var(--ink);
}
.picker-sub {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: var(--gap-8);
}
.picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-5);
  margin-bottom: var(--gap-6);
}
.picker-card {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--gap-6) var(--gap-5);
  transition: all 0.25s ease;
}
.picker-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.picker-card__photo {
  height: 120px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--gap-4);
  background: var(--bg-sky);
}
.picker-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.picker-card:hover .picker-card__photo img { transform: scale(1.05); }
.picker-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: var(--gap-1);
}
.picker-card__sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: var(--gap-4);
}
.picker-card__meta {
  display: flex;
  justify-content: space-between;
  padding-top: var(--gap-3);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.picker-foot {
  font-size: 12px;
  color: var(--ink-2);
}
.picker-foot i { vertical-align: -2px; margin-right: 4px; }

/* ============ HEADER ============ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-5);
  padding: var(--gap-4) var(--gap-5);
  flex-wrap: wrap;
}

.city-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 3px;
  gap: 2px;
}
.city-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}
.city-toggle__btn i { font-size: 14px; vertical-align: -1px; }
.city-toggle__btn:not(.is-active):hover { background: rgba(13,13,13,0.05); }
.city-toggle__btn.is-active { background: var(--ink); color: #fff; }

.header__right {
  display: flex;
  align-items: center;
  gap: var(--gap-4);
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.header__phone i { font-size: 16px; }

.lang-switch { display: flex; gap: 3px; }
.lang-switch__btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: all 0.15s ease;
}
.lang-switch__btn.is-active { background: var(--ink); color: #fff; }

/* ============ SUBNAV ============ */
.subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav__row {
  display: flex;
  align-items: center;
  gap: var(--gap-6);
  padding: 10px var(--gap-5);
  font-size: 13px;
  flex-wrap: wrap;
}
.subnav__link {
  color: var(--ink);
  font-weight: 500;
  transition: opacity 0.15s ease;
}
.subnav__link:hover { opacity: 0.6; }
.subnav__socials {
  margin-left: auto;
  display: flex;
  gap: var(--gap-3);
}

.social-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.15s ease;
}
.social-icon i { font-size: 19px; }
.social-icon:hover { transform: translateY(-2px); }
.social-icon--wa { color: #25D366; }
.social-icon--tg { color: #229ED9; }

/* ============ HERO — полноэкранный баннер с фото города ============ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;        /* z-index работает внутри секции */
  color: #fff;
  padding: var(--gap-10) 0;
}

/* Два фоновых <picture> слоя, cross-fade через opacity */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hero__bg.is-active { opacity: 1; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ken-Burns: медленный zoom активного слоя.
     Применяем только к активному, чтобы не дёргать неактивный. */
  display: block;
}
.hero__bg.is-active img {
  animation: heroKenBurns 30s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Затемнение слева направо — текст слева читается чётко,
     правый край менее затемнён чтобы фото было видно. */
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.15) 100%);
}
/* Городские фоны (Тбилиси) обычно темнее ночью — overlay чуть сильнее */
.hero--tbilisi .hero__overlay {
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.20) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__tag {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #ffd24a;            /* жёлтый акцент */
  text-transform: uppercase;
  margin-bottom: var(--gap-3);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: var(--gap-6);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero__title-city {
  display: block;
  color: #ffd24a;
}
.hero__features {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
  margin-bottom: var(--gap-6);
  font-size: 18px;
  font-weight: 500;
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__features i {
  font-size: 22px;
  color: #ffd24a;
  flex-shrink: 0;
}
.hero__cta {
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__cta:hover {
  background: #ffd24a;
  color: var(--ink);
  border-color: #ffd24a;
  transform: translateY(-1px);
}

/* Fade-in появления текста и кнопки при первой загрузке.
   Каждый элемент с лёгкой задержкой — каскад. */
.hero__tag,
.hero__title,
.hero__features,
.hero__cta {
  opacity: 0;
  animation: heroFadeIn 0.7s ease-out forwards;
}
.hero__tag      { animation-delay: 0.05s; }
.hero__title    { animation-delay: 0.20s; }
.hero__features { animation-delay: 0.35s; }
.hero__cta      { animation-delay: 0.50s; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Стрелка "Прокрутите вниз" внизу Hero, с лёгким bounce */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: heroFadeIn 0.7s ease-out 0.9s forwards;
  transition: color 0.2s ease;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i {
  font-size: 24px;
  animation: heroScrollBounce 1.8s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ============ FILTERS ============ */
.filters {
  padding: var(--gap-8) 0 var(--gap-5);
  background: #fff;
}
.filter-block {
  margin-bottom: var(--gap-5);
}
.filter-block__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--gap-3);
}

.chips {
  display: flex;
  gap: var(--gap-2);
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.chip i { font-size: 15px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.save-pill {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 4px;
}
.chip.is-active .save-pill {
  background: #fff;
  color: var(--success);
}

/* ============ CATALOG ============ */
.catalog {
  padding: var(--gap-6) 0 var(--gap-12);
  background: #fff;
}
.catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--gap-5);
}
.catalog__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--ink);
}
.catalog__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.catalog__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--gap-12);
  color: var(--ink-2);
}
.catalog__loading i {
  font-size: 32px;
  display: block;
  margin-bottom: var(--gap-3);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.catalog__soon {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--gap-11) var(--gap-6);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.catalog__soon > i {
  font-size: 40px;
  color: var(--accent, #ff5a36);
  display: block;
  margin-bottom: var(--gap-4);
}
.catalog__soon-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: 1px;
  margin-bottom: var(--gap-3);
}
.catalog__soon-text {
  max-width: 520px;
  margin: 0 auto var(--gap-5);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.catalog__soon .btn { display: inline-flex; align-items: center; gap: 8px; }

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-5);
}

/* ============ CAR CARD ============ */
.car-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.car-card__deposit {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
}
.car-card__deposit:empty { display: none; }
.car-card__media-link { display: block; color: inherit; text-decoration: none; }
.car-card__name-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.car-card__name-link:hover { opacity: 0.65; }
.car-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-card__media img {
  transform: scale(1.04);
}
.car-card__expand {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.car-card__expand i { font-size: 18px; }
.car-card:hover .car-card__expand { opacity: 1; }

.loc-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
}
.loc-badge i { font-size: 11px; }
.loc-badge--batumi { background: var(--batumi); }
.loc-badge--tbilisi { background: var(--tbilisi); }

/* Класс авто (Эконом/Комфорт/Премиум/Спорт) — слева сверху на карточке */
.class-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.class-badge[hidden] { display: none; }
.class-badge--economy { background: #2e7d32; }
.class-badge--comfort { background: #1565c0; }
.class-badge--premium { background: #6a1b9a; }
.class-badge--sport   { background: #c62828; }

.car-card__body {
  padding: var(--gap-4);
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
  flex: 1;
}
.car-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.car-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.1;
}
.car-card__year {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Specs */
.specs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--gap-2) 0;
}
.specs__row {
  display: flex;
  gap: var(--gap-1);
}
.specs__row + .specs__row {
  border-top: 1px solid var(--line-soft);
  margin-top: var(--gap-1);
  padding-top: var(--gap-1);
}
.spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  min-width: 0;
}
.spec i { font-size: 18px; color: var(--ink); }
.spec__v {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
}
.spec__l {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Pricing */
.car-card__pricing {
  display: flex;
  flex-direction: column;
  gap: var(--gap-1);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.price__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.price__min {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1;
}
.price__sep {
  font-size: 12px;
  color: var(--ink-2);
}
.price__max {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: line-through;
}
.price__unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.save-badge {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  align-self: flex-start;
}

/* Actions */
.car-card__actions {
  display: flex;
  gap: var(--gap-2);
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
}
.msgr-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: #fff;
}
.msgr-icon i { font-size: 18px; }
.msgr-icon:hover { transform: scale(1.08); }
.msgr-icon--wa { color: #25D366; border-color: #25D366; }
.msgr-icon--tg { color: #229ED9; border-color: #229ED9; }

/* ============ RULES ============ */
.rules {
  padding: var(--gap-12) 0;
  background: var(--bg-soft);
}
.rules__head { margin-bottom: var(--gap-8); text-align: center; }
.rules__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap-4);
}
.rules__list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-5);
  display: flex;
  align-items: center;
  gap: var(--gap-3);
}
.rules__list i { font-size: 28px; color: var(--ink); flex-shrink: 0; }
.rules__list span { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* ============ WHY ============ */
.howto {
  padding: var(--gap-12) 0;
  background: var(--bg-soft);
}
.howto__head { text-align: center; margin-bottom: var(--gap-8); }
.howto__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-5);
}
.howto__card {
  position: relative;
  background: #fff;
  border: 0.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--gap-6) var(--gap-5);
  text-align: center;
  transition: transform 0.2s ease;
}
.howto__card:hover { transform: translateY(-4px); }
.howto__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--line);
}
.howto__card i { font-size: 34px; color: var(--ink); margin-bottom: var(--gap-3); display: block; }
.howto__card-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: var(--gap-2); }
.howto__card-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 880px) { .howto__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .howto__grid { grid-template-columns: 1fr; } }

.why {
  padding: var(--gap-12) 0;
  background: #fff;
}
.why__head { text-align: center; margin-bottom: var(--gap-8); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-4);
}
.why__card {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: var(--gap-5);
  text-align: center;
  transition: transform 0.2s ease;
}
.why__card:hover { transform: translateY(-4px); }
.why__card i { font-size: 32px; color: var(--ink); margin-bottom: var(--gap-3); }
.why__card .svg-icon { color: var(--ink); margin-bottom: var(--gap-3); display: inline-block; }
.traffic-rules__list .svg-icon { color: var(--ink); flex-shrink: 0; }
.why__card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--gap-1);
}
.why__card-text {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--ink);
  color: #fff;
  padding: var(--gap-10) 0;
}
.cta-strip__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-5);
  flex-wrap: wrap;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #fff;
}
.cta-strip__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: var(--gap-1);
}
.cta-strip .btn--primary {
  background: #fff;
  color: var(--ink);
}
.cta-strip .btn--primary:hover { background: #f0f0f0; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: var(--gap-10) 0 var(--gap-5);
}
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,0.6); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-8);
  padding-bottom: var(--gap-8);
}
.footer__about {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: var(--gap-3);
  max-width: 380px;
  line-height: 1.5;
}
.footer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--gap-4);
}
.footer__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--gap-2);
  transition: color 0.15s ease;
}
.footer__link i { font-size: 15px; }
.footer__link:hover { color: #fff; }
.footer__socials {
  display: flex;
  gap: var(--gap-3);
  margin-top: var(--gap-4);
}
.footer .social-icon {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: var(--r-sm);
}
.footer .social-icon--wa { color: #25D366; }
.footer .social-icon--tg { color: #229ED9; }
.footer__copy {
  padding-top: var(--gap-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gap-5);
}
.modal.is-open { display: flex; }

/* ===== Contacts modal ===== */
.modal__panel--contacts { max-width: 400px; text-align: center; }
.contacts-modal__head { margin-bottom: var(--gap-5); }
.contacts-modal__logo { height: 40px; width: auto; margin-bottom: var(--gap-4); }
.contacts-modal__btns { display: flex; flex-direction: column; gap: 10px; }
.contact-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-weight: 700; font-size: 15px;
  text-decoration: none; color: #fff;
  transition: transform .12s ease, filter .12s ease;
}
.contact-btn i { font-size: 22px; }
.contact-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.contact-btn--wa   { background: #25D366; }
.contact-btn--tg   { background: #229ED9; }
.contact-btn--call { background: var(--ink, #1a1a1a); }
.contact-btn--ig   { background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 60%, #bc1888); }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.modal__panel--wide { max-width: 900px; padding: 0; overflow: hidden; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: var(--gap-3);
  right: var(--gap-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #f5f5f5;
  z-index: 1;
}
.modal__close i { font-size: 18px; }
.modal__close:hover { background: var(--line); }
.modal__head {
  margin-bottom: var(--gap-5);
  padding-right: var(--gap-8);
}
.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
}
.modal__sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: var(--gap-1);
}

/* ============ BOOKING FORM ============ */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field select {
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ink);
}
.form-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 6px;
}
.form-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.form-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: none;
}

/* ============ FORM — RENTAL DAYS BLOCK ============ */
.form-field--days { gap: 10px; }

.days-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.days-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1;
}

.days-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.days-preset {
  min-width: 36px;
  padding: 7px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.days-preset:hover { border-color: var(--ink-soft); }
.days-preset.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.days-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: -2px;
}

.days-total {
  margin-top: 4px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.days-total__main {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.days-total__main strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-left: 4px;
}
.days-total__discount {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #e8f7ee;
  color: #1f7a3a;
  border: 1px solid #c4ebcf;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.days-total__discount i { font-size: 14px; }
.days-total__hint {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}
.form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--ink);
}
.form-agree__text a {
  color: var(--ink);
  text-decoration: underline;
}
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.msgr-picker {
  display: flex;
  gap: 8px;
}
.msgr-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}
.msgr-btn i { font-size: 15px; }
.msgr-btn:hover { border-color: var(--ink); }
.msgr-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.form-foot {
  font-size: 11px;
  color: var(--ink-2);
  text-align: center;
}
.form-status {
  display: none;
  padding: var(--gap-3);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.form-status.is-success {
  display: block;
  background: #e7f5ec;
  color: var(--success);
}
.form-status.is-error {
  display: block;
  background: #fbe9e7;
  color: var(--danger);
}

/* ============ GALLERY ============ */
.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.gallery img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

/* ============ SECTION SUB (общий подзаголовок) ============ */
.section-sub {
  margin-top: var(--gap-2);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============ WHY — card link (для карточки договора) ============ */
.why__card-link {
  display: inline-block;
  margin-top: var(--gap-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.why__card-link:hover { opacity: 0.65; }

/* ============ BTN small variant ============ */
.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ============ DESTINATIONS ============ */
.destinations {
  padding: var(--gap-12) 0;
  background: var(--ink);
  color: #fff;
}
.destinations .section-label { color: rgba(255, 255, 255, 0.7); }
.destinations .section-title { color: #fff; }
.destinations .section-sub   { color: rgba(255, 255, 255, 0.7); }
.destinations__head {
  text-align: center;
  margin-bottom: var(--gap-8);
}
.destinations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-5);
}
.dest-card {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  min-width: 0; /* grid-item: не давать aspect-ratio+min-height раздувать ширину сверх колонки (иначе на мобиле карточка вылезает за экран) */
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink); /* fallback пока фото грузится */
  isolation: isolate;
}
.dest-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dest-card:hover .dest-card__img { transform: scale(1.05); }
.dest-card__overlay {
  position: absolute;
  inset: 0;
  /* Сильный снизу + лёгкое затемнение сверху — чтобы текст читался
     одинаково и на тёмных, и на светлых фото (зелёная Кахетия, водопады). */
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.20) 70%,
    rgba(0, 0, 0, 0.10) 100%);
  pointer-events: none;
}
.dest-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--gap-6);
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
  color: #fff;
}
.dest-card__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}
.dest-card__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px var(--gap-3);
  max-width: 100%;
}
.dest-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
  max-width: 100%;
}
.dest-card__badge--strong {
  background: #ff5a36;
  color: #fff;
}
.dest-card__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
}
.dest-card__time i { font-size: 16px; }
.dest-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin: 0;
}
.dest-card__cta {
  align-self: flex-start;
  margin-top: var(--gap-2);
}

/* ============ PLACES (eat & stay) ============ */
.places { padding: var(--gap-12) 0 var(--gap-9); }
.places__head { text-align: center; margin-bottom: var(--gap-7); }
.places__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-6);
  align-items: stretch;
}
.places__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 380px;
  background: #e9e9e9;
}
.places__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.places__cols { display: flex; flex-direction: column; gap: var(--gap-6); }
.places--stay { padding-top: var(--gap-4); }
.places--stay .places__cols--single { max-width: 760px; margin: 0 auto; }
.places__col-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; margin-bottom: var(--gap-3);
}
.places__col-title i { font-size: 20px; color: var(--accent, #ff5a36); }
.places__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}
.place-group {
  grid-column: 1 / -1;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted, #8a8a8a); margin: 14px 0 2px; padding-left: 2px;
}
.place-group:first-child { margin-top: 0; }
.place {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-md);
  text-decoration: none; color: inherit;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.place:hover { border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.02); }
.place--img {
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 0; overflow: hidden;
}
.place--img:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.place__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.place__logo {
  aspect-ratio: 5 / 2;
  display: flex; align-items: center; justify-content: center;
  background-image: radial-gradient(120% 160% at 20% 0%, rgba(255,255,255,0.18), rgba(0,0,0,0.12));
}
.place__logo-mono {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px; line-height: 1; color: #fff;
  letter-spacing: .06em; text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.place__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.place--img:hover .place__photo img { transform: scale(1.04); }
.place__body {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-width: 0; flex: 1;
}
.place--img .place__body { padding: 10px 12px 12px; }
.place__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.place__name { font-weight: 600; font-size: 15px; }
.place__type { font-size: 13px; color: #777; }
.place__rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 14px;
  color: #1a7a3c; background: #e7f5ec;
  padding: 5px 10px; border-radius: 999px; flex-shrink: 0;
}
.place__rating i { font-size: 15px; }
.places__note { text-align: center; font-size: 13px; color: #888; margin-top: var(--gap-5); }
@media (max-width: 860px) {
  .places__layout { grid-template-columns: 1fr; }
  .places__map { min-height: 280px; order: 2; }
}

/* ============ BTN white variant (for dark backgrounds) ============ */
.btn--white {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #fff;
}
.btn--white:hover { background: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.85); }

/* ============ TRAFFIC RULES ============ */
.traffic-rules {
  padding: var(--gap-12) 0;
  background: #f5f5f5;
}
.traffic-rules__head {
  text-align: center;
  margin-bottom: var(--gap-8);
}
.traffic-rules__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.traffic-rules__list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-5);
  display: flex;
  align-items: center;
  gap: var(--gap-4);
}
.traffic-rules__list i {
  font-size: 28px;
  color: var(--ink);
  flex-shrink: 0;
}
.traffic-rules__list span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* ============ TOURIST SERVICES ============ */
.services {
  padding: var(--gap-12) 0;
  background: #fff;
}
.services__head { text-align: center; margin-bottom: var(--gap-8); }

/* Сетка расширяемая: одна карточка не растягивается на весь ряд,
   две-три выстроятся бок-о-бок, на мобиле — 1 в столбик */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: var(--gap-5);
  justify-content: center;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-4);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon i { font-size: 28px; color: var(--ink); }
.service-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
}
.service-card__body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.service-card__cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  gap: 8px;
}
.service-card__cta i { font-size: 16px; }

/* ============================================================
   CAR DETAIL PAGE
   ============================================================ */
.car-page {
  padding: var(--gap-6) 0 var(--gap-12);
  background: var(--bg);
  min-height: 60vh;
}
.car-page__loading,
.car-page__not-found {
  text-align: center;
  padding: var(--gap-12) var(--gap-5);
  color: var(--ink-2);
}
.car-page__loading i { font-size: 36px; display: block; margin-bottom: var(--gap-3); animation: spin 1s linear infinite; }
.car-page__not-found i { font-size: 48px; color: var(--ink-soft); margin-bottom: var(--gap-3); display: block; }
.car-page__not-found h1 { font-family: var(--font-display); font-size: 32px; font-weight: 400; letter-spacing: 1px; margin-bottom: var(--gap-2); }
.car-page__not-found p { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--gap-5); }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-soft);
  padding: var(--gap-3) var(--gap-5);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs__sep { opacity: 0.5; }
.breadcrumbs__current { color: var(--ink); font-weight: 600; }

/* ===== Section title — small variant ===== */
.section-title--sm {
  font-size: 26px;
  margin-bottom: var(--gap-5);
}

.car-section { padding: var(--gap-8) var(--gap-5); }

/* ===== Hero ===== */
.car-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--gap-8);
  padding: var(--gap-5);
  align-items: start;
}
.car-hero__gallery { display: flex; flex-direction: column; gap: var(--gap-3); }
.car-hero__main-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16 / 10;
}
.car-hero__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;  /* лёгкий сдвиг вниз — авто обычно чуть ниже центра */
  display: block;
}
.car-hero__loc.loc-badge {
  position: absolute;
  top: var(--gap-3);
  left: var(--gap-3);
}
.car-hero__thumbs {
  display: flex;
  gap: var(--gap-2);
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.car-hero__thumb {
  flex: 0 0 90px;
  height: 64px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-soft);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.car-hero__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-hero__thumb.is-active { border-color: var(--ink); }

.car-hero__info { display: flex; flex-direction: column; gap: var(--gap-3); }
.car-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.car-hero__year {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.car-hero__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--gap-2);
  font-family: var(--font-display);
}
.car-hero__price-label,
.car-hero__price-sep { font-size: 14px; color: var(--ink-soft); letter-spacing: 1px; }
.car-hero__price-min,
.car-hero__price-max { font-size: 32px; color: var(--ink); letter-spacing: 1px; }
.car-hero__price-unit { font-size: 14px; color: var(--ink-soft); font-family: var(--font-body); }
.car-hero__save {
  align-self: flex-start;
  background: #e8f7ee;
  color: #1f7a3a;
  border: 1px solid #c4ebcf;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.car-hero__cta { display: flex; gap: var(--gap-3); margin-top: var(--gap-3); flex-wrap: wrap; }
.car-hero__cta .btn { flex: 1 1 200px; }
.car-hero__wa { background: #fff; }

/* ===== Specs grid ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-3);
}
.spec-cell {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: var(--gap-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.spec-cell i { font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.spec-cell__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec-cell__val {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

/* ===== Rates table ===== */
.rates-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rates-table th,
.rates-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.rates-table thead th {
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table tr.is-best {
  background: #f0faf3;
}
.rates-table tr.is-best td { font-weight: 600; color: var(--ink); }
.rates-table__best-tag {
  display: inline-block;
  margin-left: 8px;
  background: #1f7a3a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ===== Description ===== */
.car-description {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 720px;
}

/* ===== Included / excluded list ===== */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-3);
}
.included-list__item {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  padding: var(--gap-3) var(--gap-4);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--ink);
}
.included-list__item i { font-size: 20px; flex-shrink: 0; }
.included-list__item--yes i { color: #1f7a3a; }
.included-list__item--no { color: var(--ink-soft); }
.included-list__item--no i { color: var(--danger); }
.included-list__item--warn i { color: var(--warning); }
.included-list__item--info i { color: #0c447c; }

/* ===== Requirements grid ===== */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-3);
}
.req-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-4);
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.req-grid i { font-size: 22px; color: var(--ink); flex-shrink: 0; }

/* ===== Similar cars (компактные карточки-ссылки) ===== */
[data-similar-grid] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-4);
}
.similar-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.similar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.similar-card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.similar-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.similar-card__body { padding: var(--gap-4); display: flex; flex-direction: column; gap: 4px; }
.similar-card__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.similar-card__meta { font-size: 12px; color: var(--ink-soft); display: flex; gap: 6px; }
.similar-card__price { font-size: 14px; color: var(--ink); margin-top: 4px; }
.similar-card__price strong { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.5px; }

/* ===== Sticky CTA (только мобильный — переключается в media query ниже) ===== */
.sticky-cta { display: none; }

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-hero {
  padding: var(--gap-10) 0 var(--gap-8);
  background: var(--bg-cream);
  text-align: center;
}
.terms-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--ink);
  line-height: 1.05;
}
.terms-hero__sub {
  margin-top: var(--gap-3);
  font-size: 15px;
  color: var(--ink-soft);
}

.terms-main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--gap-8);
  padding: var(--gap-8) var(--gap-5);
}

.terms-toc {
  position: sticky;
  top: var(--gap-5);
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-4) var(--gap-3);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.terms-toc__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 var(--gap-2);
  margin-bottom: var(--gap-2);
}
.terms-toc ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.terms-toc li a {
  display: block;
  padding: 8px var(--gap-2);
  font-size: 13px;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background 0.15s ease;
}
.terms-toc li a:hover { background: var(--bg-soft); color: var(--ink); }

.terms-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-8);
}
.terms-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: var(--gap-3);
  line-height: 1.1;
}
.terms-section p,
.terms-section li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: var(--gap-2);
}
.terms-section ul {
  list-style: disc;
  padding-left: var(--gap-5);
  margin-bottom: var(--gap-3);
}
.terms-section ul li { margin-bottom: 6px; }
.terms-section a { color: var(--ink); text-decoration: underline; }

.terms-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  margin-bottom: var(--gap-3);
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.terms-table th,
.terms-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.terms-table thead th {
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.terms-table tbody tr:last-child td { border-bottom: none; }

.terms-download {
  background: var(--bg-cream);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  text-align: center;
}
.terms-download .btn i { font-size: 20px; }

.terms-contacts {
  border-top: 1px solid var(--line);
  padding-top: var(--gap-6);
  text-align: center;
}
.terms-contacts h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: var(--gap-2);
}
.terms-contacts p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: var(--gap-4);
}
.terms-contacts__row {
  display: flex;
  justify-content: center;
  gap: var(--gap-3);
  flex-wrap: wrap;
}

/* ============ FAQ ============ */
.faq {
  padding: var(--gap-12) 0;
  background: var(--bg-cream);
}
.faq__head {
  text-align: center;
  margin-bottom: var(--gap-8);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-3);
  padding: 18px var(--gap-5);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
}
.faq-item__chevron {
  font-size: 22px;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-item__a { max-height: 600px; }
.faq-item__a > p,
.faq-item__a > ul {
  padding: 0 var(--gap-5) 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.faq-item__a > p + p,
.faq-item__a > p + ul,
.faq-item__a > ul + p { padding-top: 8px; }
.faq-item__bullets {
  list-style: disc;
  padding-left: calc(var(--gap-5) + 20px) !important;
}
.faq-item__bullets li { margin-bottom: 4px; }

/* ============ HEADER MOBILE EXTRAS (клон city-toggle для drawer) ============ */
.header__mobile-cities { display: none; }

/* ============ HEADER BURGER (мобильный) ============ */
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
}
.header__burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.header.is-open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.is-open .header__burger-line:nth-child(2) { opacity: 0; }
.header.is-open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .header__row { gap: var(--gap-3); }
  .header__phone .header__phone-num { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--gap-6); }
  .cta-strip__row { text-align: center; justify-content: center; }
  .section-title { font-size: 30px; }
  .hero__title { font-size: 38px; }
  .catalog__title { font-size: 26px; }
  .destinations__grid { grid-template-columns: repeat(2, 1fr); }
  .traffic-rules__list { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  /* Car page */
  .car-hero { grid-template-columns: 1fr; gap: var(--gap-5); }
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
  [data-similar-grid] { grid-template-columns: repeat(2, 1fr); }

  /* Terms page */
  .terms-main { grid-template-columns: 1fr; }
  .terms-toc { position: static; max-height: none; }
}

@media (max-width: 560px) {
  /* === База === */
  body { font-size: 16px; }
  .container { padding: 0 var(--gap-4); }
  .section-title { font-size: 28px; letter-spacing: 1px; }
  .section-sub { font-size: 14px; }

  /* === Header: бургер видим, subnav и city-toggle в drawer === */
  .header__burger { display: inline-flex; }
  .header__row {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px var(--gap-4);
    gap: var(--gap-2);
    padding-top: calc(10px + env(safe-area-inset-top));
  }
  .header .brand-logo--header { height: 32px; }
  .header__right { gap: var(--gap-2); margin-left: auto; }

  /* city-toggle прячем в drawer */
  .header__row > .city-toggle { display: none; }

  /* subnav становится drawer'ом — в normal flow, чтобы push контент вниз */
  .subnav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .header.is-open .subnav { max-height: 600px; }
  .subnav__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .subnav__link {
    padding: 14px var(--gap-4);
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .subnav__socials {
    margin: 0;
    padding: var(--gap-3) var(--gap-4) calc(var(--gap-3) + env(safe-area-inset-bottom));
    gap: var(--gap-4);
    justify-content: center;
  }

  /* Дублируем city-toggle внутрь drawer (через JS не клонируем — просто оба тега в HTML на десктопе скрыт второй, на моб — первый) */
  .header__mobile-cities {
    display: flex;
    justify-content: center;
    padding: var(--gap-4);
    border-bottom: 1px solid var(--line-soft);
  }

  /* === Hero: полноэкранный баннер, полная ширина CTA === */
  .hero {
    min-height: 600px;
    padding: var(--gap-8) 0;
  }
  /* На мобиле фон статичный — без «плавающего» Ken-Burns зума */
  .hero__bg.is-active img { animation: none; transform: none; }
  /* На мобиле затемнение по вертикали — текст внизу, фото вверху */
  .hero__overlay,
  .hero--tbilisi .hero__overlay {
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.80) 100%);
  }
  .hero__content {
    width: 100%;
    align-self: flex-end;
    margin-top: auto;
  }
  .hero__tag { font-size: 11px; letter-spacing: 2px; }
  .hero__title { font-size: 38px; letter-spacing: 1px; }
  .hero__features {
    font-size: 13px;
    gap: 8px;
    margin-bottom: var(--gap-5);
  }
  .hero__features i { font-size: 18px; }
  .hero__cta { width: 100%; padding: 16px 20px; }
  /* На мобиле стрелка прокрутки не нужна — внизу и так CTA */
  .hero__scroll { display: none; }

  /* === Picker === */
  .city-picker__inner {
    padding: var(--gap-8) var(--gap-4);
    padding-bottom: calc(var(--gap-8) + env(safe-area-inset-bottom));
  }
  .picker-grid { grid-template-columns: 1fr; }
  .brand-logo--xl { width: 260px; margin-bottom: 24px; }
  .picker-title { font-size: 28px; }
  .picker-sub { font-size: 14px; margin-bottom: var(--gap-5); }

  /* === Filters: горизонтальный скролл чипов === */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    margin: 0;
    max-width: 100%;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip {
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 14px;
    scroll-snap-align: start;
  }

  /* === Catalog === */
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cars-grid { grid-template-columns: 1fr; }
  .specs__row { gap: 0; }
  .spec { padding: 6px 0; }
  .car-card__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--gap-3);
  }
  .msgr-icon { width: 44px; height: 44px; }
  .msgr-icon i { font-size: 20px; }
  .car-card__actions .btn { flex: 1 1 auto; min-height: 44px; }

  /* === Destinations === */
  .destinations__grid { grid-template-columns: 1fr; }
  /* На узкой колонке aspect-ratio 16/10 + min-height:320 задаёт ширину от высоты
     (320×1.6=512px) и карточка вылезает за экран. Отключаем aspect-ratio —
     ширина берётся от колонки, высота от min-height. */
  .dest-card { aspect-ratio: auto; min-height: 300px; }
  .dest-card__title { font-size: 30px; }
  .dest-card__content { padding: var(--gap-5); }

  /* === Traffic rules === */
  .traffic-rules__list { grid-template-columns: 1fr; }
  .traffic-rules__list li { padding: var(--gap-4); }
  .traffic-rules__list span { font-size: 14px; }

  /* === Why === */
  /* 10 карточек: на ≤560px ставим 2 в ряд (5 строк × 2 столбца) — компактнее
     чем длинная колонка, и комфортно для большого пальца. */
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap-3); }
  .why__card { padding: var(--gap-3); }
  .why__card-title { font-size: 13px; }
  .why__card-text  { font-size: 11px; line-height: 1.35; }
  .why__card i { font-size: 26px; margin-bottom: 8px; }
  .why__card .svg-icon { width: 26px; height: 26px; margin-bottom: 8px; }
  .why__card-link { font-size: 10px; }

  /* === CTA strip === */
  .cta-strip__title { font-size: 26px; }
  .cta-strip .btn { width: 100%; }

  /* === Footer === */
  .footer__about { font-size: 14px; }
  .footer__link { padding: 6px 0; min-height: 36px; display: flex; align-items: center; }
  .footer__socials { gap: var(--gap-3); justify-content: center; }
  .footer .social-icon { width: 44px; height: 44px; }
  .footer__copy {
    text-align: center;
    padding-bottom: calc(var(--gap-3) + env(safe-area-inset-bottom));
  }

  /* === Modal: почти полный экран === */
  .modal { padding: var(--gap-3); }
  .modal__panel {
    max-width: 96vw;
    width: 96vw;
    max-height: 92vh;
    padding: var(--gap-5);
    padding-bottom: calc(var(--gap-5) + env(safe-area-inset-bottom));
  }
  .modal__title { font-size: 22px; }
  .modal__head { padding-right: var(--gap-6); }
  .modal__close { width: 38px; height: 38px; top: var(--gap-2); right: var(--gap-2); }

  /* === Form: touch-friendly === */
  .form-field input[type="text"],
  .form-field input[type="tel"],
  .form-field select {
    padding: 13px 14px;
    font-size: 16px; /* iOS: <16px вызывает zoom при focus */
    min-height: 48px;
  }
  .booking-form .btn { min-height: 48px; }

  /* Days block */
  .days-presets { gap: 8px; }
  .days-preset { min-height: 40px; padding: 10px 12px; font-size: 14px; min-width: 44px; }
  .days-slider { height: 6px !important; }
  .form-field input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; }
  .form-field input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; }

  /* Messenger picker: 3 равные колонки, без переноса */
  .msgr-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-2);
    flex-wrap: initial;
  }
  .msgr-btn {
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    min-height: 56px;
    font-size: 11px;
    line-height: 1.2;
  }
  .msgr-btn i { font-size: 18px; }

  /* === Car page === */
  .car-page { padding-bottom: 96px; } /* место под sticky CTA */
  .breadcrumbs { font-size: 12px; padding: var(--gap-2) var(--gap-4); }
  .breadcrumbs__current { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .car-section { padding: var(--gap-6) var(--gap-4); }
  .section-title--sm { font-size: 22px; margin-bottom: var(--gap-4); }
  .car-hero { padding: var(--gap-4); gap: var(--gap-4); }
  .car-hero__title { font-size: 30px; }
  .car-hero__price-min,
  .car-hero__price-max { font-size: 28px; }
  .car-hero__cta { flex-direction: column; gap: var(--gap-2); }
  .car-hero__cta .btn { width: 100%; flex: initial; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap-2); }
  .spec-cell { padding: var(--gap-3); }
  .spec-cell__val { font-size: 14px; }

  /* Таблица тарифов скроллится по горизонтали при необходимости */
  .rates-table { min-width: 360px; }
  .rates-table th,
  .rates-table td { padding: 10px 12px; font-size: 13px; }

  .included-list { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  [data-similar-grid] { grid-template-columns: 1fr; }

  /* Sticky CTA — показываем на мобильном */
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-3);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px var(--gap-4);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-cta__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .sticky-cta__amount {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: 0.5px;
  }
  .sticky-cta__unit { font-size: 12px; }
  .sticky-cta .btn { flex: 0 0 auto; min-height: 44px; padding: 11px 18px; }
}

/* === Очень узкие экраны (iPhone SE 1-го поколения и подобные) === */
@media (max-width: 380px) {
  .hero__title { font-size: 28px; }
  .picker-title { font-size: 24px; }
  .header .brand-logo--header { height: 28px; }
  .lang-switch__btn { padding: 4px 8px; }
  /* На очень узких экранах 2 колонки why__card становятся тесными — лучше в столбик */
  .why__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DESTINATION PAGE
   ============================================================ */

/* ===== Hero ===== */
.dest-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: var(--gap-10) 0;
}
.dest-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.dest-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dest-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.10) 100%);
}
.dest-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.dest-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: var(--gap-3);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.dest-hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--gap-6);
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  flex-wrap: wrap;
}
.dest-hero__sub span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== Quick facts ===== */
.dest-facts {
  padding: var(--gap-8) 0;
  background: var(--bg-soft);
}
.dest-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-4);
}
.dest-fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-2);
}
.dest-fact__icon {
  font-size: 28px;
  color: var(--ink);
}
.dest-fact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dest-fact__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* ===== Generic destination section ===== */
.dest-section {
  padding: var(--gap-12) 0;
}
.dest-section--alt {
  background: var(--bg-soft);
}
.dest-section--dark {
  background: var(--ink);
  color: #fff;
}
.dest-section--dark .section-label { color: rgba(255,255,255,0.7); }
.dest-section--dark .section-title { color: #fff; }
.dest-section__head {
  margin-bottom: var(--gap-8);
}
.dest-placeholder {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 720px;
  padding: var(--gap-5);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1px dashed var(--line);
}
.dest-section--alt .dest-placeholder {
  background: #fff;
}

/* ===== How to get there ===== */
.dest-route__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-5);
  margin-bottom: var(--gap-6);
}
.dest-route-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--gap-5);
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}
.dest-route-card__from {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dest-route-card__info {
  display: flex;
  gap: var(--gap-4);
  align-items: center;
}
.dest-route-card__stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dest-route-card__stat i { font-size: 18px; color: var(--ink-soft); }
.dest-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.dest-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Attractions / Hotels / Restaurants (placeholder cards) ===== */
.dest-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-5);
  align-items: stretch;
}
.dest-place-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s ease;
}
a.dest-place-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.dest-place-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.place-map-pin {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.15s ease;
}
a.dest-place-card:hover .place-map-pin { background: #ff5a36; }
.dest-place-card:hover { transform: translateY(-3px); }

/* Компактный блок «формат / лучшее время / совет» в карточке места */
.place-guide {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.place-guide__row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.place-guide__row i { color: #c69a4e; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.place-guide__row b { color: var(--ink); font-weight: 600; }

/* Гид-карточка: длинное описание читается лучше без курсива */
.dest-place-card--guide .dest-place-card__desc { font-style: normal; line-height: 1.55; }
.dest-place-card--guide .dest-place-card__desc p { margin: 0 0 9px; }
.dest-place-card--guide .dest-place-card__desc p:last-child { margin-bottom: 0; }

/* Кнопки-точки на карте */
.place-guide__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.place-guide__map {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--ink);
  font-size: 13px; font-weight: 600;
  transition: background 0.15s ease;
}
.place-guide__map i { color: #ff5a36; font-size: 15px; }
.place-guide__map:hover { background: rgba(13, 13, 13, 0.06); }

/* Гид-карточка целиком: полная вертикальная картинка без обрезки */
.dest-place-card--guide { display: flex; flex-direction: column; height: 100%; }
.dest-place-card--guide .dest-place-card__img { aspect-ratio: auto; background: none; }
.dest-place-card--guide .dest-place-card__img img { height: auto; object-fit: contain; }
.dest-place-card--guide .dest-place-card__body { padding-top: 14px; display: flex; flex-direction: column; flex: 1 1 auto; }
/* Кнопки-точки прижаты к низу — в ряду они на одном уровне */
.dest-place-card--guide .place-guide__links { margin-top: auto; padding-top: 14px; }
.dest-place-card__img { overflow:hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8efe9 0%, #dfe7ec 55%, #e9e4dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.28);
  font-size: 40px;
}
.dest-place-card__body {
  padding: var(--gap-4);
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}
.dest-place-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
}
.dest-place-card__desc {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}
.dest-place-card__meta {
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dest-place-card__meta i { font-size: 14px; }

/* ===== Tips ===== */
.dest-tips__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
  max-width: 720px;
}
.dest-tip {
  background: var(--bg-cream);
  border-radius: var(--r-md);
  padding: var(--gap-4) var(--gap-5);
  display: flex;
  align-items: flex-start;
  gap: var(--gap-3);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.dest-tip__icon {
  font-size: 20px;
  color: var(--warning);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== Recommended cars (reuses car-card styles from main) ===== */
.dest-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-5);
}

/* ===== Other destinations ===== */
.dest-other__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-4);
}
.dest-other-card {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
}
.dest-other-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dest-other-card:hover img { transform: scale(1.05); }
.dest-other-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.dest-other-card__content {
  position: relative;
  z-index: 1;
  padding: var(--gap-4);
}
.dest-other-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.dest-other-card__time {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* ===== Destination FAQ (reuses faq styles) ===== */
.dest-faq {
  padding: var(--gap-12) 0;
  background: var(--bg-cream);
}
.dest-faq .faq__head {
  text-align: left;
  margin-bottom: var(--gap-6);
}
.dest-faq .faq__list {
  margin: 0;
}

/* ===== Destination responsive ===== */
@media (max-width: 880px) {
  .dest-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .dest-route__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dest-hero { min-height: 60vh; padding: var(--gap-8) 0; }
  .dest-hero__title { font-size: 36px; }
  .dest-hero__sub { font-size: 14px; }
  .dest-facts__grid { grid-template-columns: 1fr 1fr; }
  .dest-cards-grid { grid-template-columns: 1fr; }
  .dest-cars-grid { grid-template-columns: 1fr; }
  .dest-other__grid { grid-template-columns: 1fr 1fr; }
  .dest-route__grid { grid-template-columns: 1fr; }
  .dest-map { aspect-ratio: 4 / 3; }
}

.dest-place-card__img img { width:100%; height:100%; object-fit:cover; display:block; }
