.footer {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #ffffff;
}

.footerBg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footerBgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footerOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 6, 20, 0.88) 0%, rgba(10, 10, 30, 0.82) 50%, rgba(5, 6, 20, 0.88) 100%);
}

.footerContent {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.footerLeft {
  display: flex;
  flex-direction: column;
}

.brandLink {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brandName {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
}

.brandAccent {
  color: var(--accent-color);
}

.brandDesc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.footerMiddle {
  display: flex;
  gap: 4rem;
}

.linksSection {
  display: flex;
  flex-direction: column;
}

.linksTitle {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.linksList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footerLink {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footerLink:hover {
  color: #ffffff;
}

.footerLink:active {
  color: var(--accent-color);
}

.footerRight {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.socialIcons {
  display: flex;
  gap: 0.75rem;
}

.socialIcon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.socialIcon:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.socialIcon:active {
  transform: scale(0.92);
}

.mapContainer {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.mapFrame {
  width: 100%;
  height: 100%;
  border: none;
}

.footerDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footerBottom {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payments {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.paymentsLabel {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.paymentItem {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bottomRight {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.developedBy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.developedBy a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.developedBy a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .footerContent {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footerRight {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footerContent {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 1.5rem;
  }
  .footerMiddle {
    flex-direction: column;
    gap: 2rem;
  }
  .footerBottom {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  .payments {
    flex-wrap: wrap;
    justify-content: center;
  }
  .bottomRight {
    flex-direction: column;
    gap: 0.5rem;
  }
}
