.footer {
  background-color: #143c7c;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 40px 15vw;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-container {
  margin-top: 25vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.footer-logo {
  width: 263px;
}

.footer-circle {
  width: 26px;
  height: 26px;
  background-color: #538CD3;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 10%;
}

.footer-links {
  display: flex;
  gap: 42px;
  margin-left: auto;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f0c040;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  max-width: 30%;
  width: 100%;
}

.footer-description {
  display: block;
  width: 50vw;
  white-space: normal;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.98;
  margin-bottom: 20px;
  word-break: break-word;
  margin-bottom: 10vh;
}

.footer-center,
.footer-right {
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer-center {
  margin-left: 40px;
}

.footer-right {
  margin-left: 40px;
  max-width: 25%;
}

.copyright {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 20px;
  letter-spacing: 0.03em;
  white-space: normal;
  width: 20vw;
  word-break: break-word;
}

/* --- СТИЛИ ДЛЯ ВСЕХ ССЫЛОК В ФУТЕРЕ (телефоны, email, whatsapp) --- */
.footer a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* --- WhatsApp кнопка --- */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.whatsapp-button img {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.whatsapp-button:hover {
  text-decoration: underline;
}

/* --- Google Maps стили --- */
.footer-map {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  margin-top: 5vw;
	
}

.footer-map iframe {
  width: 100%;
  max-width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 3vw;
}

/* --- Планшеты (768px - 991px) --- */
@media (max-width: 991px) {
  .footer {
    padding: 40px 8vw;
    height: auto;
  }

  .footer-container {
    margin-top: 15vh;
    gap: 25px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-circle {
    display: none;
  }

  .footer-links {
    margin-left: 0;
    gap: 25px;
    flex-wrap: wrap;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }

  .footer-description {
    width: 100%;
    margin-bottom: 5vh;
  }

  .copyright {
    width: 100%;
  }
}

/* --- Мобильные устройства (576px - 767px) --- */
@media (max-width: 767px) {
  .footer {
    padding: 30px 5vw;
  }

  .footer-container {
    margin-top: 0;
    gap: 20px;
  }

  .footer-logo {
    width: 200px;
  }

  .footer-links {
    gap: 15px;
    font-size: 16px;
  }

  .footer-links a {
    font-size: 16px;
  }

  .footer-description,
  .footer-center,
  .footer-right {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* --- Маленькие мобильные (до 575px) --- */
@media (max-width: 575px) {
  .footer {
    padding: 25px 5vw;
  }

  .footer-container {
    margin-top: 8vh;
    gap: 15px;
  }

  .footer-logo {
    width: 180px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-description {
    margin-bottom: 4vh;
    font-size: 12px;
  }

  .footer-center,
  .footer-right {
    font-size: 12px;
  }

  .copyright {
    font-size: 11px;
  }
}

/* --- Очень маленькие экраны (до 400px) --- */
@media (max-width: 400px) {
  .footer {
    padding: 20px 4vw;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-links a {
    font-size: 14px;
  }
}
