/* ─── RESET & TOKENS ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #111111;
  --bg-card:       #161616;
  --accent:        #C8A96E;
  --accent-dim:    rgba(200, 169, 110, 0.15);
  --text-primary:  #F5F5F5;
  --text-muted:    #888888;
  --border:        rgba(200, 169, 110, 0.2);
  --font:          'Inter', sans-serif;
  --nav-h:         72px;
  --section-pad:   clamp(5rem, 10vw, 9rem);
  --max-w:         1200px;
}

html { font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── NAVBAR ─────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

#lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
#lang-toggle:hover { color: var(--accent); border-color: var(--accent); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) 2rem 4rem;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 169, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 110, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-content {
  position: relative;
  max-width: 820px;
  text-align: center;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover { background: #d9bc84; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── SECTION UTILITIES ──────────────────────────── */
section:not(#home) { padding: var(--section-pad) 2rem; }

#brands, #story, #marketplaces { background: var(--bg-secondary); }
#about, #contact { background: var(--bg-primary); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── BRANDS GRID ────────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.brands-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.brands-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.brand-card--featured {
  padding: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.brand-card--featured .brand-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 0.25rem;
}
.brand-card--featured .brand-name {
  font-size: 1.1rem;
}

.brand-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── ABOUT ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-number {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.stat-plus { font-size: 0.6em; vertical-align: super; }

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ─── TIMELINE ───────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(200, 169, 110, 0.4);
}

.timeline-item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-year {
  flex-shrink: 0;
  width: 64px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
  text-align: right;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 84px;
  top: 0.5rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-secondary);
}

.timeline-body { padding-left: 1.5rem; }
.timeline-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.timeline-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ─── MARKETPLACES ───────────────────────────────── */
.marketplaces-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.marketplace-badge {
  padding: 1.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marketplace-badge:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.08);
}

.mp-logo {
  height: 28px;
  width: auto;
  display: block;
}
.mp-logo--wide {
  height: 28px;
}

/* ─── CONTACT ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-details a:hover { text-decoration: underline; }

/* ─── CONTACT FORM ───────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s;
  outline: 2px solid transparent;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input:focus-visible,
.form-group textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer p { color: var(--text-muted); font-size: 0.875rem; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .stat-number { font-size: 3rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-burger { display: block; }

  .timeline::before { left: 72px; }
  .timeline-item::after { left: 68px; }
  .timeline-year { width: 48px; }
}

@media (max-width: 600px) {
  .brands-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .brands-grid--featured { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .about-stats { flex-direction: column; }
  .marketplaces-row { gap: 0.75rem; }
  .marketplace-badge { padding: 0.75rem 1.25rem; }
  .mp-logo { height: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── SKIP LINK ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
