/* BinStoreNKY — Vintage Thrift Market Maximalism
   Palette: Warm amber #e8a020, Rust #c04a1a, Cream #fdf6e8,
   Dark brown #2a1a0a, Off-white #faf5ec, Sage green #5a7a4a
   Fonts: Bebas Neue (display) + Lora (body serif)
*/

:root {
  --amber: #e8a020;
  --amber-dark: #c07a10;
  --rust: #c04a1a;
  --rust-light: #e05a25;
  --cream: #fdf6e8;
  --cream-dark: #f0e8d0;
  --brown: #2a1a0a;
  --brown-mid: #4a2e10;
  --text: #2a1a0a;
  --text-muted: #6b4a20;
  --sage: #5a7a4a;
  --border: #d4b880;
  --border-light: #e8d4a0;
  --white: #faf5ec;
  --shadow: 0 3px 12px rgba(42,26,10,0.12);
  --shadow-md: 0 6px 24px rgba(42,26,10,0.16);
  --shadow-lg: 0 12px 48px rgba(42,26,10,0.2);
  --radius: 3px;
  --radius-lg: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(212,184,128,0.15) 39px,
      rgba(212,184,128,0.15) 40px
    );
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--brown);
}
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-light); text-decoration: underline; }
address { font-style: normal; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  background: var(--brown);
  border-bottom: 4px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { height: 32px; width: auto; display: none; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.logo-accent { color: var(--amber); }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: rgba(253,246,232,0.75);
  padding: 5px 12px;
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.main-nav a:hover { color: var(--amber); text-decoration: none; background: rgba(255,255,255,0.05); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--brown);
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(232,160,32,0.03) 0px, rgba(232,160,32,0.03) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(-45deg, rgba(232,160,32,0.03) 0px, rgba(232,160,32,0.03) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 24px 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1;
}
.hero-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--brown);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  margin-bottom: 20px;
  transform: rotate(-1deg);
}
.hero h1 { color: var(--cream); line-height: 0.95; margin-bottom: 20px; }
.hero h1 br + * { color: var(--amber); }
.hero-sub { color: rgba(253,246,232,0.8); font-size: 1rem; max-width: 480px; margin-bottom: 32px; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--amber); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(253,246,232,0.55); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(232,160,32,0.3); }

.hero-img-wrap {
  grid-column: 2;
  position: relative;
  overflow: hidden;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.7; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
}
.btn-primary { background: var(--amber); color: var(--brown); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-dark); color: var(--brown); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(253,246,232,0.4); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); text-decoration: none; }
.btn-rust { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.btn-rust:hover { background: var(--rust-light); color: var(--cream); text-decoration: none; }
.btn-full { width: 100%; justify-content: center; }

/* ── EXPLAINER STRIP ── */
.explainer-strip {
  background: var(--amber);
  padding: 20px 0;
  border-top: 3px solid var(--amber-dark);
  border-bottom: 3px solid var(--amber-dark);
}
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.exp-item {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 8px 20px;
  border-right: 1px solid rgba(42,26,10,0.2);
  font-size: 0.875rem;
  color: var(--brown);
}
.exp-item:last-child { border-right: none; }
.exp-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.exp-item strong { display: block; font-weight: 700; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--cream-dark); }

.section-header { margin-bottom: 52px; }
.section-header p { max-width: 540px; color: var(--text-muted); margin-top: 12px; font-size: 1rem; }

.section-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--rust);
  border-bottom: 2px solid var(--rust);
  padding-bottom: 2px;
  margin-bottom: 10px;
}

/* ── STORE GRID ── */
.stores-section { background: var(--cream); }
.store-grid { display: flex; flex-direction: column; gap: 28px; }

.store-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.store-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.store-card--featured { border-color: var(--amber); border-width: 3px; }
.store-card--indie { border-color: var(--sage); }
.store-card--far { border-color: var(--border-light); opacity: 0.9; }

.store-card-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  background: var(--amber);
  color: var(--brown);
  padding: 4px 14px;
  margin: 20px 20px 0;
  border-radius: var(--radius);
}
.badge-indie { background: var(--sage); color: var(--cream); }
.badge-far { background: var(--brown-mid); color: var(--cream); }

.store-card-header { padding: 14px 24px 18px; }
.store-distance { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 6px; }
.store-card-header h3 { margin-bottom: 6px; }
.store-tagline { font-size: 0.9rem; color: var(--text-muted); font-style: italic; }

.store-card-body { padding: 0 24px 24px; }

.store-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.sinfo-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-bottom: 6px;
}
.sinfo address { font-size: 0.9rem; line-height: 1.5; }
.sinfo a { color: var(--brown); font-weight: 600; font-size: 0.95rem; }

.hours-list { display: flex; flex-direction: column; gap: 4px; }
.hour-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.hour-row span { color: var(--text-muted); }
.hour-row strong { color: var(--brown); }

/* PRICE BOARD */
.price-board {
  background: var(--brown);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.pb-header {
  background: var(--amber);
  color: var(--brown);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 8px 16px;
}
.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(232,160,32,0.15);
}
.pb-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: var(--brown);
}
.pb-cat { font-size: 0.78rem; color: rgba(253,246,232,0.65); }
.pb-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--amber); letter-spacing: 0.04em; }

/* INSIDER TIPS */
.store-insider {
  background: #fffbf0;
  border-left: 4px solid var(--amber);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.insider-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber-dark); margin-bottom: 10px; }
.store-insider ul { padding-left: 18px; font-size: 0.875rem; color: var(--text); }
.store-insider ul li { margin-bottom: 6px; }

.store-card-link {
  display: block;
  background: var(--cream-dark);
  color: var(--rust);
  font-weight: 700;
  font-size: 0.875rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  transition: background 0.15s;
}
.store-card-link:hover { background: var(--amber); color: var(--brown); text-decoration: none; }

/* INDIE STORES */
.indie-note { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.indie-list { display: flex; flex-direction: column; gap: 14px; }
.indie-store { background: var(--cream); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 14px 18px; }
.is-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--brown); }
.is-detail { font-size: 0.875rem; color: var(--text-muted); }

/* ALERT BOX */
.alert-box {
  display: flex;
  gap: 16px;
  align-items: start;
  background: #fff8e0;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 0.9rem;
}
.alert-icon { font-size: 1.5rem; flex-shrink: 0; }
.alert-box strong { display: block; margin-bottom: 4px; }

/* ── TIPS SECTION ── */
.tips-section { background: var(--brown); }
.tips-section .section-header h2 { color: var(--cream); }
.tips-section .section-tag { color: var(--amber); border-color: var(--amber); }
.tips-section .section-header p { color: rgba(253,246,232,0.65); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.tip-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(232,160,32,0.2);
  line-height: 1;
  margin-bottom: 10px;
}
.tip-card h3 { color: var(--amber); font-size: 1.2rem; margin-bottom: 12px; }
.tip-card p { color: rgba(253,246,232,0.75); font-size: 0.9rem; margin-bottom: 14px; }
.tip-pro {
  background: rgba(232,160,32,0.1);
  border-left: 3px solid var(--amber);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: rgba(253,246,232,0.85);
  font-style: italic;
}

/* ── CALCULATOR SECTION ── */
.calc-section { background: var(--cream-dark); }
.calc-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.calc-inputs {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-row { display: flex; flex-direction: column; gap: 6px; }
.calc-row label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rust);
}
.calc-input {
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  transition: border-color 0.15s;
}
.calc-input:focus { outline: none; border-color: var(--amber); }

.calc-result {
  background: var(--brown);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.calc-placeholder-text { color: rgba(253,246,232,0.3); font-style: italic; text-align: center; }
.calc-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(232,160,32,0.15); font-size: 0.9rem; color: rgba(253,246,232,0.8); }
.calc-line:last-child { border-bottom: none; }
.calc-line-amt { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--amber); }
.calc-total-line { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--amber); }
.calc-total-label { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--cream); letter-spacing: 0.06em; }
.calc-total-amt { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--amber); }
.calc-savings { margin-top: 12px; font-size: 0.8rem; color: rgba(253,246,232,0.55); font-style: italic; }
.calc-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* ── FAQ ── */
.faq-section { background: var(--cream); }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
}
.faq-q::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--amber); flex-shrink: 0; font-family: sans-serif; transition: transform 0.2s; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-q:hover { background: var(--cream); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 0.95rem; color: var(--text); line-height: 1.75; border-top: 1px solid var(--border-light); padding-top: 14px; }
.faq-a.open { display: block; }

/* ── FOOTER ── */
.site-footer { background: var(--brown); color: rgba(253,246,232,0.7); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(232,160,32,0.2); }
.footer-logo { font-size: 2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 280px; }
.footer-verify { font-size: 0.8rem; color: rgba(253,246,232,0.4); margin-top: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav strong { color: var(--amber); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-nav a { color: rgba(253,246,232,0.6); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--amber); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0; font-size: 0.78rem; color: rgba(253,246,232,0.3); flex-wrap: wrap; gap: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero-content { padding: 48px 0; }
  .explainer-grid { grid-template-columns: 1fr 1fr; }
  .exp-item:nth-child(2) { border-right: none; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .pb-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--brown); padding: 16px 24px; border-bottom: 2px solid var(--amber); z-index: 99; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .explainer-grid { grid-template-columns: 1fr; }
  .exp-item { border-right: none; border-bottom: 1px solid rgba(42,26,10,0.1); }
  .exp-item:last-child { border-bottom: none; }
  .tips-grid { grid-template-columns: 1fr; }
  .store-info-grid { grid-template-columns: 1fr; }
  .pb-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
  .hero-stats { gap: 12px; }
}
