/* =========================================================
   RONGYUE CRAFTS — Premium Dark Theme
   Color system, typography, components
   ========================================================= */

:root {
  /* Surfaces */
  --bg-primary: #0A0A0B;
  --bg-secondary: #111114;
  --bg-card: #161619;
  --bg-elevated: #1C1C20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Brand */
  --brand-red: #C8102E;
  --brand-red-soft: rgba(200, 16, 46, 0.12);
  --brand-red-glow: rgba(200, 16, 46, 0.35);
  --gold: #C9A96E;
  --gold-soft: rgba(201, 169, 110, 0.18);

  /* Text */
  --text-primary: #F5F5F7;
  --text-secondary: #B5B5BD;
  --text-muted: #6B6B73;
  --text-inverse: #0A0A0B;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.6);

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Songti SC", "SimSun", serif;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
ul, ol { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}
.site-header.scrolled { background: rgba(10, 10, 11, 0.95); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.logo:hover { color: var(--text-primary); }
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-red) 0%, #8B0A1F 100%);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px var(--brand-red-glow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.logo-text .tag { font-size: 10px; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--bg-elevated); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-red);
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px var(--brand-red-glow); }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.lang-switcher button {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.lang-switcher button.active { color: var(--text-primary); background: var(--bg-primary); }
.lang-switcher button:hover:not(.active) { color: var(--text-secondary); }

.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0.6) 50%, rgba(10, 10, 11, 0.85) 100%);
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero h1 {
  margin: 24px 0 24px;
  color: var(--text-primary);
}
.hero h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-top: 8px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 20px var(--brand-red-glow);
}
.btn-primary:hover { background: #E63946; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px var(--brand-red-glow); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-elevated); border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--text-secondary); padding: 16px 12px; }
.btn-ghost:hover { color: var(--gold); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat .num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat .label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Marquee ===== */
.marquee {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section header ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head p {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== Product Categories Grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.cat-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-elevated);
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 11, 0.6) 100%);
}
.cat-info { padding: 24px; }
.cat-info h3 { margin-bottom: 8px; }
.cat-info .skus { font-size: 13px; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 12px; }
.cat-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.cat-info .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.cat-info .more .arrow { transition: transform 0.3s var(--ease); }
.cat-card:hover .more .arrow { transform: translateX(4px); }

/* ===== Featured / Product detail ===== */
.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.featured:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.featured:nth-child(even) .featured-img { order: 2; }
.featured-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-body h3 { margin: 16px 0 20px; }
.featured-body p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; }
.featured-body ul { margin-top: 24px; }
.featured-body li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.featured-body li:last-child { border-bottom: 1px solid var(--border); }
.featured-body li::before {
  content: "→";
  color: var(--gold);
  font-weight: 600;
}

/* ===== Stats large block ===== */
.stats-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stats-block .stat { padding: 0 20px; border-right: 1px solid var(--border); }
.stats-block .stat:last-child { border-right: none; }
.stats-block .num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stats-block .label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Gallery / Photo grid ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--bg-card);
  aspect-ratio: 4/3;
}
.gallery-item.g-wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
/* Captions removed — text would overlap images. */

/* ===== Capabilities grid ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}
.cap-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cap-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand-red-soft);
  border-radius: 8px;
  color: var(--brand-red);
  margin-bottom: 24px;
}
.cap-card h3 { margin-bottom: 12px; }
.cap-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.cap-card .num {
  display: block;
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
}

/* ===== Partners / Clients ===== */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.partner {
  padding: 40px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  min-height: 120px;
}
.partner:nth-child(4n) { border-right: none; }
.partner:nth-last-child(-n+4) { border-bottom: none; }
.partner:hover { background: var(--bg-elevated); }
.partner .name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.partner:hover .name { color: var(--gold); }

/* ===== Testimonial ===== */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.5;
  font-style: italic;
  color: var(--text-primary);
}
.testimonial blockquote::before { content: "“"; color: var(--gold); }
.testimonial blockquote::after { content: "”"; color: var(--gold); }
.testimonial .who {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.contact-list { margin-top: 40px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: 1px solid var(--border); }
.contact-item .label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 100px;
}
.contact-item .value { font-size: 16px; color: var(--text-primary); }

.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px;
}
.form h3 { margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 15px;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A0A0A8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Modal (inquiry) ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-backdrop.open { display: flex; animation: fadeIn 0.3s var(--ease); }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: slideUp 0.4s var(--ease);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.modal-close:hover { background: var(--bg-elevated); color: var(--text-primary); }
.modal h3 { margin-bottom: 8px; }
.modal .sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p { margin-top: 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer ul li { padding: 6px 0; }
.footer ul li a { font-size: 14px; color: var(--text-secondary); }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-md);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: var(--gold); }

/* ===== Page hero (sub pages) ===== */
.page-hero {
  padding: 180px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(200, 16, 46, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 20px 0 16px; }
.page-hero p { color: var(--text-secondary); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured, .featured:nth-child(even) { grid-template-columns: 1fr; gap: 40px; }
  .featured:nth-child(even) .featured-img { order: 0; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .partner:nth-child(4n) { border-right: 1px solid var(--border); }
  .partner:nth-child(3n) { border-right: none; }
  .stats-block { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; gap: 24px; }
  .stats-block .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .stats-block .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border-radius: 6px;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform var(--dur) var(--ease);
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner:nth-child(3n) { border-right: 1px solid var(--border); }
  .partner:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 28px; }
  .modal { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== Category detail view ===== */
.cat-detail {
  animation: fadeIn 0.4s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.detail-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.detail-head h2 { font-size: clamp(30px, 4vw, 44px); }
.detail-head p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; max-width: 680px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0 0 24px;
  transition: color 0.3s var(--ease);
}
.back-btn:hover { color: var(--gold); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  aspect-ratio: 3/4;
}
.product-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.load-more-wrap { text-align: center; margin-top: 44px; }
.btn-load-more {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 13px 32px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-load-more:hover { background: var(--gold); color: #1A1A1B; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 9, 0.94);
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.show { display: flex; animation: fadeIn 0.25s var(--ease); }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-counter {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.08em;
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ===== Sample notice banner (product page hero) ===== */
.sample-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px auto 0;
  max-width: 880px;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(201,169,110,0.10), rgba(201,169,110,0.04));
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(201,169,110,0.18) inset, 0 12px 32px rgba(201,169,110,0.08);
}
.sample-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(201,169,110,0.4));
}
.sample-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sample-text strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.sample-text span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.sample-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 40px;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 16px rgba(200,16,46,0.25);
}
.sample-cta:hover {
  background: #E63946;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200,16,46,0.35);
  color: #fff;
}
.sample-cta .arrow { transition: transform 0.3s var(--ease); }
.sample-cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 760px) {
  .sample-notice {
    flex-direction: column;
    text-align: center;
    padding: 20px 22px;
    gap: 14px;
  }
  .sample-cta { align-self: stretch; justify-content: center; }
  .sample-text strong { font-size: 16px; }
}

/* ===== Privacy / legal page ===== */
.privacy-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.privacy-block:last-child { border-bottom: none; }
.privacy-block h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--gold);
}
.privacy-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}
