/* ==========================================================================
   Contact app — contact page and thank-you page.
   Shared tokens and components (pm-card, pm-icon-badge…) live in main.css.
   ========================================================================== */

/* Company details list ---------------------------------------------------- */
.pm-contact-list > li + li { margin-top: 1.25rem; }
.pm-contact-list__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pm-muted);
}
.pm-contact-list a {
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere; /* long e-mail addresses on small screens */
}
.pm-contact-list a:hover,
.pm-contact-list a:focus-visible { text-decoration: underline; }
.pm-contact-list address { font-style: normal; }

/* Service area ---------------------------------------------------------------- */
.pm-contact-map {
  width: 6.5rem;
  height: auto;
  flex-shrink: 0;
}
.pm-contact-areas {
  padding-left: 1.1rem;
  margin: 0;
}
.pm-contact-areas li::marker { color: var(--pm-accent-dark); }

/* "Need a price?" card ------------------------------------------------------- */
/* On phones the icon sits above the heading (contact.html). The badge has the
   card's own colour, so drop its empty box and line the icon up with the text. */
@media (max-width: 575.98px) {
  .pm-contact-quote > .pm-icon-badge {
    width: auto;
    height: auto;
    justify-content: start;
  }
}

/* Form ------------------------------------------------------------------------------ */
.pm-contact-consent .form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2em;
}
.pm-contact-consent .form-check-label { padding-left: 0.25rem; }
/* The error summary receives focus after a failed submit (js/main.js):
   same solid outline as every other focusable element (WCAG 1.4.11). */
[data-pm-form-errors]:focus {
  outline: var(--pm-focus-width) solid var(--pm-focus-color);
  outline-offset: var(--pm-focus-offset);
}

/* Thank-you page ------------------------------------------------------------------ */
/* Flex + gap: links wrap into even, centred rows on phones. */
.pm-thanks-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}
.pm-thanks-links .list-inline-item:not(:last-child) { margin-right: 0; }
.pm-thanks-links a { font-weight: 600; text-decoration: none; }
.pm-thanks-links a:hover,
.pm-thanks-links a:focus-visible { text-decoration: underline; }
