/* ============================================================
   ErgoSeat — Homepage Styles
   Direction: "Branch-style trust + HM restraint + scene showcase"
   Palette: warm cream base / deep navy + charcoal / amber accent
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --navy: #1A2F4A;
  --navy-deep: #122238;
  --charcoal: #272725;
  --ink: #1F2937;
  --body: #55606E;
  --line: #E9E2D6;
  --amber: #C56B00;
  --amber-dark: #A85A00;
  --amber-soft: #FBEAD2;
  --star: #E8A33D;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(26, 47, 74, 0.06);
  --shadow-md: 0 14px 40px rgba(26, 47, 74, 0.12);
  --shadow-lg: 0 24px 70px rgba(26, 47, 74, 0.16);
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section[id], footer[id] { scroll-margin-top: 84px; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.kicker-light { color: #F0B46B; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-head p { color: var(--body); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 10px 24px rgba(197, 107, 0, 0.28);
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(197, 107, 0, 0.34); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--amber-soft); transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 16px; }

.btn-link {
  padding: 13px 6px;
  color: var(--navy);
  font-weight: 600;
  border: none;
  background: none;
}
.btn-link:hover { color: var(--amber); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy);
  color: #EAF0F7;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}
.announce p { max-width: 900px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(26, 47, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.logo .logo-dot { color: var(--amber); }
.logo-light { color: #fff; }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.main-nav li { position: relative; list-style: none; }
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.main-nav .nav-link:hover { color: var(--amber); background: var(--amber-soft); }
.main-nav .nav-link.active { color: var(--amber); font-weight: 700; }
.main-nav .nav-cta { margin-left: 10px; padding: 11px 22px; }

/* Dropdown (desktop: hover / focus-within) */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink);
  border-radius: 10px;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--amber-soft); color: var(--amber-dark); }
.dropdown .dd-all {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  border-radius: 10px 10px 0 0;
}
.dropdown .dd-all:hover { color: var(--amber); }
.caret { font-size: 10px; color: var(--body); transition: transform 0.2s ease; }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (full-bleed scene banner) ---------- */
.hero {
  position: relative;
  padding: 148px 0 118px;
  overflow: hidden;
  text-align: center;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(180deg, rgba(13, 26, 44, 0.82) 0%, rgba(13, 26, 44, 0.40) 46%, rgba(13, 26, 44, 0.68) 100%),
    url("../assets/img/showroom-1.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 26px rgba(13, 26, 44, 0.40);
  margin-bottom: 24px;
}
.hero h1 .accent { color: #f0b46b; }

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.93);
  max-width: 620px;
  text-shadow: 0 1px 14px rgba(13, 26, 44, 0.45);
  margin-bottom: 38px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }

.hero-btn-main {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font: 600 16px var(--font-body);
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(13, 26, 44, 0.30);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-btn-main:hover {
  background: #f3ecdf;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(13, 26, 44, 0.38);
}

.hero-btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font: 600 16px var(--font-body);
  padding: 16px 36px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.trust-ico { color: #f0b46b; font-weight: 700; }

/* ---------- Press / production marquee ---------- */
.press {
  background: #F4F0E8;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 75s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.prod-card {
  position: relative;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.prod-card img {
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  display: block;
}
.prod-card .prod-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(18, 34, 56, 0.85));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Featured product ---------- */
.featured { padding: 96px 0 40px; }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-img { position: relative; }
.featured-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.price-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.featured-info h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.feature-list { margin-bottom: 30px; }
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.fl-ico { color: var(--amber); font-size: 12px; line-height: 1.6; margin-top: 8px; }
.feature-list strong { font-size: 16px; color: var(--ink); display: block; margin-bottom: 3px; }
.feature-list p { font-size: 14.5px; color: var(--body); }

.featured-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.featured-note { font-size: 13.5px; color: #8A8271; }

/* ---------- 4 selling points ---------- */
.features { background: var(--cream); padding: 96px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  margin-bottom: 20px;
}
.fc-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--body); }

/* ---------- Shop by space ---------- */
.scenes { padding: 96px 0; }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.scene-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
  aspect-ratio: 3 / 2.4;
}
.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.scene-card:hover img { transform: scale(1.05); }
.scene-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(18, 34, 56, 0.88));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scene-overlay strong { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.scene-overlay em { font-style: normal; font-size: 13.5px; color: #D8E0EA; }

/* ---------- Dark trust band ---------- */
.dark-band {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(197, 107, 0, 0.16), transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 104px 0;
}
.dark-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.dark-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
}
.dark-copy p { color: #C7D2DE; font-size: 16.5px; margin-bottom: 30px; }

.dark-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s ease;
}
.stat:hover { background: rgba(255, 255, 255, 0.12); }
.stat strong {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: #F0B46B;
  line-height: 1;
  white-space: nowrap;
}
.stat span { font-size: 13px; line-height: 1.4; color: #C7D2DE; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); padding: 96px 0; }

.rating-summary { margin-top: 8px; color: var(--body); }
.rating-summary .stars { color: var(--star); letter-spacing: 3px; margin-right: 6px; }
.rating-summary strong { color: var(--ink); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--star); letter-spacing: 3px; font-size: 16px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--ink); line-height: 1.65; flex: 1; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--a, var(--navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; color: var(--ink); }
.review-author span { font-size: 13px; color: var(--body); }

/* ---------- Service promises ---------- */
.promises { padding: 64px 0; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.promise {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pr-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  flex-shrink: 0;
}
.pr-ico svg { width: 24px; height: 24px; }
.promise strong { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 3px; }
.promise p { font-size: 13.5px; color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 12% 110%, rgba(197, 107, 0, 0.22), transparent 55%),
    linear-gradient(120deg, var(--navy-deep), #20395C);
  color: #fff;
  padding: 96px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.cta-wholesale h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 14px;
}
.cta-wholesale p { color: #C7D2DE; font-size: 16.5px; margin-bottom: 30px; max-width: 480px; }

.cta-subscribe {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.cta-subscribe h3 { font-family: var(--font-head); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.cta-subscribe p { color: #C7D2DE; font-size: 14px; margin-bottom: 20px; }

.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.subscribe-form input::placeholder { color: #9FB0C4; }
.subscribe-form input:focus { border-color: #F0B46B; background: rgba(255, 255, 255, 0.18); }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #A8E0B6; }
.form-msg.err { color: #FFB3A8; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #B9C0CA;
  padding: 72px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { color: #D7DDE5; }
.footer-contact a:hover { color: #F0B46B; }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
  color: #B9C0CA;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: #F0B46B; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: #8A9099;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
  z-index: 150;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber); }

/* ---------- Reveal animations ---------- */
/* Content is visible by default. The hide-and-reveal animation only
   activates when JavaScript is available (html.js added by main.js),
   so a page is never blank if JS fails to load or run. */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 128px 0 100px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-grid { grid-template-columns: 1fr; gap: 44px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 24px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav .nav-link { padding: 12px 14px; font-size: 16px; width: 100%; justify-content: space-between; }
  .main-nav .nav-cta { margin: 8px 0 0; justify-content: center; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    padding: 2px 0 6px 14px;
    min-width: 0;
  }
  .main-nav li.has-dropdown.open .dropdown { display: block; }
  .dropdown a { white-space: normal; }

  .hero { padding: 112px 0 88px; }

  .featured { padding: 72px 0 24px; }
  .featured-grid { grid-template-columns: 1fr; gap: 40px; }
  .features, .scenes, .reviews, .dark-band, .cta-band { padding: 72px 0; }

  .scene-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .review-grid { grid-template-columns: 1fr; }
  .dark-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .promise-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 92px 0 74px; }
  .hero h1 { font-size: clamp(33px, 10vw, 44px); }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-btn-main, .hero-btn-ghost { padding: 14px 26px; font-size: 15px; }
  .hero-trust { gap: 10px 18px; }
  .hero-trust li { font-size: 13px; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   INNER PAGES — shared styles (chairs / detail / about /
   contact / wholesale)
   ============================================================ */

/* ---------- Page hero (inner banner) ---------- */
.page-hero {
  background:
    radial-gradient(800px 380px at 88% -20%, rgba(197, 107, 0, 0.18), transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 68px 0 60px;
}
.page-hero .kicker-light { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p { color: #C7D2DE; font-size: 17px; max-width: 620px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #9FB0C4;
  margin-top: 18px;
}
.breadcrumb a { color: #D8E0EA; }
.breadcrumb a:hover { color: #F0B46B; }
.breadcrumb .sep { color: #6E8299; }
.breadcrumb .current { color: #F0B46B; }

/* ---------- Generic page section ---------- */
.page-section { padding: 84px 0; }
.page-section.tint { background: var(--cream); }

/* ---------- Category cards (chairs.html) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .cat-img { aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-card .cat-body { padding: 24px 24px 26px; }
.cat-card .cat-body h3 { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.cat-card .cat-body p { font-size: 14.5px; color: var(--body); margin-bottom: 16px; }
.cat-card .cat-link { font-size: 14.5px; font-weight: 700; color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.cat-card .cat-link:hover { color: var(--amber-dark); }

/* ---------- Filter / toolbar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
}
.filter-bar .result-count { font-size: 14px; color: var(--body); }
.filter-bar .result-count strong { color: var(--navy); }
.filter-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
}
.filter-sort select {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.product-card .pc-body h3 { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.product-card .pc-body p { font-size: 13.5px; color: var(--body); flex: 1; margin-bottom: 14px; }
.product-card .pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card .pc-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); }
.product-card .pc-price small { font-size: 12px; color: #9A927F; font-weight: 500; }
.product-card .pc-actions { display: flex; gap: 8px; }
.product-card .btn { padding: 10px 16px; font-size: 13.5px; }

/* ---------- Product detail ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.detail-gallery .dg-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.detail-gallery .dg-main img { width: 100%; }
.dg-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.dg-thumbs button {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.dg-thumbs button:hover, .dg-thumbs button.active { border-color: var(--amber); }
.dg-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.detail-info h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.detail-info .di-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--body); margin-bottom: 18px; }
.detail-info .di-meta .stars { color: var(--star); letter-spacing: 2px; }
.detail-info .di-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.detail-info .di-price small { font-size: 14px; color: #9A927F; font-weight: 500; }
.detail-info .di-desc { color: var(--body); font-size: 15.5px; margin: 14px 0 22px; }

.di-options { margin-bottom: 24px; }
.di-options .opt-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chips button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.opt-chips button:hover, .opt-chips button.active { border-color: var(--amber); background: var(--amber-soft); color: var(--amber-dark); }

.di-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.di-note { font-size: 13px; color: #9A927F; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 36%; color: var(--navy); font-weight: 700; background: var(--cream); border-radius: 0; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--body); }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-intro img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-intro h2 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; color: var(--navy); margin: 10px 0 16px; }
.about-intro p { color: var(--body); font-size: 15.5px; margin-bottom: 14px; }

.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.about-point { text-align: center; padding: 34px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-point .ap-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--amber-soft); color: var(--amber-dark);
  font-size: 22px; margin-bottom: 16px;
}
.about-point h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.about-point p { font-size: 14px; color: var(--body); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.contact-card .cc-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--amber-soft); color: var(--amber-dark); font-size: 18px;
}
.contact-card strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--body); }
.contact-card a:hover { color: var(--amber); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 34px;
}
.form-card h2 { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-card > p { color: var(--body); font-size: 14.5px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-group label .req { color: var(--amber); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--amber);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: #9A927F; margin-top: 4px; }
.form-submit { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #2E7D46; }
.form-msg.err { color: #C0392B; }

/* ---------- Wholesale ---------- */
.wholesale-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.w-points { display: grid; gap: 22px; margin-bottom: 30px; }
.w-point { display: flex; gap: 16px; }
.w-point .wp-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: var(--amber-soft); color: var(--amber-dark); font-size: 20px;
}
.w-point strong { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 4px; }
.w-point p { font-size: 14px; color: var(--body); }

.w-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 20px 24px;
}
.w-badge .wb-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: #F0B46B; line-height: 1; }
.w-badge p { font-size: 13.5px; color: #C7D2DE; }

/* ---------- Inner CTA strip ---------- */
.page-cta {
  background:
    radial-gradient(700px 340px at 88% 120%, rgba(197, 107, 0, 0.2), transparent 55%),
    linear-gradient(120deg, var(--navy-deep), #20395C);
  color: #fff;
  padding: 76px 0;
  text-align: center;
}
.page-cta h2 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; margin-bottom: 12px; }
.page-cta p { color: #C7D2DE; font-size: 16px; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout, .about-intro, .contact-grid, .wholesale-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-points { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-section { padding: 60px 0; }
  .page-hero { padding: 52px 0 46px; }
  .about-points { grid-template-columns: 1fr; margin-top: 48px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cat-grid, .product-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .product-card .pc-foot { flex-direction: column; align-items: stretch; }
  .product-card .pc-actions { justify-content: space-between; }
  .dg-thumbs button { width: 64px; height: 64px; }
  .di-cta .btn { flex: 1; }
}

/* ============================================================
   ALL COLLECTIONS — homepage category showcase
   (4 equal vertical panels, scene-card style)
   ============================================================ */
.collections { padding: 52px 0 30px; }

.collections-head { text-align: center; margin-bottom: 20px; }
.coll-mark {
  display: block;
  width: 38px;
  height: 6px;
  border-radius: 4px;
  background: var(--amber);
  margin: 0 auto 12px;
}
.collections-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.collections-head p { color: var(--body); font-size: 14.5px; }

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

.coll-panel {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  aspect-ratio: 3 / 4;
}
.coll-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.coll-panel:hover img { transform: scale(1.045); }
.coll-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  background: linear-gradient(180deg, rgba(13, 26, 44, 0) 0%, rgba(13, 26, 44, 0.52) 52%, rgba(13, 26, 44, 0.82) 100%);
  pointer-events: none;
}

.coll-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 12px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.coll-cap strong {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(13, 26, 44, 0.35);
}
.coll-cap em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1024px) {
  .coll-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .collections { padding: 56px 0 20px; }
  .coll-panel { aspect-ratio: 4 / 3.4; }
  .coll-cap strong { font-size: 19px; }
}

@media (max-width: 520px) {
  .coll-grid { grid-template-columns: 1fr; }
  .coll-panel { aspect-ratio: 4 / 3; }
  .coll-cap { padding: 0 12px 16px; }
  .coll-cap strong { font-size: 18px; }
  .coll-cap em { font-size: 12.5px; }
}

/* Product detail — long-image details flow (Alibaba style) */
.fn-flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fn-flow figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f4f6;
  width: 100%;
}
.fn-flow img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 520px) {
  .fn-flow { gap: 12px; }
}

/* ============================================================
   Lead capture popup (appended 2026-09-09)
   Email / WhatsApp lead popup shown once per 7 days.
   ============================================================ */
.er-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-body);
}
.er-popup.open { display: flex; }
.er-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 34, 56, 0.62);
  cursor: pointer;
}
.er-popup-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: erPopIn 0.35s ease;
}
@keyframes erPopIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.er-popup-media { position: relative; height: 130px; flex: 0 0 auto; overflow: hidden; background: var(--cream); }
.er-popup-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.er-popup-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 56, 0) 30%, rgba(18, 34, 56, 0.35));
}
.er-popup-tag {
  position: absolute;
  left: 18px;
  bottom: 12px;
  z-index: 1;
  background: var(--amber);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.er-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 47, 74, 0.18);
  transition: background 0.2s ease;
}
.er-popup-close:hover { background: #fff; }
.er-popup-body { padding: 26px 28px 28px; text-align: center; }
.er-popup-body h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.er-popup-sub { color: var(--body); font-size: 14.5px; line-height: 1.55; margin: 0 0 20px; }
.er-popup-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font: 500 15px var(--font-body);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.er-popup-form input:focus { border-color: var(--amber); }
.er-popup-form input.err { border-color: #c0392b; }
.er-popup-submit {
  width: 100%;
  margin-top: 12px;
  border: none;
  border-radius: 12px;
  background: var(--amber);
  color: #fff;
  font: 700 15px var(--font-body);
  letter-spacing: 0.2px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.er-popup-submit:hover { background: var(--amber-dark); }
.er-popup-err {
  color: #c0392b;
  font-size: 12.5px;
  line-height: 1.4;
  min-height: 17px;
  margin: 8px 0 0;
}
.er-popup-note { color: #8a93a0; font-size: 11.5px; line-height: 1.5; margin: 12px 0 0; }
.er-popup-success { padding: 8px 0 2px; }
.er-ok {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e7f4ec;
  color: #2e7d4f;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.er-popup-success h4 { font-family: var(--font-head); color: var(--navy); font-size: 19px; margin: 0 0 8px; }
.er-popup-success p { color: var(--body); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 520px) {
  .er-popup { padding: 14px; }
  .er-popup-media { height: 104px; }
  .er-popup-body { padding: 22px 20px 24px; }
}

/* ============================================================
   About page — production process 10-step grid (appended 2026-09-09)
   10 cards: 5 columns x 2 rows on desktop (no orphan row),
   2 columns on tablet, 1 column on small phones.
   ============================================================ */
.process-grid { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Homepage visual upgrade — image-led sections (appended 2026-09-17)
   Applies to index.html only (classes are page-specific).
   ============================================================ */

/* feature cards with photos */
.feature-card-img { padding: 0; overflow: hidden; }
.feature-card-img .fc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.feature-card-img .fc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.feature-card-img:hover .fc-img img { transform: scale(1.05); }
.feature-card-img .fc-body { padding: 20px 22px 24px; }

/* chair gallery */
.gallery { padding: 52px 0 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery-item { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* factory tour */
.tour { padding: 52px 0 30px; }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tour-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.tour-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tour-card figcaption { padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* review cards with photos */
.review-card-img { padding: 0; overflow: hidden; }
.review-card-img .rv-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.review-card-img .rv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card-img .rv-body { padding: 20px 22px 22px; }

/* promises with thumbnails */
.promise-grid-img .promise { align-items: center; }
.promise-grid-img .pr-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
.promise-grid-img .pr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* photo-backed bands */
.dark-band-photo {
  background-image: linear-gradient(180deg, rgba(13, 26, 44, .93), rgba(13, 26, 44, .87)), url("../assets/img/store/factory-building.jpg");
  background-size: cover;
  background-position: center;
}
.cta-band-photo {
  background-image: linear-gradient(180deg, rgba(13, 26, 44, .90), rgba(13, 26, 44, .84)), url("../assets/img/store/showroom-a.jpg");
  background-size: cover;
  background-position: center;
}

/* responsive */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: 1fr; }
  .promise-grid-img .pr-img { width: 64px; height: 64px; }
}

/* fix: dark trust band grid could not shrink on narrow screens (index) */
.dark-grid > * { min-width: 0; }
.dark-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 520px) {
  .dark-stats { grid-template-columns: 1fr; }
}

/* gallery items are links now (index) */
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item a:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }

/* ============================================================
   Why ErgoSeat — promise cards reworked (appended 2026-09-20)
   问题：第 1 张是白底抠图（亮度 0.965 / 饱和度 0.006），
   另三张是实景照片（亮度 0.586–0.731），亮度断层导致不和谐；
   且 test-seating / workshop-a 在首页被重复使用两次。
   做法：四张全部换成 1600×900、亮度 0.50–0.62 同档、
   首页未占用的实景照片，统一 4:3 裁切与轻调整色调；
   标题改为均衡折行，消除 "quality-" / "first" 孤字。
   ============================================================ */
.features .section-head { max-width: 780px; }
.features .section-head h2 { text-wrap: balance; }

.feature-card-img { display: flex; flex-direction: column; }
.feature-card-img .fc-img { background: var(--cream); }
.feature-card-img .fc-img img {
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

/* 逐卡曝光校准：四张卡的渲染平均亮度归到同一档（目标 ≈145/255）。
   卡 1 用已烘焙 gamma + 白平衡的 showroom-range.jpg（不再叠加提亮，避免高光溢出）；
   卡 2/3/4 用轻档 brightness 与之对齐，实测高光溢出均 ≈0%。 */
.feature-grid .feature-card-img:nth-child(2) .fc-img img { filter: brightness(0.93) contrast(1.00) saturate(1.05); }
.feature-grid .feature-card-img:nth-child(3) .fc-img img { filter: brightness(1.07) contrast(1.02) saturate(1.06); }
.feature-grid .feature-card-img:nth-child(4) .fc-img img { filter: brightness(0.96) contrast(1.02) saturate(0.94); }
.feature-card-img .fc-body { flex: 1 1 auto; }
.feature-card-img .fc-body h3 { letter-spacing: -0.005em; }

@media (max-width: 1024px) {
  .feature-card-img .fc-img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-card-img .fc-img { aspect-ratio: 16 / 9; }
}

/* ============================================================
   Global Exhibitions & Clients（首页新增段，位于 features 之前，2026-09-20）
   版式参照阿里国际站同类模块，配色改用站点体系（墨蓝 --navy + 琥珀 --amber + 米白 --cream）：
   - 地图：从原合成图切出后「白底转透明 + 蓝箭头转琥珀」，因此可直接落在本站底色上
   - 9 张展会照片：同一原图切出（115×116 级），卡片文字改为真实 HTML（可选可改）
   - 桌面为「左 5 卡 + 中地图 + 右 4 卡」，≤1080px 地图上移、卡片两列，≤600px 单列
   ============================================================ */
.container-wide { max-width: 1320px; }
.exhibitions { background: var(--paper); padding: 92px 0; }
.exhibitions .section-head { max-width: 720px; }

.ex-layout {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr) 296px;
  gap: 26px;
  align-items: start;          /* 左右两列顶对齐，避免右列被居中后整体下坠 */
}
.ex-col { display: flex; flex-direction: column; gap: 14px; }
.ex-col-right { gap: 34px; }   /* 右列只有 4 张卡，拉开间距使两列高度接近 */
.ex-map { align-self: center; }
.ex-map img { width: 100%; height: auto; display: block; }

.ex-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(26, 47, 74, .10);
  border-radius: 14px;
  padding: 11px 12px 11px 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ex-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(200, 150, 74, 0));
}
.ex-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 47, 74, .10); }

.ex-num {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}
.ex-body { padding-left: 24px; min-width: 0; }
.ex-body h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 7px;
}
.ex-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--body);
  margin: 0 0 3px;
}
.ex-meta:last-child { margin-bottom: 0; }
.ex-ico { width: 12px; height: 12px; flex: none; color: var(--amber); }
.ex-photo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  background: var(--cream);
}
.ex-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1080px) {
  .ex-layout { grid-template-columns: 1fr; gap: 26px; }
  .ex-map { order: -1; }
  .ex-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 600px) {
  .exhibitions { padding: 64px 0; }
  .ex-col { grid-template-columns: 1fr; }
  .ex-photo { width: 56px; height: 56px; }
}

/* ============================================================
   Global exhibitions 续段：统计条 + Meet Our Global Partners + 引语条（2026-09-20）
   色调统一：全部使用站点变量（--navy / --amber / --amber-soft / --cream / --line），
   数字沿用站内 .stat 的 Fraunces 衬线，避免出现与本站体系无关的蓝色。
   合影照片由阿里合成位图切出（392×336），按原始比例显示（7/6）不做二次裁切。
   ============================================================ */
.ex-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
}
.ex-stat { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 4px 8px; }
.ex-stat-ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.ex-stat-ico svg { width: 21px; height: 21px; }
.ex-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
/* 标签选择器限定为 .ex-stat > div > span：若写成 `.ex-stat span`，
   会把同为 span 的图标容器一并命中，图标 currentColor 描边就会变成正文灰而非琥珀。 */
.ex-stat > div > span { display: block; font-size: 12px; line-height: 1.35; color: var(--body); }

@media (min-width: 1081px) {
  .ex-stat + .ex-stat { border-left: 1px solid var(--line); }
}

.partners-block { margin-top: 70px; }
.partners-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 30px;
}
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partners-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.partners-grid img {
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.partners-grid figure:hover img { transform: scale(1.03); }

/* 引语条：全宽墨蓝，符合站内已有的深色带语言 */
.quote-band { background: var(--navy); padding: 24px 0; }
.quote-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.quote-mark { font-family: var(--font-head); font-size: 34px; line-height: 1; color: var(--amber); flex: none; }
.quote-text {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #E7EDF4;
}

@media (max-width: 1080px) {
  .ex-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .ex-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 46px; padding: 16px 12px; }
  .ex-stat { gap: 9px; padding: 2px 4px; }
  .ex-stat-ico { width: 36px; height: 36px; }
  .ex-stat-ico svg { width: 18px; height: 18px; }
  .ex-stat strong { font-size: 20px; }
  .partners-block { margin-top: 48px; }
  .partners-grid { grid-template-columns: 1fr; gap: 14px; }
  .quote-band { padding: 18px 0; }
  .quote-text { font-size: 12.5px; letter-spacing: .04em; }
  .quote-mark { font-size: 24px; }
}

/* ============================================================
   Why partners choose us — 三卡配图修正 + 曝光校准（2026-09-24）
   问题（用户反馈）：原三张图与文字主张不对应，且椅子"只看到半边"——
   根因有二：① 图片框为 16:9 + object-fit:cover，方形产品图被上下切掉；
            ② 原图构图本身不合格（产品抠图 / 椅子被桌子挡住）。
   做法：三张全部换成**实景照片**，主体完整、各自对应主张：
     1 OEM/ODM        → reviews/catalogue.jpg（**本站自有素材**：厂内扪皮工序实拍
                        「22-08 Upholster.jpg」。2026-09-30 由展厅图改为此图 —— 原因：
                        本公司展厅实际只有 3 个视觉场景（木格栅墙 / 绿色胶囊墙 / 白色展台区），
                        而首页有 4 处“房间照”位；原用的展厅图与「Model Wall」卡的绿色墙
                        **同属一个角落**，会被读成重复用图。改为非展厅的工艺实拍可彻底区分，
                        且对应 "bespoke development / our own R&D team"。）
     2 Low MOQ        → reviews/low-moq.jpg（Pexels：打包台人工封装单件纸箱 = 小批量语境）
     3 5-Year Warranty→ reviews/testing.jpg（**本站自有素材**：厂内扶手强度试验机，椅子完整）
   用图纪律：①③ 为**本公司自有素材**；② 为 Pexels 免授权可商用原图（Pexels License，
   免费商用、免署名），画面不含任何第三方产品。
   （曾用 Pexels 的椅子展厅网图作 ①，因画面是**别家椅子、非本公司产品**，已按用户要求撤下。）
   三张已逐张 1:1 复查：无第三方商标/logo、无文字水印；按卡片实际渲染亮度统一到同一档
   （校准后 ≈133.8 / 134.8 / 135.3，极差 1.5，高光溢出 ≤3.4%）。
   注意：① 的 URL 带 `?v=3` 版本号 —— 同名文件换内容后必须递增，否则老访客会命中旧缓存。
   ============================================================ */
.review-grid .review-card-img:nth-child(1) .rv-img img { filter: brightness(1.06); }
.review-grid .review-card-img:nth-child(2) .rv-img img { filter: brightness(1.11); }
.review-grid .review-card-img:nth-child(3) .rv-img img { filter: brightness(0.99); }

/* 徽章文字被 `.review-author span{color:var(--body)}`（类+元素 > 单类）覆盖成灰字，
   导致第 3 个 "5Y" 徽章对比度仅 1.18:1、几乎不可见 → 提权还原白字 */
.review-author .avatar { color: #fff; }

/* ============================================================
   About「Who we are」展厅轮播（2026-09-29）
   把原来的单张 showroom-2.jpg 换成 4 张自有展厅实拍自动轮播（淡入淡出）。
   素材取自素材包「办公+展厅图片\展厅 (2)~(5).jpg」，此前未在任何页面出现过；
   四张统一到同一亮度档（125）：渲染亮度 124.2 / 124.3 / 124.5 / 123.6，极差 0.9，
   高光溢出 ≤3.8%。纯 CSS 实现（无 JS），并遵守 prefers-reduced-motion。
   ============================================================ */
.showroom-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--cream);
}
.showroom-slider .ss-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  animation: ssFade 20s infinite;
}
.showroom-slider .ss-slide:nth-child(1) { animation-delay: 0s;  filter: brightness(1.06); }
.showroom-slider .ss-slide:nth-child(2) { animation-delay: 5s;  filter: brightness(1.04); }
.showroom-slider .ss-slide:nth-child(3) { animation-delay: 10s; filter: brightness(0.75); }
.showroom-slider .ss-slide:nth-child(4) { animation-delay: 15s; filter: brightness(1.21); }

@keyframes ssFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .showroom-slider .ss-slide { animation: none; }
  .showroom-slider .ss-slide:first-child { opacity: 1; }
}
