/* Contact information and enquiry form. */
.pg-contact .sv2-hero[style*="--autosouq-page-hero"] {
  background-image: var(--autosouq-page-hero);
}
.pg-contact .sv2-hero > .container {
  padding-inline-start: max(calc(var(--inset) + clamp(12px, 4vw, 58px)),
    calc(7vw + clamp(12px, 4vw, 58px) - max(0px, (100vw - 1200px) / 2)));
}
@media (max-width: 899px) {
  .pg-contact .sv2-hero::after {
    inset: 0 auto 0 0; width: 5.5%; transform: none;
    clip-path: polygon(82% 0, 100% 0, 0 86%, 0 75%);
  }
  .pg-contact .sv2-hero > .container { padding-inline-start: calc(var(--inset) + 3vw); }
}
.main-content > .ct-section { padding-block: var(--s16); }
.ct-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(var(--s8), 5vw, var(--s16));
}
.ct-info { padding-top: var(--s2); }
.ct-h2 { font-size: var(--h2); font-weight: 600; }
.ct-lead { margin-bottom: var(--heading-gap); max-width: 39ch; }
.ct-item { gap: var(--s4); padding-block: var(--s6); border-color: var(--border); }
.ct-item .ico { flex-basis: 40px; width: 40px; height: 40px; background: var(--ivory); color: var(--dark-brass); }
.ct-item h3 { margin: 0 0 var(--s1); }
.ct-item p { max-width: 34ch; font-size: 16px; color: var(--muted); }
.ct-card { min-width: 0; box-shadow: none; background: var(--white); }
.ct-field { min-width: 0; margin-bottom: var(--s4); }
.ct-field label span { color: var(--muted); font-weight: 400; }
.ct-card .sub { max-width: 54ch; margin-bottom: var(--s6); color: var(--muted); }
.ct-card textarea.form-control { min-height: 112px; }
.ct-form .form-control:focus {
  border-color: var(--dark-brass);
  outline: 2px solid var(--brass) !important;
  outline-offset: 2px !important;
}
.ct-form .form-control[aria-invalid="true"] { border: 2px solid var(--tobacco); }
.ct-error { display: block; margin-top: var(--s1); color: var(--tobacco); font-size: 14px; }
.ct-card .ct-note { font-size: 14px; margin-top: var(--s3); }
#send-message { background: var(--onyx); color: var(--white); transition: background-color .18s ease, color .18s ease; }
#send-message:disabled { opacity: 1; }
#send-message:enabled:is(:hover,:focus-visible) { background: var(--brass); color: var(--onyx); }
#contact-feedback:not(:empty) { margin-top: var(--s4); }
#contact-feedback p { margin: var(--s1) 0 0; }
@media (prefers-reduced-motion: reduce) {
  #send-message, #send-message i { transition: none; animation: none; }
}

@media (max-width: 899px) {
  .ct-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .ct-info { padding-top: 0; }
  .ct-item:last-child { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .main-content > .ct-section { padding-block: var(--s12); }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-item { padding-block: var(--s4); }
}
