/* footer.css — Minimalist Footer (песочно‑оранжевая палитра, лаконично)
   Верх: 3 колонки. Низ: строка реквизитов на всю ширину.
   Desktop: реквизиты в одну строку, по центру (без переноса).
   Mobile: реквизиты выровнены по левому краю и компактные.
   Общий контейнер max-width: 1200px. */

.site-footer.container {
  /* Палитра (замена сине-аквамариновой на песочно‑оранжевую) */
  --c-deep: #5a4736;                 /* глубокий тёплый */
  --c-blue: #a9793b;                 /* янтарный средний */
  --c-cyan: #e0b15a;                 /* светлый песочный */
  --c-text: #1a1a1a;
  --c-muted: #6b635b;                /* тёплый серо-коричневый */
  --c-border: rgba(230, 210, 180, 0.7);

  background: #ffffff;
  color: var(--c-text);
  padding: 56px 20px 36px;
  margin: clamp(40px, 8vw, 80px) auto 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  max-width: 1200px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== Верхняя сетка (3 колонки) — БЕЗ ИЗМЕНЕНИЙ ===== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 18px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

/* Логотип — аккуратный градиент (тёплые оттенки) */
.logo-footer {
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(120deg, var(--c-deep), var(--c-blue), var(--c-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.4px;
  padding: 4px 0;
}

/* Тексты и ссылки */
.site-footer p,
.site-footer a {
  color: var(--c-muted);
  font-size: 0.94rem;
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.1px;
}
.site-footer a:hover { color: var(--c-blue); text-decoration: underline; }
.site-footer a:focus-visible {
  outline: 2px solid rgba(240, 184, 90, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Заголовки колонок */
.site-footer h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.1px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--c-deep), var(--c-cyan));
  border-radius: 1px;
}

/* Списки меню */
.site-footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px; align-items: center;
}
.site-footer ul li a {
  color: var(--c-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 12px;
  text-decoration: none;
}
.site-footer ul li a:hover {
  color: var(--c-blue);
  background-color: rgba(199, 140, 67, 0.10); /* тёплый hover фон */
  text-decoration: none;
}

/* ===== Реквизиты — нижняя полоса на всю ширину ===== */
.footer-requisites-bar {
  width: 100%;
  max-width: 1200px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(230, 210, 180, 0.8);
}

/* Desktop: реквизиты идут друг за другом в одну строку, по центру, без переноса */
.requisites-inline {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: nowrap;       /* без переноса строк */
  align-items: baseline;
  justify-content: center; /* по центру в контейнере */
  white-space: nowrap;     /* держим в одну строку */

  gap: 14px 18px;
  color: var(--c-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.requisites-inline li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.requisites-inline li address {
  font-style: normal;
  color: var(--c-muted);
}

/* Буллет между элементами */
.requisites-inline li + li::before {
  content: '•';
  color: #c6b59e; /* тёплый маркер */
  margin-right: 8px;
}

/* Метка-пилюля */
.rq-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(199, 140, 67, 0.10);
  border: 1px solid rgba(199, 140, 67, 0.24);
  color: #df8b2b;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

/* ===== Копирайт ===== */
.copyright {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 210, 180, 0.8);
  font-size: 0.88rem;
  color: #9a8f81;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-top: 18px;
  width: 100%;
  max-width: 1200px;
}

/* ===== Декоративный фон (очень тонкий, тёплый) ===== */
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(90, 71, 54, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(224, 177, 90, 0.05) 0%, transparent 55%);
  pointer-events: none; z-index: -1;
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(199, 140, 67, 0.08) 0%, transparent 70%);
  border-radius: 50%; z-index: -1;
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .site-footer.container { padding: 50px 20px 32px; }
  .logo-footer { font-size: 1.9rem; }
  .footer-grid { gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer h4 { font-size: 1.08rem; }
  .copyright { font-size: 0.86rem; }
}

@media (max-width: 768px) {
  .site-footer.container { padding: 42px 20px 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 14px;
  }
  .logo-footer { font-size: 1.8rem; }
  .site-footer p,
  .site-footer a,
  .copyright { font-size: 0.9rem; }

  /* Mobile: реквизиты слева и компактнее, разрешаем перенос строк */
  .footer-requisites-bar { text-align: left; padding-top: 12px; margin-top: 12px; }
  .requisites-inline {
    justify-content: flex-start; /* слева */
    flex-wrap: wrap;             /* перенос по элементам */
    white-space: normal;         /* тексты переносятся */
    gap: 10px 14px;
    font-size: 0.9rem;
  }
  .requisites-inline li { white-space: normal; }
  .requisites-inline li + li::before { margin-right: 6px; }
}

@media (max-width: 576px) {
  .site-footer.container { padding: 36px 16px 24px; }
  .logo-footer { font-size: 1.65rem; }
  .site-footer h4 { font-size: 1.02rem; }
  .site-footer ul li a { font-size: 0.9rem; padding: 5px 8px; }
  .copyright { font-size: 0.82rem; padding-top: 16px; }
  .site-footer::after { width: 160px; height: 160px; bottom: -42px; }

  .requisites-inline { font-size: 0.88rem; gap: 8px 10px; }
  .rq-label { font-size: 0.8rem; padding: 3px 7px; }
}
