/* =========================================================
   LanternFestival.cc — Global Stylesheet (SUPERSET)
   Zigong Lantern Festival manufacturer Co., Ltd.
   Theme: Chinese Red + White + Gold
   Colors: #C8102E primary red, #8B0000 deep red,
           #D4AF37 gold, #FFFFFF white, #F5F5F5 gray,
           #1a1a1a dark, #333333 body
   Fonts: Poppins (headings), Inter (body)
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--deep-red); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }

/* ---------- CSS Variables ---------- */
:root {
  --red: #C8102E;
  --primary-red: #C8102E;
  --deep-red: #8B0000;
  --gold: #D4AF37;
  --white: #FFFFFF;
  --gray: #F5F5F5;
  --light-gray: #F5F5F5;
  --dark: #1a1a1a;
  --dark-text: #1a1a1a;
  --body: #333333;
  --body-text: #333333;
  --border: #e6e6e6;
  --border-light: #E8E4DC;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.14);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --header-h: 78px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 90px 0; }
.section-alt { background: var(--gray); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-header .kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 { font-size: 2.2rem; margin-bottom: 14px; }
.section-header p { color: #666; font-size: 1.02rem; }

.gold-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
  margin: 14px auto 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--deep-red);
  border-color: var(--deep-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--red);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #c19e2c;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 42px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  display: block;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.main-nav a:hover { color: var(--red); background: rgba(200, 16, 46, 0.06); }
.main-nav a.active { color: var(--red); font-weight: 600; }
.header-cta { flex-shrink: 0; margin-left: 8px; }
.header-cta .btn { padding: 11px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 9px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.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 ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.65) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 24px;
}
.hero h1 {
  color: #fff;
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.hero .hero-gold { color: var(--gold); }
.hero .hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.94);
  margin: 18px auto 34px;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-red), var(--red));
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 72px;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.72), rgba(0, 0, 0, 0.62));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 8px; }
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 12px auto 0;
}
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 14px;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--red), var(--deep-red));
  color: #fff;
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item { padding: 0 10px; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat-num .plus { color: var(--gold); }
.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- Card grids ---------- */
.card-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 24px 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.25);
}
.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(200, 16, 46, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  z-index: 2;
}
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body h3 a { color: var(--dark); }
.card-body h3 a:hover { color: var(--red); }
.card-body p { font-size: 0.95rem; color: #666; flex: 1; }
.card-link {
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
}
.card-link:hover { color: var(--deep-red); }

.project-loc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

/* ---------- Feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--red);
}
.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.feature-item h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-item p { color: #666; font-size: 0.94rem; }

/* ---------- Process / Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
}
.step-item h3 { margin-top: 12px; font-size: 1.05rem; }
.step-item p { font-size: 0.9rem; color: #666; margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta-band,
.cta-section {
  background: linear-gradient(135deg, var(--red), var(--deep-red));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2,
.cta-section h2 { color: #fff; font-size: 2.1rem; margin-bottom: 14px; }
.cta-band p,
.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 28px;
}
.cta-section .btn { margin: 0 6px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.88rem;
  color: #888;
  padding: 16px 0;
}
.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #999; }
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { color: var(--deep-red); }
.breadcrumb .sep { margin: 0 8px; color: #bbb; }
.breadcrumb .current { color: #666; font-weight: 600; }

/* ---------- Product detail ---------- */
.product-detail { padding: 60px 0; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.product-image-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 30px;
}
.product-info h1 { font-size: 2.1rem; margin-bottom: 12px; }
.product-code,
.product-sku {
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.product-meta span {
  background: var(--gray);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.product-meta span i { color: var(--gold); margin-right: 4px; }
.product-desc { margin-bottom: 24px; color: #555; }

/* ---------- Section blocks ---------- */
.section-block { padding: 50px 0; border-top: 1px solid var(--border); }
.section-block h2 {
  font-size: 28px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.section-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}
.section-block h3 { font-size: 20px; margin: 18px 0 10px; }
.section-block p { margin-bottom: 14px; }
.section-block ul { margin: 0 0 16px 22px; }
.section-block li { margin-bottom: 8px; }
.bg-gray { background: var(--gray); }

/* ---------- Specifications table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 20px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.spec-table th {
  background: var(--deep-red);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  width: 40%;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: #fdf7f0; }

/* ---------- Tabs ---------- */
.tabs { margin: 36px 0; }
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 13px 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #777;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--red); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-top: 0; color: var(--dark); }

/* ---------- Related products ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: block;
  color: var(--body);
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--body);
}
.related-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.related-card .rc-body { padding: 18px; }
.related-card h3 { font-size: 17px; color: var(--dark); }
.related-card .rc-code,
.related-card .related-code { color: var(--red); font-size: 13px; font-weight: 600; }

/* ---------- Supplementary blocks (shared with product/blog pages) ---------- */
.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
}
.product-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.product-section h2 {
  font-size: 26px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.product-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}
.feature-list {
  margin: 16px 0 16px 4px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .card-img { aspect-ratio: 16 / 9; }
.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-meta .cat {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}
.form-group label .req { color: var(--red); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #DDD6C8;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--body);
  background: #fff;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}
textarea.form-control { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; color: #888; }
.form-success {
  display: none;
  background: #EAF7EE;
  border: 1px solid #BFE5C9;
  color: #1B7A3D;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-success.show { display: block; }
.form-error {
  background: #FDECEA;
  border: 1px solid #F5C6CB;
  color: #C0392B;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-control:disabled, .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.info-card h4 { font-size: 1rem; margin-bottom: 2px; }
.info-card p { color: #666; font-size: 0.93rem; margin: 0; }
.map-placeholder {
  border-radius: var(--radius-md);
  background: var(--gray);
  border: 1px dashed #CCC3B0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
  padding: 20px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(200, 16, 46, 0.3); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 16px 24px 22px;
  color: #555;
  font-size: 0.96rem;
  border-top: 1px dashed var(--border);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #2A0E13 0%, #170B0D 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-col h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}
.footer-logo-wrap img { width: 170px; height: auto; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-col p { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Lazy loading ---------- */
img.lazy { opacity: 0; transition: opacity 0.5s ease; }
img.lazy.loaded { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.gold-text { color: var(--gold); }

/* ---------- Responsive: Tablet (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .cards-grid, .related-grid, .feature-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.8rem; }
  .page-hero h1 { font-size: 2.1rem; }
  .section-header h2 { font-size: 1.9rem; }
}

/* ---------- Responsive: Mobile (<= 768px) ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 20px 20px; }
  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
  }
  .main-nav a:last-child { border-bottom: none; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.1rem; }
  .hero .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .page-hero { padding: 96px 0 56px; }
  .page-hero h1 { font-size: 1.8rem; }
  .card-grid, .cards-grid, .feature-grid, .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 2.2rem; }
  .section-header h2 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tab-btn { flex: 1; text-align: center; padding: 12px 8px; font-size: 0.88rem; }
  .cta-band h2, .cta-section h2 { font-size: 1.6rem; }
  .product-info h1 { font-size: 26px; }
  .spec-table th { width: 45%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .logo img { height: 42px; max-width: 160px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .cta-band,
  .cta-section { display: none; }
}

/* ---------- Product page supplement ---------- */
.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.spec-table-wrap {
  overflow-x: auto;
  margin: 10px 0 20px;
}
.spec-table-wrap .spec-table { margin: 0; }
.cta-contact {
  margin-top: 22px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.related-section { padding-bottom: 60px; }
.related-card a { color: var(--body); }
.related-card a:hover { color: var(--body); }

/* ===== Dropdown Navigation ===== */
.site-header { overflow: visible; }
.site-header .container { overflow: visible; }
.main-nav { overflow: visible; }
.main-nav .dropdown {
  position: relative;
}
.main-nav .dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.main-nav .dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.2s;
}
.main-nav .dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 1001;
  list-style: none;
  margin: 0;
}
.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}
.main-nav .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.15s;
}
.main-nav .dropdown-menu li a:hover {
  background: #fff5f5;
  color: #C8102E;
  padding-left: 26px;
}
.main-nav .dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 6px 12px;
}
/* Mobile dropdown */
@media (max-width: 768px) {
  .main-nav .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
  }
  .main-nav .dropdown.open .dropdown-menu {
    max-height: 800px;
  }
  .main-nav .dropdown-menu li a {
    color: #555;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav .dropdown-menu li a:hover {
    color: #C8102E;
    padding-left: 20px;
  }
  .main-nav .dropdown-divider {
    background: #eee;
  }
}
