:root {
  --quote-ink: #231f20;
  --quote-honey: #f4ba43;
  --quote-honey-dark: #e8a020;
  --quote-cream: #fdf8ee;
  --quote-line: #e7dfcf;
  --quote-muted: #6f686a;
  --quote-danger: #a43b32;
  --quote-success: #267454;
}

.quote-page { background: #f0f0f0; }
.quote-shell { position: relative; isolation: isolate; }
.quote-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 430px;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(244,186,67,.24), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(244,186,67,.13), transparent 38%),
    #fdf8ee;
}
.quote-intro { max-width: 760px; margin: 0 auto 1.75rem; text-align: center; }
.quote-kicker { color: #cc8218; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.quote-lead { color: rgba(35,31,32,.66); font-size: 1rem; line-height: 1.7; }
.quote-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.25rem; margin-top: 1rem; color: rgba(35,31,32,.62); font-size: .8rem; }
.quote-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.quote-trust span::before { content: "✓"; color: #cc8218; font-weight: 800; }

.quote-card {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(35,31,32,.08);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35,31,32,.13);
}
.quote-progress-wrap { padding: 1.25rem 1.25rem 1rem; background: #231f20; color: #fff; }
.quote-progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .7rem; }
.quote-progress-label { color: #f4ba43; font-size: .78rem; font-weight: 700; }
.quote-progress-name { color: rgba(255,255,255,.62); font-size: .75rem; }
.quote-progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
.quote-progress-bar { width: 20%; height: 100%; border-radius: inherit; background: #f4ba43; transition: width .3s ease; }
.quote-steps { display: none; }

.quote-form { min-height: 530px; }
.quote-step { display: none; padding: 1.5rem 1.25rem; animation: quote-in .22s ease both; }
.quote-step.is-active { display: block; }
@keyframes quote-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.quote-step-heading { margin: 0 0 .35rem; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.65rem, 5vw, 2.25rem); line-height: 1.15; font-weight: 700; color: #231f20; }
.quote-step-copy { margin: 0 0 1.5rem; color: var(--quote-muted); font-size: .92rem; line-height: 1.6; }
.quote-section-title { margin: 1.65rem 0 .65rem; font-size: 1rem; font-weight: 700; color: #231f20; }
.quote-field { margin-top: 1.15rem; }
.quote-field > label, .quote-label { display: block; margin-bottom: .5rem; color: #231f20; font-size: .875rem; font-weight: 650; }
.quote-required { color: #cc8218; }
.quote-help { margin-top: .4rem; color: var(--quote-muted); font-size: .76rem; line-height: 1.5; }
.quote-input, .quote-select, .quote-textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(35,31,32,.22);
  border-radius: .8rem;
  background: #fff;
  padding: .78rem .9rem;
  color: #231f20;
  font: inherit;
  font-size: 1rem;
  transition: border-color .18s, box-shadow .18s;
}
.quote-textarea { min-height: 112px; resize: vertical; }
.quote-input:focus, .quote-select:focus, .quote-textarea:focus { outline: 0; border-color: #e8a020; box-shadow: 0 0 0 3px rgba(244,186,67,.2); }
.quote-field-row { display: grid; gap: 1rem; }
.quote-number-wrap { display: grid; grid-template-columns: 48px minmax(72px, 110px) 48px; gap: .45rem; align-items: center; }
.quote-number-wrap .quote-input { text-align: center; font-weight: 700; }
.quote-number-button { min-height: 48px; border: 1px solid rgba(35,31,32,.16); border-radius: .75rem; background: #fdf8ee; color: #231f20; font-size: 1.35rem; font-weight: 700; }
.quote-number-button:hover { background: #faefd0; }

.quote-options { display: grid; gap: .7rem; }
.quote-options.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-option { position: relative; display: block; }
.quote-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quote-option-card {
  display: flex;
  min-height: 58px;
  height: 100%;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(35,31,32,.16);
  border-radius: .85rem;
  padding: .75rem .8rem;
  color: #231f20;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.quote-option-card:hover { border-color: rgba(232,160,32,.75); transform: translateY(-1px); }
.quote-option input:checked + .quote-option-card { border-color: #e8a020; background: #fdf8ee; box-shadow: 0 0 0 2px rgba(244,186,67,.25); }
.quote-option input:focus-visible + .quote-option-card { outline: 2px solid #231f20; outline-offset: 2px; }
.quote-option-title { display: block; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.quote-option-copy { display: block; margin-top: .18rem; color: var(--quote-muted); font-size: .71rem; line-height: 1.35; }
.quote-check { display: none; margin-left: auto; color: #cc8218; font-weight: 800; }
.quote-option input:checked + .quote-option-card .quote-check { display: block; }

.quote-service-grid { display: grid; gap: .8rem; }
.quote-service-card { min-height: 105px; padding: 1rem; align-items: flex-start; }
.quote-service-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: .7rem; background: #f4ba43; }
.quote-service-icon svg { width: 23px; height: 23px; }
.quote-door-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.quote-door-card { display: block; padding: .55rem; }
.quote-door-visual { display: grid; height: 92px; margin-bottom: .55rem; place-items: center; border-radius: .55rem; background: linear-gradient(145deg,#f7f3ec,#ede7dd); overflow: hidden; }
.quote-door-visual svg { width: 64px; height: 78px; color: #6e6668; }

.quote-notice { margin-top: .9rem; border-left: 4px solid #f4ba43; border-radius: .6rem; background: #fdf8ee; padding: .8rem .9rem; color: #635519; font-size: .8rem; line-height: 1.55; }
.quote-notice[hidden] { display: none; }
.quote-error-summary { margin-bottom: 1rem; border-left: 4px solid var(--quote-danger); border-radius: .6rem; background: #fff3f1; padding: .8rem .9rem; color: #7e2b25; font-size: .84rem; line-height: 1.5; }
.quote-error-summary[hidden] { display: none; }
.quote-field-error { margin-top: .35rem; color: var(--quote-danger); font-size: .78rem; }
[aria-invalid="true"] { border-color: var(--quote-danger) !important; }

.quote-upload {
  display: block;
  border: 2px dashed rgba(35,31,32,.24);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  background: #faf9f6;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.quote-upload:hover, .quote-upload:focus-within { border-color: #e8a020; background: #fdf8ee; }
.quote-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quote-upload-icon { width: 44px; height: 44px; margin: 0 auto .7rem; color: #cc8218; }
.quote-upload strong { display: block; font-size: .95rem; }
.quote-upload span { display: block; margin-top: .25rem; color: var(--quote-muted); font-size: .76rem; }
.quote-photo-list { display: grid; gap: .6rem; margin-top: 1rem; }
.quote-photo-item { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--quote-line); border-radius: .75rem; padding: .55rem .7rem; font-size: .8rem; }
.quote-photo-item img { width: 48px; height: 48px; border-radius: .45rem; object-fit: cover; }
.quote-photo-item span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-photo-remove { min-width: 40px; min-height: 40px; border: 0; border-radius: .55rem; background: #f4f1eb; color: #5f5759; font-weight: 700; }
.quote-privacy { display: flex; gap: .65rem; margin-top: 1rem; color: var(--quote-muted); font-size: .76rem; line-height: 1.5; }
.quote-privacy input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .1rem; accent-color: #e8a020; }
.quote-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.quote-actions { display: flex; flex-direction: column-reverse; gap: .65rem; padding: 0 1.25rem 1.5rem; }
.quote-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; padding: .8rem 1.25rem; font-size: .92rem; font-weight: 700; transition: transform .18s, background .18s, box-shadow .18s; }
.quote-button:hover { transform: translateY(-1px); }
.quote-button-primary { border: 0; background: #f4ba43; color: #231f20; box-shadow: 0 8px 24px rgba(244,186,67,.24); }
.quote-button-primary:hover { background: #e8a020; }
.quote-button-primary:disabled { cursor: wait; opacity: .65; transform: none; }
.quote-button-secondary { border: 1px solid rgba(35,31,32,.18); background: #fff; color: #514a4c; }
.quote-button[hidden] { display: none; }
.quote-submit-status { margin: 0 1.25rem 1rem; color: var(--quote-muted); text-align: center; font-size: .78rem; }
.quote-submit-status[hidden] { display: none; }

.quote-result { text-align: center; }
.quote-result-mark { display: grid; width: 58px; height: 58px; margin: 0 auto 1rem; place-items: center; border-radius: 50%; background: #f4ba43; color: #231f20; font-size: 1.7rem; font-weight: 800; }
.quote-result-range { margin: 1rem 0; font-family: 'Playfair Display', Georgia, serif; color: #231f20; font-size: clamp(2.15rem, 9vw, 3.7rem); line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.quote-result-vat { margin: -.45rem 0 1.25rem; color: #cc8218; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.quote-result-copy { max-width: 640px; margin: 0 auto; color: var(--quote-muted); font-size: .92rem; line-height: 1.7; }
.quote-result-panel { margin: 1.4rem auto 0; max-width: 650px; border-radius: 1rem; background: #fdf8ee; padding: 1rem; text-align: left; color: #635519; font-size: .82rem; line-height: 1.55; }
.quote-result-ctas { display: grid; gap: .65rem; margin: 1.5rem auto 0; max-width: 650px; }
.quote-result-ctas a { text-decoration: none; }
.quote-email-note { margin-top: .9rem; color: var(--quote-muted); font-size: .76rem; }

.quote-support { max-width: 920px; margin: 2.5rem auto 0; }
.quote-support-grid { display: grid; gap: 1rem; }
.quote-support-card { border-radius: 1rem; background: #fff; padding: 1.25rem; }
.quote-support-card h2, .quote-support-card h3 { margin: 0 0 .5rem; font-family: 'Playfair Display', Georgia, serif; color: #231f20; font-size: 1.2rem; font-weight: 700; }
.quote-support-card p { margin: 0; color: var(--quote-muted); font-size: .84rem; line-height: 1.65; }
.quote-noscript { max-width: 760px; margin: 1rem auto; border-radius: .8rem; background: #fff3f1; padding: 1rem; color: #7e2b25; text-align: center; }

@media (min-width: 640px) {
  .quote-progress-wrap { padding: 1.35rem 2rem 1.1rem; }
  .quote-step { padding: 2rem; }
  .quote-actions { flex-direction: row; justify-content: space-between; padding: 0 2rem 2rem; }
  .quote-button { min-width: 150px; }
  .quote-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-door-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quote-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-result-ctas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .quote-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin-top: .8rem; color: rgba(255,255,255,.45); font-size: .65rem; }
  .quote-steps span { position: relative; padding-top: .45rem; text-align: center; }
  .quote-steps span.is-current { color: #fff; font-weight: 700; }
  .quote-steps span.is-complete { color: #f4ba43; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-step, .quote-progress-bar, .quote-option-card, .quote-button { animation: none; transition: none; }
}
