/* ===========================
   Heritage Rug Buyers – Global Styles
   =========================== */

:root {
  --burgundy: #8B2635;
  --burgundy-dark: #6B1D28;
  --gold: #C4973B;
  --gold-light: #E8C97A;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --dark: #1C1C1C;
  --text: #2E2E2E;
  --muted: #6B6B6B;
  --white: #FFFFFF;
  --border: #E2D9CC;
  --shadow: 0 4px 24px rgba(28,28,28,0.10);
  --radius: 10px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--dark);
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--cream); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.text-center { text-align: center; }

/* ── Header / Nav ── */
.site-header {
  background: var(--dark);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: normal;
  letter-spacing: 0.03em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: #CCC; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--burgundy-dark) !important; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn-primary:hover { background: var(--burgundy-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,38,53,0.35); }
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-light); color: var(--dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); text-decoration: none; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ── Hero Sections ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #3A1520 60%, #1C0A0E 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4973B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.4;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p { font-size: 1.2rem; color: #D0C8C0; margin-bottom: 2rem; }
.hero-badge {
  display: inline-block;
  background: rgba(196,151,59,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 2rem; font-family: var(--font-serif); color: var(--gold-light); }
.hero-stat span { font-size: 0.85rem; color: #AAA; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.card-gold { border-top: 3px solid var(--gold); }
.card-red { border-top: 3px solid var(--burgundy); }

/* ── Steps ── */
.steps { counter-reset: steps; }
.step { display: flex; gap: 24px; margin-bottom: 40px; align-items: flex-start; }
.step-num {
  counter-increment: steps;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: bold;
}
.step-num::before { content: counter(steps); }

/* ── Testimonials ── */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.testimonial p { font-style: italic; font-size: 1.05rem; color: var(--text); margin-bottom: 0.75rem; }
.testimonial cite { font-size: 0.9rem; color: var(--muted); font-style: normal; font-weight: 600; }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-weight: 700; font-size: 1.05rem; color: var(--dark); margin-bottom: 0.5rem; }
.faq-a { color: var(--muted); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--white);
  padding: 70px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--cream);
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb span { margin: 0 8px; }

/* ── Blog / Article ── */
.article-header { padding: 60px 24px 40px; background: var(--cream); text-align: center; }
.article-header h1 { max-width: 760px; margin: 0 auto 1rem; }
.article-meta { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
.article-meta strong { color: var(--burgundy); }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.article-body h3 { margin-top: 2rem; color: var(--burgundy); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--cream);
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.article-body .chart-wrap {
  margin: 2.5rem 0;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.chart-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 1.2rem;
  text-align: center;
}
.chart-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }
.callout {
  background: linear-gradient(135deg, #FFF8EE, #FAF7F2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 2rem 0;
}
.callout-title { font-weight: 700; color: var(--burgundy); margin-bottom: 0.5rem; }

/* ── Comparison Table ── */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.comparison-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-serif);
}
.comparison-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); }
.comparison-table tr:nth-child(even) td { background: var(--cream); }
.comparison-table .check { color: #22A050; font-weight: bold; }
.comparison-table .cross { color: #CC2233; }

/* ── Tag / Pill ── */
.tag {
  display: inline-block;
  background: var(--cream);
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 6px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
}
.tag-red { background: rgba(139,38,53,0.08); color: var(--burgundy); border-color: rgba(139,38,53,0.2); }

/* ── Highlight Box ── */
.highlight-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.highlight-box h3 { color: var(--gold-light); }
.highlight-box p { color: #CCC; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #AAA;
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer-heading { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #888; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.trust-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2A2A2A;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #CCC;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 70px 20px 56px; }
  .hero-stats { gap: 24px; }
  .step { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Utility ── */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.text-gold { color: var(--gold); }
.text-red { color: var(--burgundy); }
.text-muted { color: var(--muted); }
.fw-bold { font-weight: 700; }
.serif { font-family: var(--font-serif); }
