/* ============================================================
   ReiningSaddles.com — Mobile-First Stylesheet
   Base = mobile, 640px = tablet, 1024px = desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,800;1,400;1,600&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Oswald:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --cognac:      #8B4513;
  --dark-saddle: #3D1F0A;
  --tan:         #C8A97D;
  --parchment:   #F5EDD8;
  --cream:       #FAF6EC;
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --charcoal:    #1A1410;
  --mid-brown:   #6B3E26;
  --warm-gray:   #8A7968;
  --white:       #FFFDF8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Crimson Pro', 'Book Antiqua', Georgia, serif;
  --font-label:   'Oswald', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cognac); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

/* ── Utility ── */
.container { width: 100%; padding: 0 16px; }
@media (min-width: 640px)  { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { max-width: 1140px; margin: 0 auto; padding: 0 32px; } }

.section-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--dark-saddle);
  line-height: 1.2;
  margin-bottom: 16px;
}
@media (min-width: 640px)  { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.section-intro {
  font-size: 1rem;
  color: var(--mid-brown);
  margin-bottom: 32px;
  line-height: 1.75;
}
@media (min-width: 640px) { .section-intro { font-size: 1.1rem; } }

.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 24px;
  border: 2px solid var(--cognac);
  color: var(--cognac);
  transition: all .25s;
  cursor: pointer;
  background: transparent;
  text-align: center;
}
.btn:hover { background: var(--cognac); color: var(--white); }
.btn-solid { background: var(--cognac); color: var(--white); }
.btn-solid:hover { background: var(--dark-saddle); border-color: var(--dark-saddle); color: var(--white); }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--white); }
.btn-block { display: block; width: 100%; }

.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cognac));
  margin: 20px 0 28px;
}
@media (min-width: 640px) { .divider { width: 64px; margin: 24px 0 36px; } }

/* ── NAV ── */
.site-nav {
  background: var(--dark-saddle);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--cognac);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  height: 58px;
}
@media (min-width: 640px) { .nav-inner { padding: 0 24px; height: 62px; } }
@media (min-width: 1024px) { .nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; height: 66px; } }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--parchment);
  white-space: nowrap;
  z-index: 2;
}
@media (min-width: 640px) { .nav-logo { font-size: 1.25rem; } }
.nav-logo span { color: var(--gold-light); }

/* Mobile: nav hidden, toggled open */
.nav-links {
  display: none;
  position: absolute;
  top: 58px; left: 0; right: 0;
  background: var(--dark-saddle);
  flex-direction: column;
  padding: 8px 0 16px;
  border-top: 1px solid rgba(139,69,19,.3);
  border-bottom: 2px solid var(--cognac);
  list-style: none;
  z-index: 99;
}
@media (min-width: 640px) { .nav-links { top: 62px; } }
.nav-links.open { display: flex; }
.nav-links a {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tan);
  padding: 13px 20px;
  border-left: 3px solid transparent;
  display: block;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
  border-left-color: var(--gold-light);
}
.nav-cta {
  margin: 8px 16px 0;
  background: var(--cognac) !important;
  color: var(--white) !important;
  text-align: center;
  border-left: none !important;
  padding: 12px 16px !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }

/* Tablet+: horizontal nav */
@media (min-width: 1024px) {
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    border: none;
    gap: 0;
    align-items: center;
  }
  .nav-links a {
    padding: 0 12px;
    height: 66px;
    display: flex; align-items: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 11px;
  }
  .nav-links a:hover, .nav-links a.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold-light);
  }
  .nav-cta {
    margin: 0;
    padding: 8px 16px !important;
    height: auto !important;
    border-bottom: none !important;
  }
}

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: var(--tan); display: block; transition: all .3s; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ── SPONSOR BAR ── */
.sponsor-bar {
  background: var(--cognac);
  padding: 10px 16px;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  text-align: center;
}
@media (min-width: 640px) {
  .sponsor-bar {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 12px 24px;
  }
}
.sponsor-bar-label {
  font-family: var(--font-label);
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,253,248,.6);
}
.sponsor-name {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
}
@media (min-width: 640px) { .sponsor-name { font-size: 1rem; } }
.sponsor-pipe { display: none; color: rgba(255,253,248,.3); }
@media (min-width: 640px) { .sponsor-pipe { display: inline; } }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--dark-saddle);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,69,19,.4) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255,255,255,.012) 4px, rgba(255,255,255,.012) 5px);
  padding: 52px 16px 48px;
  text-align: center;
  border-bottom: 3px solid var(--cognac);
}
@media (min-width: 640px) { .page-hero { padding: 64px 24px 56px; } }
@media (min-width: 1024px) { .page-hero { padding: 80px 32px 72px; } }
.page-hero .section-label { justify-content: center; display: flex; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 4rem);
  color: var(--parchment);
  line-height: 1.15; margin-bottom: 16px;
}
.page-hero h1 em { color: var(--gold-light); font-style: italic; }
.page-hero p {
  font-size: 1rem;
  color: var(--tan);
  max-width: 680px; margin: 0 auto;
  line-height: 1.7;
}
@media (min-width: 640px) { .page-hero p { font-size: 1.15rem; } }

/* ── SECTIONS ── */
.section { padding: 48px 0; }
@media (min-width: 640px) { .section { padding: 64px 0; } }
@media (min-width: 1024px) { .section { padding: 80px 0; } }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--dark-saddle); }
.section-dark .section-title { color: var(--parchment); }
.section-dark .section-intro { color: var(--tan); }
.section-dark p { color: var(--tan); }

/* ── CARDS ── */
.card-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.card {
  background: var(--white);
  border: 1px solid rgba(139,69,19,.15);
  border-top: 3px solid var(--cognac);
  padding: 24px 20px;
  transition: box-shadow .25s, transform .25s;
}
@media (min-width: 640px) { .card { padding: 28px 24px; } }
.card:hover { box-shadow: 0 6px 28px rgba(61,31,10,.1); transform: translateY(-2px); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--dark-saddle); margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--warm-gray); }

/* ── SPONSOR BLOCKS ── */
.sponsor-block {
  background: var(--white);
  border: 1px solid rgba(139,69,19,.2);
  border-left: 4px solid var(--gold);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 20px;
  transition: box-shadow .2s;
}
@media (min-width: 640px) {
  .sponsor-block { flex-direction: row; gap: 28px; padding: 32px 28px; align-items: flex-start; }
}
.sponsor-block:hover { box-shadow: 0 4px 24px rgba(61,31,10,.1); }
.sponsor-badge {
  width: 60px; height: 60px; min-width: 60px;
  background: var(--dark-saddle); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
@media (min-width: 640px) { .sponsor-badge { width: 72px; height: 72px; min-width: 72px; font-size: 1.8rem; } }
.sponsor-block h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--dark-saddle); margin-bottom: 6px; }
.sponsor-block .sponsor-tag {
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.sponsor-block p { font-size: .95rem; color: var(--warm-gray); margin-bottom: 14px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  border-top: 3px solid var(--dark-saddle);
  padding: 40px 0 24px;
  color: var(--warm-gray);
}
@media (min-width: 640px) { .site-footer { padding: 52px 0 28px; } }
@media (min-width: 1024px) { .site-footer { padding: 60px 0 32px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; } }

.footer-brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--parchment); margin-bottom: 10px; }
.footer-brand span { color: var(--gold-light); }
.footer-tagline { font-size: .9rem; line-height: 1.65; color: var(--warm-gray); margin-bottom: 16px; }
.footer-col h4 {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--tan); margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: var(--warm-gray); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: .8rem; text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
.footer-bottom p { color: rgba(138,121,104,.7); }

/* ── COMPARE TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
@media (min-width: 640px) { .compare-table { font-size: 1rem; } }
.compare-table th {
  background: var(--dark-saddle); color: var(--parchment);
  font-family: var(--font-label); letter-spacing: .08em;
  text-transform: uppercase; font-size: 11px;
  padding: 12px 14px; text-align: left;
}
@media (min-width: 640px) { .compare-table th { padding: 16px 20px; font-size: 12px; } }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid rgba(139,69,19,.12); }
@media (min-width: 640px) { .compare-table td { padding: 14px 20px; } }
.compare-table tr:nth-child(even) td { background: rgba(200,169,125,.08); }
.compare-table tr:hover td { background: rgba(139,69,19,.06); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(139,69,19,.15); padding: 20px 0; }
@media (min-width: 640px) { .faq-item { padding: 24px 0; } }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--dark-saddle);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
@media (min-width: 640px) { .faq-q { font-size: 1.15rem; } }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--cognac); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding-top: 12px; font-size: .95rem; color: var(--warm-gray); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
@media (min-width: 640px) { .timeline { padding-left: 40px; } }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--gold), var(--cognac));
}
@media (min-width: 640px) { .timeline::before { left: 12px; } }
.tl-item { position: relative; margin-bottom: 32px; }
@media (min-width: 640px) { .tl-item { margin-bottom: 40px; } }
.tl-dot {
  position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cognac); border: 2px solid var(--gold);
}
@media (min-width: 640px) { .tl-dot { left: -34px; width: 14px; height: 14px; } }
.tl-year { font-family: var(--font-label); font-size: 10px; letter-spacing: .15em; color: var(--gold); margin-bottom: 4px; }
.tl-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--dark-saddle); margin-bottom: 6px; }
@media (min-width: 640px) { .tl-title { font-size: 1.15rem; } }
.tl-body { font-size: .95rem; color: var(--warm-gray); line-height: 1.75; }

/* ── PARTS DIAGRAM ── */
.parts-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .parts-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
