.feedback-elf {
  --ink: #1b3b26;
  --muted: #435c48;
  --line: #c9d8c8;
  --accent: #285e3a;
  --surface: #eff5eb;
}
.feedback-elf .elf-hero { background: #e9f2e4; }
.feedback-elf .elf-catalog { background: #23543a; }
.feedback-elf .button:hover { background: #1d4c2d; }
.feedback-elf .button.secondary:hover { background: var(--surface); color: var(--ink); border-color: var(--accent); }
.feedback-gentle .wordmark, .feedback-elf .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.brand-mark { width: 64px; height: 48px; object-fit: contain; flex: none; }
.site-footer .brand-mark { width: 52px; height: 39px; }

.contact-actions { align-items: center; gap: 20px; }
.feedback-gentle .contact-actions { justify-content: flex-start; }
.phone-link { display: grid; gap: 2px; width: fit-content; text-decoration: none; }
.phone-link span { color: var(--muted); font-size: .86rem; }
.phone-link strong { font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -.02em; }
.phone-link:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.hero-browse { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; }
.service-standards { padding-block: 42px; border-top: 1px solid var(--line); }
.service-standards h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: 24px; }
.service-standards dl { margin: 0; }
.service-standards dl > div {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr);
  gap: 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.service-standards dt { font-weight: 750; }
.service-standards dd { margin: 0; color: var(--muted); }

.quick-contact-shell {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  z-index: 55;
}
.quick-contact-shell > summary { display: none; }
.quick-contact { background: #fff; box-shadow: 0 6px 24px rgb(0 0 0 / 12%); }
.feedback-elf .quick-contact { border-radius: 14px; overflow: hidden; }
.quick-contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 68px;
  padding: 12px 6px;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.quick-contact a + a { border-top: 1px solid var(--line); }
.quick-contact .quick-quote { color: #fff; background: var(--accent); }
.quick-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.quick-contact a:focus-visible { outline-offset: -4px; }
.quick-contact .quick-quote:focus-visible { outline-color: #d1e3ff; }

.quote-view { padding-bottom: 110px; }
.quote-view input, .quote-view select, .quote-view textarea { scroll-margin-block: 115px; }
.quote-view .form-dock {
  --dock-width: min(600px, var(--quote-dock-width, 100%), calc(100% - 28px));
  --dock-edge: calc(var(--dock-width) / 2 + 14px);
  position: fixed;
  z-index: 60;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: clamp(var(--dock-edge), var(--quote-dock-center-x, 50%), calc(100% - var(--dock-edge)));
  transform: translateX(-50%);
  width: var(--dock-width);
  padding: 10px;
  background: #fff;
  box-shadow: 0 6px 26px rgb(0 0 0 / 15%);
}
.quote-view .form-actions { margin: 0; gap: 10px; }
.quote-view .form-actions .button { flex: 1; justify-content: center; min-height: 50px; min-width: 0; }
.quote-view .form-dock .form-error { margin: 0 0 10px; font-size: .9rem; line-height: 1.5; }
.feedback-elf.quote-view .form-dock { border-radius: 16px; }
.feedback-elf.quote-view .form-actions .button { border-radius: 12px; }
.feedback-elf.quote-view .field-grid input:not([type="checkbox"]),
.feedback-elf.quote-view .field-grid select,
.feedback-elf.quote-view .field-grid textarea { border-radius: 12px; }

.quote-image-note {
  font-size: .87rem;
  color: var(--muted);
}
.quote-view .form-step > .quote-selection-help { margin-bottom: 4px; }
.quote-view .form-step > .quote-image-note { margin-top: 0; }
.quote-view .quote-choice { min-width: 0; }
.quote-choice .choice-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.quote-choice:focus-within { outline: 2px solid #416eac; outline-offset: 2px; }

.feedback-gentle.quote-view .quote-intro {
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}
.feedback-gentle.quote-view .quote-intro h1 { letter-spacing: -.038em; }
.feedback-gentle.quote-view .step-indicator { background: #fff; }
.feedback-gentle.quote-view .quote-summary {
  padding-inline: 0;
  background: #fff;
  border-block-start: 2px solid var(--ink);
  border-block-end: 1px solid var(--line);
}
.feedback-gentle .quote-options { gap: 7px 15px; }
.feedback-gentle .quote-choice {
  display: grid;
  grid-template-columns: minmax(60px, .43fr) minmax(0, .57fr);
  padding: 5px;
  gap: 10px;
  background: #fff;
}
.feedback-gentle .quote-choice img {
  width: 100%;
  height: 65px;
  object-fit: cover;
}
.feedback-gentle .quote-choice .choice-caption {
  flex-direction: row-reverse;
  justify-content: space-between;
  padding-right: 6px;
}
.feedback-gentle .quote-choice:has(input:checked) {
  background: var(--surface);
  border-color: var(--ink);
}

.feedback-elf.quote-view .quote-intro {
  border-radius: 20px;
  background: #e9f2e4;
  padding: clamp(18px, 3.5vw, 36px);
  margin-bottom: 24px;
}
.feedback-elf.quote-view .quote-intro h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.feedback-elf.quote-view .quote-main, .feedback-elf .quote-summary { border-radius: 20px; }
.feedback-elf.quote-view .step-indicator { border-radius: 19px 19px 0 0; }
.feedback-elf .quote-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feedback-elf .quote-choice {
  display: block;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.feedback-elf .quote-choice img { height: auto; aspect-ratio: 16 / 10; }
.feedback-elf .quote-choice .choice-caption { min-height: 50px; padding: 8px 10px; }
.feedback-elf .quote-choice:has(input:checked) { background: #e6f0e1; border-color: var(--accent); }


@media (max-width: 950px) {
  .feedback-elf .quote-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1439px) {
  body:not(.quote-view) .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .site-footer a { scroll-margin-bottom: 96px; }
  .quick-contact-shell { top: auto; bottom: 22px; width: auto; transform: none; }
  .quote-view .quick-contact-shell { bottom: calc(152px + env(safe-area-inset-bottom)); }
  .quick-contact-shell > summary {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 4px 18px rgb(0 0 0 / 12%);
  }
  .feedback-elf .quick-contact-shell > summary { border-radius: 24px; }
  .quick-contact-shell > summary:focus-visible { outline-offset: 4px; }
  .quick-contact { position: absolute; right: 0; bottom: 58px; width: 112px; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .quote-view .quick-contact { max-height: max(80px, calc(100dvh - 230px)); }
}
@media (max-width: 680px) {
  .quote-view .form-dock { left: 50%; width: calc(100% - 28px); }
  .brand-mark { width: 49px; height: 37px; }
  .site-footer .brand-mark { width: 44px; height: 33px; }
  .contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; max-width: 420px; }
  .feedback-elf .contact-actions { margin-inline: auto; }
  .contact-actions .button { width: 100%; padding-inline: 12px; font-size: .94rem; }
  .contact-actions .phone-link strong { font-size: 1.3rem; }
  .contact-actions .button { min-height: 50px; }
  .service-standards { padding-block: 32px; }
  .service-standards dl > div { grid-template-columns: 1fr; gap: 6px; padding-block: 18px; }
  .feedback-gentle .quote-options { grid-template-columns: minmax(0, 1fr); }
  .feedback-gentle .quote-choice { grid-template-columns: 88px minmax(0, 1fr); }
  .feedback-gentle .quote-choice img { height: 53px; }
  .feedback-elf .quote-options { gap: 7px; }
  .feedback-elf .quote-choice .choice-caption { padding: 7px 8px; gap: 6px; }
}
@media (max-width: 365px) {
  .contact-actions { grid-template-columns: 1fr; gap: 12px; }
  .contact-actions .phone-link { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
}
