/* dockchocks.com lead page. Loading Dock Supply brand tokens (BUILD_SPEC 7.1). Mobile first. */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2"); }

:root {
  --navy: #1C4178; --blue: #015993; --blue-dark: #01456F; --blue-tint: #E6F0F8;
  --red: #EC2D27; --red-text: #B3201B; --green: #066537; --amber: #B45309;
  --ink: #22303A; --slate: #5B6570; --rule: #C4CAD0; --panel: #F3F5F7; --paper: #FFFFFF;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--navy); }
h1, h2 { font-family: var(--head); font-weight: 700; line-height: 1.08; text-wrap: balance; }
h3 { font: 600 1.125rem/1.3 var(--body); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 8px; color: #fff; }

.draft-bar { background: #FFF3C4; color: #5A3A00; border-bottom: 2px solid var(--amber); padding: 6px 16px; font-size: 0.875rem; font-weight: 600; text-align: center; }
mark.ph { background: #FFE27A; color: #4A2E00; outline: 2px dashed var(--amber); padding: 0 4px; font-weight: 600; font-family: var(--body); letter-spacing: 0; text-transform: none; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 143px; height: 32px; }
.header-call { margin: 0; text-align: right; line-height: 1.2; }
.header-tag { display: none; color: var(--slate); font-size: 0.875rem; }
.phone { font: 700 1.375rem/1.2 var(--head); color: var(--navy); text-decoration: none; white-space: nowrap; display: inline-block; padding: 8px 0; }
.phone:hover { text-decoration: underline; }

/* hero */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { margin: 0 -16px; padding: 28px 16px 26px; background: var(--panel); }
.hero-jump { margin: 20px 0 0; }
.content .wrap { padding: 0; max-width: none; }
.content .band-panel { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.eyebrow { margin: 0 0 10px; color: var(--red-text); font: 600 0.875rem/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-copy h1 { font-size: clamp(2.125rem, 7.5vw, 3.5rem); border-left: 6px solid var(--red); padding-left: 14px; }
.lead { font-size: 1.125rem; line-height: 1.55; }
.hero-copy .lead { margin-top: 18px; max-width: 38em; }
.checks { list-style: none; display: grid; gap: 8px; margin: 4px 0 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.3em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 6px; padding: 14px 22px; min-height: 52px;
  font: 600 1.125rem/1.3 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn:focus-visible { outline-color: var(--navy); outline-offset: 3px; }
.btn-block { display: block; width: 100%; }
.btn[data-sending] { opacity: 0.75; cursor: progress; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); color: var(--navy); }
.strong-link { font-weight: 600; }

/* form */
.form-card { background: var(--paper); border: 1px solid var(--rule); border-top: 6px solid var(--navy); border-radius: 8px; padding: 20px 16px 16px; margin: 20px 0 4px; scroll-margin-top: 12px; box-shadow: 0 4px 18px rgba(28, 65, 120, 0.10); }
.form-card h2 { font-size: 1.75rem; }
.form-intro { color: var(--slate); margin: 4px 0 14px; }
.field { margin-bottom: 14px; }
@media (min-width: 380px) { .field-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 12px; align-items: start; } }
label, legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; padding: 0; }
.hint { color: var(--slate); font-size: 0.9375rem; line-height: 1.4; margin: 0 0 6px; }
input[type=text], input[type=tel], input[type=email], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #7B8794; border-radius: 6px;
  background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
input[type=file] { width: 100%; font: 400 1rem/1.4 var(--body); padding: 8px 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.has-error input, input[aria-invalid=true] { border-color: var(--red-text); border-width: 2px; }
.error { color: var(--red-text); font-weight: 600; font-size: 0.9375rem; margin: 6px 0 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

details.more { border: 1px solid var(--rule); border-radius: 6px; margin: 4px 0 16px; }
details.more > summary { cursor: pointer; padding: 13px 12px; font-weight: 600; color: var(--blue); }
.more-body { padding: 4px 12px 2px; border-top: 1px solid var(--rule); }
.more-body > :first-child { margin-top: 12px; }
fieldset.choices { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 0; padding: 9px 0; cursor: pointer; }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }

.under-btn { margin: 12px 0 6px; font-size: 0.9375rem; text-align: center; }
.consent { margin: 0; color: var(--slate); font-size: 0.875rem; line-height: 1.45; text-align: center; }
.fallback { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); text-align: center; font-size: 0.9375rem; }
.fallback a { display: inline-block; padding: 6px 0; font-weight: 600; }

.notice { border-left: 5px solid var(--slate); background: var(--panel); padding: 12px 14px; margin: 0 0 16px; border-radius: 0 6px 6px 0; }
.notice p { margin: 0 0 6px; } .notice p:last-child { margin: 0; }
.notice ul { margin: 0 0 6px 20px; }
.notice.err { border-color: var(--red-text); background: #FDECEB; }
.notice.err a { color: var(--red-text); font-weight: 600; }
.notice.warn { border-color: var(--amber); background: #FFF6E5; }
.notice.ok { border-color: var(--green); background: #E8F4EE; }

/* content bands */
.band { padding: 40px 0; }
.band-panel { background: var(--panel); }
.page-title { font-size: clamp(1.875rem, 5vw, 2.375rem); text-transform: uppercase; letter-spacing: 0.01em; border-left: 5px solid var(--red); padding-left: 12px; margin-bottom: 20px; }
.band h2:not(.page-title) { font-size: 1.5rem; margin: 26px 0 10px; }
.cards { list-style: none; display: grid; gap: 14px; }
.cards li { border: 1px solid var(--rule); border-top: 4px solid var(--blue); border-radius: 6px; padding: 16px; background: var(--paper); }
.cards h3 { margin-bottom: 6px; }
.cards p { margin: 0; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; min-height: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.5rem/42px var(--head); text-align: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }
.plain-steps { margin: 0 0 1em 1.4em; display: grid; gap: 8px; }

.sample-grid { display: grid; gap: 20px; align-items: center; }
.sample-slot { margin: 0; }
.sample-slot img { width: 100%; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 6px 20px rgba(28, 65, 120, 0.14); }
.sample-slot figcaption { margin-top: 8px; color: var(--slate); font-size: 0.9375rem; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.trust li { border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 6px 16px; font-weight: 600; background: var(--paper); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 4px; font-weight: 600; color: var(--navy); font-size: 1.125rem; }
.faq p { margin: 0; padding: 0 4px 18px; max-width: 42em; }

.closing { background: var(--navy); color: #fff; padding: 44px 0; text-align: center; }
.closing h2 { color: #fff; font-size: 2rem; }
.closing-phone { margin: 6px 0; }
.closing-phone a { color: #fff; font: 700 clamp(2.5rem, 11vw, 3.75rem)/1.1 var(--head); text-decoration: none; }
.closing-phone a:hover { text-decoration: underline; }
.closing a:focus-visible { outline-color: #fff; }

.site-footer { background: #15335F; color: #DCE4F0; padding: 28px 0 36px; font-size: 0.9375rem; }
.footer-row { display: grid; gap: 16px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:focus-visible { outline-color: #fff; }
.site-footer img { width: 161px; height: 36px; }

@media (min-width: 480px) {
  .logo img { width: 179px; height: 40px; }
  .header-tag { display: block; }
  .form-card { padding: 24px 22px 20px; }
}
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 32px; }
  .band { padding: 56px 0; }
  .footer-row { grid-template-columns: auto 1fr auto; gap: 36px; align-items: start; }
}
@media (min-width: 960px) {
  .wrap { padding: 0 24px; }
  /* Desktop: content on the left, the form in its own column on the right. */
  .page-grid { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 56px; align-items: start; }
  .hero-copy { grid-column: 1; margin: 0; padding: 48px 0 12px; background: none; }
  .form-card { grid-column: 2; grid-row: 1 / span 2; margin: 40px 0; }
  .content { grid-column: 1; }
  .content .band { padding: 40px 0; }
  .content .band-panel { margin: 0; padding: 32px 28px; border-radius: 8px; }
  .hero-jump { display: none; }
  .content .steps { grid-template-columns: 1fr; gap: 20px; }
  .form-card { padding: 20px 22px 16px; }
  .form-card h2 { font-size: 1.625rem; }
  .form-intro { margin-bottom: 10px; }
  .field { margin-bottom: 10px; }
  .form-card input[type=text], .form-card input[type=tel], .form-card input[type=email], .form-card select { min-height: 44px; padding: 8px 12px; }
  details.more { margin-bottom: 12px; }
  details.more > summary { padding: 10px 12px; }
  .under-btn { margin: 10px 0 4px; }
  .fallback { margin-top: 10px; padding-top: 8px; }
}
@media (min-width: 960px) and (min-height: 780px) {
  /* "On desktop the form sits right of the headline and stays visible." */
  .form-card { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* admin */
.admin .wrap { max-width: 1400px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.filters a[aria-current] { font-weight: 600; color: var(--ink); text-decoration: none; }
.table-scroll { overflow-x: auto; }
table.leads { border-collapse: collapse; width: 100%; font-size: 0.9375rem; font-variant-numeric: tabular-nums lining-nums; }
table.leads th, table.leads td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
table.leads th { background: var(--panel); color: var(--navy); white-space: nowrap; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--blue-tint); color: var(--navy); font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
.tag-new { background: var(--navy); color: #fff; }
.tag-closed { background: var(--panel); color: var(--slate); }
.tag-spam { background: #FDECEB; color: var(--red-text); }
.admin-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.facts { display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 12px; margin: 0; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; }
.wrap-any { overflow-wrap: anywhere; }
.admin-form { max-width: 520px; }
.photo-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); border-radius: 4px; }
.photo-list span { font-size: 0.875rem; overflow-wrap: anywhere; }
