/* ==========================================================
   Shanlan Coffee CMS — 前台样式（俄语站点）
   配色：深咖啡棕 / 亮橙 / 奶油白
   ========================================================== */

:root {
  --brown-900: #2B1608;
  --brown-800: #4A2408;
  --brown-700: #6B3708;
  --brown-600: #8F4E0A;
  --gold: #E8720C;
  --gold-light: #F9A03F;
  --gold-pale: #FDE8D2;
  --cream: #FFF7EF;
  --cream-2: #FDEFE0;
  --line: #F3E2CE;
  --text: #33220F;
  --text-2: #7A6250;
  --text-3: #A8907A;
  --white: #fff;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 10px rgba(36, 24, 18, .06);
  --shadow: 0 12px 36px rgba(36, 24, 18, .10);
  --shadow-lg: 0 24px 60px rgba(36, 24, 18, .16);
  /* 俄语版：优先使用带西里尔字符的字体，中文作为兜底（后台录入的中文也能正常显示） */
  --serif: "PT Serif", Georgia, "Noto Serif", "Songti SC", "Source Han Serif SC", "Microsoft YaHei", serif;
  --sans: "Inter", "Segoe UI", "PT Sans", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }

/* 键盘可达性：跳转链接 + 统一焦点环 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--gold); color: #fff; padding: 10px 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 14px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
#main:focus { outline: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--brown-800);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(28px, 3.6vw, 44px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 19px; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-label.light { color: var(--gold-light); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head h2 { margin-bottom: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  background: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: #C95F04; border-color: #C95F04; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232, 114, 12, .3); }
.btn-outline { border-color: var(--brown-800); color: var(--brown-800); }
.btn-outline:hover { background: var(--brown-800); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 15px; }
.btn-block { width: 100%; }

.link-arrow { font-size: 14px; color: var(--brown-700); font-weight: 500; letter-spacing: .02em; }
.link-arrow:hover { color: var(--gold); }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif); font-size: 19px; color: var(--brown-800); letter-spacing: .06em; }
.logo-text em { font-style: normal; font-size: 9px; letter-spacing: .28em; color: var(--text-3); margin-top: 2px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text);
  letter-spacing: .03em;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--brown-800); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--brown-700); font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--brown-800); transition: .3s; }

/* ---------------- Hero 轮播 ---------------- */
.hero { position: relative; height: min(82vh, 720px); min-height: 520px; overflow: hidden; background: var(--brown-900); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #40200A 0%, #8F4E0A 45%, #D96A08 100%);
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.active { opacity: 1; visibility: visible; }

/* 轮播背景图：用 <img> 承载，配合 loading / fetchpriority 优化首屏 */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(249, 160, 63, .2), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(232, 114, 12, .14), transparent 60%);
}
.hero-slide.active .hero-content > * { animation: heroIn .9s var(--ease) both; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .22s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(43, 22, 8, .74) 0%, rgba(43, 22, 8, .38) 55%, rgba(43, 22, 8, .22) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding: 0 24px;
}
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; color: var(--gold-light);
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-kicker span { width: 36px; height: 1px; background: var(--gold-light); display: inline-block; }
.hero-content h1 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.22; margin-bottom: .4em; }
.hero-content p { color: rgba(255,255,255,.78); font-size: clamp(15px, 1.3vw, 17px); max-width: 520px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button {
  width: 34px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.32); transition: background .3s;
}
.hero-dots button.active { background: var(--gold-light); }

.hero-scroll {
  position: absolute; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: 40px;
  font-size: 10px; letter-spacing: .34em; color: rgba(255,255,255,.5);
  writing-mode: vertical-rl;
  z-index: 3;
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 34px; background: rgba(255,255,255,.4); margin: 12px auto 0; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ---------------- 数据条 ---------------- */
.stats-bar { background: var(--brown-800); color: #fff; }
.stats-band { background: var(--brown-800); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar .stats-grid { padding: 0; }
.stat-item { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-family: var(--serif); font-size: 34px; color: var(--gold-light); line-height: 1.2; font-weight: 600; }
.stat-item span { font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.62); }

/* ---------------- 关于 ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 5/5.4; }
.about-img {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(140deg, #B85E08, #6B3708);
  box-shadow: var(--shadow);
}
.about-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(217,160,91,.28), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px);
}
.about-img-1 { width: 72%; height: 78%; top: 0; left: 0; }
.about-img-2 {
  width: 55%; height: 52%; bottom: 0; right: 0;
  background: linear-gradient(140deg, #E8720C, #8F4E0A);
  border: 8px solid #fff;
}
.about-badge {
  position: absolute; bottom: 16%; left: 4%;
  background: var(--white); padding: 16px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--brown-800); }
.about-badge span { font-size: 9px; letter-spacing: .24em; color: var(--gold); }

.about-text p { color: var(--text-2); }
.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--brown-700); }
.feature-list svg { flex-shrink: 0; }

/* ---------------- 分类卡片 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  display: block;
  padding: 32px 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.cat-card::before {
  content: '';
  position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleY(1); }
.cat-index { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 600; }
.cat-card h3 { margin: 16px 0 10px; font-size: 20px; }
.cat-card p { font-size: 13.5px; color: var(--text-2); margin-bottom: 18px; min-height: 48px; }
.cat-count { font-size: 12px; color: var(--text-3); }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--cream-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }

.product-placeholder {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #D96A08, #8F4E0A);
  overflow: hidden;
}
.product-placeholder::before {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 25%, rgba(249,160,63,.4), transparent 48%),
              radial-gradient(circle at 75% 80%, rgba(232,114,12,.26), transparent 55%);
}
.product-placeholder::after {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(253, 232, 210, .26);
  border-radius: 3px;
}
.product-placeholder span {
  position: relative; z-index: 2;
  font-family: var(--serif); font-size: 34px; color: rgba(255, 243, 226, .9);
  letter-spacing: .18em; text-indent: .18em;
}
.product-placeholder.lg span { font-size: 56px; }
.product-placeholder[data-seed="2"] { background: linear-gradient(145deg, #E8720C, #A85A08); }
.product-placeholder[data-seed="3"] { background: linear-gradient(145deg, #B85E08, #6B3708); }
.product-placeholder[data-seed="4"] { background: linear-gradient(145deg, #F9A03F, #C96A08); }
.product-placeholder[data-seed="5"] { background: linear-gradient(145deg, #D96A08, #8F4E0A); }
.product-placeholder[data-seed="6"] { background: linear-gradient(145deg, #A85A08, #4A2408); }
.product-placeholder[data-seed="7"] { background: linear-gradient(145deg, #F08524, #B85E08); }

.tag-hot {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: #fff;
  font-size: 11px; letter-spacing: .1em; padding: 4px 10px; border-radius: 2px;
}
.product-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.product-sub { font-size: 13px; color: var(--text-2); margin-bottom: 14px; line-height: 1.65; flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pill {
  font-size: 11px; color: var(--brown-600);
  background: var(--cream); border: 1px solid var(--line);
  padding: 2px 9px; border-radius: 20px;
}
.product-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.price { font-family: var(--serif); font-size: 19px; color: var(--brown-800); font-weight: 600; }
.price i { font-style: normal; font-size: 11px; color: var(--text-3); font-family: var(--sans); font-weight: 400; margin-left: 3px; }
.product-foot .more { font-size: 12px; color: var(--gold); letter-spacing: .04em; }

/* ---------------- 服务流程 ---------------- */
.process-section { background: var(--brown-900); color: rgba(255,255,255,.72); }
.process-section h2, .process-section h3 { color: #fff; }
.process-section .section-label { color: var(--gold-light); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-item { padding: 0 32px 0 0; border-right: 1px solid rgba(255,255,255,.12); margin-right: 32px; }
.process-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.process-no { font-family: var(--serif); font-size: 42px; color: rgba(217,160,91,.45); line-height: 1; display: block; margin-bottom: 20px; }
.process-item h3 { font-size: 18px; margin-bottom: 10px; }
.process-item p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.6); margin: 0; }

/* ---------------- 文章卡片 ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post-media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #B85E08, #6B3708);
}
.post-placeholder[data-seed="2"] { background: linear-gradient(135deg, #E8720C, #8F4E0A); }
.post-placeholder[data-seed="3"] { background: linear-gradient(135deg, #D96A08, #4A2408); }
.post-placeholder[data-seed="4"] { background: linear-gradient(135deg, #F08524, #A85A08); }
.post-placeholder[data-seed="5"] { background: linear-gradient(135deg, #A85A08, #6B3708); }
.post-placeholder[data-seed="6"] { background: linear-gradient(135deg, #F08524, #C96A08); }
.post-placeholder span {
  font-family: var(--serif); font-size: 20px; letter-spacing: .3em;
  color: rgba(255, 243, 226, .6); text-indent: .3em;
}
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.post-cat { color: var(--gold); border: 1px solid var(--gold-pale); background: #FDF8F2; padding: 1px 8px; border-radius: 2px; }
.post-body h3 { font-size: 17.5px; line-height: 1.55; margin-bottom: 10px; }
.post-body p { font-size: 13px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; flex: 1; }
.post-body .link-arrow { font-size: 12.5px; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #6B3708 0%, #B85E08 55%, #E8720C 100%);
  color: #fff; padding: 88px 0;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(249,160,63,.32), transparent 55%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.72); margin: 0; max-width: 560px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-phone { font-family: var(--serif); font-size: 24px; color: #fff; letter-spacing: .04em; }
.cta-phone:hover { color: var(--gold-light); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--brown-900); color: rgba(255,255,255,.6); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer-logo { font-family: var(--serif); font-size: 22px; color: #fff; letter-spacing: .08em; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.9; max-width: 340px; }
.footer-social { font-size: 12.5px; color: var(--gold-light); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-family: var(--sans); font-weight: 500; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 12px; color: rgba(255,255,255,.6); }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact p { display: flex; gap: 12px; font-size: 13.5px; margin-bottom: 12px; }
.footer-contact p span { color: rgba(255,255,255,.35); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.42); }

/* ---------------- 回到顶部 ---------------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown-800); color: #fff; font-size: 17px;
  border: 0; cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
  box-shadow: var(--shadow);
}
.back-top[hidden] { display: flex; }   /* 用 class 控制显隐，避免 hidden 属性抢戏 */
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

/* ---------------- 移动端底部操作条 ---------------- */
.mobile-bar { display: none; }

/* ---------------- 图片灯箱 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(24, 14, 6, .88);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 4vw;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  backdrop-filter: blur(2px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 90vh; width: auto; height: auto;
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .3s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 0; cursor: pointer; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: var(--gold); }

/* ---------------- 内页 Hero ---------------- */
.page-hero {
  padding: 84px 0 68px;
  background: linear-gradient(120deg, #FDE8D2, #FFF3E4 70%, #FBD9B4);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,160,63,.25), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--gold); }
.crumbs em { font-style: normal; color: var(--brown-700); }
.stats-band .stats-grid { padding: 0; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero-sub { color: var(--text-2); font-size: 15px; max-width: 620px; margin: 0; }
.crumbs.center { justify-content: center; }

/* ---------------- 筛选栏 ---------------- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  padding: 7px 18px; font-size: 13.5px; color: var(--text-2);
  border-radius: 30px; border: 1px solid transparent; transition: all .25s var(--ease);
}
.filter-tab:hover { color: var(--brown-800); background: var(--cream); }
.filter-tab.active { background: var(--brown-800); color: #fff; }

.search-form { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #fff; }
.search-form input {
  border: 0; padding: 9px 16px; font-size: 13.5px; width: 200px;
  outline: none; font-family: inherit; background: none; color: var(--text);
}
.search-form button { border: 0; background: none; padding: 0 14px; cursor: pointer; color: var(--text-2); display: flex; }
.search-form button:hover { color: var(--gold); }

.result-info { font-size: 13px; color: var(--text-3); margin-bottom: 26px; }
.result-info strong { color: var(--gold); font-weight: 600; }
.result-clear {
  margin-left: 12px; padding: 3px 12px; border-radius: 100px;
  border: 1px solid var(--line); font-size: 12px; color: var(--text-2);
}
.result-clear:hover { border-color: var(--gold); color: var(--gold); background: var(--cream); }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; flex-wrap: wrap; }
.page-link {
  min-width: 40px; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13.5px; color: var(--text-2); background: #fff;
  transition: all .25s var(--ease);
}
.page-link:hover { border-color: var(--brown-800); color: var(--brown-800); }
.page-link.active { background: var(--brown-800); border-color: var(--brown-800); color: #fff; }
.page-dots { color: var(--text-3); padding: 0 4px; }

/* ---------------- 产品详情 ---------------- */
.product-hero { padding: 36px 0 0; background: var(--cream); }
.product-hero .breadcrumbs { padding-top: 8px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 32px 0 84px; align-items: start; }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.6; background: #fff; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding-top: 10px; }
.detail-info h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: .3em; }
.detail-sub { color: var(--gold); font-size: 14px; letter-spacing: .02em; margin-bottom: 20px; }
.detail-intro { color: var(--text-2); font-size: 15px; line-height: 1.9; margin-bottom: 30px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.spec-list > div { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 12.5px; color: var(--text-3); min-width: 46px; margin: 0; }
.spec-list dd { margin: 0; font-size: 13.5px; color: var(--brown-700); }
.detail-price-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; }
.detail-price { font-family: var(--serif); font-size: 34px; color: var(--brown-800); font-weight: 600; }
.detail-price small { display: block; font-size: 11px; color: var(--text-3); font-family: var(--sans); font-weight: 400; letter-spacing: .1em; }
.detail-price em { font-style: normal; font-size: 26px; }
.detail-trust { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); padding-top: 18px; border-top: 1px dashed var(--line); }

.detail-columns { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.block-title { font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }

.rich-content { font-size: 15px; line-height: 1.95; color: var(--text-2); }
.rich-content h2 { font-size: 22px; margin: 40px 0 14px; color: var(--brown-800); }
.rich-content h3 { font-size: 17.5px; margin: 30px 0 12px; color: var(--brown-800); }
.rich-content p { margin-bottom: 1.1em; }
.rich-content ul, .rich-content ol { padding-left: 22px; margin-bottom: 1.2em; }
.rich-content li { margin-bottom: .4em; }
.rich-content img { border-radius: var(--radius); margin: 20px 0; }
.rich-content blockquote {
  margin: 24px 0; padding: 16px 24px;
  border-left: 3px solid var(--gold); background: var(--cream);
  color: var(--brown-700); font-style: normal;
}
.rich-content strong { color: var(--brown-800); }
.rich-content a { color: var(--gold); text-decoration: underline; }

.detail-aside { position: sticky; top: 100px; }
.inquiry-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.inquiry-card h3 { font-size: 19px; margin-bottom: 6px; }
.inquiry-tip { font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; }

/* ---------------- 表单 ---------------- */
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; letter-spacing: .03em; }
.form label i { color: #C0492F; font-style: normal; }
.form input, .form textarea, .form select {
  width: 100%; padding: 11px 14px;
  font-size: 14px; font-family: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,114,12,.12);
}
.form input[readonly] { background: var(--cream-2); color: var(--text-2); }
.form textarea { resize: vertical; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 11.5px; color: var(--text-3); margin: 14px 0 0; line-height: 1.7; }

/* 校验失败：字段高亮 + 提示，不影响正常状态 */
.form .field.has-error label { color: #A33A24; }
.form .field.has-error input,
.form .field.has-error textarea {
  border-color: #C0492F;
  background: #FFFBF9;
}
.form .field.has-error input:focus,
.form .field.has-error textarea:focus {
  border-color: #C0492F;
  box-shadow: 0 0 0 3px rgba(192, 73, 47, .12);
}
.form .field.has-error::after {
  content: '请检查这一项';
  display: block;
  font-size: 11.5px;
  color: #A33A24;
  margin-top: 6px;
}
.form[data-invalid] .field.has-error:first-of-type input,
.form[data-invalid] .field.has-error:first-of-type textarea { animation: fieldShake .3s ease; }
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm); }

.alert { padding: 13px 18px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 20px; border-left: 3px solid; }
.alert-success { background: #F1F8F1; color: #2C6B3E; border-color: #4C9A66; }
.alert-error { background: #FDF2F0; color: #A33A24; border-color: #C0492F; }
.alert-info { background: #F2F6FB; color: #2A5580; border-color: #4A7BAE; }

/* ---------------- 关于页 ---------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { padding: 40px 32px; background: var(--cream); border-radius: var(--radius-lg); border: 1px solid transparent; transition: all .35s var(--ease); }
.value-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.value-no { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.value-card h3 { margin: 14px 0 12px; font-size: 20px; }
.value-card p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.85; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 38px; }
.timeline-item::before {
  content: ''; position: absolute; left: -24px; top: 10px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 600; }
.timeline-body h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-body p { font-size: 13.5px; color: var(--text-2); margin: 0; }

/* ---------------- 文章详情 ---------------- */
.article { padding-bottom: 96px; }
.article-head { padding: 72px 0 44px; background: var(--cream); text-align: center; margin-bottom: 48px; }
.article-head h1 { max-width: 820px; margin: 0 auto .5em; }
.article-meta { display: flex; justify-content: center; gap: 20px; font-size: 12.5px; color: var(--text-3); flex-wrap: wrap; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.article-lead {
  font-size: 17px; line-height: 1.9; color: var(--brown-700);
  padding: 0 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.article-body { font-size: 15.5px; }
.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.article-nav .right { text-align: right; }
.nav-label { display: block; font-size: 11.5px; letter-spacing: .18em; color: var(--text-3); margin-bottom: 8px; text-transform: uppercase; }
.article-nav a { font-size: 14.5px; color: var(--brown-800); }
.article-nav a:hover { color: var(--gold); }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-lead { color: var(--text-2); font-size: 15px; margin-bottom: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--cream); color: var(--gold); font-size: 16px;
}
.contact-list em { display: block; font-style: normal; font-size: 12px; color: var(--text-3); letter-spacing: .1em; margin-bottom: 3px; }
.contact-list strong { font-size: 15px; color: var(--brown-800); font-weight: 500; }
.contact-form-wrap .card h3 { margin-bottom: 22px; }

.map-section { padding: 0 0 96px; }
.map-card {
  position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.03) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #EFE7DA, #F8F3EB);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.map-info { text-align: center; background: #fff; padding: 26px 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-info h3 { font-size: 18px; margin-bottom: 6px; }
.map-info p { font-size: 13.5px; color: var(--text-2); margin-bottom: 4px; }
.map-info span { font-size: 12px; color: var(--text-3); }

/* ---------------- 空状态 ---------------- */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 40px; color: var(--gold); margin-bottom: 18px; font-family: var(--serif); }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); font-size: 14px; margin-bottom: 26px; }

/* 空状态通用图标块（搜索无结果 / 分类为空） */
.empty-state .empty-emoji { font-size: 44px; margin-bottom: 16px; line-height: 1; }
.empty-state .empty-desc { max-width: 460px; margin: 0 auto 26px; line-height: 1.9; }
.empty-state .empty-hint { font-size: 13px; color: var(--text-3); }
.empty-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 404 */
.notfound { padding-top: 60px; }
.empty-code {
  font-family: var(--serif); font-size: clamp(72px, 14vw, 132px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--gold);
  letter-spacing: .04em; margin-bottom: 8px; opacity: .5;
}
.notfound h1 { margin-bottom: 12px; }
.notfound-links {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-3);
}
.notfound-links span { margin-right: 10px; }
.notfound-links a {
  display: inline-block; margin: 6px 8px 6px 0; padding: 5px 14px;
  border: 1px solid var(--line); border-radius: 100px; color: var(--text-2);
  transition: all .25s var(--ease);
}
.notfound-links a:hover { border-color: var(--gold); color: var(--gold); background: var(--cream); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .detail-columns { grid-template-columns: 1fr 320px; gap: 40px; }
  .process-item { padding-right: 22px; margin-right: 22px; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 460px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-item { border-right: 0; margin: 0; padding: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .detail-columns { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-scroll { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }

  /* 移动端：底部操作条登场 */
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(36, 24, 18, .08);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 9px 0 8px; font-size: 11.5px; color: var(--text-2);
    border-right: 1px solid var(--line);
  }
  .mobile-bar a:last-child { border-right: 0; }
  .mobile-bar a.primary { color: var(--gold); font-weight: 600; }
  .mobile-bar a:active { background: var(--cream); }

  /* 给内容让出底部空间，避免被操作条遮挡 */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .back-top { bottom: calc(70px + env(safe-area-inset-bottom)); right: 16px; width: 42px; height: 42px; }

  /* 移动端菜单展开时锁滚动 */
  body.nav-open { overflow: hidden; }
  .main-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  /* 俄语按钮较长，小屏隐藏头部 CTA（底部操作条已有「Образцы」入口） */
  .header-actions .btn-sm { display: none; }
  .section { padding: 56px 0; }
  .hero { min-height: 460px; height: 74vh; }
  .hero-content { margin: 0; }
  .hero-btns .btn { padding: 12px 22px; font-size: 13px; }
  .product-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-form input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .article-nav { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .page-hero { padding: 56px 0 44px; }
  .detail-price-row { gap: 18px; }
}
