.contact-section {
  padding: 4rem 0;
  background: #e4e7ea;
  color: #333;
}

.contact-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-section .section-title {
  margin: 0 0 1rem;
  color: #333;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.contact-section .section-subtitle {
  margin: 0 0 3rem;
  color: #4d4d4d;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: block;
  padding: 1.1rem 1.3rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  text-decoration: none;
}

.contact-method .cm-label {
  display: block;
  color: #9a6d00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method .cm-value {
  display: block;
  margin-top: 2px;
  color: #161616;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-method:hover .cm-value,
.contact-method:focus-visible .cm-value {
  color: #9a6d00;
}

.contact-method:focus-visible {
  outline: 3px solid rgba(255, 180, 0, 0.42);
  outline-offset: 3px;
}

.form-container form {
  display: grid;
  gap: 0.8rem;
}

.form-container input,
.form-container textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cfd4d9;
  border-radius: 6px;
  background: #fff;
  color: #161616;
  font: inherit;
  font-size: 0.95rem;
}

.form-container textarea {
  resize: vertical;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #ffb400;
  outline: 2px solid #ffb400;
}

.form-container button {
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 6px;
  background: #ffb400;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.form-container button:hover,
.form-container button:focus-visible {
  filter: brightness(1.05);
}

.form-container button:focus-visible {
  outline: 3px solid rgba(154, 109, 0, 0.35);
  outline-offset: 3px;
}

.form-container button:disabled {
  cursor: default;
  opacity: 0.6;
}

.form-msg {
  display: none;
  margin-bottom: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
}

.form-msg.ok {
  background: #e7f5e9;
  color: #1e6b2d;
}

.form-msg.bad {
  background: #fdeaea;
  color: #9c2020;
}

@media (max-width: 820px) {
  .contact-container {
    padding: 0 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 3.25rem 0;
  }

  .contact-section .section-title {
    font-size: 2rem;
  }

  .contact-section .section-subtitle {
    margin-bottom: 2.25rem;
    font-size: 1rem;
  }
}
