:root {
  --primary-yellow: #FDC93D;
  --text-dark: #000000;
  --card-border: #EFEFEF;
  --bg-white: #FFFFFF;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

section {
  padding: 50px 0;
}

.section-title {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 25px;
}

.divider {
  border: none;
  height: 8px;
  background-color: var(--primary-yellow);
  margin: 0;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Стили для блока контактов */
#contact {
  background-color: #f9f9f9;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-details p {
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-details a {
  color: var(--primary-yellow);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Стили формы */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--card-border);
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

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

.submit-btn {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e6b935;
}

.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 600;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 20px;
  }

  .contact-details p {
    font-size: 14px;
  }
}