.rq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rq-contact-band {
  overflow-x: clip;
  scroll-margin-top: 8rem;
  border-bottom: 1px solid var(--rq-border);
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .rq-contact-band {
    padding-block: 5rem;
  }
}

.rq-contact-band__inner {
  width: 100%;
  max-width: var(--rq-container-max);
  margin-inline: auto;
  padding-inline: var(--rq-container-pad);
}

@media (min-width: 768px) {
  .rq-contact-band__inner {
    padding-inline: var(--rq-container-pad-md);
  }
}

@media (min-width: 1024px) {
  .rq-contact-band__inner {
    padding-inline: var(--rq-container-pad-lg);
  }
}

.rq-contact-band__intro {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .rq-contact-band__intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 3rem;
  }
}

.rq-contact-band__copy {
  min-width: 0;
}

.rq-contact-band__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rq-foreground);
}

.rq-contact-band__headline {
  container-type: inline-size;
  margin-block-start: 1.25rem;
}

.rq-contact-band__title {
  margin: 0;
  font-family: var(--rq-font-heading);
  font-size: clamp(1.75rem, 7cqi, 2.875rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--rq-foreground);
}

.rq-contact-band__lede {
  margin: 0;
  margin-block-start: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  color: var(--rq-muted-foreground);
}

@media (min-width: 768px) {
  .rq-contact-band__lede {
    font-size: 1.125rem;
  }
}

.rq-contact-band__channels {
  min-width: 0;
}

.rq-contact-band__channel-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rq-contact-band__channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rq-contact-band__channel {
  min-width: 0;
}

.rq-contact-band__channel-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-block-end: 0.5rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--rq-foreground);
}

.rq-contact-band__select {
  display: block;
  width: 100%;
  height: 2.75rem;
  padding-inline: 0.75rem 2.25rem;
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-radius-brand);
  background-color: var(--rq-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  color: var(--rq-foreground);
  font-family: var(--rq-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.rq-contact-band__select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--rq-ring);
}

.rq-contact-band__chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-radius-brand);
  background-color: var(--rq-background);
  color: var(--rq-foreground);
  font-family: var(--rq-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.rq-contact-band__chat-btn:hover {
  background-color: var(--rq-muted);
}

.rq-contact-band__chat-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--rq-ring);
}

.rq-contact-band__email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-top: 1px solid var(--rq-border);
  text-decoration: none;
  color: inherit;
}

.rq-contact-band__email:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--rq-ring);
}

.rq-contact-band__email-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rq-contact-band__email-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rq-muted-foreground);
}

.rq-contact-band__email-address {
  display: block;
  margin-block-start: 0.25rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--rq-foreground);
}

.rq-contact-band__email:hover .rq-contact-band__email-address {
  text-decoration: underline;
}

.rq-contact-band .rq-contact-form-wrap {
  margin-block-start: 2.5rem;
}

/* ====================================================== Email enquiry intro
 * React /email page: EMAIL eyebrow, "Start a conversation", intro, then form.
 * Works for PHP shortcode markup and Elementor heading widgets.
 */
.rq-email-enquiry__intro,
.rq-page .rq-email-form-section .rq-email-enquiry__intro {
  display: block;
  min-width: 0;
  margin: 0;
}

.rq-page .rq-email-form-section > .rq-container > .rq-eyebrow.rq-email-enquiry__eyebrow,
.rq-email-enquiry__eyebrow {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rq-foreground);
}

.rq-page .rq-email-form-section .rq-email-enquiry__headline,
.rq-email-enquiry__headline {
  container-type: inline-size;
  margin-block-start: 1.5rem;
  max-width: 48rem;
}

.rq-page .rq-email-form-section .rq-email-enquiry__title .elementor-heading-title,
.rq-email-enquiry__title {
  margin: 0;
  font-family: var(--rq-font-heading);
  font-size: clamp(1.75rem, 7cqi, 2.875rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--rq-foreground);
}

.rq-page .rq-email-form-section .rq-email-enquiry__lede,
.rq-email-enquiry__lede {
  display: block;
  margin: 0;
  margin-block-start: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  color: color-mix(in oklab, var(--rq-foreground) 70%, transparent);
}

@media (min-width: 768px) {
  .rq-page .rq-email-form-section .rq-email-enquiry__lede,
  .rq-email-enquiry__lede {
    font-size: 1.125rem;
  }
}

.rq-email-enquiry .rq-contact-form-wrap,
.rq-page .rq-email-form-section .rq-contact-form-wrap,
.rq-page .rq-email-form-section__shortcode .rq-contact-form-wrap {
  margin-block-start: 2.5rem;
}

.rq-page .rq-email-form-section__shortcode {
  display: block;
  width: 100%;
  margin: 0;
}

.rq-contact-form-wrap {
  display: grid;
  overflow: hidden;
  border-radius: var(--rq-radius-brand);
  background-color: var(--rq-card);
}

@media (min-width: 1024px) {
  .rq-contact-form-wrap {
    grid-template-columns: 55fr 45fr;
  }
}

.rq-contact-form-panel {
  min-width: 0;
  background-color: var(--rq-card);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .rq-contact-form-panel {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .rq-contact-form-panel {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .rq-contact-form-panel {
    padding: 3rem;
  }
}

.rq-contact-form-label-header {
  display: block;
  margin-block-end: 1.75rem;
  padding-block-end: 1.25rem;
  border-bottom: 1px solid var(--rq-border);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rq-foreground);
}

.rq-contact-form-photo {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
  background-color: var(--rq-muted);
}

@media (min-width: 640px) {
  .rq-contact-form-photo {
    min-height: 27rem;
  }
}

@media (min-width: 1024px) {
  .rq-contact-form-photo {
    min-height: 100%;
  }
}

.rq-contact-form-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rq-contact-form-photo__rule {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0.25rem;
  background-image: linear-gradient(
    135deg,
    var(--rq-logo-blue-light),
    var(--rq-logo-blue-mid) 52%,
    var(--rq-logo-blue-deep)
  );
}

.rq-contact-form-photo__caption {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--rq-radius-brand);
  background-color: var(--rq-card);
}

@media (min-width: 640px) {
  .rq-contact-form-photo__caption {
    inset-inline: 1.5rem;
    bottom: 1.5rem;
  }
}

.rq-contact-form-photo__caption-label {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rq-foreground);
}

.rq-contact-form-photo__caption-text {
  display: block;
  margin: 0;
  margin-block-start: 0.5rem;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  color: var(--rq-muted-foreground);
}

/* ====================================================== CF7 fields
 * Match React WebsiteContactForm: space-y-4 / gap-4, h-11, rounded-brand (6px).
 * Autop is disabled in PHP so .rq-cf7-row grids stay intact.
 */
.rq-contact-form-panel .wpcf7,
.rq-contact-form-panel .wpcf7 form,
.wpcf7.rq-cf7,
.wpcf7 .rq-cf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.rq-contact-form-panel .wpcf7 form > p,
.wpcf7 .rq-cf7-form > p {
  margin: 0;
  display: contents;
}

.wpcf7 .rq-cf7-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem !important;
  width: 100%;
  margin: 0;
}

@media (min-width: 640px) {
  .wpcf7 .rq-cf7-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.wpcf7 .rq-cf7-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
}

/* Label: block so "First name *" stays on one line; control sits below (React space-y-2). */
.wpcf7 .rq-cf7-field > label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--rq-foreground);
}

.wpcf7 .rq-cf7-field label .rq-required,
.wpcf7 .rq-cf7-field .rq-required,
.wpcf7 .rq-required {
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.wpcf7 .rq-cf7-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-block-start: 0.5rem;
}

.wpcf7 .rq-cf7-field input[type="text"],
.wpcf7 .rq-cf7-field input[type="email"],
.wpcf7 .rq-cf7-field input[type="tel"],
.wpcf7 .rq-cf7-field input[type="url"],
.wpcf7 .rq-cf7-field select,
.wpcf7 .rq-cf7-field textarea,
.wpcf7 .rq-cf7-field .wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.rq-contact-form-panel .wpcf7 input[type="text"],
.rq-contact-form-panel .wpcf7 input[type="email"],
.rq-contact-form-panel .wpcf7 input[type="tel"],
.rq-contact-form-panel .wpcf7 select,
.rq-contact-form-panel .wpcf7 textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 2.75rem;
  margin: 0;
  padding-block: 0;
  padding-inline: 0.75rem;
  border: 1px solid var(--rq-border) !important;
  /*
   * React Input / SelectTrigger base: rounded-md
   * = calc(var(--radius) - 2px) with --radius: 0.25rem → 2px.
   * Contact form only — do not use brand 6px or --rq-radius 0.25rem.
   */
  border-radius: 2px !important;
  background-color: var(--rq-background) !important;
  color: var(--rq-foreground);
  font-family: var(--rq-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  box-shadow: none !important;
  outline: none;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: background-color 150ms ease, border-color 150ms ease;
}

/* Kill theme/plugin radii on the CF7 wrap so only the control is rounded. */
.rq-contact-form-panel .wpcf7 .wpcf7-form-control-wrap,
.wpcf7 .rq-cf7-field .wpcf7-form-control-wrap {
  border-radius: 0 !important;
}

@media (min-width: 768px) {
  .wpcf7 .rq-cf7-field input[type="text"],
  .wpcf7 .rq-cf7-field input[type="email"],
  .wpcf7 .rq-cf7-field input[type="tel"],
  .wpcf7 .rq-cf7-field input[type="url"],
  .wpcf7 .rq-cf7-field select,
  .wpcf7 .rq-cf7-field textarea,
  .wpcf7 .rq-cf7-field .wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
  .rq-contact-form-panel .wpcf7 input[type="text"],
  .rq-contact-form-panel .wpcf7 input[type="email"],
  .rq-contact-form-panel .wpcf7 input[type="tel"],
  .rq-contact-form-panel .wpcf7 select,
  .rq-contact-form-panel .wpcf7 textarea {
    font-size: 0.875rem;
  }
}

.wpcf7 .rq-cf7-field select,
.wpcf7 .rq-cf7-field select.wpcf7-form-control,
.rq-contact-form-panel .wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-inline-end: 2.25rem;
  cursor: pointer;
}

.wpcf7 .rq-cf7-field textarea,
.wpcf7 .rq-cf7-field textarea.wpcf7-form-control,
.rq-contact-form-panel .wpcf7 textarea {
  height: auto;
  min-height: 6rem;
  padding-block: 0.75rem;
  resize: vertical;
  line-height: 1.5;
}

.wpcf7 .rq-cf7-field input:focus,
.wpcf7 .rq-cf7-field select:focus,
.wpcf7 .rq-cf7-field textarea:focus,
.wpcf7 .rq-cf7-field .wpcf7-form-control:focus,
.rq-contact-form-panel .wpcf7 input:focus,
.rq-contact-form-panel .wpcf7 select:focus,
.rq-contact-form-panel .wpcf7 textarea:focus {
  background-color: var(--rq-card) !important;
  border-color: var(--rq-ring) !important;
  box-shadow: 0 0 0 1px var(--rq-ring) !important;
}

.wpcf7 .rq-cf7-field .wpcf7-not-valid-tip {
  display: block;
  margin-block-start: 0.25rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--rq-destructive);
}

.wpcf7 .rq-cf7-field input.wpcf7-not-valid,
.wpcf7 .rq-cf7-field select.wpcf7-not-valid,
.wpcf7 .rq-cf7-field textarea.wpcf7-not-valid {
  border-color: var(--rq-destructive) !important;
}

.wpcf7 .rq-cf7-upload {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpcf7 .rq-cf7-upload-heading {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--rq-foreground);
}

.wpcf7 .rq-cf7-upload-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--rq-input, var(--rq-border)) !important;
  border-radius: 2px !important;
  background-color: var(--rq-background) !important;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.wpcf7 .rq-cf7-upload-label:hover,
.wpcf7 .rq-cf7-upload-label:focus-within {
  background-color: var(--rq-card);
  box-shadow: 0 0 0 1px var(--rq-ring);
}

.wpcf7 .rq-cf7-upload-label svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--rq-muted-foreground);
}

.wpcf7 .rq-cf7-upload-label span {
  font-size: 13px;
  font-weight: 500;
  color: var(--rq-foreground);
  flex-shrink: 0;
}

.wpcf7 .rq-cf7-upload-label .wpcf7-form-control-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wpcf7 .rq-cf7-upload-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wpcf7 .rq-cf7-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpcf7 .rq-cf7-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.wpcf7 .rq-cf7-check-row .wpcf7-form-control-wrap,
.wpcf7 .rq-cf7-check-row .wpcf7-acceptance,
.wpcf7 .rq-cf7-check-row .wpcf7-checkbox {
  display: block;
  width: 100%;
}

.wpcf7 .rq-cf7-check-row .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.wpcf7 .rq-cf7-check-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 1px solid var(--rq-border) !important;
  border-radius: 4px !important;
  background-color: var(--rq-background) !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
  position: relative;
}

.wpcf7 .rq-cf7-check-row input[type="checkbox"]:checked {
  background-color: var(--rq-accent) !important;
  border-color: var(--rq-accent) !important;
}

.wpcf7 .rq-cf7-check-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.wpcf7 .rq-cf7-check-row input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--rq-ring);
}

.wpcf7 .rq-cf7-check-row .wpcf7-list-item-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--rq-foreground);
  cursor: pointer;
}

.wpcf7 .rq-cf7-check-row .wpcf7-not-valid-tip {
  display: block;
  margin-block-start: 0.25rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--rq-destructive);
}

/* React submit block: space-y-3 pt-5 — no divider line. */
.wpcf7 .rq-cf7-submit-area {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block-start: 1.25rem;
  border-top: 0;
}

.wpcf7 .rq-cf7-notice {
  min-height: 1.25rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--rq-foreground);
}

.wpcf7 .rq-cf7-submit-area input[type="submit"],
.wpcf7 .rq-cf7-submit-area .wpcf7-submit,
.rq-contact-form-panel .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5rem;
  padding-inline: 1.5rem;
  border: 0 !important;
  /* Submit stays brand radius (React Button rounded-brand → 6px). */
  border-radius: var(--rq-radius-brand) !important;
  background-color: transparent;
  background-image: linear-gradient(
    135deg,
    var(--rq-logo-blue-light),
    var(--rq-logo-blue-mid) 52%,
    var(--rq-logo-blue-deep)
  ) !important;
  color: var(--rq-primary-foreground) !important;
  font-family: var(--rq-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
  box-shadow: none !important;
  cursor: pointer;
  transition: filter 150ms ease;
}

.wpcf7 .rq-cf7-submit-area input[type="submit"]:hover,
.wpcf7 .rq-cf7-submit-area .wpcf7-submit:hover,
.rq-contact-form-panel .wpcf7 input[type="submit"]:hover {
  filter: brightness(0.95);
}

.wpcf7 .rq-cf7-submit-area input[type="submit"]:disabled,
.wpcf7 .rq-cf7-submit-area .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--rq-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--rq-foreground);
}

.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: oklch(0.6 0.15 142);
  background-color: oklch(0.96 0.03 142);
  color: oklch(0.3 0.12 142);
}

.wpcf7 .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-response-output.wpcf7-spam-blocked {
  border-color: var(--rq-destructive);
  background-color: oklch(0.97 0.02 27);
  color: var(--rq-destructive);
}

.wpcf7 .ajax-loader {
  display: none;
}
