:root {
  --primary-color: #0e76bc;
  --primary-dark: #085890;
  --primary-light: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;
  --text-color: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f5f7fa;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

.contact__section {
  padding: 60px 0 80px;
  background-color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.contact-container h1 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
  font-size: 36px;
}

.contact-container h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.contact-info1 {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-info1:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-form:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.info-section {
  margin-bottom: 30px;
}

.info-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  font-size: 20px;
  font-weight: 600;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.contact-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-list li:nth-child(1):before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%230e76bc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>');
}

.contact-list li:nth-child(2):before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%230e76bc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>');
}

.contact-list a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--primary-color);
}

.work-hours {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  color: var(--text-color);
}

.work-hours span:nth-child(odd) {
  font-weight: 500;
}

.work-hours span:nth-child(even) {
  color: var(--text-light);
}

.yandex__map {
  margin-top: 25px;
  height: 300px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 118, 188, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(14, 118, 188, 0.2);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Анимация при появлении */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-info1, .contact-form {
  animation: fadeInUp 0.6s forwards;
}

.contact-form {
  animation-delay: 0.2s;
}

/* Стилизация для меток карты */
.map-marker {
  background-color: var(--primary-color);
  border-radius: 50%;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Стилизация для информации о компании */
.company-map-info {
  margin-top: 15px;
  padding: 15px;
  background-color: var(--bg-light);
  border-radius: 5px;
  border-left: 3px solid var(--primary-color);
}

.company-map-info p {
  margin: 5px 0;
  color: var(--text-light);
  font-size: 14px;
}

.company-map-info strong {
  color: var(--secondary-color);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }
  
  .contact-container h1 {
    font-size: 30px;
  }
  
  .contact-info1, .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact__section {
    padding: 40px 0 60px;
  }
  
  .contact-container h1 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .info-section {
    margin-bottom: 25px;
  }
  
  .info-section h3, .contact-form h3 {
    font-size: 18px;
  }
  
  .contact-list li {
    margin-bottom: 12px;
  }
  
  .yandex__map {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .contact-container h1 {
    font-size: 22px;
  }
  
  .work-hours {
    grid-template-columns: 80px 1fr;
  }
  
  .contact-info1, .contact-form {
    padding: 20px;
  }
  
  .yandex__map {
    height: 200px;
  }
}