/* ============================================
   Li-Dragon Design System — Light Theme
   Palette: 狸花猫 浅灰 / 白 / 浅棕 + 棕色小面积强调
   ============================================ */

:root {
  /* Backgrounds — 浅色狸花猫：暖白 / 浅灰 */
  --bg-base: #F7F4EF;
  --bg-white: #FFFFFF;
  --bg-soft: #FBF9F5;
  --bg-grey: #EFEBE3;
  --bg-card: #FFFFFF;
  --bg-card-grey: #F4F0E9;
  --bg-elevated: #FFFFFF;
  --bg-elevated-grey: #F3EFE8;
  --bg-hover: #ECE6DB;
  --bg-hover-grey: #E9E3D8;

  /* 主强调色 — 狸花棕（仅占一小部分色系） */
  --accent: #9C7038;
  --accent-light: #C29A63;
  --accent-dark: #7A5526;
  --accent-soft: rgba(156, 112, 56, 0.10);

  /* 浅棕 / 沙色 — 辅助 */
  --tan: #CBB795;
  --tan-light: #E2D4BC;

  /* 狸花灰色系 */
  --grey-fur: #6E6A62;
  --grey-mid: #908A7E;
  --grey-light: #B8B2A7;
  --grey-pale: #DAD5CB;
  --white-cream: #FBF9F5;

  /* Text */
  --text-primary: #2B2620;
  --text-secondary: #6B645A;
  --text-tertiary: #9C9488;
  --text-accent: #9C7038;
  --text-grey: #908A7E;

  /* Borders */
  --border-subtle: rgba(120, 100, 70, 0.10);
  --border-default: rgba(120, 100, 70, 0.18);
  --border-strong: rgba(120, 100, 70, 0.30);
  --border-grey: rgba(140, 134, 123, 0.28);
  --border-accent: rgba(156, 112, 56, 0.32);

  /* Effects */
  --glow-accent: rgba(156, 112, 56, 0.10);
  --glow-grey: rgba(140, 134, 123, 0.10);
  --shadow-card: 0 8px 32px rgba(70, 58, 42, 0.08);
  --shadow-hover: 0 16px 48px rgba(70, 58, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;

  --max-width: 1280px;
  --nav-height: 72px;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light ambient wash — 浅色背景，不再使用深色毛皮纹理 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(203, 183, 149, 0.18) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(184, 178, 167, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Tabby stripe texture utility — 极淡狸花竖纹 */
.tabby-stripes {
  position: relative;
}
.tabby-stripes::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 22px,
    rgba(156, 112, 56, 0.035) 22px,
    rgba(156, 112, 56, 0.035) 24px,
    transparent 24px,
    transparent 44px,
    rgba(156, 112, 56, 0.022) 44px,
    rgba(156, 112, 56, 0.022) 45px,
    transparent 45px,
    transparent 68px
  );
  pointer-events: none;
  z-index: 0;
}

/* Section divider — 简洁棕色渐变线 */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(156, 112, 56, 0.28) 15%, rgba(156, 112, 56, 0.28) 85%, transparent 100%);
  margin: 0 auto;
  max-width: var(--max-width);
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-grey);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 48px;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-accent);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.nav-logo .logo-mark {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav-logo .logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* logo 与正下方内容块居中对齐：
   顶部 logo 对齐 hero 的 tag 块（宽 318px），页脚 logo 对齐标语文本块（宽 320px）。
   左右两侧基准宽度相同 → 导航链接仍保持整条导航栏的正中。 */
.nav .container > .nav-logo {
  flex: 0 1 318px;
  justify-content: center;
}

.footer-brand .nav-logo {
  justify-content: center;
  width: min(320px, 100%);
}

@media (max-width: 768px) {
  .nav .container > .nav-logo,
  .nav-right {
    flex: 0 1 auto;
  }

  .nav .container > .nav-logo {
    justify-content: flex-start;
  }
}

.footer-brand .logo-mark {
  height: 72px;
}

.footer-brand .logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 1 318px;
  justify-content: flex-end;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

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

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 10;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.lang-dropdown button:hover {
  background: var(--bg-hover);
  color: var(--accent);
}

.lang-dropdown button.active {
  color: var(--accent);
  background: var(--bg-elevated);
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-accent) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-grey) 0%, transparent 70%);
  filter: blur(80px);
}

.hero .hero-bg {
  opacity: 1;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(156, 112, 56, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(156, 112, 56, 0); }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--tan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  position: relative;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* Hero two-column layout + brand mascot art */
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroArtIn 0.9s ease both;
}
@keyframes heroArtIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-art-stage {
  position: relative;
  z-index: 2;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.92), var(--bg-card-grey) 72%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mascot {
  width: 72%;
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 18px 28px rgba(70, 58, 42, 0.22));
  transform: translateY(-2%);
  animation: mascotFloat 6s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(-2%); }
  50%      { transform: translateY(2%); }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.6;
  z-index: 0;
}
.hero-blob-a { width: 130px; height: 130px; background: radial-gradient(circle, var(--tan-light), transparent 70%); top: 2%; right: 4%; animation: blobDrift 9s ease-in-out infinite; }
.hero-blob-b { width: 96px;  height: 96px;  background: radial-gradient(circle, var(--grey-light), transparent 70%); bottom: 6%; left: 0%; animation: blobDrift 11s ease-in-out infinite reverse; }
.hero-blob-c { width: 74px;  height: 74px;  background: radial-gradient(circle, var(--accent-soft), transparent 70%); top: 46%; left: 6%; animation: blobDrift 13s ease-in-out infinite; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -14px); }
}

.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  animation: heroArtIn 1s ease 0.2s both;
}
.hero-float strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); display: block; line-height: 1.1; }
.hero-float small { font-size: 0.72rem; color: var(--text-tertiary); }
.hero-float-1 { top: 7%; left: -5%; }
.hero-float-2 { bottom: 9%; right: -3%; }
.hero-float .hf-badge { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.2rem; }
.hero-float .hf-star { color: var(--accent); font-size: 1.15rem; }

/* Floating shapes — hidden for a cleaner, simpler look */
.hero-shapes {
  display: none;
}

/* ============================================
   Products Section
   ============================================ */

.products {
  background: var(--bg-soft);
}

.product-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: 100px;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img .ph-ico {
  display: block;
}

.product-img .tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  color: var(--accent);
  border: 1px solid var(--border-default);
}

.product-info {
  padding: 20px 24px 24px;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

/* ============================================
   Process Section
   ============================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(156, 112, 56, 0.2) 20%, rgba(156, 112, 56, 0.2) 80%, transparent 100%);
  opacity: 0.5;
}

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

.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--border-default);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}

.step:hover .step-num {
  border-color: var(--accent);
  background: var(--bg-elevated-grey);
  transform: scale(1.05);
  color: var(--accent-dark);
  box-shadow: 0 0 24px var(--glow-accent);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  padding: 0 8px;
}

/* ============================================
   Interactive Configurator
   ============================================ */

.configurator {
  background: var(--bg-soft);
}

.config-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ---- LEFT: live preview + price ---- */
.config-preview {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.preview-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.92), var(--bg-card-grey) 72%);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-aura {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.6;
  transition: background 0.5s ease;
}

.preview-toy {
  position: relative;
  width: 60%;
  height: auto;
  color: var(--accent);
  transition: color 0.45s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 14px 24px rgba(70, 58, 42, 0.18));
}

.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.preview-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.preview-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-tag {
  padding: 4px 12px;
  font-size: 0.76rem;
  border-radius: 100px;
  background: var(--bg-grey);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* Price card */
.price-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-card));
  position: relative;
}

.price-card.flash {
  animation: priceFlash 0.5s ease;
}
@keyframes priceFlash {
  0% { box-shadow: 0 0 0 0 var(--accent-soft); }
  35% { box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.price-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(156, 112, 56, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(156, 112, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(156, 112, 56, 0); }
}
.price-card-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.price-main {
  display: flex;
  align-items: center;
  gap: 20px;
}
.price-block {
  flex: 1;
}
.price-block-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.price-block-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.price-block-value.accent {
  font-size: 1.85rem;
  color: var(--accent);
}
.price-block-unit {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 400;
}
.price-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-subtle);
}

.price-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.volume-pill {
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
}
.price-note {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ---- RIGHT: controls ---- */
.config-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.config-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
  font-family: var(--font-display);
}

.material-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.material-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--bg-elevated-grey);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.material-option:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}
.material-option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 6px 18px var(--glow-accent);
}
.material-option .mat-ico {
  display: block;
}

.size-options.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-elevated-grey);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
}
.size-option {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.size-option:hover {
  color: var(--accent);
}
.size-option.selected {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 4px 12px var(--glow-accent);
}

.color-options {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.color-option {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.color-option:hover {
  transform: scale(1.08);
}
.color-option.selected {
  border-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92), 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent);
}

/* Quantity stepper */
.qty-stepper {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated-grey);
  transition: border-color 0.25s ease;
}
.qty-stepper:focus-within {
  border-color: var(--accent);
}
.qty-step {
  width: 48px;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--text-secondary);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}
.qty-step:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.qty-input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-unit {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-subtle);
}
.qty-tier {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   Icon System & Unified Placeholder Visuals
   ============================================ */

/* Unified placeholder background for product/case imagery.
   Real photos replace these later. Tokens only — no ad-hoc hex. */
.ph-visual {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.6), transparent 62%),
    linear-gradient(135deg, var(--tan-light) 0%, var(--grey-light) 100%);
}
/* Medallion tray behind the motif icon — reads as designed, not wireframe */
.ph-visual::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 38%;
  max-width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 30px rgba(70, 58, 42, 0.10);
}

/* Line icons inside rounded-square containers (capability / contact) */
.cap-feature .icon svg,
.contact-item .icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  display: block;
}
.cap-feature:hover .icon svg { color: var(--accent-dark); }
.contact-item.contact-primary .icon svg { color: var(--accent); }

/* Placeholder motif icon (product / case cards) */
.ph-ico {
  width: 76px;
  height: 76px;
  color: var(--accent);
  opacity: 0.9;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.product-card:hover .ph-ico { transform: scale(1.08); opacity: 1; }
.case-visual .ph-ico { width: 96px; height: 96px; }

/* Material option icons (configurator) */
.material-option .mat-ico {
  width: 30px;
  height: 30px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}
.material-option.selected .mat-ico { color: var(--accent); }

/* ============================================
   Cases Section
   ============================================ */

.case-grid {
  display: grid;
  gap: 32px;
}

.case-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.case-item:nth-child(even) {
  direction: rtl;
}

.case-item:nth-child(even) > * {
  direction: ltr;
}

.case-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.case-visual .ph-ico {
  display: block;
}

/* real case photos: fill the 4:3 frame, crop from center */
.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================
   Visual Override Layer (可视化编辑器上传图)
   - .media-img 默认隐藏，空态显示占位(.ph-visual)
   - 编辑器上传后 override.js 加 .ld-has-img → 覆盖占位
   - 父级 .has-img 隐藏占位装饰(图标/奖章)
   ============================================ */
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: none;
}
.media-img.ld-has-img { display: block; }

/* 上传真实图后，隐藏占位图标与奖章，避免叠在图上 */
.product-img.has-img .ph-ico,
.product-img.has-img::after,
.case-visual.has-img .ph-ico,
.case-visual.has-img::after,
.sv-showcase-media.has-img .ph-ico,
.sv-showcase-media.has-img::after { display: none; }

/* 产品画廊（动态渲染） */
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.product-more-wrap { text-align: right; margin-top: 36px; }
.product-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.product-more:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.product-empty {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  color: var(--text-tertiary);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-lg);
}

/* Hero 中央主视觉：上传玩偶照片覆盖卡通猫 */
.hero-art-stage { position: relative; }
.hero-art-stage .media-img { object-fit: contain; z-index: 3; }
.hero-art-stage.has-img .hero-mascot { display: none; }

/* 子页示例图区块 */
.sv-showcase { margin: 0 0 8px; }
.sv-showcase-media {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}
/* 占位态居中图标（仅占位时有 ph-visual，真实图不受影响）*/
.case-visual.ph-visual,
.sv-showcase-media.ph-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}


.case-content .case-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--border-accent);
}

.case-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.case-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.case-meta {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.case-meta-item .label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.case-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 2px;
}

/* ============================================
   Capabilities Section
   ============================================ */

.capabilities {
  background: var(--bg-soft);
  position: relative;
}

.capabilities .container {
  position: relative;
  z-index: 1;
}

.cap-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.cap-stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

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

.cap-stat .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.cap-stat .suffix {
  font-size: 1.5rem;
  color: var(--accent);
}

.cap-stat .label {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cap-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.cap-feature {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.cap-feature:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated-grey);
}

.cap-feature .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.cap-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cap-feature p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.cert-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.cert-badge {
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.cert-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   Inquiry Form Section
   ============================================ */

.inquiry {
  position: relative;
  overflow: hidden;
}

.inquiry::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-accent) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.inquiry::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-grey) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.inquiry-info h2 {
  margin-bottom: 20px;
}

.inquiry-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.inquiry-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item .text {
  font-size: 0.92rem;
}

.contact-item .text .label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.contact-item.contact-primary .icon {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.contact-item.contact-primary .text .label {
  color: var(--accent);
  font-weight: 600;
}
.contact-item.contact-secondary {
  opacity: 0.68;
}

.contact-item .text a,
.contact-links a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.contact-item .text a:hover,
.contact-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.contact-links .sep {
  color: var(--text-tertiary);
  margin: 0 3px;
}

.inquiry-form {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

/* Configurator carry-over summary (shown after "Get Quote for This Design") */
.config-summary {
  margin-bottom: 26px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--tan-light) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.config-summary[hidden] { display: none; }
.config-summary .cs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.config-summary .cs-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.config-summary .cs-edit {
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}
.config-summary .cs-edit:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.config-summary .cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 18px;
}
.config-summary .cs-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.config-summary .cs-k {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}
.config-summary .cs-v {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.config-summary .cs-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  flex-shrink: 0;
}
.config-summary .cs-price .cs-v { color: var(--accent); font-weight: 600; }
@media (max-width: 600px) {
  .config-summary .cs-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group label .req {
  color: var(--accent);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated-grey);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-hover-grey);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

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

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success .check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--accent);
}

.form-success h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Form loading + error states */
.form-submit.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.form-submit.loading::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(199, 84, 70, 0.12);
  border: 1px solid rgba(199, 84, 70, 0.5);
  color: #B5493B;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-error.show {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-grey);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-social a svg {
  width: 17px;
  height: 17px;
  display: block;
}

.footer-social a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .config-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .inquiry-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hero collapses to a single column on small screens */
@media (max-width: 920px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-default);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .num {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .case-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-item:nth-child(even) {
    direction: ltr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

  .inquiry-form {
    padding: 28px 20px;
  }

  .config-panel {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .material-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Service & FAQ subpages (sv- prefix, P0 SEO)
   ============================================ */
.sv-hero { padding: calc(var(--nav-height) + 80px) 0 56px; }
.sv-breadcrumb { font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 20px; }
.sv-breadcrumb a { color: var(--text-secondary); }
.sv-breadcrumb a:hover { color: var(--accent); }
.sv-hero h1 { max-width: 20ch; margin-bottom: 20px; }
.sv-hero .hero-desc { margin-bottom: 32px; }
.sv-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.sv-section { padding: 80px 0; }
.sv-section.alt { background: var(--bg-soft); }
.sv-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.sv-feature { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 32px; transition: all .3s; }
.sv-feature:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.sv-feature .ic { width: 44px; height: 44px; color: var(--accent); margin-bottom: 16px; }
.sv-feature h3 { margin-bottom: 10px; font-size: 1.15rem; }
.sv-feature p { color: var(--text-secondary); font-size: 0.95rem; }
.sv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.sv-step { padding: 28px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.sv-step .n { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.sv-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sv-step p { color: var(--text-secondary); font-size: 0.92rem; }
.sv-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 32px; }
.sv-spec .item { padding: 20px; background: var(--bg-card-grey); border-radius: var(--radius-md); }
.sv-spec .item .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); }
.sv-spec .item .v { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary); margin-top: 6px; }
.sv-cta { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: var(--radius-xl); padding: 56px; text-align: center; }
.sv-cta h2 { color: #fff; margin-bottom: 12px; }
.sv-cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.sv-cta .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.sv-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.sv-related a { display: block; padding: 28px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: all .3s; }
.sv-related a:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.sv-related .t { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.sv-related .d { font-size: 0.9rem; color: var(--text-secondary); }
.faq-list { max-width: 820px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-default); padding: 22px 0; }
.faq-item .q { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item .q .plus { color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq-item.open .q .plus { transform: rotate(45deg); }
.faq-item .a { color: var(--text-secondary); margin-top: 14px; display: none; line-height: 1.7; }
.faq-item.open .a { display: block; }

/* ===== Floating WhatsApp chat button ===== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  text-decoration: none;
  transition: width .28s ease, transform .28s ease, box-shadow .28s ease;
  animation: waPulse 2.8s ease-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  margin-left: 14px;
  flex-shrink: 0;
  display: block;
}

.wa-float .wa-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: .2px;
  margin-left: 4px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.wa-float:hover {
  width: 196px;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 12px 30px rgba(18, 140, 126, .38);
}

.wa-float:hover .wa-label { opacity: 1; }

@keyframes waPulse {
  0%   { box-shadow: 0 8px 24px rgba(18, 140, 126, .28), 0 0 0 0 rgba(37, 211, 102, .50); }
  70%  { box-shadow: 0 8px 24px rgba(18, 140, 126, .28), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(18, 140, 126, .28), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .wa-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  .wa-float svg { width: 27px; height: 27px; margin-left: 13px; }
  .wa-float:hover { width: 54px; }
  .wa-float .wa-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; box-shadow: 0 8px 24px rgba(18, 140, 126, .28); }
}
