/* Extracted from the approved ALP’IN BOX design. Block-local rules. */
.nlc-quote-form {
  background: var(--nlc-soft);
  padding: 42px;
  border-radius: var(--nlc-radius);
}
.nlc-quote-form h2 {
  font-size: 42px;
  line-height: 1.1;
}
.nlc-quote-form > p:not(.nlc-eyebrow) {
  font-size: 16px;
  color: var(--nlc-muted);
  margin-top: 20px;
}
.nlc-quote-form fieldset {
  border: 0;
  margin: 26px 0 0;
  padding: 0;
  min-width: 0;
}
.nlc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.nlc-form-grid .nlc-full {
  grid-column: 1/-1;
}
.nlc-form-grid label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  min-width: 0;
}
.nlc-form-grid label > span {
  color: var(--nlc-accent-text);
}
.nlc-form-grid input,
.nlc-form-grid textarea {
  display: block;
  background: #fff;
  color: var(--nlc-ink);
  border: 1px solid #d1d4c9;
  border-radius: 5px;
  min-height: 52px;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  transition: border-color 0.2s;
}
.nlc-form-grid input:hover,
.nlc-form-grid textarea:hover {
  border-color: #959989;
}
.nlc-form-grid textarea {
  resize: vertical;
}
.nlc-form-note {
  font-size: 12px;
  margin-block: 20px;
  color: var(--nlc-muted);
}
.nlc-form-note a {
  text-decoration: underline;
}
.nlc-form-result {
  background: white;
  border: 1px solid var(--nlc-accent);
  border-left: 4px solid var(--nlc-accent);
  padding: 20px;
  margin-top: 24px;
  border-radius: 5px;
  font-size: 15px;
}
.nlc-form-result p {
  margin-top: 8px;
  font-size: 14px;
}
@media (max-width: 1050px) {
  .nlc-quote-form {
    padding: 28px;
  }
}
@media (max-width: 1050px) {
  .nlc-quote-form h2 {
    font-size: 36px;
  }
}
@media (max-width: 1050px) {
  .nlc-form-grid {
    gap: 16px;
  }
}
@media (max-width: 1050px) {
  .nlc-form-grid label {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .nlc-quote-form {
    padding: 36px;
  }
}
@media (max-width: 760px) {
  .nlc-quote-form h2 {
    font-size: 42px;
  }
}
@media (max-width: 760px) {
  .nlc-form-grid label {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .nlc-quote-form {
    padding: 28px 22px;
  }
}
@media (max-width: 600px) {
  .nlc-quote-form h2 {
    font-size: 37px;
  }
}
@media (max-width: 600px) {
  .nlc-quote-form > p:not(.nlc-eyebrow) {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .nlc-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .nlc-form-grid label {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .nlc-quote-form .nlc-button {
    width: 100%;
    font-size: 14px;
    gap: 16px;
    padding-inline: 18px;
  }
}
@media (max-width: 360px) {
  .nlc-quote-form {
    padding-inline: 18px;
  }
}
@media (max-width: 360px) {
  .nlc-quote-form h2 {
    font-size: 33px;
  }
}
.nlc-form-note {
  font-size: 14px;
}
.nlc-form-grid label {
  font-size: 14px;
}
/* CF7 adapter. Scoped to this block: other contact forms retain their styles. */
.nlc-quote-cf7 .wpcf7,
.nlc-quote-cf7 .wpcf7-form {
  margin: 0;
  padding: 0;
  border: 0;
}
.nlc-quote-cf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nlc-quote-cf7 .wpcf7-form:is(.init, .resetting, .submitting) .wpcf7-response-output,
.nlc-quote-cf7 .wpcf7-response-output:empty {
  display: none;
}
.nlc-quote-cf7 .hidden-fields-container {
  display: none;
}
.nlc-quote-cf7 .nlc-form-grid > p,
.nlc-quote-cf7 .nlc-form-grid label > br {
  display: contents;
}
.nlc-quote-cf7 .nlc-form-grid .wpcf7-form-control-wrap {
  display: block;
  color: var(--nlc-ink);
  min-width: 0;
}
.nlc-quote-cf7 .nlc-form-grid :is(input, textarea, select) {
  font-family: inherit;
  font-weight: inherit;
  box-sizing: border-box;
}
.nlc-quote-cf7 .nlc-form-grid .wpcf7-not-valid {
  border-color: #a92525;
}
.nlc-quote-cf7 .wpcf7-not-valid-tip {
  display: block;
  color: #a92525;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 6px;
}
.nlc-quote-cf7 .nlc-cf7-actions {
  position: relative;
}
.nlc-quote-cf7 .wpcf7-spinner {
  position: absolute;
  margin: 0;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
}
.nlc-quote-cf7 .wpcf7-form.submitting .nlc-button {
  opacity: 0.65;
  cursor: progress;
}
.nlc-quote-cf7 .wpcf7-form .wpcf7-response-output {
  background: #fff;
  border: 1px solid var(--nlc-accent);
  border-left-width: 4px;
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.6;
}
.nlc-quote-cf7 .wpcf7-form:is(.invalid, .failed, .aborted, .spam, .unaccepted) .wpcf7-response-output {
  border-color: #a92525;
}
@media (max-width: 600px) {
  .nlc-quote-cf7 .wpcf7-spinner {
    inset-inline-end: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nlc-quote-cf7 .wpcf7-spinner::before {
    animation: none;
  }
}
@media print {
  .nlc-quote-form {
    break-inside: avoid;
  }
}
