/* Round 15 fix layer: forms (loaded after ror-r11-layout.css).
   Pages: /request-quote, /remote-support, /contact. (/business-it-quote has its own sheet.)
   Palette: navy / blue / white / red only; no gradient backgrounds; rectangular 3px buttons. */

/* ── Shared: required markers, optional hints, inline errors (ror-r15-forms.js) ── */
:is(#quoteForm,#remote-form,#contact-form) .req-legend{display:flex;justify-content:flex-end;gap:.25rem;margin:0 0 6px;font-size:.8rem;color:var(--text-muted)}
:is(#quoteForm,#remote-form,#contact-form) label .req{margin-left:.2rem}
:is(#quoteForm,#remote-form,#contact-form) .opt{font-weight:500;color:var(--text-subtle);font-size:.92em}
:is(#quoteForm,#remote-form,#contact-form) .field :is(input,select,textarea)[aria-invalid="true"]{border-color:var(--red-600)!important;box-shadow:0 0 0 3px var(--red-50)!important}
:is(#quoteForm,#remote-form,#contact-form) .consent:has(input[aria-invalid="true"]){color:var(--red-700)}
.field-error{display:flex;align-items:flex-start;gap:.4rem;margin:6px 0 2px;font:600 .84rem/1.35 var(--font-body);color:var(--red-700)}
.field-error::before{content:"!";flex:none;display:grid;place-items:center;width:17px;height:17px;margin-top:1px;border-radius:3px;background:var(--red-600);color:#fff;font:800 .72rem/1 var(--font-display)}
.consent + .field-error{margin:-8px 0 12px}
:is(#quoteForm,#remote-form,#contact-form) .form-note-tel{color:var(--blue-900);font-weight:800;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
:is(#quoteForm,#remote-form,#contact-form) .g-recaptcha{margin:.5rem 0 1rem;max-width:100%}

/* ── /request-quote ─────────────────────────────────────────────────────── */
.page-head--intake .intake-trust{display:flex;gap:.6rem 1.4rem;flex-wrap:wrap;margin-top:1.4rem}
.page-head--intake .intake-trust>div{display:flex;align-items:center;gap:.5rem;font-weight:600;color:var(--blue-900)}
.page-head--intake .intake-trust svg{color:var(--blue-600)}
#quoteForm .qstep{font-size:1.2rem;line-height:1.25;color:var(--blue-900);margin:1.7rem 0 .9rem;text-wrap:balance}
#quoteForm .req-legend + .qstep{margin-top:0}
#quoteForm optgroup{font-weight:700;color:var(--blue-900)}
#quoteForm .quote-context{margin:-4px 0 14px;padding:10px 12px;border:1px solid var(--line);border-left:3px solid var(--blue-600);border-radius:3px;background:var(--blue-50);font-size:.86rem;color:var(--blue-900)}
#quoteForm .lbl-business{display:none}
#quoteForm:has(input[name="path"][value="business"]:checked) .lbl-business{display:inline}
#quoteForm:has(input[name="path"][value="business"]:checked) .lbl-personal{display:none}
#quoteForm .consent{margin-top:6px}
#quoteForm .request-notices--inline{margin:0 0 16px}

/* ── /remote-support ────────────────────────────────────────────────────── */
.rs-hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:1.5rem}
.rs-form-wrap{padding:44px 0 40px;scroll-margin-top:84px}
.rs-form-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:40px;align-items:start}
.rs-form-grid > #remote-form{margin:0;max-width:none;width:auto}
.rs-form-head{margin-bottom:2px}
.rs-form-head h2{font-size:clamp(1.45rem,1.2rem + 1vw,1.9rem);line-height:1.15;color:var(--blue-900);margin:.35rem 0 .35rem}
.rs-form-head p{color:var(--text-muted);font-size:.95rem;margin:0}
#remote-form .req-legend{margin-top:4px}
#remote-form .rs-more{margin:2px 0 16px;border:1px solid var(--line);border-radius:3px;background:rgba(255,255,255,.6)}
#remote-form .rs-more > summary,#remote-form .rs-terms > summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem;font:700 .9rem/1.3 var(--font-display);color:var(--blue-900)}
#remote-form .rs-more > summary{min-height:46px;padding:0 14px}
#remote-form :is(.rs-more,.rs-terms) > summary::-webkit-details-marker{display:none}
#remote-form :is(.rs-more,.rs-terms) > summary::before{content:"+";flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:3px;background:var(--blue-900);color:#fff;font:800 .9rem/1 var(--font-display)}
#remote-form :is(.rs-more,.rs-terms)[open] > summary::before{content:"\2013"}
#remote-form .rs-more-body{padding:4px 14px 6px;border-top:1px solid var(--line)}
#remote-form .rs-terms-check{margin:4px 0 6px;font-size:.92rem;color:var(--blue-900)}
#remote-form .rs-terms-check a{color:var(--blue-700);font-weight:700;text-decoration:underline;text-underline-offset:3px}
#remote-form .rs-terms{margin:0 0 16px 30px}
#remote-form .rs-terms > summary{font-weight:600;font-size:.84rem;color:var(--blue-700);min-height:32px}
#remote-form .rs-terms > summary::before{width:16px;height:16px;font-size:.78rem}
#remote-form .rs-terms ul{margin:6px 0 0;padding:10px 14px 10px 28px;border-left:3px solid var(--blue-200);background:var(--blue-50);font-size:.84rem;line-height:1.5;color:var(--text-muted)}
#remote-form .rs-terms li + li{margin-top:5px}
#remote-form .rs-terms a{color:var(--blue-700)}
#remote-form .request-notices--inline{margin:0 0 16px}
.rs-aside{display:grid;gap:22px;position:sticky;top:104px}
.rs-aside .rs-note-card{margin:0}
.rs-aside .rs-note-card h3{margin-bottom:.6rem}
.rs-dl-section{padding:8px 0 64px}
.rs-dl-section .rs-dl{margin:0;max-width:none}
.rs-dl-section .rs-dl-btns .btn{min-width:240px}

@media (max-width:900px){
  .rs-form-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .rs-aside{position:static}
  .rs-form-wrap{padding:28px 0 28px}
}
@media (max-width:560px){
  .rs-hero-ctas .btn{flex:1 1 100%}
  .rs-dl-section .rs-dl-btns .btn{min-width:0;flex:1 1 100%}
  #remote-form .rs-terms{margin-left:0}
}

/* ── /contact (CRO-15, DESIGN-11): phone big + hours in the first screen ── */
.contact-call{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--red-600);border-radius:3px;background:var(--blue-50)}
.contact-call__tel{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;font:800 1.3rem/1.15 var(--font-display);color:var(--blue-900)!important;text-decoration:none;letter-spacing:-.01em}
.contact-call__tel svg{flex:none;color:var(--red-600)}
.contact-call__lead{display:block;font:700 .74rem/1.2 var(--font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.contact-call__tel:hover{text-decoration:underline;text-underline-offset:4px}
.contact-call__tel:focus-visible{outline:2px solid var(--blue-500);outline-offset:3px}
.contact-call__hours{margin:2px 0 0;font-size:.86rem;font-weight:600;color:var(--text-muted)}
.contact-info .ci-tel{font:800 1.25rem/1.25 var(--font-display)!important;color:var(--blue-900)!important;text-decoration:none}
.contact-info .ci-tel:hover{text-decoration:underline;text-underline-offset:4px}
#contact-form .request-notices--inline{margin:0 0 14px}

/* ── Phone width: full-width form cards and buttons (DESIGN-16) ── */
@media (max-width:480px){
  .intake-section .wrap.qform{padding-inline:12px}
  #quoteForm.qcard{padding:20px 16px}
  #quoteForm .form-row,#remote-form .form-row{grid-template-columns:minmax(0,1fr);gap:0}
  #remote-form.form-card{padding:20px 16px}
  :is(#quoteForm,#remote-form) button[type="submit"]{width:100%}
}

.nw{white-space:nowrap}

/* /request-quote: form on the content edge with a "what happens next" column (DESIGN-7) */
.qform--split{max-width:var(--maxw);display:grid;grid-template-columns:minmax(0,760px) minmax(0,1fr);gap:44px;align-items:start}
.qform--split > #quoteForm{margin:0}
.qaside{display:grid;gap:22px;position:sticky;top:104px}
.qaside .rs-steps{margin-top:8px}
.qaside .rs-note-card{margin:0}
.qaside-call h3{margin-bottom:.4rem}
.qaside-tel{display:inline-block;font:800 1.35rem/1.2 var(--font-display);color:var(--blue-900)!important;text-decoration:none}
.qaside-tel:hover{text-decoration:underline;text-underline-offset:4px}
.qaside-call p{margin:.4rem 0 0;font-size:.9rem;color:var(--text-muted)}
@media (max-width:1023px){
  .qform--split{display:block;max-width:760px}
  .qaside{display:none}
}
/* desktop: the side column already shows the number and hours beside the form */
@media (min-width:861px){.contact-call{display:none}}
