/* ═══════════════════════════════════════════════════════════
   pages/consign.css — страница приёма автомобилей на продажу.
   Расширяет about.css (импортируется ниже).
   ═══════════════════════════════════════════════════════════ */

@import url('./about.css');

.p-consign .p-about__hero {
  padding-top: 88px;
  padding-bottom: 72px;
}

.p-consign .p-about__heroFrame {
  min-height: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.p-consign .p-about__heroImg {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.p-consign .p-about__section {
  padding: 88px 0;
}

.p-consign .p-about__sectionHead {
  max-width: 780px;
  margin: 0 auto 28px;
}

.p-consign .p-about__split {
  align-items: start;
  gap: 28px;
}

.p-consign .p-about__cta {
  margin-top: 24px;
}

.p-consign .p-about__ctaInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.p-consign .p-about__ctaActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p-consign .testimonials-grid {
  margin-top: 8px;
}

.p-consign .testimonial-card {
  height: 100%;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.p-consign .contact-form-section {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

.p-consign .contact-form-section .container {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 16px;
}

.p-consign .dag-lead {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.p-consign label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--text);
}

.p-consign input,
.p-consign select,
.p-consign textarea {
  width: 100%;
}

.p-consign .dag-phone-wrap {
  display: flex;
  align-items: stretch;
}

.p-consign .dag-phone-prefix {
  border-radius: 14px 0 0 14px;
  background: var(--surface-2);
}

.p-consign .dag-phone-wrap input {
  border-radius: 0 14px 14px 0;
}

.p-consign small {
  font-size: 12px;
  line-height: 1.5;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .p-consign .p-about__ctaInner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .p-consign .p-about__hero {
    padding-top: 64px;
    padding-bottom: 48px;
  }
  .p-consign .p-about__heroFrame,
  .p-consign .p-about__heroImg {
    min-height: 280px;
  }
  .p-consign .p-about__section,
  .p-consign .contact-form-section {
    padding: 64px 0;
  }
  .p-consign .dag-lead {
    padding: 20px;
  }
  .p-consign form fieldset,
  .p-consign form > div {
    grid-template-columns: 1fr !important;
  }
}
