/*
 * Файл сформирован из assets/css/style.css.
 * Исходные диапазоны строк: 522-838.
 */

/* ===== ФУТЕР ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 4rem !important;
  padding: 3.5rem 0 1.25rem !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 126, 34, .16), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(92, 122, 62, .22), transparent 38%),
    linear-gradient(180deg, rgba(12, 16, 13, .98), var(--bg-darker));
  border-top: 1px solid rgba(230, 126, 34, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 84%);
}

.site-footer-glow {
  position: absolute;
  left: 50%;
  top: -2px;
  width: min(760px, 90vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-olive-light), transparent);
  opacity: .85;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(170px, .75fr)) minmax(245px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.footer-brand-card,
.footer-nav-card,
.footer-contact-card {
  min-width: 0;
  border: 1px solid rgba(184, 168, 124, .14);
  background: rgba(26, 31, 28, .68);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.footer-brand-card {
  background:
    linear-gradient(145deg, rgba(230, 126, 34, .11), rgba(26, 31, 28, .78) 48%),
    rgba(26, 31, 28, .72);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  max-width: 100%;
  color: var(--text-light) !important;
  text-decoration: none;
}

.footer-logo-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(230,126,34,.22), rgba(7,10,8,.74));
  border: 1px solid rgba(230,126,34,.38);
  box-shadow: 0 12px 26px rgba(230, 126, 34, .11), inset 0 0 18px rgba(230,126,34,.08);
}

.footer-logo-mark img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(230,126,34,.38));
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.footer-brand-copy strong {
  font-family: 'Russo One', sans-serif;
  color: var(--text-light);
  font-size: 1.2rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.footer-brand-copy small {
  margin-top: .35rem;
  color: var(--accent-khaki);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-brand-card p {
  margin: 1.1rem 0 1rem;
  color: rgba(212, 222, 197, .78);
  font-size: .94rem;
  line-height: 1.75;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--text-light) !important;
  background: rgba(7, 10, 8, .55);
  border: 1px solid rgba(184, 168, 124, .15);
  text-decoration: none;
}

.footer-social-link:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
  border-color: rgba(230,126,34,.55);
  transform: translateY(-2px);
}

.footer-nav-card h6,
.footer-contact-card h6 {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: .95rem;
  letter-spacing: .12em;
  position: relative;
  padding-bottom: .75rem;
}

.footer-nav-card h6::after,
.footer-contact-card h6::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-olive));
}

.footer-link-list,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list {
  display: grid;
  gap: .52rem;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
  color: rgba(212, 222, 197, .76) !important;
  text-decoration: none;
  font-size: .92rem;
}

.footer-link-list a i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  border-radius: 8px;
  color: var(--accent-orange);
  background: rgba(230,126,34,.09);
}

.footer-link-list a:hover {
  color: var(--accent-orange) !important;
  transform: translateX(3px);
}

.footer-contact-list {
  display: grid;
  gap: .8rem;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
}

.footer-contact-list span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--accent-orange);
  background: rgba(230,126,34,.1);
  border: 1px solid rgba(230,126,34,.16);
}

.footer-contact-list p {
  margin: 0;
  min-width: 0;
  color: rgba(212, 222, 197, .78);
  font-size: .9rem;
  line-height: 1.55;
}

.footer-contact-list a {
  color: rgba(212, 222, 197, .82) !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact-list a:hover {
  color: var(--accent-orange) !important;
}

.footer-bottom-bar {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(184, 168, 124, .1);
  border-radius: 18px;
  background: rgba(7, 10, 8, .44);
}

.footer-copy {
  color: rgba(212, 222, 197, .62);
  font-size: .86rem;
}

.footer-service-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .9rem;
}

.footer-service-links a {
  color: rgba(212, 222, 197, .58) !important;
  font-size: .86rem;
  text-decoration: none;
}

.footer-service-links a:hover {
  color: var(--accent-orange) !important;
}

@media (max-width: 1199.98px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 2.5rem !important;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-service-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .footer-brand-link {
    align-items: flex-start;
  }
  .footer-brand-copy strong {
    white-space: normal;
    font-size: 1.02rem;
  }
  .footer-brand-copy small {
    letter-spacing: .1em;
  }
}
