/* Request-service page only. The header, footer, hero, fonts and tokens come from
   site.css and services.css (loaded first); nothing here restyles the shell. */

.form-section { padding: 76px 0 110px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 360px); justify-content: space-between; align-items: start; gap: clamp(44px, 5vw, 94px); }
.form-main { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #cdd5d2; }
.section-kicker { color: var(--orange-dark); font-size: 13px; letter-spacing: .14em; font-weight: 800; margin-bottom: 11px; }
.section-heading h2, .summary-section h2 { font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; margin: 0; }
.section-heading > p { flex: none; color: var(--muted); font-size: 13px; margin: 0 0 4px; }
.required-mark { color: var(--orange); font-weight: 700; }
.preview-note { display: flex; gap: 14px; align-items: flex-start; background: #e9eee9; border-left: 3px solid var(--orange); margin: 33px 0 0; padding: 16px 19px; }
form[hidden] ~ .preview-note { display: none; }
.note-icon { width: 19px; height: 19px; margin-top: 2px; color: var(--orange); }
.preview-note p { margin: 0; color: #405761; font-size: 14px; line-height: 1.65; }
.preview-note strong { color: var(--ink); }
.service-context { margin: -12px 0 28px; padding: 14px 17px; background: #e9eee9; border-left: 2px solid var(--orange); color: #405761; font-size: 14px; line-height: 1.6; }
.service-context strong { display: block; color: var(--ink); }
.service-context p { margin: 4px 0 0; }
fieldset { min-width: 0; margin: 0 0 38px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 22px; font-size: 16px; font-weight: 700; }
.form-grid { display: grid; gap: 20px 22px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field label { display: flex; gap: 4px; align-items: baseline; margin-bottom: 9px; font-size: 14px; font-weight: 700; }
.optional { margin-left: auto; color: #5c6a71; font-size: 13px; font-weight: 400; }
.field input, .field textarea { display: block; width: 100%; min-height: 50px; padding: 13px 15px; background: #fffefa; color: var(--ink); font: inherit; font-size: 16px; border: 1px solid #829097; border-radius: 0; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 156px; line-height: 1.6; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #52616a; }
.field input:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(163,75,37,.18); }
.field input::placeholder, .field textarea::placeholder { color: #667780; opacity: 1; }
.field-hint { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 8px 0 0; }
.form-actions { display: flex; align-items: center; gap: 20px; border-top: 1px solid #cdd5d2; padding-top: 28px; }
.primary-button { min-height: 56px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; border: 0; border-radius: 5pt; background: var(--orange); color: white; padding: 0 23px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--orange-dark); transform: translateY(-2px); }
.primary-button:disabled { background: #82949a; cursor: not-allowed; transform: none; }
.primary-button[aria-busy="true"] { background: #82949a; cursor: progress; transform: none; }
.primary-button:active, .secondary-button:active, .text-button:active { transform: translateY(1px); }
.form-actions p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.service-note-late { display: none; }
.script-note { color: var(--orange-dark); font-size: 14px; margin-top: 15px; }

.form-aside { position: sticky; top: 28px; background: var(--ink); color: white; }
.form-aside { border-top: 6px solid var(--orange); }
.aside-copy { padding: 35px 32px 32px; }
.aside-copy h2 { margin: 0 0 15px; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.15; }
.aside-copy p { color: #d4e0e4; font-size: 15px; line-height: 1.7; margin-bottom: 0; }

.summary-section { margin-top: 64px; padding: 34px; background: #e9eee9; border-top: 4px solid var(--orange); scroll-margin-top: 30px; }
.summary-section:not([hidden]) { animation: settle-in 300ms ease-out both; }
.summary-section h2 { margin-bottom: 11px; }
.summary-intro { color: #405761; font-size: 15px; line-height: 1.65; max-width: 570px; margin-bottom: 22px; }
.summary-card { background: #fffefa; border: 1px solid var(--line); }
.summary-card-heading { display: flex; align-items: center; gap: 11px; padding: 15px 19px; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .12em; }
.summary-symbol { display: grid; place-items: center; width: 25px; height: 25px; background: var(--ink); color: #f0d6c4; font-family: Georgia, serif; font-style: italic; font-size: 16px; letter-spacing: 0; }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.secondary-button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--ink); border-radius: 5pt; background: var(--ink); color: white; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.secondary-button:hover { background: #274d5e; }
.text-button { min-height: 48px; padding: 0 8px; display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 5pt; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.text-button:hover { color: var(--orange); }
.summary-actions + .summary-card { margin-top: 22px; }
#result-error { border-top-color: #8a2a1c; }
#result-error .section-kicker { color: #8a2a1c; }
.inline-link, .script-note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.inline-link:hover, .script-note a:hover { color: var(--orange); }
#success-text, #error-text { margin: 0; padding: 22px; color: #304b58; font-family: var(--body); font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@keyframes settle-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; }
  .aside-copy { padding: 27px 24px; }
}
@media (max-width: 840px) {
  .form-layout { display: block; }
  .form-aside { position: static; margin-top: 68px; }
}
@media (max-width: 980px) {
  .form-section { padding: 55px 0 78px; }
}
@media (max-width: 640px) {
  .request-hero { padding: 16px 0 26px; }
  .request-hero .breadcrumbs { margin-bottom: 26px; }
  .request-hero .eyebrow { padding: 6px 0; }
  .request-hero h1 { margin-bottom: 14px; }
  .form-section { padding-top: 32px; }
  /* Phones: ?service= shows only the label up top; the longer note moves below the fields. */
  #service-note { display: none; }
  .service-context { margin: -6px 0 16px; padding: 8px 12px; font-size: 14px; line-height: 1.4; }
  .section-heading { padding-bottom: 16px; }
  legend { margin-bottom: 16px; }
  .service-note-late:not([hidden]) { display: block; margin: -8px 0 28px; padding: 14px 16px; background: #e9eee9; border-left: 2px solid var(--orange); color: #405761; font-size: 14px; line-height: 1.6; }
}
@media (max-width: 560px) {
  .section-heading { display: block; }
  .section-heading > p { margin-top: 13px; }
  .two-columns { grid-template-columns: 1fr; }
  .preview-note { margin-top: 30px; }
  fieldset { margin-bottom: 34px; }
  .form-actions { display: block; }
  .primary-button { width: 100%; gap: 12px; padding-inline: 16px; text-align: left; }
  .form-actions p { margin-top: 12px; }
  .summary-section { padding: 25px 18px; margin-top: 52px; }
  #success-text, #error-text { padding: 17px; }
  .summary-actions { gap: 8px; }
  .summary-actions button, .summary-actions a.secondary-button { width: 100%; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .summary-section:not([hidden]) { animation: none; }
}
