/* ============================================================
   RanchSaddles.com — Mobile-First Stylesheet
   Brand: deep oxblood/burgundy + antique brass — distinct from
   cognac (reining), teal (cowhorse), forest green (cutting)
   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');

:root {
  --oxblood:     #5C1A1A;
  --deep-ox:     #3A0D0D;
  --brass:       #8B6914;
  --brass-light: #A8820F;
  --hay:         #C9A96E;
  --parchment:   #F4EDD8;
  --cream:       #F7F3EA;
  --charcoal:    #1A1A14;
  --mid-brown:   #6B4226;
  --warm-gray:   #7A7268;
  --white:       #FFFDF8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Crimson Pro', 'Book Antiqua', Georgia, serif;
  --font-label:   'Oswald', sans-serif;
}

*, *::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(--oxblood); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brass); }

/* ── 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(--brass); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.75rem); color: var(--deep-ox); line-height: 1.2; margin-bottom: 16px; }
@media (min-width: 640px)  { .section-title { font-size: clamp(1.6rem, 4vw, 2.25rem); } }
@media (min-width: 1024px) { .section-title { font-size: clamp(1.8rem, 3vw, 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(--oxblood); color: var(--oxblood); transition: all .25s; cursor: pointer; background: transparent; text-align: center; }
.btn:hover { background: var(--oxblood); color: var(--white); }
.btn-solid { background: var(--oxblood); color: var(--white); border-color: var(--oxblood); }
.btn-solid:hover { background: var(--deep-ox); border-color: var(--deep-ox); color: var(--white); }
.btn-brass { border-color: var(--brass); color: var(--brass); }
.btn-brass:hover { background: var(--brass); color: var(--white); }
.btn-block { display: block; width: 100%; }

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

/* ── NAV ── */
.site-nav { background: var(--deep-ox); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--oxblood); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 54px; }
@media (min-width: 640px) { .nav-inner { padding: 0 24px; height: 58px; } }
@media (min-width: 1024px) { .nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; height: 62px; } }
.nav-logo { font-family: var(--font-display); font-size: 1rem; color: var(--parchment); white-space: nowrap; z-index: 2; }
@media (min-width: 640px) { .nav-logo { font-size: 1.15rem; } }
.nav-logo span { color: var(--brass-light); }
.nav-links { display: none; position: absolute; top: 54px; left: 0; right: 0; background: var(--deep-ox); flex-direction: column; padding: 8px 0 16px; border-bottom: 2px solid var(--oxblood); list-style: none; z-index: 99; }
@media (min-width: 640px) { .nav-links { top: 58px; } }
.nav-links.open { display: flex; }
.nav-links a { font-family: var(--font-label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hay); padding: 12px 20px; border-left: 3px solid transparent; display: block; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brass-light); border-left-color: var(--brass-light); }
.nav-cta { margin: 8px 16px 0; background: var(--oxblood) !important; color: var(--white) !important; text-align: center; border-left: none !important; padding: 12px 16px !important; }
.nav-cta:hover { background: var(--brass) !important; color: var(--white) !important; }
@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 9px; height: 62px; display: flex; align-items: center; border-left: none; border-bottom: 3px solid transparent; font-size: 10px; }
  .nav-links a:hover, .nav-links a.active { border-left-color: transparent; border-bottom-color: var(--brass-light); }
  .nav-cta { margin: 0; padding: 8px 14px !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(--hay); display: block; transition: all .3s; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ── SPONSOR BAR ── */
.sponsor-bar { background: var(--oxblood); padding: 8px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
@media (min-width: 640px) { .sponsor-bar { flex-direction: row; justify-content: center; gap: 20px; padding: 10px 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; }
.sponsor-pipe { display: none; color: rgba(255,253,248,.3); }
@media (min-width: 640px) { .sponsor-pipe { display: inline; } }

/* ── SECTIONS ── */
.section { padding: 40px 0; }
@media (min-width: 640px) { .section { padding: 56px 0; } }
@media (min-width: 1024px) { .section { padding: 72px 0; } }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--deep-ox); }
.section-ox { background: var(--oxblood); }
.section-dark .section-title, .section-ox .section-title { color: var(--parchment); }
.section-dark .section-intro, .section-ox .section-intro { color: var(--hay); }
.section-dark p, .section-ox p { color: var(--hay); }

/* ── 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(92,26,26,.15); border-top: 3px solid var(--oxblood); 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(58,13,13,.1); transform: translateY(-2px); }
.card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--deep-ox); margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--warm-gray); }

/* ── SADDLE CARDS ── */
.saddle-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .saddle-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1024px) { .saddle-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.saddle-card { background: var(--white); border: 1px solid rgba(92,26,26,.15); border-top: 3px solid var(--brass); display: flex; flex-direction: column; overflow: hidden; }
.saddle-img-wrap { aspect-ratio: 3/4; overflow: hidden; background: var(--parchment); }
.saddle-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.saddle-card:hover .saddle-img-wrap img { transform: scale(1.04); }
.saddle-card-body { padding: 16px 16px 20px; flex: 1; display: flex; flex-direction: column; }
.saddle-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--deep-ox); margin-bottom: 8px; }
.saddle-specs { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; flex: 1; }
.spec-item { font-family: var(--font-label); font-size: .75rem; letter-spacing: .04em; color: var(--warm-gray); }
.saddle-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--oxblood); font-weight: 700; margin-bottom: 12px; }

/* ── COMPARE TABLE ── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 480px; }
@media (min-width: 640px) { .compare-table { font-size: .95rem; } }
.compare-table th { background: var(--deep-ox); color: var(--parchment); font-family: var(--font-label); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; padding: 12px 14px; text-align: left; }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid rgba(92,26,26,.1); }
.compare-table tr:nth-child(even) td { background: rgba(201,169,110,.08); }
.compare-table tr:hover td { background: rgba(92,26,26,.05); }

/* ── 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(--brass), var(--oxblood)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-dot { position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); border: 2px solid var(--oxblood); }
@media (min-width: 640px) { .tl-dot { left: -34px; } }
.tl-year { font-family: var(--font-label); font-size: 10px; letter-spacing: .15em; color: var(--brass); margin-bottom: 4px; }
.tl-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--deep-ox); margin-bottom: 6px; }
.tl-body { font-size: .95rem; color: var(--warm-gray); line-height: 1.75; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(92,26,26,.15); padding: 18px 0; }
.faq-q { font-family: var(--font-display); font-size: 1.05rem; color: var(--deep-ox); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--oxblood); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '&#8722;'; }
.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; }

/* ── LISTING PAGES ── */
.listing-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .listing-grid { grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; } }
@media (min-width: 1100px) { .listing-grid { grid-template-columns: 3fr 2fr; gap: 52px; } }
.main-img-wrap { background: var(--parchment); border: 1px solid rgba(92,26,26,.15); overflow: hidden; }
.main-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; }
.thumb-strip { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border: 2px solid rgba(92,26,26,.2); overflow: hidden; cursor: pointer; transition: border-color .2s; flex-shrink: 0; }
@media (min-width: 640px) { .gallery-thumb { width: 88px; height: 88px; } }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--oxblood); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--parchment); }
.listing-title { font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 1.9rem); color: var(--deep-ox); line-height: 1.2; margin-bottom: 12px; }
.listing-price { font-family: var(--font-display); font-size: 2rem; color: var(--oxblood); font-weight: 700; border-top: 2px solid var(--brass); padding-top: 14px; margin-bottom: 20px; }
.listing-specs table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.listing-specs tr { border-bottom: 1px solid rgba(92,26,26,.1); }
.listing-specs tr:last-child { border-bottom: none; }
.listing-specs th { padding: 9px 10px 9px 0; font-family: var(--font-label); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray); width: 38%; text-align: left; font-weight: 400; }
.listing-specs td { padding: 9px 0 9px 10px; color: var(--charcoal); font-weight: 600; font-size: .95rem; }
.listing-description p { font-size: 1rem; line-height: 1.85; color: var(--charcoal); margin-bottom: 14px; }
.shipping-note { background: #e8f4fd; border-left: 4px solid #2196F3; padding: 13px 16px; font-size: .9rem; color: var(--charcoal); margin: 16px 0; line-height: 1.6; }
.cert-badge { background: var(--parchment); border-left: 4px solid var(--brass); padding: 15px 16px; display: flex; gap: 12px; align-items: center; margin: 16px 0; }
.cert-badge img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; object-fit: contain; background: white; padding: 2px; }
.cert-badge span { font-size: .9rem; color: var(--mid-brown); line-height: 1.6; }
.cert-badge strong { color: var(--deep-ox); }
.cta-button { display: block; width: 100%; font-family: var(--font-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 15px 24px; background: var(--oxblood); color: var(--white); text-align: center; transition: background .25s; margin-top: 14px; text-decoration: none; }
.cta-button:hover { background: var(--deep-ox); color: var(--white); }
.breadcrumb { font-family: var(--font-label); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 20px; }
.breadcrumb a { color: var(--mid-brown); }
.breadcrumb a:hover { color: var(--oxblood); }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); border-top: 3px solid var(--deep-ox); padding: 40px 0 24px; }
@media (min-width: 640px) { .site-footer { padding: 52px 0 28px; } }
.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 1fr; gap: 32px; margin-bottom: 48px; } }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: var(--parchment); margin-bottom: 10px; }
.footer-brand span { color: var(--brass-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(--hay); 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(--brass-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); }
