.quote-page { background: #f5f6f6; color: #111820; }
.q-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(2.2rem, 6.4vw, 7rem); align-items: start; padding-block: clamp(3rem, 6.5vw, 6.75rem); }
.q-intro { padding-top: .25rem; }
.q-back { display: inline-block; margin-bottom: clamp(1.6rem, 3.5vw, 3.5rem); color: #455766; font-size: .9375rem; text-underline-offset: 4px; }
.q-intro h1 { margin: 0 0 1.4rem; font-size: clamp(3.3rem, 6.8vw, 6.5rem); line-height: .97; letter-spacing: -.075em; font-weight: 590; max-width: 7.3em; }
.q-intro h1 span { color: #1558c5; }
.q-lead { color: #40505c; margin: 0; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 31rem; }
.q-contact { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid #cbd2d5; padding-top: 1.3rem; max-width: 29rem; }
.q-contact h2 { font-size: 1rem; font-weight: 650; margin: 0 0 .55rem; letter-spacing: -.02em; }
.q-contact a, .q-card noscript a { color: #1558c5; text-decoration: underline; text-underline-offset: 3px; }
.q-contact p { color: #52616b; font-size: 1rem; line-height: 1.5; margin: .8rem 0 0; max-width: 27rem; }
.q-card { padding: clamp(1.4rem, 3.7vw, 3.45rem); background: white; border: 1px solid #d9dee1; box-sizing: border-box; min-width: 0; }
.q-card [hidden] { display: none !important; }
.q-card fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.q-card legend { margin-bottom: 1.2rem; padding: 0; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.045em; }
.q-card fieldset + fieldset { border-top: 1px solid #d7dcdf; padding-top: 1.6rem; position: relative; }
.q-card fieldset + fieldset legend { float: left; width: 100%; }
.q-card fieldset + fieldset .q-fields { clear: both; }
.q-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.05rem 1rem; }
.q-wide { grid-column: 1 / -1; }
.q-card label { color: #27343e; font-weight: 560; font-size: .9375rem; line-height: 1.45; }
.q-card label small { font-size: .875rem; font-weight: 450; color: #5c6974; }
.q-card input, .q-card select, .q-card textarea { width: 100%; min-width: 0; padding: .72rem .8rem; border: 1px solid #99a5ad; border-radius: .2rem; font: 400 1rem/1.35 Inter, Arial, sans-serif; color: #15222d; background-color: white; margin-top: .42rem; display: block; box-sizing: border-box; min-height: 2.95rem; }
.q-card select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg,transparent 50%,#43505c 50%),linear-gradient(135deg,#43505c 50%,transparent 50%); background-position: calc(100% - 16px) 50%,calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.q-card textarea { resize: vertical; }
.q-card input::placeholder, .q-card textarea::placeholder { color: #65737e; opacity: 1; }
.q-note, .q-status { font-size: .9375rem; line-height: 1.5; color: #465662; }
.q-note { margin: 1.2rem 0 .9rem; }
.q-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.q-card button { min-height: 2.85rem; padding: .68rem 1.12rem; border-radius: .2rem; font: 600 .95rem/1.35 Inter, Arial, sans-serif; cursor: pointer; }
.q-primary { background: #1558c5; color: white; border: 1px solid #1558c5; }
.q-primary:hover { background: #10479f; }
.q-secondary { color: #233645; border: 1px solid #9aa7ae; background: white; }
.q-secondary:hover { background: #edf2f5; }
.q-status { margin: .9rem 0 0; }
.q-status:empty { margin: 0; }
.q-manual { margin-top: 1rem; }
.q-manual button { margin-top: .6rem; }
.q-card :focus-visible, .q-intro :focus-visible, .q-skip:focus-visible { outline: 3px solid #1558c5; outline-offset: 3px; }
.q-skip { position: absolute; left: .5rem; top: .5rem; z-index: 20; transform: translateY(-200%); padding: .7rem; color: #111820; background: #fff; }
.q-skip:focus { transform: none; }
@media (max-width: 850px) {
  .q-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .q-intro h1 { max-width: none; }
  .q-contact { margin-top: 1.35rem; }
}
@media (max-width: 540px) {
  .q-layout { padding-block: 2rem; }
  .q-back { margin-bottom: 1.2rem; }
  .q-card { padding: 1.15rem; }
  .q-fields { grid-template-columns: minmax(0, 1fr); }
  .q-intro h1 { font-size: clamp(2.65rem, 11.7vw, 4rem); }
}
