* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  font-family: 'Segoe UI', sans-serif;
  padding: 100px 20px 40px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  flex: 1 0 auto;
}

h1, h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

a {
  color: #60a5fa;
  text-decoration: none;
}
a:hover {
  color: #93c5fd;
}

/* Карта + Контакты */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}

.map {
  flex: 1;
  min-width: 400px;
  height: auto;
  aspect-ratio: 4 / 3; /* Соотношение сторон */
  border: 2px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contacts {
  flex: 1;
  min-width: 400px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  gap: 20px;
  align-content: stretch;
}

.contact-item {
  background-color: #1e293b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90px;
}



/* Форма */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 60px;
}

.feedback-form input,
.feedback-form textarea {
  background-color: #1e293b;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 15px;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #94a3b8;
}

.feedback-form button {
  background-color: #3b82f6;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feedback-form button:hover {
  background-color: #2563eb;
}

/* Футер */
.footer {
  background-color: #111827;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #a4caff;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: #60a5fa;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #93c5fd;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color:#111827;
  border-bottom: 1px solid #a4caff;
  backdrop-filter: blur(6px);
}

.header_container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #aacdf9;
}
.succes {
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin-top: 30px;
}
.display{
  display: none;
}
@media (max-width: 768px) {
  body {
    padding: 120px 15px 30px;
  }

  .contact-section {
    flex-direction: column;
    gap: 20px;
  }

  .contacts {
    grid-template-columns: 1fr; /* 1 колонка на телефоне */
    min-width: 100%;
  }

  .contact-item {
    font-size: 15px;
    padding: 10px 12px;
  }

  .map {
    min-width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  iframe {
    width: 100% !important;
    height: auto !important;
  }

  h1, h2 {
    font-size: 24px;
  }

  .feedback-form input,
  .feedback-form textarea {
    font-size: 14px;
  }

  .feedback-form button {
    font-size: 15px;
    padding: 10px;
  }
  .nav a {
    margin-left: 0;
    margin-right: 20px;
  }
}
