/* contacts.css — страница /contacts/ «Контакты» */
:root {
  --color-primary: #46a6ff;
  --color-dark: #010722;
  --color-text: #8d9ba7;
  --color-light: #f0f6fb;
  --color-border: #c9d6e1;
  --color-white: #ffffff;
}

.contacts-page {
  padding-top: 32px;
  padding-bottom: 64px;
}

.contacts-page__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 24px 0 32px;
}

/* ── Верхний блок: контакты + реквизиты ──────────────────────────── */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.contacts-info__block {
  margin-bottom: 28px;
}
.contacts-info__block:last-child {
  margin-bottom: 0;
}
.contacts-info__label {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 6px;
}
.contacts-info__value {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-dark);
}
a.contacts-info__value--link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a.contacts-info__value--link:hover {
  color: var(--color-primary);
}
.contacts-info__socials {
  display: flex;
  gap: 12px;
}
.contacts-info__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-light);
  color: var(--color-dark);
  font-size: 18px;
  transition: background 0.15s, color 0.15s;
}
.contacts-info__social:hover {
  background: var(--color-primary);
  color: #fff;
}

.contacts-requisites {
  background: var(--color-light);
  border-radius: 16px;
  padding: 32px;
}
.contacts-requisites__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 20px;
}
.contacts-requisites__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 16px;
}
.contacts-requisites__row span {
  color: var(--color-text);
}
.contacts-requisites__row strong {
  color: var(--color-dark);
  font-weight: 600;
  text-align: right;
}
.contacts-requisites__addr {
  padding: 16px 0 4px;
}
.contacts-requisites__addr span {
  display: block;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 4px;
}
.contacts-requisites__addr strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark);
}
.contacts-requisites__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  height: 52px;
  background: #fff;
  border-radius: 10px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: none;
  transition: opacity 0.15s;
}
.contacts-requisites__download:hover {
  opacity: 0.85;
}

/* ── Форма «Задайте свой вопрос» ─────────────────────────────────── */
.contacts-form {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 40px;
}
.contacts-form__title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 24px;
}
.contacts-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 4px;
}
.contacts-form__field {
  margin-bottom: 22px;
}
.contacts-form__field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 15px;
  padding: 8px 2px;
  outline: none;
}
.contacts-form__field input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
.contacts-form__field input:focus {
  border-bottom-color: #fff;
}
.contacts-form__field--full {
  margin-bottom: 20px;
}

.contacts-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 24px;
}
.contacts-form__agree input {
  margin-top: 3px;
  flex-shrink: 0;
}
.contacts-form__agree a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.contacts-form__alert {
  margin: -12px 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.contacts-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.contacts-form__submit:hover {
  opacity: 0.9;
}
.contacts-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

@media screen and (max-width: 900px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }
  .contacts-form__row {
    grid-template-columns: 1fr;
  }
}
