/* =========================================================
   TycoonCigar — 大亨雪茄
   Elegant, minimalist, LCDH-inspired dark gold palette
   ========================================================= */

:root {
  --bg: #0c0a08;
  --bg-alt: #131009;
  --panel: #1a1510;
  --panel-2: #211a13;
  --line: rgba(201, 164, 104, 0.22);
  --line-soft: rgba(201, 164, 104, 0.12);

  --gold: #c9a15f;
  --gold-light: #e6cb95;
  --gold-dim: #8a713f;
  --burgundy: #7c1f2a;
  --burgundy-light: #a5313f;
  --cream: #f4ecdc;
  --cream-dim: #d9cdb2;
  --text-muted: #a89a80;
  --text-faint: #746a57;

  --serif: "Cormorant Garamond", "Songti SC", "STSong", Georgia, serif;
  --sans: "Jost", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 2px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--cream);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p { margin: 0; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}
.kicker.light { color: var(--gold-light); }

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-title.light { color: var(--cream); }

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
  line-height: 1.8;
}

.section-head.center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head.center .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 70%);
  color: #1a1207;
  font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(244, 236, 220, 0.4);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

/* =================== HEADER =================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(10, 8, 6, 0.75), transparent);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-color: var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark-cn {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.brand-mark-en {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: 20px; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-switch button.active {
  background: var(--gold);
  color: #1a1207;
  font-weight: 600;
}
.lang-switch button:not(.active):hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 24px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 1px; width: 100%;
  background: var(--cream); transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 65%;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12,10,8,0.35) 0%, rgba(12,10,8,0.82) 75%),
    linear-gradient(180deg, rgba(8,6,4,0.55) 0%, rgba(8,6,4,0.35) 40%, rgba(8,6,4,0.9) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.hero-kicker {
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 26px; font-weight: 500;
}
.hero-title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.hero-title-cn {
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 96px);
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.hero-title-en {
  font-size: clamp(13px, 1.6vw, 18px);
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--cream-dim);
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  animation: floatY 2.6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =================== INTRO =================== */
.intro { padding: 120px 0; border-bottom: 1px solid var(--line-soft); }
.intro-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text { color: var(--text-muted); font-size: 16.5px; line-height: 1.9; }
.intro-stats { display: flex; flex-direction: column; gap: 30px; border-left: 1px solid var(--line); padding-left: 40px; }
.stat { opacity: 0; transform: translateY(16px); transition: all 0.7s ease; }
.stat.in-view { opacity: 1; transform: translateY(0); }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =================== BEST SELLERS =================== */
.bestseller-section { padding: 100px 0 120px; background: var(--bg); }

.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.bestseller-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
.bestseller-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.bestseller-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1a1207;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 70%);
  padding: 6px 12px;
  border-radius: 20px;
}

.bestseller-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.bestseller-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bestseller-card:hover .bestseller-media img { transform: scale(1.05); }

.bestseller-body { padding: 22px 22px 24px; }
.bestseller-code {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.bestseller-name { font-size: 19px; line-height: 1.3; margin-bottom: 4px; }
.bestseller-name-cn { font-size: 12.5px; color: var(--text-faint); margin-bottom: 18px; }

.bestseller-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.bestseller-view {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s ease;
}
.bestseller-view:hover { color: var(--gold-light); }
.bestseller-inquire {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-light);
  border: none;
  border-bottom: 1px solid var(--gold-dim);
  background: none;
  font-family: var(--sans);
  padding-bottom: 1px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.bestseller-inquire:hover { color: var(--cream); border-color: var(--gold-light); }

@media (max-width: 1080px) {
  .bestseller-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bestseller-section { padding: 70px 0 80px; }
  .bestseller-grid { grid-template-columns: 1fr; gap: 20px; }
  .bestseller-media { aspect-ratio: 16 / 10; }
}

/* =================== BRANDS =================== */
.brands-section { padding: 120px 0 60px; background: var(--bg-alt); }

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.brand-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  transition: all 0.3s ease;
}
.brand-pill:hover { border-color: var(--gold); background: rgba(201,164,104,0.08); }
.pill-latin { font-family: var(--serif); font-size: 14px; color: var(--cream); }
.pill-cn { font-size: 10px; color: var(--text-faint); letter-spacing: 0.05em; }

.brand-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 32px 20px;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 90px;
}
.brand-block:first-of-type { border-top: none; }

.brand-block-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
  opacity: 0; transform: translateY(18px);
  transition: all 0.8s ease;
}
.brand-block-head.in-view { opacity: 1; transform: translateY(0); }
.brand-block-title { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.brand-latin { font-size: clamp(30px, 4vw, 40px); }
.brand-cn { font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.brand-desc { color: var(--text-muted); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.brand-count {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  padding-bottom: 20px;
}

.product-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  opacity: 0; transform: translateY(24px);
}
.product-card.in-view { opacity: 1; transform: translateY(0); }
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  background: linear-gradient(160deg, #efe6d2, #e2d5b8);
  padding: 26px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
}
.card-media img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.28));
  transition: transform 0.5s ease;
}
.product-card:hover .card-media img { transform: scale(1.04) rotate(-1deg); }

.card-code {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #2a2013;
  background: rgba(244, 236, 220, 0.75);
  border: 1px solid rgba(42,32,19,0.15);
  padding: 4px 9px;
  border-radius: 12px;
}

.card-body { padding: 20px 20px 22px; }
.card-name-latin { font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.card-name-cn { font-size: 12.5px; color: var(--text-faint); margin-bottom: 16px; letter-spacing: 0.02em; }

.card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.spec { display: flex; flex-direction: column; gap: 3px; }
.spec-label { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.spec-value { font-size: 13.5px; color: var(--cream-dim); font-weight: 500; }

.card-foot { display: flex; align-items: center; justify-content: space-between; }
.card-origin {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim);
}
.card-inquire {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 1px;
  cursor: pointer;
  background: none;
  font-family: var(--sans);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.card-inquire:hover { color: var(--cream); border-color: var(--gold-light); }

/* =================== PROCESS =================== */
.process-section { padding: 120px 0; background: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}
.process-step {
  text-align: center;
  padding: 40px 22px;
  border: 1px solid var(--line-soft);
  position: relative;
  opacity: 0; transform: translateY(20px);
  transition: all 0.7s ease;
}
.process-step.in-view { opacity: 1; transform: translateY(0); }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -16px;
  width: 30px; height: 1px;
  background: var(--line);
  display: none;
}
.process-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.process-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.process-icon svg { width: 30px; height: 30px; }
.process-step h3 { font-size: 20px; margin-bottom: 12px; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

.process-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
}
.process-note h4 { font-size: 18px; margin-bottom: 10px; color: var(--gold-light); }
.process-note p { color: var(--text-muted); font-size: 14.5px; max-width: 680px; margin: 0 auto 20px; line-height: 1.85; }
.process-note-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.process-note-tags span {
  font-size: 13px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--cream-dim);
}
.process-note-tags .tag-time { color: var(--gold-light); border-color: var(--gold-dim); }

/* =================== ABOUT =================== */
.about-section { position: relative; padding: 130px 0; overflow: hidden; }
.about-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.about-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,6,4,0.94) 30%, rgba(8,6,4,0.75) 100%);
}
.about-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-copy p { color: var(--cream-dim); margin-bottom: 18px; font-size: 15.5px; line-height: 1.9; }
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-light);
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold-dim);
}

/* =================== CONTACT =================== */
.contact-section { padding: 120px 0; background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  max-width: 980px;
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 26px; }

.contact-qr-row { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-qr-card {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
a.contact-qr-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-qr-card img {
  width: 128px; height: 128px;
  background: var(--cream);
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.contact-qr-card .contact-label { color: var(--gold-dim); }
.contact-qr-card .contact-value { font-size: 14px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.contact-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); }
.contact-value { font-size: 16px; color: var(--cream); font-family: var(--serif); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12.5px; letter-spacing: 0.05em; color: var(--text-muted); }
.form-row input, .form-row textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14.5px;
  resize: vertical;
  transition: border-color 0.3s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .btn { margin-top: 6px; align-self: flex-start; }
.form-note { font-size: 12px; color: var(--text-faint); line-height: 1.7; margin-top: 4px; }

/* =================== FOOTER =================== */
.site-footer { background: var(--bg); border-top: 1px solid var(--line-soft); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .brand-mark-cn { font-size: 24px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 11px;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-brand-links { display: flex; flex-direction: column; max-height: 220px; flex-wrap: wrap; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom p { font-size: 12px; color: var(--text-faint); max-width: 760px; margin: 0 auto; }

/* =================== BACK TO TOP =================== */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top a {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(19, 16, 9, 0.85);
  color: var(--gold-light);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease;
}
.back-to-top a:hover { border-color: var(--gold); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .intro-inner { grid-template-columns: 1fr; gap: 46px; }
  .intro-stats { flex-direction: row; border-left: none; border-top: 1px solid var(--line); padding: 30px 0 0; justify-content: space-between; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: rgba(10, 8, 6, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-tools { gap: 14px; }
}

@media (max-width: 640px) {
  .section-inner { padding: 0 20px; }
  .intro { padding: 80px 0; }
  .brands-section { padding: 80px 0 40px; }
  .brand-block { padding: 60px 20px 10px; }
  .process-section { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .process-note { padding: 30px 24px; }
  .about-section { padding: 90px 0; }
  .contact-section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .card-body { padding: 16px; }
  .card-name-latin { font-size: 16px; }
}

/* language-specific tweaks: latin scripts read narrower */
body.lang-en .hero-title-cn, body.lang-es .hero-title-cn { letter-spacing: 0.02em; }

/* =================== INQUIRY MODAL =================== */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 3, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, var(--panel), var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-close:hover { color: var(--gold-light); border-color: var(--gold); }

.modal-title { font-size: 28px; margin-bottom: 10px; }
.modal-item {
  font-size: 13.5px;
  color: var(--gold-light);
  margin-bottom: 14px;
  min-height: 1px;
}
.modal-item:empty { display: none; }
.modal-hint { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }

.modal-qr-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.modal-qr-card {
  flex: 1 1 160px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
a.modal-qr-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.modal-qr-card img {
  width: 110px; height: 110px;
  background: var(--cream);
  padding: 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.modal-qr-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim); }
.modal-qr-value { font-size: 13px; color: var(--cream); font-family: var(--serif); }

@media (max-width: 480px) {
  .modal-box { padding: 32px 22px 26px; }
  .modal-qr-card img { width: 96px; height: 96px; }
}
