/* ============================================
   BROWNING SAFES OF TEXAS — MICROSITE
   browningsafestexas.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
  --gold: #C8960A;
  --gold-light: #E8B830;
  --gold-dark: #8B6400;
  --brown: #2A1F0F;
  --brown-deep: #1A1208;
  --brown-mid: #3D2E1A;
  --cream: #F5F0E6;
  --cream-dark: #E8DFD0;
  --black: #0A0806;
  --white: #FAFAF8;
  --red: #CC2222;
  --green: #2E8B57;
  --text: #2A2318;
  --text-light: #6B5D4F;
  --text-muted: #9A8B7A;
  --border: rgba(200,150,10,0.15);
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --radius: 4px;
  --max-width: 1200px;
  --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.03em;
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }

/* ===== HEADER ===== */
.site-header {
  background: var(--brown-deep);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--header-height);
}
.site-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.site-logo .gold { color: var(--gold-light); }
.site-logo .divider { color: var(--gold); opacity: 0.4; margin: 0 4px; }

.main-nav { display: flex; gap: 0; }
.main-nav a {
  color: rgba(255,255,255,0.8);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 16px;
  height: var(--header-height);
  display: flex; align-items: center;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  background: rgba(200,150,10,0.05);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(165deg, var(--brown-deep) 0%, var(--brown) 40%, var(--brown-mid) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,150,10,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,10,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(200,150,10,0.08), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,10,0.15);
  border: 1px solid rgba(200,150,10,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold-light); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--gold);
  color: var(--brown-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--brown-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,150,10,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-dark {
  background: var(--brown-deep);
  color: var(--gold-light);
}
.btn-dark:hover {
  background: var(--black);
  transform: translateY(-2px);
}

/* ===== PROMO BANNER ===== */
.promo-strip {
  background: linear-gradient(90deg, var(--red) 0%, #991111 100%);
  padding: 16px 0;
  text-align: center;
}
.promo-strip .container {
  display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
}
.promo-strip h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-strip p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.promo-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.promo-amount span { font-size: 0.8rem; font-weight: 400; display: block; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--brown-deep); color: var(--white); }
.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header .underline {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 16px auto;
}
.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ===== SERIES GRID ===== */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.series-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.series-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.series-card-img {
  height: 220px;
  background: linear-gradient(135deg, #f0ebe0 0%, #e8e0d0 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  position: relative;
}
.series-card-img img { max-height: 180px; object-fit: contain; }
.series-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--red);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.series-card-body { padding: 20px; }
.series-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.series-card-body .price {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.series-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.series-card-body .specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.series-card-body .specs span {
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 3px;
}
.series-card-link {
  display: block;
  padding: 12px 20px;
  border-top: 1px solid var(--cream-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  text-align: center;
  transition: all 0.2s;
}
.series-card-link:hover {
  background: var(--gold);
  color: var(--brown-deep);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.feature-item { text-align: center; padding: 24px 16px; }
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-dark .feature-item h3 { color: var(--gold-light); }
.feature-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.section-dark .feature-item p { color: rgba(255,255,255,0.55); }

/* ===== PROMO SECTION ===== */
.double-savings {
  background: linear-gradient(135deg, var(--brown-deep) 0%, #1e150a 50%, var(--brown) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.double-savings::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(200,150,10,0.02) 20px,
    rgba(200,150,10,0.02) 40px
  );
}
.savings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  position: relative; z-index: 1;
}
.savings-tier {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,150,10,0.2);
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
}
.savings-tier .range {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.savings-tier .amount {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.savings-tier .detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
}
.trust-item .number {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.trust-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ===== LOCATIONS ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.location-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,150,10,0.15);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.location-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.location-card a {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  font-weight: 600;
}
.location-card a:hover { color: var(--gold-light); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  padding: 3px 0;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  background: var(--brown-deep);
  color: var(--gold-light);
  padding: 14px 16px;
  text-align: left;
  position: sticky; top: var(--header-height); z-index: 10;
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-dark);
}
.comparison-table tr:hover td { background: rgba(200,150,10,0.04); }
.comparison-table .series-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--brown);
}

/* ===== SERIES DETAIL PAGE ===== */
.series-hero {
  background: linear-gradient(165deg, var(--brown-deep), var(--brown-mid));
  padding: 60px 0;
}
.series-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.series-hero .series-tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
}
.series-specs-bar {
  display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap;
}
.series-spec {
  text-align: center;
}
.series-spec .val {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}
.series-spec .lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 24px;
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.product-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card .price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 12px;
}
.product-card .sale-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}
.product-card .orig-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card .specs-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.product-card .specs-list li { padding: 3px 0; }
.product-card .specs-list li::before { content: '✓ '; color: var(--gold-dark); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--brown-deep);
    border-bottom: 3px solid var(--gold);
  }
  .main-nav.open a { height: 48px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-left { display: none; }
  .trust-items { gap: 24px; }
}
