html:has(.gq-section #quote-form:target) { scroll-behavior: auto; }
.section.gq-section {
  --gq-ink: #172d3e;
  --gq-muted: #526473;
  --gq-line: #dce4e8;
  --gq-paper: #f6f8f9;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4.5vw, 68px) clamp(14px, 4vw, 56px);
  background: #edf2f4;
  color: var(--gq-ink);
}
.gq-layout {
  display: grid;
  grid-template-columns: minmax(235px, .65fr) minmax(0, 1.35fr);
  grid-template-areas: 'visual quote';
  gap: clamp(16px, 2.8vw, 36px);
  max-width: 1180px;
  margin-inline: auto;
  align-items: start;
}
.gq-section #quote-form {
  grid-area: quote;
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--gq-line);
  border-radius: 22px;
  background: #fff;
  color: var(--gq-ink);
  box-shadow: 0 12px 36px #1531480a;
  scroll-margin-top: 22px;
}
.gq-section .gq-title h2 {
  margin: 5px 0 8px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.028em;
  text-transform: none;
}
.gq-title p, .gq-section .gq-help { margin: 0; color: var(--gq-muted); }
.gq-section .gq-eyebrow {
  margin: 0;
  color: #2d5470;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.gq-section #quote-form .gq-block {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--gq-line);
  border-radius: 15px;
  background: #fff;
}
.gq-section .gq-block legend { padding: 0 5px 0 0; font-size: 17px; font-weight: 700; }
.gq-section .gq-block legend span {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-right: 8px;
  border-radius: 50%;
  background: #eaf1f5;
  color: #2d5470;
  font-size: 11px;
  vertical-align: middle;
}
.gq-section .gq-help { font-size: 13px; line-height: 1.55; }
.gq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.gq-section #quote-form .gq-block label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: var(--gq-ink);
  font-size: 13px;
  font-weight: 650;
}
.gq-section #quote-form .gq-block :is(input:not([type='file']), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #cbd7de;
  border-radius: 8px;
  background: #fff;
  color: var(--gq-ink);
  font-size: 15px;
  font-weight: 400;
}
.gq-section #quote-form .gq-block textarea { min-height: 85px; resize: vertical; }
.gq-section #quote-form :is(button, input, select, textarea, a):focus-visible {
  outline: 2px solid #25668d;
  outline-offset: 3px;
}
.gq-process .gq-help { margin-bottom: 7px; font-weight: 650; }
.gq-process .gq-help span { font-weight: 400; }
.gq-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.gq-section #quote-form .gq-process-grid button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  padding: 7px;
  border: 1px solid var(--gq-line);
  border-radius: 9px;
  background: var(--gq-paper);
  color: var(--gq-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.gq-section #quote-form .gq-process-grid button[aria-pressed='true'] {
  border-color: #356985;
  background: #e8f1f6;
  box-shadow: inset 0 0 0 1px #356985;
}
.gq-process-grid :is(strong, small) { display: block; line-height: 1.2; }
.gq-process-grid strong { font-size: 13px; }
.gq-process-grid small { margin-top: 3px; color: var(--gq-muted); font-size: 11px; }
.gq-swatch {
  flex: 0 0 32px;
  height: 32px;
  border: 2px solid #d4b36f;
  border-radius: 50%;
  background-color: #20435a;
}
.gq-swatch-soft {
  background: repeating-linear-gradient(142deg, #203d54 0 6px, #e5c381 7px 8px, #214d56 9px 12px);
  box-shadow: inset 0 0 0 2px #8f6d36;
}
.gq-swatch-hard { background: linear-gradient(142deg, #1d455f 40%, #dcb971 42% 48%, #36816d 50%); }
.gq-swatch-printed { background: radial-gradient(circle at 65% 35%, #e6cf82 0 14%, transparent 16%), linear-gradient(145deg, #2b6183 32%, #377966 52%, #183f59 70%); }
.gq-swatch-help { background: #eff4f6; border-color: #b8ccd7; color: #28516a; text-align: center; }
.gq-swatch-help::after { content: '?'; font: 700 17px/28px system-ui, sans-serif; }
.gq-presets { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.gq-presets[hidden], .gq-brief[hidden] { display: none; }
.gq-presets span { margin-right: 3px; color: var(--gq-muted); font-size: 12px; }
.gq-section #quote-form .gq-presets button {
  min-width: 43px;
  min-height: 37px;
  padding: 5px 10px;
  border: 1px solid #cbd7de;
  border-radius: 99px;
  background: #fff;
  color: var(--gq-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.gq-section #quote-form .gq-presets button[aria-pressed='true'] {
  border-color: #234e69;
  background: #234e69;
  color: #fff;
}
.gq-upload { padding: 12px; border: 1px dashed #bdced8; border-radius: 10px; background: var(--gq-paper); }
.gq-upload .english-file-control { flex-wrap: wrap; }
.gq-upload .english-file-name { min-width: 0; overflow-wrap: anywhere; }
.gq-brief { padding: 14px 16px; border-radius: 12px; background: var(--gq-paper); }
.gq-section .gq-brief h3 { margin: 0 0 10px; font-size: 15px; }
.gq-brief dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.gq-brief dt { color: var(--gq-muted); font-size: 12px; }
.gq-brief dd { margin: 2px 0 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
html[data-gq-form-visible] .pqc-launch { display: none !important; }
.gq-actions .mc-quote-actions { margin-top: 10px; }
.gq-actions .fine { margin: 12px 0 0; color: var(--gq-muted); }
.gq-visual { grid-area: visual; min-width: 0; }
.gq-section .gq-visual figure {
  position: relative;
  display: grid;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #1b3244;
}
.gq-section .gq-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.gq-visual figcaption {
  position: absolute;
  inset: auto auto 12px 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #182b3e;
  color: #fff;
  font-size: 11px;
}
.gq-next { margin-top: 12px; padding: 17px; border: 1px solid var(--gq-line); border-radius: 15px; background: #fff; }
.gq-next ol { display: grid; gap: 8px; margin: 11px 0 0; padding-left: 22px; color: var(--gq-muted); font-size: 13px; }
.gq-next li strong { color: var(--gq-ink); }
@media (max-width: 770px) {
  .gq-section #quote-form { scroll-margin-top: 66px; }
  .gq-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'quote' 'visual'; }
  .gq-section .gq-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
  .gq-next { margin: 0; }
}
@media (max-width: 470px) {
  .gq-section #quote-form { gap: 17px; }
  .gq-section #quote-form .gq-block { padding-inline: 11px; }
  .gq-fields, .gq-section .gq-visual { grid-template-columns: minmax(0, 1fr); }
  .gq-section #quote-form .gq-block :is(input:not([type='file']), select, textarea) { font-size: 16px; }
}
@media (max-width: 370px) {
  .gq-swatch { flex-basis: 24px; height: 24px; }
  .gq-swatch-help::after { font-size: 13px; line-height: 20px; }
}
