/* ═══════════════════════════════════════════════════════════════
   PLT FOOTER — Глобальный подвал
   ═══════════════════════════════════════════════════════════════ */

/* ── Переменные и основа ─────────────────────────────────────── */
.plt-footer {
  --f-bg:       #0d0f11;
  --f-surface:  #111417;
  --f-border:   rgba(255,255,255,.07);
  --f-text:     rgba(255,255,255,.48);
  --f-text-h:   rgba(255,255,255,.82);
  --f-label:    rgba(255,255,255,.2);
  --f-blue:     #0066b3;
  --f-accent:   #0066b3;
  --f-red:      #e03131;

  background: var(--f-bg);
  color: var(--f-text);
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .875rem;
  line-height: 1.6;
}

/* ── Контейнер ───────────────────────────────────────────────── */
.plt-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

/* ── Верхняя часть ───────────────────────────────────────────── */
.plt-footer__top {
  padding: 56px 0 48px;
  display: grid;
  /* Временно — реальная сетка на .plt-footer__inner */
}

/* Главная сетка: бренд + навигация */
.plt-footer__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* Сетка навигационных колонок */
.plt-footer__nav-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.3fr 0.9fr 1.2fr;
  gap: 32px;
  align-items: start;
}

/* ── Бренд ───────────────────────────────────────────────────── */
.plt-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plt-footer__logo {
  display: block;
  height: 34px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity .2s;
}
.plt-footer__logo-link:hover .plt-footer__logo { opacity: 1; }

.plt-footer__desc {
  font-size: .78rem;
  line-height: 1.75;
  color: var(--f-text);
  margin-bottom: 20px;
}

.plt-footer__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plt-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--f-label);
  letter-spacing: .2px;
}
.plt-footer__badge svg {
  flex-shrink: 0;
  opacity: .5;
}

/* ── Заголовки колонок ───────────────────────────────────────── */
.plt-footer__col-title {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.3;
}
.plt-footer__col-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.plt-footer__col-title a:hover { color: rgba(255,255,255,.45); }
.plt-footer__col-title--mt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--f-border);
}

/* ── Навигация ───────────────────────────────────────────────── */
.plt-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plt-footer__nav li { margin: 0; padding: 0; }
.plt-footer__nav a {
  font-size: .78rem;
  color: var(--f-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color .15s;
  line-height: 1.4;
}
.plt-footer__nav a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--f-blue);
  transition: width .2s, margin-right .2s;
  flex-shrink: 0;
}
.plt-footer__nav a:hover { color: var(--f-text-h); }
.plt-footer__nav a:hover::before { width: 8px; margin-right: 5px; }

/* Ссылка «в раздел» */
.plt-footer__nav-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: .73rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color .15s, gap .15s;
}
.plt-footer__nav-more:hover { color: #7bbfff; gap: 8px; }
.plt-footer__nav-more svg { flex-shrink: 0; }

/* ── Контакты ────────────────────────────────────────────────── */
.plt-footer__col--contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plt-footer__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}
.plt-footer__phone {
  font-size: .98rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.3px;
  line-height: 1.3;
  transition: color .15s;
  white-space: nowrap;
}
.plt-footer__phone:hover { color: var(--f-blue); }

.plt-footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--f-text);
}
.plt-footer__contact-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .45;
}

.plt-footer__email {
  font-size: .78rem;
  color: var(--f-blue);
  text-decoration: none;
  border-bottom: 1px dashed rgba(77,166,255,.3);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.plt-footer__email:hover { color: #7bbfff; border-color: rgba(77,166,255,.6); }

.plt-footer__address {
  font-style: normal;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--f-text);
}

/* Кнопка «Обратный звонок» */
.plt-footer__callback {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 9px 14px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.11);
  border-radius: 8px;
  color: rgba(255,255,255,.55);
  font-size: .73rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  white-space: nowrap;
  font-family: var(--font-body, 'Manrope', sans-serif);
  letter-spacing: .1px;
}
.plt-footer__callback:hover {
  background: var(--f-accent);
  border-color: var(--f-accent);
  color: #fff;
}
.plt-footer__callback svg { flex-shrink: 0; }

/* ── Нижняя полоса ───────────────────────────────────────────── */
.plt-footer__bottom {
  background: rgba(0,0,0,.3);
  border-top: 1px solid var(--f-border);
  padding: 14px 0;
}
/* Переопределяем grid для bottom — однострочный flex */
.plt-footer__bottom .plt-footer__inner,
.plt-footer__bottom-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plt-footer__copy,
.plt-footer__city {
  font-size: .7rem;
  color: rgba(255,255,255,.18);
  letter-spacing: .1px;
}

/* ── Модальное окно ──────────────────────────────────────────── */
.v4-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.v4-modal.is-open { display: block; }
.v4-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.v4-modal__body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}
.v4-modal__body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 22px;
  color: #111827;
}
.v4-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  font-size: 18px;
  background: #f4f6f9;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background .15s;
  line-height: 1;
}
.v4-modal__close:hover { background: #e5e7eb; }

.plt-footer__modal-note {
  margin-top: 10px;
  font-size: .72rem;
  color: #9ca3af;
  text-align: center;
}

/* ── Поля формы ──────────────────────────────────────────────── */
.v4-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.v4-field label {
  font-size: .75rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .2px;
}
.v4-field input {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .9rem;
  color: #111827;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.v4-field input:focus { border-color: #0066b3; background: #fff; }
.v4-field input::placeholder { color: #c5cad2; }

/* ── Кнопки ──────────────────────────────────────────────────── */
.v4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .85rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .12s;
  letter-spacing: .2px;
}
.v4-btn--red { background: var(--f-blue, #0066b3); color: #fff; }
.v4-btn--red:hover { background: #017edc; transform: translateY(-1px); }
.v4-btn--full { width: 100%; }

/* ── Утилиты ─────────────────────────────────────────────────── */
.v4-success {
  padding: 11px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-size: .82rem;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   АДАПТИВ
   ═══════════════════════════════════════════════════════════════ */

/* Ноутбук средний — сжимаем колонки */
@media (max-width: 1200px) {
  .plt-footer__inner {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }
  .plt-footer__nav-grid {
    grid-template-columns: 1.6fr 1.2fr 0.8fr 1.1fr;
    gap: 24px;
  }
  .plt-footer__phone { font-size: .88rem; }
}

/* Ноутбук маленький / планшет — бренд уходит наверх */
@media (max-width: 960px) {
  .plt-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .plt-footer__brand {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--f-border);
  }
  .plt-footer__logo { margin-bottom: 0; }
  .plt-footer__desc { max-width: 320px; margin-bottom: 0; }
  .plt-footer__badges { margin-top: 4px; }
  .plt-footer__nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .plt-footer__col--contacts {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--f-border);
  }
  .plt-footer__phones { margin-bottom: 0; }
  .plt-footer__callback { margin-top: 0; align-self: flex-end; }
}

/* Планшет портрет */
@media (max-width: 640px) {
  .plt-footer__top { padding: 40px 0 36px; }
  .plt-footer__brand {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
  }
  .plt-footer__nav-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .plt-footer__col--contacts { flex-direction: column; gap: 14px; }
  .plt-footer__callback { width: 100%; justify-content: center; }
}

/* Мобильный */
@media (max-width: 480px) {
  .plt-footer__nav-grid { grid-template-columns: 1fr; gap: 20px; }
  .plt-footer__col--contacts { grid-column: auto; }
  .plt-footer__bottom .plt-footer__inner,
  .plt-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
