/* ================================================================
   华宝堂 v2 设计系统 — Huabaotang Design System
   现代轻奢风 · 棕金配色 · 化妆品 OEM 工厂官网
   ================================================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Brand Colors */
  --primary: #8B5E3C;
  --primary-rgb: 139, 94, 60;
  --primary-dark: #6B3F2A;
  --primary-light: #D4B896;
  --accent: #C9A96E;
  --accent-rgb: 201, 169, 110;
  --accent-light: #F0E6D3;

  /* Neutrals */
  --bg: #FBF7F2;
  --bg-rgb: 251, 247, 242;
  --surface: #FFFFFF;
  --surface-dark: #1C1410;
  --surface-warm: #F5EFE6;

  /* Text */
  --text: #2C2420;
  --text-rgb: 44, 36, 32;
  --text-soft: #5C4F46;
  --muted: #8C7A6E;
  --muted-light: #B8A99B;

  /* Lines & Borders */
  --line: rgba(140, 122, 110, 0.15);
  --line-strong: rgba(140, 122, 110, 0.25);

  /* Semantic */
  --success: #5B8C5A;
  --warning: #D4956A;
  --error: #C25450;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.04), 0 1px 2px rgba(44, 36, 32, 0.06);
  --shadow: 0 4px 16px rgba(44, 36, 32, 0.06), 0 1px 4px rgba(44, 36, 32, 0.04);
  --shadow-md: 0 8px 30px rgba(44, 36, 32, 0.08), 0 2px 8px rgba(44, 36, 32, 0.04);
  --shadow-lg: 0 20px 60px rgba(44, 36, 32, 0.10), 0 4px 16px rgba(44, 36, 32, 0.04);
  --shadow-xl: 0 32px 80px rgba(44, 36, 32, 0.12);

  /* Shadows — accent (gold glow) */
  --shadow-accent: 0 4px 16px rgba(201, 169, 110, 0.15), 0 1px 4px rgba(139, 94, 60, 0.08);
  --shadow-accent-lg: 0 12px 40px rgba(201, 169, 110, 0.12), 0 4px 12px rgba(139, 94, 60, 0.06);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Container */
  --container: 1240px;
  --container-narrow: 960px;
  --container-padding: clamp(20px, 4vw, 40px);

  /* Typography */
  --font-display: "Cormorant Garamond", "Noto Serif SC", "Times New Roman", Georgia, serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  --font-mono: "DM Sans", "Noto Sans SC", sans-serif;

  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-md: 1.125rem;   /* 18px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 2rem;      /* 32px */
  --text-3xl: 2.5rem;    /* 40px */

  /* Radii */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration: 300ms;
  --duration-slow: 500ms;
  --duration-xslow: 800ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: rgba(var(--accent-rgb), 0.3);
  color: var(--text);
}

/* ---------- Container ---------- */
.container {
  width: min(var(--container), 100% - var(--container-padding) * 2);
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--container-narrow), 100% - var(--container-padding) * 2);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.display-xl {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
}

.display-lg {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
}

.display-md {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  margin-bottom: var(--space-lg);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.section-heading p {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- Section ---------- */
.section {
  padding-block: var(--space-xl);
}

.section-first {
  padding-top: calc(var(--space-xl) + 20px);
}

@media (max-width: 768px) {
  :root {
    --space-xl: 60px;
  }
  .section-first {
    padding-top: calc(var(--space-xl));
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 16px 40px;
  font-size: var(--text-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: var(--text-sm);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border: 1.5px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid transparent;
}

.btn-ghost:hover {
  color: var(--primary);
  background: var(--accent-light);
}

/* ---------- Eyebrow + Heading Combo ---------- */
.heading-block {
  margin-bottom: var(--space-lg);
}

.heading-block.center {
  text-align: center;
}

.heading-block.center p {
  margin-inline: auto;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--duration) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-link {
  cursor: pointer;
}

.card-link:hover {
  border-color: var(--accent);
}

.card-link:hover .card-arrow {
  transform: translateX(4px);
}

.card-arrow {
  display: inline-block;
  transition: transform var(--duration) var(--ease-out);
  color: var(--accent);
}

/* Card — Compact */
.card-compact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  transition: all var(--duration) var(--ease-out);
}

.card-compact:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Card — Stat / Metric */
.stat-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-card span {
  font-size: var(--text-sm);
  color: var(--muted);
}

.stat-card p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-top: var(--space-xs);
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

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

@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Form Elements ---------- */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--surface-warm);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: all var(--duration) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238C7A6E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.btn-full {
  width: 100%;
}

/* ---------- Separator ---------- */
.separator {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-block: var(--space-md);
}

.separator-accent {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--surface-warm) 25%, var(--bg) 50%, var(--surface-warm) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ================================================================
   COMPONENT — NAVIGATION
   ================================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 16px;
  transition: all var(--duration) var(--ease-out);
  background: transparent;
}

.header.scrolled {
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 10px;
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--accent);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}

.logo-text small {
  font-size: var(--text-xs);
  color: var(--muted);
  white-space: nowrap;
}

/* Nav Links */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--duration) var(--ease-out);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.lang-switch {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 4px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  transition: all var(--duration) var(--ease-out);
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--primary);
}

/* Hamburger Menu Button */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--duration) var(--ease-out);
  transform-origin: center;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1050;
  padding: 120px var(--container-padding) var(--space-lg);
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-panel.open {
  display: flex;
}

.mobile-nav-panel a {
  display: block;
  padding: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color var(--duration) var(--ease-out);
}

.mobile-nav-panel a:hover {
  color: var(--primary);
}

.mobile-nav-panel .header-phone {
  font-size: var(--text-md);
  margin-top: var(--space-md);
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-content .tag-group {
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.hero-content .hero-desc {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.hero-stat span {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Hero Visual — Stacked layout */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero-card-float {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.hero-card-float .tag {
  margin-bottom: var(--space-xs);
}

.hero-card-float h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.hero-card-float p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-bottom: var(--space-sm);
}

.hero-card-float .cert-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--accent-light);
  border-radius: var(--radius-full);
}

.cert-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ================================================================
   TRUST STRIP
   ================================================================ */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding-block: var(--space-sm);
  flex-wrap: wrap;
}

.trust-strip-inner span {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}

.trust-strip-inner span:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: var(--space-lg);
  vertical-align: middle;
  opacity: 0.5;
}

/* ================================================================
   STATS BAR
   ================================================================ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stats-bar .stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.stats-bar .stat-card strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stats-bar .stat-card span {
  font-size: var(--text-sm);
  color: var(--muted);
}

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

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
}

/* ================================================================
   SERVICE CARDS (Horizontal)
   ================================================================ */

.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card-lg {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card-lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.service-card-lg:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card-lg:hover::before {
  opacity: 1;
}

.service-card-lg .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary);
}

.service-card-lg h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.service-card-lg p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.service-card-lg ul {
  list-style: none;
  padding: 0;
}

.service-card-lg ul li {
  font-size: var(--text-sm);
  color: var(--text-soft);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-card-lg ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-card-lg .card-more {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  transition: color var(--duration) var(--ease-out);
}

.service-card-lg:hover .card-more {
  color: var(--primary);
}

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

@media (max-width: 640px) {
  .service-row {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CATEGORY GRID (12 Products)
   ================================================================ */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.cat-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  flex-shrink: 0;
  color: var(--primary);
}

.cat-card-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.cat-card-sub {
  font-size: var(--text-xs);
  color: var(--muted);
}

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

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

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

/* ================================================================
   FACTORY PREVIEW
   ================================================================ */

.factory-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: start;
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.factory-gallery-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.factory-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.factory-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.factory-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.factory-metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
}

.factory-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.factory-metric span {
  font-size: var(--text-xs);
  color: var(--muted);
}

.cert-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.cert-block h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.cert-block .cert-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .factory-preview {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CASE CARDS
   ================================================================ */

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--duration) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.case-card .case-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--accent-light);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.case-card h3 {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.case-card .case-problem {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-bottom: var(--space-sm);
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.case-card .case-result {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
}

/* ================================================================
   PROCESS TIMELINE
   ================================================================ */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text);
  transition: all var(--duration) var(--ease-out);
}

.process-step:hover .process-step-num {
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.process-step h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline::before {
    display: none;
  }
}

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

/* ================================================================
   FAQ
   ================================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-sm);
}

.faq-list summary {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: var(--space-xs) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--duration) var(--ease-out);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.7;
  padding-bottom: var(--space-sm);
}

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

/* ================================================================
   CTA SECTION (Dark)
   ================================================================ */

.cta-section {
  background: var(--surface-dark);
  color: #F5EFE6;
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content .eyebrow {
  color: var(--accent);
}

.cta-content .eyebrow::before {
  background: var(--accent);
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.cta-content p {
  font-size: var(--text-md);
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.cta-content .contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta-content .contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cta-content .contact-item-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.cta-content .contact-item span.label {
  display: block;
  font-size: var(--text-xs);
  color: var(--muted-light);
}

.cta-content .contact-item strong {
  font-size: var(--text-base);
  color: #FFFFFF;
}

.cta-form {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.cta-form h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cta-form .form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-bottom: var(--space-md);
}

.cta-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-form .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--text);
  color: var(--muted-light);
  padding-block: var(--space-xl) var(--space-md);
}

.footer a { color: var(--muted-light); transition: color var(--duration) var(--ease-out); }
.footer a:hover { color: var(--accent); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-brand .logo strong { color: #FFFFFF; }
.footer-brand .logo small { color: var(--muted); }

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  padding: 3px 0;
}

.footer-col p {
  font-size: var(--text-sm);
  padding: 3px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================================================
   FLOATING CTA
   ================================================================ */

.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration) var(--ease-out);
}

.floating-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: #FFFFFF;
}

.floating-cta .cta-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ================================================================
   TOAST
   ================================================================ */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-dark);
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--error);
}

/* ================================================================
   RESPONSIVE — Mobile Nav Toggle
   ================================================================ */

@media (max-width: 920px) {
  .nav {
    display: none;
  }
  
  .menu-btn {
    display: flex;
  }
  
  .header-actions .header-phone {
    display: none;
  }

  /* Hero grid to single column */
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    height: 360px;
  }
  
  .hero-card-float {
    left: 10px;
    bottom: -30px;
    max-width: 260px;
  }
  
  .hero-stats {
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .hero-visual {
    height: 280px;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .trust-strip-inner {
    gap: var(--space-sm);
  }
  
  .trust-strip-inner span:not(:last-child)::after {
    display: none;
  }
}
