/* Denton Car Wraps
   Layout idea: one road-sign-plain column of answers, with the quote form riding beside the headline on wide screens.
   Single light theme by choice: this is a public landing page with one look. */
:root {
  color-scheme: light;
  --paper: #F3F5F7;        /* cool shop-floor white */
  --panel: #FFFFFF;
  --ink: #17212B;          /* graphite */
  --steel: #556575;        /* secondary text */
  --line: #D5DCE3;
  --tail: #C8202C;         /* taillight red, the one accent */
  --tail-dark: #A1141F;
  --ok: #1E7A46;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --measure: 64ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--tail-dark); text-underline-offset: 3px; }
a:hover { color: var(--tail); }
:focus-visible { outline: 3px solid var(--tail); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-head { background: var(--ink); color: #fff; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.mark { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mark:hover { color: #fff; }
.mark i { display: inline-block; width: 26px; height: 12px; background: var(--tail); border-radius: 2px; box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 1rem; }
.site-nav a { color: #DCE3EA; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
.site-nav a.btn { color: #fff; }

/* Buttons */
.btn { display: inline-block; background: var(--tail); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; padding: 10px 20px; border: 0; border-radius: 4px; cursor: pointer; }
.btn:hover { background: var(--tail-dark); color: #fff; }
.btn.small { font-size: 1.05rem; padding: 7px 14px; }
.btn.wide { width: 100%; font-size: 1.35rem; padding: 14px 20px; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0; max-width: var(--measure); }
.lede { font-size: 1.25rem; color: var(--ink); }
.muted { color: var(--steel); }
.small { font-size: 0.92rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #E6EBF0 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; padding-block: 48px 56px; align-items: start; }
.hero-copy { display: grid; gap: 20px; }
.hero-copy h1 span { color: var(--tail); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; max-width: var(--measure); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 18px; height: 6px; background: var(--tail); border-radius: 1px; }

/* Finish strip: the three finishes a wrap comes in, drawn as film swatches */
.finishes { display: flex; flex-wrap: wrap; gap: 10px; }
.finish { flex: 1 1 110px; display: grid; gap: 6px; font-size: 0.92rem; color: var(--steel); }
.finish b { display: block; height: 46px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.18); }
.finish .gloss { background: linear-gradient(115deg, #1F4E79 0%, #2E6BA3 38%, #BFD9F2 46%, #2E6BA3 54%, #173B5C 100%); }
.finish .satin { background: linear-gradient(115deg, #24507A 0%, #3A6C9B 45%, #6E97BD 52%, #3A6C9B 60%, #214A70 100%); }
.finish .matte { background: #2F5C87; }

/* Form */
.quote { background: var(--panel); border: 1px solid var(--line); border-top: 6px solid var(--tail); border-radius: 6px; padding: 24px; display: grid; gap: 16px; box-shadow: 0 10px 30px rgba(23,33,43,0.08); }
.quote h2 { font-size: 1.9rem; }
.quote form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.three { grid-template-columns: 0.7fr 1fr 1fr; }
.field { display: grid; gap: 5px; min-width: 0; }
label, legend { font-weight: 600; font-size: 0.95rem; }
legend { padding: 0; margin-bottom: 6px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #9AA8B5; border-radius: 4px; padding: 10px 11px;
}
textarea { min-height: 78px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-weight: 500; font-size: 0.95rem; border: 1px solid #9AA8B5; border-radius: 999px; padding: 6px 13px; cursor: pointer; background: #fff; display: inline-flex; align-items: center; gap: 7px; }
.chips input { accent-color: var(--tail); margin: 0; }
.chips label:has(input:checked) { border-color: var(--tail); background: #FDECEE; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 0.92rem; color: var(--steel); }
.consent input { margin-top: 5px; accent-color: var(--tail); width: 18px; height: 18px; }
.form-note { font-size: 0.92rem; color: var(--steel); }
.form-msg { border-radius: 4px; padding: 12px 14px; font-size: 0.98rem; }
.form-msg[hidden] { display: none; }
.form-msg.err { background: #FDECEE; border: 1px solid var(--tail); }
.form-msg.ok { background: #E7F4EC; border: 1px solid var(--ok); }
.form-msg pre { white-space: pre-wrap; font: inherit; font-size: 0.9rem; margin: 8px 0 0; }

/* Sections */
section.band { padding-block: 56px; border-bottom: 1px solid var(--line); }
section.band.alt { background: var(--panel); }
.stack { display: grid; gap: 22px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { display: grid; gap: 8px; align-content: start; border-top: 4px solid var(--ink); padding-top: 14px; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; color: var(--tail); }
.note { border-left: 6px solid var(--tail); background: var(--panel); padding: 16px 18px; display: grid; gap: 8px; }
section.band.alt .note { background: var(--paper); }

/* Table */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; max-width: 760px; font-variant-numeric: tabular-nums; background: var(--panel); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; background: var(--ink); color: #fff; border-bottom: 0; }
td.num { white-space: nowrap; font-weight: 600; }

/* Lists */
.plain { margin: 0; padding-left: 1.15em; display: grid; gap: 8px; max-width: var(--measure); }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { border: 1px solid var(--line); background: var(--panel); border-radius: 4px; padding: 5px 12px; font-size: 0.98rem; }
.qa { display: grid; gap: 22px; }
.qa div { display: grid; gap: 6px; }

/* Article pages */
.page-head { background: linear-gradient(180deg, #E6EBF0 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); padding-block: 44px; }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
article.wrap { display: grid; gap: 22px; padding-block: 44px 56px; }
article.wrap h2 { margin-top: 14px; }
.cta { background: var(--ink); color: #fff; border-radius: 6px; padding: 26px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.cta p { color: #DCE3EA; }
.cta h2 { color: #fff; font-size: 1.9rem; }

/* Footer */
.site-foot { background: var(--ink); color: #C7D0D9; padding-block: 34px; font-size: 0.95rem; }
.site-foot .wrap { display: grid; gap: 12px; }
.site-foot a { color: #fff; }
.site-foot p { max-width: 80ch; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; padding-block: 34px 44px; }
  .cols, .cols.two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .row, .row.three { grid-template-columns: 1fr; }
  .quote { padding: 18px; }
  section.band { padding-block: 42px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 120ms ease; }
}
