/* =========================================================
   Etsy Atelier — Editorial Style
   ========================================================= */

:root {
  /* Colors — 仿古奶油 + 深墨绿 + 焦茶金的编辑风配色 */
  --ivory:       #F5EFE4;
  --ivory-2:     #EDE4D3;
  --cream:       #FAF6EE;
  --forest:      #1E3A2E;
  --forest-deep: #16291F;
  --charcoal:    #1A1714;
  --ink:         #0E0C0A;
  --mute:        #6A6158;
  --rule:        #2B241D;
  --gold:        #B08A3E;
  --gold-soft:   #D9B873;
  --terracotta:  #B04A2C;

  /* Typography */
  --font-serif:  "Noto Serif SC", "Fraunces", "Songti SC", "STSong", serif;
  --font-sans:   "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono:   "JetBrains Mono", "DM Mono", "SF Mono", ui-monospace, monospace;

  /* Spacing */
  --max-w:       1280px;
  --gutter:      clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  /* 微微的报纸颗粒感背景 */
  background-image:
    radial-gradient(ellipse at top left, rgba(30,58,46,0.04), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(176,138,62,0.05), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }

::selection { background: var(--forest); color: var(--cream); }

/* ---------- Shared ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.display {
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

hr.rule { border: 0; height: 1px; background: var(--rule); opacity: 0.18; }

/* =========================================================
   Top Bar
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(245, 239, 228, 0.82);
  border-bottom: 1px solid rgba(43, 36, 29, 0.12);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 26px; height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  position: relative; top: 3px;
}
.brand__mark::after{
  content:""; position:absolute; inset:3px; border:1px solid var(--ink); border-radius:50%;
}
.brand__cn { color: var(--mute); font-weight: 400; font-size: 13px; font-family: var(--font-sans); letter-spacing: 0.15em; }

.nav {
  display: flex; gap: 36px;
}
.nav a {
  font-size: 13px;
  color: var(--charcoal);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.05em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 1px; background: var(--ink);
  transition: right 0.35s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover::after { right: 0; }

.topbar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink); color: var(--cream);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease;
}
.topbar__cta:hover { transform: translateY(-1px); background: var(--forest); }
.topbar__cta .dot { width: 6px; height: 6px; background: var(--gold-soft); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

@media (max-width: 820px){
  .nav{display:none;}
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(43,36,29,0.15);
  margin-bottom: 56px;
}
.hero__meta span::before{ content:"◆ "; color: var(--gold); margin-right: 6px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}
@media (min-width: 960px){
  .hero__grid{ grid-template-columns: 1.6fr 1fr; gap: 80px; }
}

.hero__title {
  font-size: clamp(44px, 7.5vw, 108px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--forest);
  display: inline-block;
  position: relative;
}
.hero__title .accent::after{
  content:""; position:absolute; left: 6%; right: 6%; bottom: -4px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  animation: draw-line 1.2s .8s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes draw-line { to { transform: scaleX(1); } }

.hero__title .us {
  font-family: var(--font-serif);
  font-weight: 400; font-style: italic;
  color: var(--terracotta);
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.hero__sub {
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.75;
  max-width: 38ch;
}
.hero__sub strong { font-weight: 600; border-bottom: 1px dashed var(--gold); padding-bottom: 1px; }

.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .28s ease, background .28s ease, color .28s ease, box-shadow .28s ease;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: var(--cream); box-shadow: 0 12px 30px -16px rgba(0,0,0,0.6); }
.btn--dark:hover { transform: translateY(-2px); background: var(--forest); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn__arrow { transition: transform .28s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.hero__numbers {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(43,36,29,0.15);
}
.stat { }
.stat__num {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 900;
  color: var(--ink); line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num .sup { font-size: 22px; vertical-align: super; margin-left: 2px; color: var(--gold); }
.stat__label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* 装饰：边角的书法印章 */
.hero__seal {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  top: clamp(120px, 14vw, 180px);
  width: 96px; height: 96px;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 16px; letter-spacing: 0.1em;
  opacity: 0.9;
  animation: rotate-slow 60s linear infinite;
}
.hero__seal span { display: block; text-align: center; line-height: 1.2; }
@keyframes rotate-slow { to { transform: rotate(360deg); } }
@media (max-width: 720px){ .hero__seal{ display:none; } }

/* =========================================================
   Marquee — 滚动的提示条
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.marquee__track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scroll-x 35s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.marquee__track span::before { content: "✦"; color: var(--gold-soft); margin-right: 12px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================
   Section
   ========================================================= */
section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
@media (min-width: 960px){
  .sec-head { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: end; }
}
.sec-head__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.sec-head__title em {
  font-weight: 300; font-style: italic; color: var(--forest);
}
.sec-head__lede {
  font-size: 17px; color: var(--charcoal); line-height: 1.75;
  max-width: 58ch;
}

/* =========================================================
   Why Us — 大号编号 + 长文段
   ========================================================= */
#why { background: var(--cream); border-top: 1px solid rgba(43,36,29,0.08); }

.reasons { display: grid; grid-template-columns: 1fr; gap: 0; }
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 56px);
  padding: 48px 0;
  border-top: 1px solid rgba(43,36,29,0.18);
  position: relative;
}
.reason:last-child { border-bottom: 1px solid rgba(43,36,29,0.18); }
.reason__num {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 900; color: var(--ink);
  line-height: 0.9; letter-spacing: -0.04em;
  min-width: 2ch;
  position: relative;
}
.reason__num::after{
  content: attr(data-label);
  display:block; font-size: 11px; font-family: var(--font-mono);
  font-weight: 400; letter-spacing: 0.2em; color: var(--mute);
  margin-top: 12px;
  text-transform: uppercase;
}
.reason__body { padding-top: 10px; }
.reason__title {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700;
  margin-bottom: 14px;
}
.reason__title .dot { color: var(--terracotta); }
.reason__text { color: var(--charcoal); font-size: 16px; line-height: 1.8; max-width: 62ch; }
.reason__text strong { background: linear-gradient(180deg, transparent 62%, rgba(176,138,62,0.3) 62%); font-weight: 600; padding: 0 2px; }

@media (min-width: 960px){
  .reason { grid-template-columns: 220px 1fr; }
}

/* =========================================================
   Warning block — 同行陷阱
   ========================================================= */
#warnings {
  background: var(--forest-deep);
  color: var(--cream);
}
#warnings h2, #warnings .sec-head__title { color: var(--cream); }
#warnings .sec-head__title em { color: var(--gold-soft); }
#warnings .sec-head__lede { color: rgba(245,239,228,0.78); }
#warnings .eyebrow { color: var(--gold-soft); }

.trap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px){
  .trap-grid { grid-template-columns: repeat(2, 1fr); }
}

.trap {
  padding: 36px 32px 32px;
  border: 1px solid rgba(245,239,228,0.15);
  border-radius: 2px;
  background:
    radial-gradient(circle at top right, rgba(176,74,44,0.1), transparent 55%),
    rgba(0,0,0,0.15);
  position: relative;
  transition: transform .35s ease, border-color .35s ease;
}
.trap:hover { transform: translateY(-4px); border-color: rgba(217,184,115,0.45); }
.trap__tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--terracotta); text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--terracotta); border-radius: 999px;
  margin-bottom: 20px;
}
.trap__title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.trap__text {
  color: rgba(245,239,228,0.78);
  font-size: 15px; line-height: 1.75;
}
.trap__stamp {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(217,184,115,0.55);
}

/* =========================================================
   Services — 出租 / 买断
   ========================================================= */
#services { background: var(--ivory); }

.offers {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-top: 20px;
}
@media (min-width: 900px){
  .offers { grid-template-columns: 1fr 1fr; }
}

.offer {
  background: var(--cream);
  border: 1px solid rgba(43,36,29,0.15);
  padding: 48px 40px 44px;
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(22,41,31,0.35); }
.offer--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.offer--dark h3, .offer--dark .offer__price { color: var(--cream); }

.offer__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(43,36,29,0.18);
  margin-bottom: 28px;
}
.offer--dark .offer__head { border-color: rgba(245,239,228,0.18); }

.offer__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.offer--dark .offer__label { color: var(--gold-soft); }

.offer__title {
  font-size: 36px; font-weight: 900;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.offer__title em { font-weight: 300; font-style: italic; }

.offer__price {
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: 0.05em;
  text-align: right; color: var(--mute);
  white-space: nowrap;
}
.offer--dark .offer__price { color: rgba(245,239,228,0.6); }

.offer ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  padding: 0; margin: 0;
}
.offer li {
  position: relative;
  padding-left: 30px;
  font-size: 15px; line-height: 1.7;
}
.offer li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-family: var(--font-mono); font-weight: 500;
}
.offer--dark li::before { color: var(--gold-soft); }

.offer__foot {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(43,36,29,0.18);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  color: var(--mute);
}
.offer--dark .offer__foot { border-color: rgba(245,239,228,0.18); color: rgba(245,239,228,0.6); }

/* 左侧：技术感英文标签（mono + 大写 + 字间距） */
.offer__foot-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* 右侧：本地化关键词（衬线斜体 + 金色强调，不加大写不加字间距，对中文也友好） */
.offer__foot-note {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
  position: relative;
  padding-left: 14px;
}
.offer__foot-note::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: 0.7;
}
.offer--dark .offer__foot-note { color: var(--gold-soft); }
.offer--dark .offer__foot-note::before { background: var(--gold-soft); }

/* 质保条 */
.warranty-bar {
  margin-top: 48px;
  padding: 28px 36px;
  background: var(--forest);
  color: var(--cream);
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: center;
  border-radius: 2px;
}
.warranty-bar h4 {
  color: var(--cream);
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: 20px;
}
.warranty-bar strong { color: var(--gold-soft); font-style: normal; font-weight: 700; }
.warranty-bar p { max-width: 54ch; font-size: 14px; color: rgba(245,239,228,0.85); line-height: 1.7; }

/* =========================================================
   Contract
   ========================================================= */
#contract {
  background: var(--ivory-2);
  position: relative;
}

.contract-card {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: 56px clamp(28px, 4vw, 64px);
  background: var(--cream);
  border: 1px solid rgba(43,36,29,0.15);
  position: relative;
}
@media (min-width: 860px){ .contract-card{ grid-template-columns: 1.1fr 1fr; align-items: center; } }

.contract-card::before, .contract-card::after {
  content: ""; position: absolute; width: 36px; height: 36px;
  border: 1px solid var(--ink);
}
.contract-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.contract-card::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.contract-card h3 {
  font-size: clamp(28px, 3.2vw, 42px); font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contract-card h3 em { font-style: italic; font-weight: 300; color: var(--forest); }
.contract-card p { color: var(--charcoal); line-height: 1.8; font-size: 16px; margin-bottom: 14px; }

.contract-steps { list-style: none; display: grid; gap: 18px; }
.contract-steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center;
  padding: 14px 16px;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}
.contract-steps .n {
  font-family: var(--font-serif); font-weight: 900;
  font-size: 22px; color: var(--forest);
}
.contract-steps .t { font-size: 15px; line-height: 1.6; }
.contract-steps .t strong { font-weight: 600; }

/* =========================================================
   Contact
   ========================================================= */
#contact { background: var(--ink); color: var(--cream); }

#contact .eyebrow { color: var(--gold-soft); }
#contact h2 { color: var(--cream); }
#contact .sec-head__title em { color: var(--gold-soft); }
#contact .sec-head__lede { color: rgba(245,239,228,0.8); }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 960px){
  .contact-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.contact-card {
  background: rgba(245,239,228,0.04);
  border: 1px solid rgba(245,239,228,0.14);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: rgba(217,184,115,0.5); transform: translateY(-3px); }
.contact-card__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 18px;
}
.contact-card__title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--cream);
  margin-bottom: 16px;
}
.contact-card__value {
  font-size: 18px; word-break: break-all;
  color: var(--cream); font-family: var(--font-mono); letter-spacing: 0.02em;
}
.contact-card__value a:hover { color: var(--gold-soft); }
.contact-card__hint {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px; color: rgba(245,239,228,0.6); line-height: 1.6;
}

.qr-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 10px;
}
.qr-box {
  background: var(--cream);
  padding: 14px 14px 10px;
  text-align: center;
  color: var(--ink);
}
.qr-box img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ivory-2);
}
.qr-box .placeholder {
  width: 100%; aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(45deg, var(--ivory-2) 0 8px, var(--cream) 8px 16px);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--mute); letter-spacing: 0.15em; text-transform: uppercase;
  text-align: center; padding: 10px;
  line-height: 1.5;
}
.qr-box span {
  display: block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 8px; color: var(--charcoal);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink); color: rgba(245,239,228,0.55);
  border-top: 1px solid rgba(245,239,228,0.12);
  padding: 40px 0;
  font-size: 12px; letter-spacing: 0.05em;
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
}
.footer a:hover { color: var(--gold-soft); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 580px){
  .hero__numbers { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat__num { font-size: 38px; }
  .reason { padding: 36px 0; }
  .offer { padding: 40px 28px; }
}

/* ============================================================
   §  LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  margin: 0 clamp(10px, 1.5vw, 18px);
}
.lang-switcher > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(26, 23, 20, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: all 0.28s ease;
  user-select: none;
}
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary:hover {
  border-color: rgba(26, 23, 20, 0.55);
  background: rgba(26, 23, 20, 0.04);
}
.lang-switcher[open] > summary {
  border-color: var(--ink);
  background: rgba(26, 23, 20, 0.06);
}
.lang-switcher__globe {
  font-size: 13px;
  color: var(--gold);
  transform: translateY(-0.5px) rotate(0deg);
  transition: transform 0.4s ease;
  display: inline-block;
  line-height: 1;
}
.lang-switcher[open] .lang-switcher__globe {
  transform: translateY(-0.5px) rotate(180deg);
}
.lang-switcher__code {
  font-weight: 600;
  letter-spacing: 0.14em;
}
.lang-switcher__name {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  font-weight: 400;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-switcher__caret {
  font-size: 9px;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.lang-switcher[open] .lang-switcher__caret {
  transform: rotate(180deg);
}

.lang-switcher__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  max-height: 420px;
  overflow-y: auto;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--cream);
  border: 1px solid rgba(26, 23, 20, 0.1);
  border-radius: 10px;
  box-shadow:
    0 8px 40px -12px rgba(26, 23, 20, 0.28),
    0 2px 8px -2px rgba(26, 23, 20, 0.08);
  z-index: 200;
  animation: langFade 0.26s ease both;
}
@keyframes langFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.lang-switcher__list li { margin: 0; padding: 0; }
.lang-switcher__list a {
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  font-size: 13.5px;
  letter-spacing: 0;
  transition: background 0.18s ease;
}
.lang-switcher__list a:hover {
  background: rgba(30, 58, 46, 0.06);
}
.lang-switcher__list .is-current a {
  background: rgba(30, 58, 46, 0.08);
  color: var(--forest);
}
.lang-switcher__row-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.is-current .lang-switcher__row-code { color: var(--forest); }
.lang-switcher__row-name {
  font-weight: 500;
}
.lang-switcher__check {
  color: var(--gold);
  font-size: 14px;
  justify-self: end;
}

/* ============================================================
   §  RTL SUPPORT (Arabic)
   ============================================================ */

[dir="rtl"] {
  font-family: 'Noto Naskh Arabic', 'Noto Serif SC', serif;
}
[dir="rtl"] body,
[dir="rtl"] .hero__sub,
[dir="rtl"] .reason__text,
[dir="rtl"] .trap__text,
[dir="rtl"] .sec-head__lede,
[dir="rtl"] .contract-card p,
[dir="rtl"] .contact-card__hint,
[dir="rtl"] .offer ul,
[dir="rtl"] .warranty-bar,
[dir="rtl"] .footer {
  font-family: 'Noto Naskh Arabic', system-ui, sans-serif;
}
[dir="rtl"] .display,
[dir="rtl"] .hero__title,
[dir="rtl"] .sec-head__title,
[dir="rtl"] .reason__title,
[dir="rtl"] .trap__title,
[dir="rtl"] .offer__title,
[dir="rtl"] .contract-card h3,
[dir="rtl"] .warranty-bar h4 {
  font-family: 'Noto Naskh Arabic', 'Fraunces', serif;
  font-weight: 700;
}

/* RTL 单个容器内的水平方向反转 */
[dir="rtl"] .hero__seal {
  right: auto;
  left: clamp(20px, 4vw, 60px);
}
[dir="rtl"] .hero__numbers .stat { text-align: right; }
[dir="rtl"] .reason {
  border-left: none;
  border-right: 1px solid rgba(26, 23, 20, 0.1);
  padding-left: 0;
  padding-right: clamp(24px, 3vw, 40px);
}
[dir="rtl"] .reason__num {
  right: auto;
  left: 0;
  padding-right: 0;
  padding-left: 14px;
}
[dir="rtl"] .reason__num::before {
  right: auto;
  left: -6px;
}
[dir="rtl"] .trap {
  text-align: right;
}
[dir="rtl"] .trap::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .offer {
  text-align: right;
}
[dir="rtl"] .offer ul li {
  padding-left: 0;
  padding-right: 30px;
}
[dir="rtl"] .offer ul li::before {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
[dir="rtl"] .contract-steps li {
  text-align: right;
}
[dir="rtl"] .contract-steps .n {
  margin-right: 0;
  margin-left: 16px;
}
[dir="rtl"] .contact-card__value,
[dir="rtl"] .contact-card__hint {
  text-align: right;
}
[dir="rtl"] .contract-card {
  direction: rtl;
}

/* 箭头符号在 RTL 下需要反向 */
[dir="rtl"] .btn__arrow {
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .marquee__track {
  animation-direction: reverse;
}

/* accent 下划线动画在 RTL 下从右开始 */
[dir="rtl"] .accent::after {
  transform-origin: right center;
}

/* 语言切换器在 RTL 下下拉向左对齐 */
[dir="rtl"] .lang-switcher__list {
  right: auto;
  left: 0;
}
[dir="rtl"] .lang-switcher__list a {
  grid-template-columns: 20px 1fr 48px;
}

/* 日语字体优化 */
.lang-ja {
  font-family: 'Noto Sans JP', 'Noto Sans SC', system-ui, sans-serif;
}
.lang-ja .display,
.lang-ja .hero__title,
.lang-ja .sec-head__title {
  font-family: 'Fraunces', 'Noto Serif SC', serif;
}

/* ============================================================
   §  LANGUAGE SWITCHER - MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .lang-switcher__name { display: none; }
  .lang-switcher > summary {
    padding: 7px 11px;
    gap: 6px;
  }
  .lang-switcher__list {
    right: 0;
    min-width: 200px;
  }
  [dir="rtl"] .lang-switcher__list {
    left: 0;
    right: auto;
  }
}

@media (max-width: 640px) {
  .lang-switcher {
    margin: 0 6px;
  }
  .lang-switcher > summary {
    padding: 6px 9px;
    font-size: 10.5px;
  }
  .lang-switcher__globe { font-size: 12px; }
}
