/* ═══════════════════════════════════════════════════════════
   PARTNERS, REQUEST FORM & CONTACTS PAGES
═══════════════════════════════════════════════════════════ */

/* ── Partners list ────────────────────────────────────── */
.partners-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.partner-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 10px 20px;
  border-radius: 4px;
  /* transition: background-color 0.2s ease; */
}

.partner-link:hover {
  text-decoration: none;
}

.partner-logo {
  width: 162px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-info {
  flex: 1 1 0;
  margin-left: 24px;
}

.partner-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-red);
  margin: 0 0 4px;
  line-height: 1.2;
}

.partner-desc {
  font-size: 18px;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
}

/* ── Request form ─────────────────────────────────────── */
.request-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-mid-gray);
  border-radius: 4px;
  background-color: var(--color-mid-gray);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-white);
  opacity: 0.8;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field textarea {
  min-height: 200px;
  resize: vertical;
}

.form-field--details {
  grid-column: 2;
  grid-row: 1 / 6;
}

.form-field--details textarea {
  height: 100%;
}

.btn--submit {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
}

/* ── Contacts page — large map ────────────────────────── */
.contacts-map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.contacts-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .request-form {
    grid-template-columns: 1fr;
  }

  .form-field--details {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .partner-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-logo {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
  }

  .partner-info {
    margin-left: 0;
  }

  .partner-name { font-size: 16px; }
  .partner-desc { font-size: 14px; }
}
