:root {
  --red: #e31b23;
  --red-dark: #b9121a;
  --navy: #1f2a5c;
  --navy-dark: #151d42;
  --green: #2f9a4c;
  --ink: #1a1f2e;
  --muted: #5d6475;
  --line: #e2e5ec;
  --bg: #ffffff;
  --tint: #f4f6fa;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 28, 60, .06), 0 6px 20px rgba(20, 28, 60, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3, .h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--tint); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-sm { padding: 32px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre { white-space: pre-line; }
.rounded { border-radius: var(--radius); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.15em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.1; background: var(--tint); color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f0f2f8; color: var(--navy); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-sm { padding: .35em .8em; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }
.btn + .btn { margin-left: .4rem; }
.btn-block + .btn-block { margin: .5rem 0 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
button.link:hover { color: var(--red); }
button.link.danger { color: var(--red-dark); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { border-radius: 8px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.brand small { color: var(--muted); font-size: .78rem; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a, .site-nav button.link { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); }
.site-nav .nav-cta a { color: #fff; padding: .6em 1.1em; }
.site-nav .nav-cta a:hover { color: #fff; }
.has-sub { position: relative; }
.has-sub > ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }
.nav-account > ul { left: auto; right: 0; }
.has-sub > ul a, .has-sub > ul button.link { font-weight: 500; text-decoration: none; width: 100%; text-align: left; }
.pill { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; text-align: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; position: relative; content: ""; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .has-sub > ul { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .site-nav .nav-cta { margin-top: 8px; }
  .brand small { display: none; }
}

.notice { background: #e9f6ee; color: #1d5c31; border-bottom: 1px solid #cde9d6; padding: 12px 0; font-weight: 600; }
.alert { background: #fdecec; border: 1px solid #f6c5c7; color: #8a1016; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.alert.soft { background: #fff7e6; border-color: #f3dfb0; color: #6b4b00; }
.alert ul { margin: .4em 0 0; padding-left: 1.2em; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(110deg, rgba(21, 29, 66, .94) 0%, rgba(31, 42, 92, .82) 45%, rgba(31, 42, 92, .35) 100%), url("/static/img/photos/lot-aerial.jpg") center/cover; }
.hero-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: center; padding: clamp(48px, 8vw, 96px) 0; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.hero h1 span { color: #ff6b70; }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: #e6e9f5; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: #ffb3b6; margin-bottom: .6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn + .btn { margin: 0; }
.hero-search { color: var(--ink); padding: 24px; display: grid; gap: 12px; }
.hero-search h2 { font-size: 1.25rem; margin: 0; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

.page-head { background: var(--navy); color: #fff; padding: clamp(32px, 6vw, 64px) 0; }
.page-head h1 { color: #fff; }
.page-head p { color: #dfe3f2; max-width: 46em; margin-bottom: 0; }
.page-head a:not(.btn) { color: #fff; }
.page-head .btn { margin-top: 1.2rem; }
.page-head.with-image, .event-hero { background: linear-gradient(110deg, rgba(21, 29, 66, .94), rgba(31, 42, 92, .6)), var(--bg) center/cover; }
.event-hero { color: #fff; padding: clamp(48px, 9vw, 110px) 0; }
.event-hero h1 { color: #fff; }
.event-hero .lead { font-size: 1.2rem; }

/* Cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card.pad, .pad { padding: 22px; }
.card-body { padding: 16px 18px 18px; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); }
.card-media img, .card-img { width: 100%; height: 100%; object-fit: cover; }
.card-img { aspect-ratio: 16 / 10; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2, .section-head h1 { margin: 0; }
.subhead { margin-top: 32px; }
.empty { padding: 32px; text-align: center; }
.stack { display: grid; gap: 14px; }

.listing-card h3 { font-size: 1.05rem; margin-bottom: .25em; }
.listing-card h3 a { color: var(--ink); text-decoration: none; }
.listing-card h3 a:hover { color: var(--red); }
.price { font-weight: 800; color: var(--red); font-size: 1.2rem; margin: 0 0 .4em; }
.price.big { font-size: 2rem; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.meta { list-style: none; padding: 0; margin: 0 0 .6em; display: flex; flex-wrap: wrap; gap: 6px; }
.meta li { background: var(--tint); border-radius: 999px; padding: .15em .65em; font-size: .82rem; color: var(--muted); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; padding: .25em .6em; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.tag.inline { position: static; display: inline-block; }
.tag-sold { background: var(--ink); }
.tag-seller { left: auto; right: 10px; background: var(--green); }
.tag-seller.is-dealer, .seller-badge.is-dealer { background: var(--navy); color: #fff; }
.seller-badge { background: var(--green) !important; color: #fff !important; }
.compare-form { margin: 0; }

.event-card .card-media { aspect-ratio: 16 / 9; }
.date-badge { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; line-height: 1; box-shadow: var(--shadow); }
.date-badge span { display: block; color: var(--red); font-weight: 800; font-size: .72rem; letter-spacing: .08em; }
.date-badge strong { font-size: 1.5rem; color: var(--navy); }
.event-price { margin-bottom: .8em; }

.how-item img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }
.why h3 { color: #fff; }
.why p { color: #d7dcef; }
.type-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 32px; }
.type-chips.left { justify-content: flex-start; margin-bottom: 12px; }
.type-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-weight: 700; }
.type-chips a { text-decoration: none; }
.make-row { display: flex; flex-wrap: wrap; gap: 10px; }
.make-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.make-chip img { width: 30px; height: 30px; object-fit: contain; }
.make-chip small { color: var(--muted); }
.help .card a { font-weight: 700; }

/* Forms */
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea { font: inherit; font-weight: 400; width: 100%; padding: .65em .8em; border: 1px solid #cfd4de; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31, 42, 92, .2); border-color: var(--navy); }
input[type="checkbox"], input[type="radio"] { width: auto; }
input[type="file"] { padding: .5em; background: var(--tint); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
label.check input { margin-top: .3em; }
fieldset { border: 0; padding: 0; margin: 0; }
.form-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; display: grid; gap: 12px; }
.form-section legend { font-weight: 800; font-size: 1.1rem; padding: 0; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; text-transform: uppercase; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-pick { display: grid; gap: 8px; }
.role-pick legend { font-weight: 700; margin-bottom: 6px; }
.role-pick label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 600; cursor: pointer; }
.role-pick label:has(input:checked) { border-color: var(--navy); background: #f1f3fa; }
.ok { color: var(--green); font-weight: 700; }
.auth { display: grid; place-items: center; padding: 48px 0; }
.auth .card { width: min(460px, 100%); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.inline-form select, .inline-form input { width: auto; padding: .35em .5em; font-size: .88rem; }
.inline-form.wrap { flex-wrap: wrap; }
.inline-form.wrap input { flex: 1; min-width: 200px; }
.inline-filter { margin-bottom: 20px; max-width: 320px; }
.upload-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.upload-form input { flex: 1; min-width: 220px; }

/* Inventory */
.inventory { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 28px 0 56px; align-items: start; }
.filters { padding: 18px; position: sticky; top: 90px; }
.filters form { display: grid; gap: 12px; }
@media (max-width: 900px) { .inventory { grid-template-columns: 1fr; } .filters { position: static; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }

/* Listing detail */
.detail { padding: 20px 0 48px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumb.active, .thumb:hover { border-color: var(--red); }
.thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.detail-side h1 { font-size: 1.6rem; }
.detail-side .card + .card { margin-top: 16px; }
.sticky { position: sticky; top: 90px; }
.at-lot { background: #eef6f0; border: 1px solid #cfe8d6; border-radius: 10px; padding: 10px 12px; margin: 12px 0; display: grid; gap: 2px; }
.contact-actions { display: grid; gap: 8px; margin: 14px 0; }
.contact-actions .btn + .btn { margin: 0; }
.small-card p { margin-bottom: .4em; }
.detail-body { display: grid; gap: 28px; margin-top: 32px; max-width: 900px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.disclaimer { background: var(--tint); box-shadow: none; }
.owner-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; background: #f1f3fa; }
.owner-actions { display: flex; gap: 8px; }
.owner-actions .btn + .btn { margin: 0; }
.status { display: inline-block; padding: .1em .6em; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--tint); }
.status-active, .status-paid, .status-verified, .status-checked_in { background: #e3f4e8; color: #1d6b35; }
.status-pending, .status-draft { background: #fff3d6; color: #7a5600; }
.status-sold { background: #e6e8f2; color: var(--navy); }
.status-rejected, .status-cancelled, .status-hidden { background: #fde8e9; color: #8a1016; }

.modal { border: 0; border-radius: 16px; padding: 0; width: min(460px, 100% - 32px); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(15, 20, 40, .55); }
.modal form { padding: 22px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { margin: 0; font-size: 1.3rem; }
.modal-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* Events */
.event-facts { display: grid; gap: 0; margin: 0 0 24px; }
.event-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-facts dt { color: var(--muted); font-weight: 600; }
.event-facts dd { margin: 0; }
@media (max-width: 560px) { .event-facts div { grid-template-columns: 1fr; gap: 2px; } }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .5em; }
.past-lots { list-style: none; padding: 0; }
.past-lots li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-summary .price { margin: 0; }
.numbered { list-style: none; padding: 0; counter-reset: step; }
.numbered li { counter-increment: step; position: relative; padding-top: 52px; }
.numbered li::before { content: counter(step); position: absolute; top: 18px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps-grid ol, .steps-grid ul { padding-left: 1.2em; }
.steps-grid img { margin: 8px 0 12px; max-height: 160px; object-fit: contain; }

/* Prose & FAQ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.lead { font-size: 1.12rem; }
.legal { font-size: .96rem; }
.legal h2, .legal h3 { font-size: 1.15rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style-position: inside; }
.faq details[open] summary { color: var(--red); }
.faq details p { padding: 0 18px 16px; margin: 0; }

/* Tables & dashboard */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table, .compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td, .compare th, .compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.table .actions { white-space: nowrap; }
.table .actions > * { margin-right: 8px; }
.vehicle-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.vehicle-cell img { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; }
.compare thead th { vertical-align: top; min-width: 200px; }
.compare thead img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.dashboard section { margin-bottom: 40px; }
.leads { list-style: none; padding: 0; display: grid; gap: 12px; }
.leads .unseen { border-left: 4px solid var(--red); }
.leads p { margin: .4em 0 0; }
.photo-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.photo-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; }
.photo-actions form { margin: 0; }
.plates { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plates li { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.vin-form .input-row { margin-top: 8px; }
.recalls { list-style: none; padding: 0; }
.recalls li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.recalls p { margin: .3em 0 0; }

/* Admin */
.admin h1 { margin-bottom: 12px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.admin-nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); }
.admin-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.stats .card { display: grid; gap: 4px; }
.stat { font-size: 2rem; font-weight: 800; color: var(--navy); }
.dealer-row { margin-bottom: 14px; }
.dealer-row p { margin: .35em 0; }
.filter-links { display: flex; gap: 12px; }
.filter-links a[aria-current="page"] { font-weight: 800; color: var(--red); }
.preview { max-height: 160px; width: auto; }
.admin .section-head { margin-bottom: 0; }
.admin section { margin-top: 32px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cfd5ea; margin-top: 0; padding-top: 48px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb3b6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.footer-grid h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand img { border-radius: 10px; margin-bottom: 12px; }
.footer-call a { font-weight: 800; }
.social { display: flex; gap: 14px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding: 18px 0 28px; font-size: .85rem; }
.footer-legal p { margin: .3em 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.error-page { padding: 64px 0; text-align: center; }
.error-page img { margin: 0 auto 16px; border-radius: 10px; }
