/* ============================================================
   Terra-Spray Build & Price — visual system
   Palette: Terra red #c8102e · Ink #0e0f10 · Bone #f5f2ea · Sun #ffb400
   Type:    Bebas Neue (display) + Inter (UI/body)
   ============================================================ */

:root{
  --red: #c8102e;
  --red-dark: #a30d24;
  --ink: #0e0f10;
  --ink-2: #1c1e21;
  --ink-3: #3a3d42;
  --slate: #6b7079;
  --bone: #f5f2ea;
  --bone-2: #ecebe4;
  --line: #dcdad2;
  --sun: #ffb400;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(14,15,16,.06), 0 4px 12px rgba(14,15,16,.06);
  --shadow-2: 0 10px 30px rgba(14,15,16,.14);

  --wrap: 1240px;
  --wrap-narrow: 1080px;

  --f-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14,15,16,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--white);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand-cluster {
  display: flex; align-items: center; gap: 16px;
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-family: var(--f-display); font-size: 28px; letter-spacing: .06em; line-height: 1; }
.brand-name--accent { color: var(--red); margin-left: .15em; }

.brand-divider {
  width: 1px; height: 34px;
  background: rgba(255,255,255,.18);
  flex: 0 0 auto;
}

.brand--dealer {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  background: var(--white);
  border-radius: 10px;
  transition: transform .2s ease;
}
.brand--dealer:hover { transform: translateY(-1px); }
.dealer-logo {
  height: 32px; width: auto; display: block;
}
.dealer-badge {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: #7f1621;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(127,22,33,.08);
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 720px){
  .brand-divider, .dealer-badge { display: none; }
  .brand--dealer { padding: 4px 8px; background: rgba(255,255,255,.95); }
  .dealer-logo { height: 26px; }
  .brand-text { font-size: 22px; }
}
@media (max-width: 480px){
  .brand--dealer { display: none; }
}

/* ============ TAGLINE MARQUEE ============ */
.marquee {
  background: linear-gradient(90deg, #476832 0%, #365224 100%);
  border-top: 2px solid var(--sun);
  border-bottom: 2px solid var(--sun);
  box-shadow:
    inset 0 1px 0 rgba(0,0,0,.35),
    inset 0 -1px 0 rgba(0,0,0,.35);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(71,104,50,1), rgba(71,104,50,0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(54,82,36,1), rgba(54,82,36,0));
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 10px 0;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 20px;
  font-size: 14px; letter-spacing: .01em;
  color: rgba(255,255,255,.95);
  white-space: nowrap;
}
.marquee-item strong {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--sun);
  text-transform: uppercase;
  font-weight: 400;
}
.marquee-dot {
  color: var(--sun);
  font-size: 14px;
  opacity: .9;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track { animation: none; }
}

.site-nav { display: flex; gap: 28px; }
.site-nav a { color: rgba(255,255,255,.78); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.site-nav a:hover { color: var(--white); text-decoration: none; }
@media (max-width: 820px){ .site-nav { display: none; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 15px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0a0b0c 0%, #16181b 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("assets/img/hero-bg.webp") center/cover no-repeat;
  opacity: .35;
  filter: saturate(85%) contrast(102%);
}
.hero-bg::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,12,.45) 0%, rgba(10,11,12,.85) 100%);
}
.hero-inner { padding: 96px 24px 88px; max-width: var(--wrap-narrow); position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
}
.eyebrow--light { color: var(--sun); }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 24px;
}
.hero-title--accent { color: var(--red); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 700px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--f-display); font-size: 40px; line-height: 1;
  letter-spacing: .02em; color: var(--white);
}
.stat-lbl {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 6px;
}
@media (max-width: 640px){
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--tan { background: var(--bone-2); }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1; letter-spacing: .01em;
  margin: 0 0 18px;
}
.section-title--light { color: var(--white); }
.section-sub { max-width: 720px; color: var(--slate); font-size: 17px; margin: 0 0 48px; }
.section-sub--light { color: rgba(255,255,255,.7); }

/* ============ LINEUP GRID ============ */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.lineup-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.lineup-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.lineup-card-img {
  aspect-ratio: 4 / 3;
  background: var(--bone);
  overflow: hidden;
  position: relative;
}
.lineup-card-img img { width: 100%; height: 100%; object-fit: cover; }
.lineup-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--white);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; font-weight: 700;
}
.lineup-card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lineup-card-model {
  font-family: var(--f-display);
  font-size: 28px; letter-spacing: .04em; line-height: 1; color: var(--ink);
}
.lineup-card-tag { font-size: 13px; color: var(--slate); margin-bottom: 12px; }
.lineup-card-price {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.lineup-card-price-num {
  font-family: var(--f-display); font-size: 26px; color: var(--red); letter-spacing: .02em;
}
.lineup-card-price-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }

/* ============ CONFIGURATOR ============ */
.cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .95fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px){
  .cfg-layout { grid-template-columns: 1fr; }
}

/* --- visual side --- */
.cfg-visual { display: flex; flex-direction: column; gap: 20px; }
.cfg-image-wrap {
  position: relative;
  background: linear-gradient(160deg, #f5f2ea 0%, #dedbcf 100%);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-2);
}
.cfg-image-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 20px;
  transition: opacity .35s ease, transform .35s ease;
}
.cfg-image-wrap img.is-swapping { opacity: 0; transform: scale(.98); }
.cfg-image-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white);
  font-family: var(--f-display); letter-spacing: .06em;
  font-size: 20px; padding: 6px 14px; border-radius: 4px;
}

.cfg-spec-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.cfg-spec-card h3 {
  font-family: var(--f-display);
  font-size: 30px; letter-spacing: .03em; line-height: 1.05;
  margin: 0 0 10px;
}
.cfg-desc { color: var(--ink-3); font-size: 15px; margin: 0 0 20px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid var(--line);
}
.spec-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.spec-row:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.spec-row:nth-child(even) { padding-left: 16px; }
.spec-lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.spec-val { font-size: 14px; color: var(--ink); font-weight: 500; }
@media (max-width: 520px){
  .spec-grid { grid-template-columns: 1fr; }
  .spec-row:nth-child(odd) { padding-right: 0; border-right: none; }
  .spec-row:nth-child(even) { padding-left: 0; }
}

/* --- controls side --- */
.cfg-controls {
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 88px;
}
@media (max-width: 960px){ .cfg-controls { position: static; } }

.cfg-step { display: flex; flex-direction: column; gap: 10px; }
.cfg-step-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); font-weight: 700;
}
.cfg-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 800;
}
.cfg-step-hint { font-size: 12px; color: rgba(255,255,255,.55); margin: 0; }

.cfg-select {
  width: 100%;
  background: #262a2f;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px; font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.cfg-select:focus { outline: 2px solid var(--red); outline-offset: 2px; }

/* options as toggleable rows */
.options-list { display: flex; flex-direction: column; gap: 8px; }
.opt-row {
  background: #262a2f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.opt-row:hover { border-color: rgba(255,255,255,.24); }
.opt-row.is-selected { border-color: var(--red); background: rgba(200,16,46,.10); }
.opt-check {
  flex: 0 0 20px;
  width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.4);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
  transition: background .15s ease, border-color .15s ease;
}
.opt-row.is-selected .opt-check {
  background: var(--red); border-color: var(--red);
}
.opt-check svg { opacity: 0; transition: opacity .15s ease; }
.opt-row.is-selected .opt-check svg { opacity: 1; }
.opt-body { flex: 1; min-width: 0; }
.opt-name { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.35; }
.opt-short { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.opt-price {
  font-size: 13px; font-weight: 700; color: var(--white);
  white-space: nowrap;
  margin-left: 12px;
}
.opt-price small { display: block; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; text-align: right; }
.opt-row-empty {
  padding: 14px; text-align: center;
  color: rgba(255,255,255,.55); font-size: 13px;
  background: rgba(255,255,255,.03); border-radius: var(--radius-sm);
}

/* totals */
.total-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.total-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  font-size: 14px; color: rgba(255,255,255,.7);
}
.total-line--grand {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 6px; padding-top: 12px;
  font-size: 16px; color: var(--white); font-weight: 700;
}
.total-line--grand span:last-child {
  font-family: var(--f-display);
  font-size: 34px; letter-spacing: .02em; color: var(--sun); line-height: 1;
}
.total-note { font-size: 11px; color: rgba(255,255,255,.5); margin: 10px 0 0; line-height: 1.5; }

.cfg-actions { display: flex; flex-direction: column; gap: 10px; }

/* ============ OPTIONS EXPLAINER ============ */
.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.opt-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 8px;
}
.opt-card-code {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.opt-card-name { font-weight: 700; font-size: 16px; margin: 0; line-height: 1.3; }
.opt-card-desc { font-size: 14px; color: var(--ink-3); margin: 4px 0 auto; }
.opt-card-price {
  padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.opt-card-price-num { font-family: var(--f-display); font-size: 24px; color: var(--ink); letter-spacing: .02em; }
.opt-card-price-lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }

/* ============ DEALER ============ */
.dealer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px){
  .dealer-inner { grid-template-columns: 1fr; }
}
.dealer-list { list-style: none; padding: 0; margin: 0 0 28px; }
.dealer-list li {
  padding: 10px 0; padding-left: 26px; position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.dealer-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 14px; height: 2px; background: var(--red);
}
.dealer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-2);
}
.dealer-card hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.dealer-card-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin: 0 0 6px;
}
.dealer-card-name {
  font-family: var(--f-display); font-size: 30px; letter-spacing: .03em;
  margin: 0 0 8px; line-height: 1;
}
.dealer-card-line { margin: 4px 0; font-size: 14px; color: var(--ink-3); }

/* ============ ALSO SERVING (locations strip) ============ */
.locations-wrap { margin-top: 56px; }
.locations {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.locations-label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin: 0 0 20px;
  text-align: center;
}
.locations-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px){
  .locations-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .locations-list { grid-template-columns: 1fr; }
}
.loc {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 20px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.loc:hover { transform: translateY(-2px); border-color: var(--red); }
.loc-city {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
}
.loc-state {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.loc--soon {
  background: var(--ink);
  border-color: var(--ink);
  position: relative;
}
.loc--soon .loc-city { color: var(--white); }
.loc--soon .loc-state {
  color: var(--sun);
  font-weight: 700;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 40px 0 32px;
}
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-fine { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.55); margin: 0; max-width: 800px; }

/* ============ MODAL ============ */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,11,12,.72);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px; width: 100%;
  max-height: 92vh; display: flex; flex-direction: column;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: none;
  font-size: 26px; line-height: 1; color: var(--ink-3);
  z-index: 2;
}
.modal-close:hover { background: var(--bone); color: var(--ink); }
.modal-scroll { overflow: auto; padding: 40px 44px 24px; }
.modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 18px 24px; border-top: 1px solid var(--line);
  background: var(--bone-2);
}
.modal-actions .btn { flex: 1 1 180px; }

/* ============ QUOTE DOC (in modal & print) ============ */
.quote-doc { font-family: var(--f-ui); color: var(--ink); }
.quote-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding-bottom: 20px; border-bottom: 3px solid var(--ink);
  margin-bottom: 24px;
}
.quote-head h2 {
  font-family: var(--f-display); font-size: 42px; margin: 0 0 4px;
  letter-spacing: .04em; line-height: 1;
}
.quote-head p { margin: 2px 0; font-size: 13px; color: var(--ink-3); }
.quote-head .quote-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.quote-head .quote-brand svg { width: 32px; height: 32px; }
.quote-head .quote-meta { text-align: right; font-size: 12px; color: var(--slate); display: flex; flex-direction: column; gap: 2px; }
.quote-head .quote-meta strong { color: var(--ink); font-size: 14px; }

.quote-section-title {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin: 24px 0 10px;
}
.quote-machine {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 16px; background: var(--bone); border-radius: var(--radius-sm);
}
.quote-machine img { width: 160px; height: 120px; object-fit: contain; background: var(--white); border-radius: 6px; padding: 6px; }
.quote-machine h3 { font-family: var(--f-display); font-size: 30px; letter-spacing: .04em; margin: 0 0 4px; line-height: 1; }
.quote-machine .quote-tag { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.quote-machine .quote-price { font-weight: 700; }

.quote-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.quote-table th, .quote-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.quote-table th {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  font-weight: 700; border-bottom: 2px solid var(--ink);
}
.quote-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.quote-table tfoot td { font-weight: 700; font-size: 15px; border-top: 2px solid var(--ink); }
.quote-table tfoot .grand td.num { color: var(--red); font-size: 18px; }
.quote-fine { font-size: 11px; color: var(--slate); margin-top: 16px; line-height: 1.6; }

/* Print styles — clean quote page */
@media print {
  body > *:not(#summaryModal) { display: none !important; }
  #summaryModal, #summaryModal * { visibility: visible; }
  #summaryModal { position: static !important; display: block !important; padding: 0 !important; }
  #summaryModal .modal-backdrop,
  #summaryModal .modal-close,
  #summaryModal .modal-actions { display: none !important; }
  #summaryModal .modal-panel {
    box-shadow: none !important; max-height: none !important; border-radius: 0 !important;
    width: 100% !important;
  }
  #summaryModal .modal-scroll { overflow: visible !important; padding: 0 !important; max-height: none !important; }
  .quote-doc { padding: 24px 32px; }
  a[href]::after { content: ""; }
}
