/* Freedom Pawn — site styles */
:root {
  --red: #b3262e;
  --red-dark: #8e1c23;
  --blue: #1f3f7a;
  --blue-dark: #142b55;
  --ink: #1b1f27;
  --muted: #5a6170;
  --line: #e2e5ea;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 30, 50, .08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-dark); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }

/* Top bar */
.topbar { background: var(--blue-dark); color: #fff; font-size: .9rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }

/* Header / nav */
.site-header { background: #fff; border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; }
.brand span { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.brand span b { color: var(--red); }
.brand span i { color: var(--blue); font-style: normal; }

.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; flex-wrap: wrap; }
.main-nav a { display: block; padding: 8px 9px; font-size: .95rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--red); }
.main-nav .ext::after { content: " \2197"; font-size: .8em; color: var(--muted); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 4px solid var(--red); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; min-height: 48px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-secondary:hover { background: var(--bg-soft); color: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--blue-dark); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 54, .92) 0%, rgba(14, 27, 54, .75) 50%, rgba(14, 27, 54, .35) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.hero .eyebrow { display: inline-block; background: var(--red); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; max-width: 46ch; margin-bottom: 1.5em; }
.open-status { margin-top: 18px; font-weight: 600; }
.open-status .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: #9aa3b2; }
.open-status.is-open .dot { background: #3ccf6e; }
.open-status.is-closed .dot { background: #ff6b6b; }

.page-hero { background: var(--blue-dark); color: #fff; padding: 48px 0; border-bottom: 4px solid var(--red); }
.page-hero p { max-width: 60ch; font-size: 1.1rem; margin: 0; }

/* Sections */
section { padding: clamp(48px, 7vw, 80px) 0; }
.section-soft { background: var(--bg-soft); }
.section-intro { max-width: 70ch; margin-bottom: 32px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; gap: 40px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { color: var(--blue-dark); }
.card p { color: var(--muted); flex: 1; }
.card .card-link { font-weight: 700; text-decoration: none; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: #fdecee; color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }

.photo-card { padding: 0; overflow: hidden; }
.photo-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }

.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Feature band */
.band { background: var(--red); color: #fff; }
.band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { color: #fff; margin: 0 0 .25em; }
.band p { margin: 0; }
.loans-text { max-width: 760px; }
.cash-only { margin: 20px 0 0; color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.guns-financing { margin-top: 40px; }
.financing-box { padding: 24px 28px; border-left: 6px solid var(--red); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.financing-box h3 { margin-top: 0; color: var(--red); font-size: 1.5rem; }
.financing-box p { margin-bottom: 0; font-size: 1.1rem; }
.suppressor-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 28px; border-left: 6px solid var(--red); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; margin-top: 40px; }
.suppressor-strip h3 { margin: 0 0 .25em; color: var(--red); font-size: 1.5rem; flex: 0 0 auto; }
.suppressor-logo { display: inline-block; flex: 0 0 auto; }
.suppressor-logo img { display: block; width: 200px; height: auto; max-width: 100%; }
.suppressor-strip p { margin: 0 0 0 auto; font-size: 1.1rem; flex: 0 1 360px; }
@media (max-width: 700px) { .suppressor-logo { margin-left: 0; } .suppressor-strip p { flex: 1 1 100%; margin-left: 0; } }
.dealer-logos { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 16px 24px; }
.suppressor-title { flex: 0 0 auto; }
.suppressor-strip .dealer-note { margin: 0; font-size: 1.1rem; }
.dealer-logos img { display: block; width: auto; height: auto; }
.dealer-logos .logo-dark img { width: 220px; }
.logo-dark { display: inline-block; background: var(--blue-dark); padding: 10px 14px; border-radius: var(--radius); }
.dealer-logos > img { width: 170px; max-width: 100%; }
.dealer-logos > img.logo-square { width: 110px; }
.dealer-logos > * { align-self: center; }
.dealer-logos .logo-dark img { max-width: 100%; }
@media (max-width: 700px) { .dealer-logos { justify-content: flex-start; } .suppressor-strip .dealer-note { flex: 1 1 100%; } .suppressor-title { flex: 1 1 100%; } }

/* Hours + contact */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table th, .hours-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.today { background: #eef3fc; }
.hours-table tr.today th::after { content: " (today)"; color: var(--muted); font-weight: 400; font-size: .9em; }
.closed { color: var(--red); font-weight: 600; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.map-link { margin: 10px 0 0; font-weight: 700; }
.region-map { display: block; width: 100%; height: auto; margin-top: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.towns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 16px 0 0; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 600; }

.checklist { padding-left: 1.2em; }
.checklist li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--ink); color: #c9ced8; padding: 40px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 24px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { border-top: 1px solid #343a46; padding-top: 16px; font-size: .85rem; }

/* Sticky mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); }
  .call-bar a { padding: 16px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
  .call-bar a:first-child { background: var(--red); }
  .call-bar a:last-child { background: var(--blue); }
  .topbar .hide-sm { display: none; }
}

/* Partner services (TWRA, IdentoGO, Data Shred) */
.service-card .service-logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; padding: 8px; border-bottom: 1px solid var(--line); }
.service-card .service-logo .icon { width: 88px; height: 88px; border-radius: 20px; margin: 0; }
.service-card .service-logo .icon svg { width: 48px; height: 48px; }
.service-card .service-logo picture { display: contents; }
.service-card .service-logo img { height: 104px; width: auto; max-width: 100%; object-fit: contain; }
.service-card .service-logo img.logo-sign { border-radius: 8px; }
section[id], .service-card[id] { scroll-margin-top: 90px; }
.card .service-price { flex: none; margin: -4px 0 10px; color: var(--red); font-size: 1.15rem; font-weight: 800; }
.hero .lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero .lead a:hover { color: #ffd7da; }

/* Knife brands */
.dealer-callout { display: flex; align-items: center; gap: 16px; background: #fff; border: 2px solid var(--red); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; box-shadow: var(--shadow); max-width: 640px; }
.dealer-callout .icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fdecee; color: var(--red); display: grid; place-items: center; }
.dealer-callout .icon svg { width: 28px; height: 28px; }
.dealer-label { margin: 0 0 6px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.dealer-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dealer-badges li { background: var(--blue-dark); color: #fff; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.brand-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.brand-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.brand-list strong { display: block; color: var(--blue-dark); font-size: 1.1rem; }
.brand-list span { display: block; color: var(--muted); font-size: .9rem; }
.brand-list .brand-logo img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 10px; }
.knife-intro { margin-bottom: 32px; }
.knife-intro .section-intro { margin-bottom: 0; }
.brand-ask { color: var(--muted); margin: 0; }
