.usp-page-hero {
  background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.usp-contact-section {
  border-bottom: 1px solid var(--border);
}

.usp-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 38px);
  align-items: start;
}

/* ---------- Form card ---------- */
.usp-contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 44px);
}
.usp-contact-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.usp-contact-form-card > .lede {
  margin-bottom: 30px;
}

.usp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.usp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.usp-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usp-form-group label,
.usp-form-group__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.usp-form-group .req {
  color: var(--orange);
}

.usp-form-group__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.usp-char-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.usp-char-count.is-near-limit {
  color: var(--orange);
}

.usp-contact-form input[type="text"],
.usp-contact-form input[type="email"],
.usp-contact-form input[type="tel"],
.usp-contact-form textarea {
  font-family: var(--usp-font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition:
    border-color var(--dur-s) var(--ease),
    box-shadow var(--dur-s) var(--ease);
}
.usp-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.usp-contact-form input:focus-visible,
.usp-contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-light);
}

/* ---------- Office pill radios ---------- */
.usp-pill-group {
  display: flex;
  gap: 8px;
}
.usp-pill-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.usp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--dur-s) var(--ease),
    border-color var(--dur-s) var(--ease),
    color var(--dur-s) var(--ease);
}
.usp-pill-group input:checked + .usp-pill {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.usp-pill-group input:focus-visible + .usp-pill {
  outline: 2.5px solid var(--purple);
  outline-offset: 2px;
}

/* ---------- Enquiry-type chips ---------- */
.usp-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.usp-chip-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.usp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--dur-s) var(--ease),
    border-color var(--dur-s) var(--ease),
    color var(--dur-s) var(--ease);
}
.usp-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition:
    background var(--dur-s) var(--ease),
    border-color var(--dur-s) var(--ease);
}
.usp-chip-group input:checked + .usp-chip {
  background: var(--purple-soft);
  border-color: var(--purple);
  color: var(--purple);
}
.usp-chip-group input:checked + .usp-chip::before {
  background: var(--purple);
  border-color: var(--purple);
}
.usp-chip-group input:focus-visible + .usp-chip {
  outline: 2.5px solid var(--purple);
  outline-offset: 2px;
}
.usp-chip--flag::before {
  border-color: var(--orange-light);
}
.usp-chip-group input:checked + .usp-chip--flag {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange-dark);
}
.usp-chip-group input:checked + .usp-chip--flag::before {
  background: var(--orange);
  border-color: var(--orange);
}

.usp-form-status:empty {
  display: none;
}

.usp-form-consent {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.usp-form-consent a {
  color: var(--purple);
  font-weight: 600;
}

/* ---------- Sidebar ---------- */
.usp-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.usp-contact-card {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 28px;
}
.usp-contact-card--flag {
  background: var(--orange-light);
  border-color: rgba(249, 115, 22, 0.28);
}

.usp-contact-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 16px;
}
.usp-contact-card--flag .usp-contact-card__icon {
  color: var(--orange-dark);
}
.usp-contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.usp-contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.usp-contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.usp-contact-card__office .city-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.usp-contact-card__office + .usp-contact-card__office {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.usp-contact-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usp-contact-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.usp-contact-card__list svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}
.usp-contact-card__list a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.usp-contact-card__list a:hover {
  color: var(--orange);
}

.visit-us {
  background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1148px) {
  .usp-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .usp-form-row {
    grid-template-columns: 1fr;
  }
  .usp-pill-group {
    width: 100%;
  }
  .usp-pill {
    flex: 1;
  }
}
