/**
 * footer.css
 * Стили футера. Подключается через wp_enqueue_style() в functions.php,
 * с зависимостью от agency-fonts.
 */

.vft *, .vft *::before, .vft *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vft {
  background: #1C1814;
  font-family: 'Raleway', sans-serif;
  color: #F5F0EA;
  border-top: 1px solid rgba(139, 115, 85, 0.2);
}

/* ─── MAIN ROW ─── */
.vft__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ─── LOGO COL ─── */
.vft__logo-col {}

.vft__logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 20px;
}

.vft__logo img {
  height: 80px;
  width: auto;
  display: block;
}

.vft__tagline {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.35);
  line-height: 1.8;
}

/* ─── NAV COL ─── */
.vft__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vft__col-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 20px;
}

.vft__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.vft__nav a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.3s;
}

.vft__nav a:hover {
  color: #F5F0EA !important;
}

/* ─── CONTACTS COL ─── */
.vft__contacts-col {}

.vft__contact-item {
  margin-bottom: 16px;
}

.vft__contact-label {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 6px;
}

.vft__contact-val {
  font-family: 'Raleway', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: rgba(245, 240, 234, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.3s;
  display: inline-block;
}

a.vft__contact-val:hover {
  color: #F5F0EA !important;
}

.vft__tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(139, 115, 85, 0.4);
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F5F0EA !important;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.vft__tg-btn:hover {
  border-color: #8B7355;
  background: rgba(139, 115, 85, 0.08);
  color: #F5F0EA !important;
}

.vft__tg-btn svg path {
  stroke: #F5F0EA !important;
}

/* ─── DIVIDER ─── */
.vft__divider {
  max-width: 1120px; /* 1200px минус по 40px отступа с каждой стороны — совпадает с .vft__main/.vft__bottom */
  margin: 0 auto;
  height: 1px;
  background: rgba(139, 115, 85, 0.15);
}

/* ─── BOTTOM ROW ─── */
.vft__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vft__copy {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(245, 240, 234, 0.25);
}

.vft__policy {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(245, 240, 234, 0.25) !important;
  text-decoration: none !important;
  transition: color 0.3s;
  text-transform: uppercase;
}

.vft__policy:hover {
  color: rgba(245, 240, 234, 0.5) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .vft__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 24px 40px;
  }

  .vft__logo-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .vft__main {
    grid-template-columns: 1fr;
    padding: 40px 20px 32px;
  }

  .vft__logo-col {
    grid-column: auto;
  }

  .vft__divider {
    margin-left: 20px;
    margin-right: 20px;
  }

  .vft__bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
