/* =============================================================
   map.css — страница «Карта установок»
   ============================================================= */

body { background: #1e3c72; }

/* ── Шапка страницы ─────────────────────────────────────────── */
.map-hero {
  background: var(--dark);
  color: #fff;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.map-hero__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
}
.map-hero__sub {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.65);
  margin: 0;
}
.map-hero__sub strong {
  color: #fff;
  font-weight: 700;
}

/* ── Карта ──────────────────────────────────────────────────── */
.map-wrap {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 700px;
}

/* ── Балун Яндекс.Карт ──────────────────────────────────────── */
.ballFont {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.ballFont img {
  display: block;
  width: 220px;
  height: 165px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.map-cta {
  background: var(--dark);
  padding-block: 36px 24px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}
.map-cta__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 0 10px;
}
.map-cta__sub {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.7);
  margin: 0 0 20px;
}
.map-cta__field {
  display: flex;
  gap: 12px;
  align-items: center;
}
.map-cta__inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-cta__inputs input {
  width: 188px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s;
}
.map-cta__inputs input::placeholder { color: rgba(255,255,255,.45); }
.map-cta__inputs input:focus { border-color: rgba(255,255,255,.7); }
.map-cta__btn { align-self: center; height: 48px; padding-inline: 16px; }
.map-cta__error   { margin-top: 6px; font-size: var(--fs-xs); color: #ff8080; }
.map-cta__success { margin-top: 6px; font-size: var(--fs-sm); color: #a3e8b0; }

@media (min-width: 640px) {
  .map-cta__inputs { flex-direction: row; }
  /* не жёсткие 260px: на 640–700px два поля + кнопка не влезали
     и давали горизонтальный скролл страницы */
  .map-cta__inputs input { flex: 1 1 0; min-width: 0; max-width: 260px; }
  .map-cta__btn { height: 48px; align-self: stretch; padding-inline: 24px; }
}
