/* ============================================
   Mongol Heritage — Design System
   Color: Eternal Blue Sky + Traditional Gold
   ============================================ */

:root {
  /* Brand Colors */
  --c-primary: #1a3a5c;
  --c-primary-dark: #0f2440;
  --c-primary-light: #2d5680;
  --c-accent: #c89b3c;
  --c-accent-light: #e0bc6a;
  --c-accent-dark: #9e7730;

  /* Neutrals */
  --c-cream: #faf7f0;
  --c-warm: #f5f0e6;
  --c-text: #2a2520;
  --c-text-muted: #6b6358;
  --c-border: #e0d9cc;
  --c-white: #ffffff;
  --c-success: #2e7d32;
  --c-danger: #c62828;

  /* Typography */
  --f-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 1.5rem;
  --s-lg: 2rem;
  --s-xl: 3rem;
  --s-2xl: 4rem;
  --s-3xl: 6rem;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing */
.section { padding: var(--s-2xl) 0; }
.section-sm { padding: var(--s-xl) 0; }
.section-tight { padding: var(--s-lg) 0; }

/* Typography helpers */
.h1 { font-family: var(--f-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; }
.h2 { font-family: var(--f-heading); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.3; }
.h3 { font-family: var(--f-heading); font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
.h4 { font-family: var(--f-heading); font-size: 1.25rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--c-text-muted); line-height: 1.8; }
.muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.text-primary { color: var(--c-primary); }

/* Section label */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s-xs);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-accent {
  background: var(--c-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
  background: transparent;
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-primary);
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 1.1rem;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 1rem; align-items: center; }

/* Mobile menu */
.menu-toggle { display: none; font-size: 1.5rem; color: var(--c-primary); }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--c-cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-200%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta .btn-outline { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, var(--c-primary-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 5 L55 30 L30 55 L5 30 Z M30 15 L45 30 L30 45 L15 30 Z" fill="none" stroke="%23c89b3c" stroke-width="0.5" opacity="0.15"/></svg>');
  background-size: 80px;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 3rem 0;
}
.hero .eyebrow { color: var(--c-accent-light); }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.2rem; line-height: 1.8; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-family: var(--f-heading); font-size: 2.5rem; font-weight: 700; color: var(--c-accent-light); }
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.75rem; }
}

/* ============================================
   Product Grid & Cards
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}
.product-card-img {
  aspect-ratio: 4 / 3;
  background: var(--c-warm);
  overflow: hidden;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-card-body { padding: 1.25rem; }
.product-card-body h4 { margin-bottom: 0.35rem; }
.product-card-cat { font-size: 0.8rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card-desc { font-size: 0.85rem; color: var(--c-text-muted); margin-top: 0.5rem; line-height: 1.6; }

/* ============================================
   Section: Cultural Story (split layout)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-warm);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   Category Grid
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--c-primary);
  cursor: pointer;
  transition: all var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity var(--transition); }
.category-card:hover img { opacity: 0.45; }
.category-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1.5rem;
}
.category-card-overlay h4 { color: #fff; margin-bottom: 0.25rem; }
.category-card-overlay span { font-size: 0.85rem; color: var(--c-accent-light); }

/* ============================================
   Feature / Why Choose Us
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-item { text-align: center; padding: 1.5rem; }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--c-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.feature-item h4 { margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.7; }

/* ============================================
   Stats bar
   ============================================ */
.stats-bar {
  background: var(--c-primary);
  color: #fff;
  padding: var(--s-2xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--f-heading); font-size: 2.75rem; font-weight: 700; color: var(--c-accent-light); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  text-align: center;
  padding: var(--s-3xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 5 L55 30 L30 55 L5 30 Z M30 15 L45 30 L30 45 L15 30 Z" fill="none" stroke="%23c89b3c" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 80px;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 2rem; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--s-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--s-2xl);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-col h5 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--c-accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
@media (max-width: 768px) { .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }

/* ============================================
   Forms (Inquiry)
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--c-text);
}
.form-label .req { color: var(--c-danger); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  color: var(--c-success);
  font-size: 0.95rem;
}
.form-success.show { display: block; }

/* ============================================
   Contact info items
   ============================================ */
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-item h5 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.9rem; color: var(--c-text-muted); }

/* ============================================
   Page hero (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  padding: var(--s-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 5 L55 30 L30 55 L5 30 Z M30 15 L45 30 L30 45 L15 30 Z" fill="none" stroke="%23c89b3c" stroke-width="0.5" opacity="0.12"/></svg>');
  background-size: 80px;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem; font-size: 0.85rem; }
.breadcrumb a { color: var(--c-accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ============================================
   Filter bar (products page)
   ============================================ */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: #fff;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ============================================
   Timeline (about page)
   ============================================ */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid var(--c-cream);
}
.timeline-item h4 { margin-bottom: 0.25rem; }
.timeline-item .timeline-date { font-size: 0.85rem; color: var(--c-accent); font-weight: 600; margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.9rem; color: var(--c-text-muted); }

/* ============================================
   FAQ
   ============================================ */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--c-accent); transition: transform var(--transition); }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.7; }

/* ============================================
   Utility
   ============================================ */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: var(--s-xs); } .mt-2 { margin-top: var(--s-sm); }
.mt-3 { margin-top: var(--s-md); } .mt-4 { margin-top: var(--s-lg); } .mt-5 { margin-top: var(--s-xl); }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: var(--s-xs); } .mb-2 { margin-bottom: var(--s-sm); }
.mb-3 { margin-bottom: var(--s-md); } .mb-4 { margin-bottom: var(--s-lg); } .mb-5 { margin-bottom: var(--s-xl); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hidden { display: none; }
