/* ===========================================================
   NOBLE STRIDE — Men's Leather Footwear B2B
   Global stylesheet (dark, premium, business)
   =========================================================== */

:root {
  /* Core palette (3-5 colors) */
  --bg: #14100d;
  --surface: #1d1813;
  --surface-2: #261f18;
  --text: #ece4d8;
  --muted: #9c8d7c;
  --accent: #c08a4e;      /* leather bronze */
  --accent-strong: #d9a866;
  --border: rgba(236, 228, 216, 0.1);
  --border-strong: rgba(236, 228, 216, 0.2);

  --maxw: 1240px;
  --radius: 4px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}
.btn-primary { background: var(--accent); color: #1a130c; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 16, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  border-radius: var(--radius);
}
.brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.brand-name span { color: var(--accent-strong); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,16,13,0.96) 0%, rgba(20,16,13,0.78) 45%, rgba(20,16,13,0.35) 100%);
}
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: 640px; padding: 80px 0; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 24px; }
.hero h1 em { color: var(--accent-strong); font-style: italic; }
.hero p { font-size: 19px; color: var(--muted); margin-bottom: 36px; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border: 1px solid var(--border);
  border-radius: 50%;
}
.page-banner h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.breadcrumb { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb span { color: var(--accent-strong); }

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stat { background: var(--bg); padding: 36px 28px; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 40px; color: var(--accent-strong); }
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card .ico {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--surface-2); color: var(--accent-strong);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.product-media { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20,16,13,0.85); color: var(--accent-strong);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--border);
}
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 8px; }
.product-body h3 { font-size: 20px; margin-bottom: 10px; }
.product-meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.product-meta b { color: var(--text); font-weight: 600; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.product-price { font-family: var(--font-serif); color: var(--accent-strong); font-size: 18px; }
.product-link { font-size: 13px; font-weight: 600; color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
.product-link:hover { color: var(--accent-strong); }

/* ---------- Filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px;
  background: transparent; cursor: pointer; transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--accent); color: #1a130c; border-color: var(--accent); }
.result-count { font-size: 14px; color: var(--muted); }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.gallery-main { aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb { aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; opacity: 0.6; transition: 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--accent); }
.detail-info h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { color: var(--text); font-weight: 500; }
.price-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.price-block .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.price-block .value { font-family: var(--font-serif); font-size: 32px; color: var(--accent-strong); margin: 4px 0; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab { padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--text); border-color: var(--accent); }
.tab-panel { display: none; color: var(--muted); }
.tab-panel.active { display: block; }

/* ---------- Split / about ---------- */
.split-img { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.list-check { margin-top: 22px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.list-check svg { width: 20px; height: 20px; color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); position: relative; }
.step-num { font-family: var(--font-serif); font-size: 44px; color: var(--surface-2); -webkit-text-stroke: 1px var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.3s; }
.news-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.news-media { aspect-ratio: 16/10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 24px; }
.news-date { font-size: 12px; color: var(--accent-strong); letter-spacing: 0.08em; text-transform: uppercase; }
.news-body h3 { font-size: 19px; margin: 10px 0; }
.news-body p { font-size: 14px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; }
.field label .req { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none; background: var(--surface-2); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 20px; color: var(--accent-strong); margin-bottom: 20px;
}
.form-success.show { display: block; }

/* ---------- Info cards (contact) ---------- */
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.info-card .ico { color: var(--accent-strong); margin-bottom: 14px; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); max-width: 22ch; }
.cta-band p { color: var(--muted); margin-top: 10px; }

/* ---------- Logos / certs ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 26px;
  font-size: 13px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { font-size: 14px; color: var(--text); opacity: 0.8; }
.footer-grid a:hover { color: var(--accent-strong); opacity: 1; }
.footer-about p { color: var(--muted); font-size: 14px; margin: 16px 0; max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px 24px; transform: translateY(-130%); transition: transform 0.35s ease;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .grid-3, .product-grid, .news-grid, .grid-2, .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .grid-4, .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 70vh; }
}
