/* Silver Dollar Pawn Exchange. Colors come from the logo: red lettering, flag navy, coin silver. */
@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/fonts/roboto-slab-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c4161c;
  --red-dark: #9e1015;
  --red-bright: #ed1c24;
  --navy: #1d3b80;
  --ink: #1b1d22;
  --muted: #545a64;
  --night: #121316;
  --night-2: #1d1f24;
  --silver: #c9ced5;
  --paper: #f5f3ee;
  --line: #e1ddd4;
  --white: #fff;
  --green: #1d7a3e;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.07);
  --serif: "Roboto Slab", Rockwell, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--white); }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; margin: 1.25rem 0; line-height: 1.7; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .7em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }

/* Header */
.site-header { background: var(--night); border-bottom: 4px solid var(--red); }
.header-row { display: flex; align-items: center; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { flex: 0 0 auto; }
.brand img { width: 150px; }
.site-nav { order: 3; flex: 1 0 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.site-nav a {
  display: block; padding: 8px 10px; color: var(--white); text-decoration: none; font-weight: 600;
  border-radius: 6px; font-size: .95rem;
}
.site-nav a:hover { background: var(--night-2); color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--red-bright); border-radius: 6px 6px 0 0; }
.header-call { margin-left: auto; padding: .55em 1em; font-size: .95rem; }
@media (min-width: 960px) {
  .brand img { width: 180px; }
  .site-nav { order: 0; flex: 1 1 auto; }
  .site-nav ul { justify-content: center; }
}
@media (max-width: 420px) {
  .brand img { width: 120px; }
  .header-call span { font-size: .9rem; }
  .site-nav a { padding: 6px 8px; font-size: .9rem; }
}

/* Open / closed status */
.status { font-weight: 700; margin: 0 0 1rem; }
.status::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; margin-right: .5em; vertical-align: .05em; background: var(--muted); }
.status.is-open::before { background: #2fbf5f; box-shadow: 0 0 0 3px rgba(47,191,95,.25); }
.status.is-closed::before { background: var(--red-bright); }
.status-inline.is-open { color: var(--green); }
.status-inline.is-closed { color: var(--red-dark); }
.status-pill { display: inline-block; background: rgba(0,0,0,.55); color: var(--white); padding: .4em .9em; border-radius: 999px; font-size: .95rem; backdrop-filter: blur(4px); }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--night); overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.75) 45%, rgba(10,11,13,.25) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.hero h1 { max-width: 14ch; color: var(--white); }
.hero-lead { font-size: 1.2rem; max-width: 34ch; color: #e9eaec; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--silver); margin-bottom: .75em; }
.eyebrow a { color: inherit; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
@media (max-width: 699px) { .hero::after { background: linear-gradient(180deg, rgba(10,11,13,.6), rgba(10,11,13,.9)); } }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--night); color: var(--white); }
.page-head { background: var(--night); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; background-image: linear-gradient(135deg, var(--night) 0%, #1a2340 100%); }
.page-head h1 { color: var(--white); }
.lead { font-size: 1.15rem; max-width: 62ch; color: #e1e3e6; }

.intro { display: grid; gap: 36px; }
@media (min-width: 860px) { .intro { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 56px; } }
.checklist { list-style: none; margin: 0; padding: 24px; background: var(--paper); border-radius: var(--radius); border-left: 5px solid var(--red); }
.checklist li { padding: 12px 0 12px 36px; position: relative; color: var(--muted); }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 18px; height: 10px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.checklist strong { display: block; color: var(--ink); }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h2 { font-size: 1.4rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { color: inherit; transform: translateY(-3px); border-color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.card .more { font-weight: 700; color: var(--red); }
.card .more::after { content: " →"; }
.icon { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--night); fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.card:nth-child(2) .icon { background: var(--navy); }
.card:nth-child(3) .icon { background: var(--red); }

/* Merchandise feature */
.feature { display: grid; gap: 24px; align-items: center; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature > div { padding: 8px 24px 28px; }
@media (min-width: 760px) { .feature { grid-template-columns: 1fr 1fr; } .feature > div { padding: 32px 40px 32px 8px; } }

/* Cash loan steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: 1.3fr 1fr 1fr; } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step:nth-child(2) { border-top-color: var(--navy); }
.step:nth-child(3) { border-top-color: var(--night); }
.step h2 { font-size: 1.35rem; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--white); font: 700 1.2rem var(--serif); margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 600; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 24px; }

/* Visit: hours + map */
.visit { display: grid; gap: 36px; }
@media (min-width: 860px) { .visit { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.visit h2 + .status { margin-top: -.25rem; }
.visit h2:not(:first-child) { margin-top: 2rem; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours tr.today { background: var(--paper); }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: var(--muted); font-size: .9em; }
.note { color: var(--muted); font-size: .95rem; margin-top: .75rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--paper); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-tall iframe { min-height: 460px; }

/* Video */
.video-block video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); margin-top: 24px; }
.section-dark h2 { color: var(--white); }

/* Call to action band */
.cta { background: var(--paper); border-top: 1px solid var(--line); }
.cta-inner { text-align: center; }
.cta-inner .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--night); color: #c8cbd0; padding-top: 48px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer h2 { font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--silver); margin-bottom: 1em; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-name { font: 700 1.25rem var(--serif); color: var(--white); }
.hours-summary { list-style: none; margin: 0 0 1rem; padding: 0; }
.hours-summary li { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; padding: 2px 0; }
.site-footer .status { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #2a2d33; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-bottom a { color: #c8cbd0; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
