/* ============================================================
   SQUIRREL WEAVING — Hotel Textile Manufacturer
   Design language adapted from weisdin.com template:
   white base / deep green #123F34 / gold-bronze #C89B5A / Lato
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --bg: #FFFDFA;
  --gray: #F5F1E8;
  --white: #FFFFFF;
  --ink: #15201C;
  --ink-soft: #33403A;
  --muted: #6A7268;
  --line: #E9E3D6;
  --line-strong: #D7CEBC;
  --gold: #B08A4F;
  --gold-deep: #8C6832;
  --navy: #123F34;
  --navy-deep: #092A22;
  --dark: #08211C;

  --sans: "Lato", "Helvetica Neue", Helvetica, Arial, "PingFang SC", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, "Songti SC", "STSong", "SimSun", serif;

  --wrap: 1270px;
  --pad: 24px;

  --shadow-sm: 0 1px 2px rgba(24,32,26,.04), 0 2px 8px rgba(24,32,26,.05);
  --shadow-md: 0 14px 30px -18px rgba(20,36,28,.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2.4rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); }
h3 { font-size: 1.3rem; line-height: 1.38; }

/* ---------- kickers & leads ---------- */
.kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.lead {
  color: var(--muted);
  max-width: 660px;
  font-size: 1.02rem;
  margin-top: 14px;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-dark { background: var(--navy-deep); color: #F3EFE6; }
.btn-dark:hover { background: #0E362C; box-shadow: 0 14px 28px -16px rgba(8,33,28,.55); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(176,138,79,.06); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- top utility bar ---------- */
.head-top { background: var(--dark); font-size: 13px; }
.head-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.ht-note { color: #A9B3A8; letter-spacing: 0.06em; }
.ht-note b { color: var(--gold); font-weight: 700; }
.ht-links { display: flex; gap: 24px; }
.ht-links a { color: #C6CEC3; letter-spacing: 0.03em; transition: color .2s ease; }
.ht-links a:hover { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid rgba(176,138,79,.28);
  box-shadow: 0 14px 34px -20px rgba(8,24,20,.55);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.wordmark { line-height: 1.15; display: block; flex: 0 0 auto; }
.wm-main {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFF;
  white-space: nowrap;
}
.wm-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > a,
.main-nav > .nav-item > a {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #E8EAF0;
  padding: 10px 14px;
  position: relative;
  transition: color .2s ease;
}
.main-nav > a::after,
.main-nav > .nav-item > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav > a:hover, .main-nav > a.active,
.main-nav > .nav-item:hover > a,
.main-nav > .nav-item.active > a,
.main-nav > .nav-item > a.active { color: var(--gold); }
.main-nav > a:hover::after, .main-nav > a.active::after,
.main-nav > .nav-item:hover > a::after,
.main-nav > .nav-item.active > a::after,
.main-nav > .nav-item > a.active::after { transform: scaleX(1); }
.main-nav > .btn { margin-left: 10px; }
.site-header .btn-dark { background: rgba(255,255,255,.04); color: #E3C88F; border: 1px solid rgba(214,178,116,.8); }
.site-header .btn-dark:hover { background: #E3C88F; color: var(--navy-deep); border-color: #E3C88F; box-shadow: none; }

/* dropdown submenu */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: block; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 48px -16px rgba(16,24,40,.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: none;
}
.submenu a:hover { background: #F7F5F0; color: var(--gold-deep); }
.submenu a::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF;
  margin: 6px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero (home) — full-bleed banner, weisdin style ---------- */
.hero { background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-banner {
  position: relative;
  background:
    linear-gradient(96deg, rgba(7,28,23,.86) 0%, rgba(7,28,23,.76) 26%, rgba(7,28,23,.42) 45%, rgba(7,28,23,.07) 62%, rgba(7,28,23,0) 74%),
    url("../../images/hero_room.jpg") right 50% / cover no-repeat #10382D;
}
.hb-in { padding: 132px var(--pad) 148px; }
.hero-banner .kicker { color: var(--gold); }
.hero-banner h1 { color: #FFF; max-width: 680px; font-size: clamp(2.35rem, 4.1vw, 3.4rem); font-weight: 500; }
.hero-banner p {
  color: rgba(232,234,240,.84);
  max-width: 540px;
  margin: 20px 0 34px;
  font-size: 1.06rem;
}
.hero-banner .btn-dark { background: rgba(255,255,255,.06); color: #FFF; border-color: rgba(255,255,255,.6); }
.hero-banner .btn-dark:hover { background: rgba(255,255,255,.14); border-color: #FFF; color: #FFF; box-shadow: none; }
.hero-banner .btn-line { color: #FFF; border-color: rgba(255,255,255,.65); }
.hero-banner .btn-line:hover { background: rgba(255,255,255,.12); border-color: #FFF; color: #FFF; }
.hb-note {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 560px;
}
.hb-note span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,234,240,.75);
}

/* ---------- stat band ---------- */
.stat-band { background: linear-gradient(180deg, #0D352A 0%, #092A22 100%); color: #F2F4F0; border-top: 1px solid rgba(176,138,79,.25); }
.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.stat-band b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.05rem;
  letter-spacing: 0.01em;
  color: var(--gold);
}
.stat-band span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237,239,234,.58);
  margin-top: 7px;
}

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.alt {
  background: linear-gradient(180deg, #FEFCF8 0%, #F8F4EA 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.tight { padding: 84px 0; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.card > img { transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card:hover > img { transform: scale(1.035); }
.card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }
.card .body .btn { margin-top: 22px; }
.card .body .btn:last-child { margin-top: auto; }
.card .body .btn.push { margin-top: auto; }
.card .body .btn.push + .btn, .card .body .btn + .btn { margin-top: 12px; }

/* ---------- bathrobe catalog ---------- */
.br-group { margin-top: 44px; font-size: 1.25rem; }
.br-group-desc { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.br-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 22px; }
.br-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFF;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.bs-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(253,251,246,.92); color: var(--gold-deep, #A97B3F);
  border: 1px solid rgba(176,138,79,.55);
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; box-shadow: none;
}
.br-card.best { border-color: rgba(169,123,63,.5); }
.br-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.br-card { overflow: hidden; }
.br-card > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.br-card:hover > img { transform: scale(1.035); }
.br-card .body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.br-card .ref { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold-deep); }
.br-card h4 { font-size: 14.5px; line-height: 1.35; margin-top: 4px; color: var(--navy-deep); }
.br-card .meta { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 7px; }
.br-card .meta b { color: var(--ink-soft); font-weight: 600; }
.br-card .btn { margin-top: 14px; align-self: flex-start; }
.br-card .btn:last-child { margin-top: auto; }

/* tall portrait cards for hero categories */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.cat-a { grid-column: span 4; }
.cat-a > img { aspect-ratio: 3 / 4; }
.cat-b { grid-column: span 3; }
.cat-b > img { aspect-ratio: 3 / 3.6; }

/* ---------- image hover zoom (weisdin-style) ---------- */
.ph { display: block; overflow: hidden; border-radius: 6px; }
.ph img { display: block; }
.card > img,
.cat-a > img,
.cat-b > img,
.br-card > img,
.gallery img,
.process-grid img,
.timeline img,
.duo img {
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.card:hover > img,
.cat-a:hover > img,
.cat-b:hover > img,
.br-card:hover > img,
.gallery figure:hover img,
.process-grid figure:hover img,
.timeline figure:hover img,
.duo figure:hover img {
  transform: scale(1.05);
}
.cat-a, .cat-b { display: flex; flex-direction: column; }
.cat-a > img, .cat-b > img { width: 100%; object-fit: cover; }
.cat-a .body, .cat-b .body { flex: 1; }

/* ---------- spec list ---------- */
.spec { margin-top: 16px; border-top: 1px solid var(--line); }
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec li span:first-child {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding-top: 2px;
  white-space: nowrap;
}
.spec li span:last-child { text-align: right; }

/* ---------- series table (product lines) ---------- */
.series-table { border-top: 2px solid var(--navy); margin-top: 34px; }
.series-table .row {
  display: grid;
  grid-template-columns: 130px 1fr 1.4fr;
  gap: 22px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.series-table .code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.series-table .name { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.series-table .desc { color: var(--muted); font-size: 0.93rem; }
.table-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- two-col media blocks ---------- */
.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.media-block > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.media-block .mb-copy .btn { margin-top: 26px; }
.mb-list { margin: 18px 0 0; border-top: 1px solid var(--line); }
.mb-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.mb-list li span:first-child { color: var(--navy); font-weight: 700; }
.mb-list li span:last-child { color: var(--muted); text-align: right; }

/* ---------- steps ---------- */
.steps { margin-top: 44px; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
}
.step .no {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 620px; }

/* options grid */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); margin-top: 40px; box-shadow: var(--shadow-sm); }
.opt { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt:nth-child(3n) { border-right: none; }
.opt:nth-child(n+4) { border-bottom: none; }
.opt b { font-size: 1.05rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
.opt p { color: var(--muted); font-size: 0.9rem; }

/* ---------- gallery ---------- */
/* ---------- editorial photo systems ---------- */
/* base gallery — uniform 4-col, ruled captions for grid discipline */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 24px; margin-top: 48px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.9);
}
.gallery figcaption {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* process — 3-col large, gold stage number, title + one-line description */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; margin-top: 48px; }
.process-grid figure { margin: 0; }
.process-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.9);
}
.process-grid figcaption { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line-strong); }
.p-num {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 5px;
}
.p-title { display: block; font-size: 15.5px; font-weight: 700; color: var(--navy-deep); letter-spacing: 0.01em; }
.p-desc { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* timeline — big light year numerals with gold rule, editorial rhythm */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 26px; margin-top: 48px; }
.timeline figure { margin: 0; }
.tl-year {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--navy);
  line-height: 1;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 17px;
}
.timeline img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.82) contrast(0.98);
}
.timeline figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* facility duo — two wide editorial images */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.duo figure { margin: 0; }
.duo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.9);
}
.duo figcaption {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(120% 130% at 12% 0%, #1C5244 0%, #0E382C 58%, #0A2B22 100%);
  padding: 76px 0 66px;
}
.page-hero h1 { color: #FFF; max-width: 720px; }
.page-hero .kicker { color: var(--gold); }
.page-hero p { color: rgba(232,234,240,.78); max-width: 660px; margin-top: 18px; font-size: 1.03rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #E8EAF0; padding: 84px 0; }
.cta-band h2 { color: #FFF; max-width: 640px; }
.cta-band p { color: rgba(232,234,240,.72); max-width: 560px; margin: 16px 0 32px; }
.cta-band .btn-dark { background: transparent; color: #FFF; border-color: rgba(255,255,255,.6); }
.cta-band .btn-dark:hover { background: rgba(255,255,255,.12); border-color: #FFF; }
.cta-band .btn-line { color: #FFF; border-color: rgba(255,255,255,.6); }
.cta-band .btn-line:hover { background: rgba(255,255,255,.1); border-color: #FFF; color: #FFF; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field label em { color: var(--gold-deep); font-style: normal; }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 0.97rem;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field .err { color: #B42318; font-size: 0.82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 44px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }

/* success panel */
.success-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 48px; }
.success-panel .ref {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin: 10px 0 4px;
}
.success-panel ul { margin: 20px 0; border-top: 1px solid var(--line); }
.success-panel ul li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.success-panel ul li span:first-child { color: var(--muted); text-transform: uppercase; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; padding-top: 3px; }
.success-panel p { color: var(--muted); font-size: 0.95rem; }

/* ---------- contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h3 { margin-bottom: 8px; }
.contact-info .block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .block span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.contact-info .block a { font-size: 1.05rem; }
.contact-info .block a:hover { color: var(--gold-deep); }
.qr { margin-top: 28px; }
.qr img { width: 168px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--white); }
.qr p { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* ---------- misc ---------- */
.note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 780px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.anchor-offset { scroll-margin-top: 140px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); padding: 64px 0 0; color: #AEB8C4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid li { color: #9BA7B6; font-size: 0.9rem; }
.footer-grid li { padding: 4px 0; }
.footer-grid li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 0.8rem;
  color: #8B93A5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { transform: scale(1.06); background: var(--gold); }
.wa-float svg { width: 26px; height: 26px; fill: #FFF; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-in { gap: 14px; }
  .main-nav > a, .main-nav > .nav-item > a { padding: 10px 7px; font-size: 12.5px; letter-spacing: 0.05em; }
  .main-nav > .btn { padding: 0 14px; }
  .main-nav { gap: 0; }
}
@media (max-width: 1020px) {
  .cat-a { grid-column: span 6; }
  .cat-b { grid-column: span 6; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .br-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .head-top-in { justify-content: center; gap: 6px 16px; padding-top: 8px; padding-bottom: 8px; }
  .ht-note { display: none; }
  .ht-links { flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 12px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--pad) 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav > .nav-item > a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
  }
  .main-nav > a::after, .main-nav > .nav-item > a::after { display: none; }
  .nav-item { position: static; display: block; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,.04);
    min-width: 0;
    padding: 0 0 8px;
  }
  .submenu a { color: #C9D0DA; padding: 9px 14px; }
  .main-nav > .btn { margin: 16px 0 0; }
  .hero-banner {
    background:
      linear-gradient(180deg, rgba(7,28,23,.6) 0%, rgba(7,28,23,.52) 55%, rgba(7,28,23,.82) 100%),
      url("../../images/hero_room.jpg") center / cover no-repeat #10382D;
  }
  .hb-in { padding: 96px var(--pad) 100px; }
  .hb-note { gap: 18px; flex-wrap: wrap; margin-top: 34px; }
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid-2, .grid-3, .media-block, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .series-table .row { grid-template-columns: 1fr; gap: 4px; }
  .opt-grid { grid-template-columns: 1fr; }
  .opt { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .opt:last-child { border-bottom: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .form-panel, .success-panel { padding: 28px 22px; }
  .step { grid-template-columns: 54px 1fr; }
  .cat-a, .cat-b { grid-column: span 12; }
  .cat-a > img, .cat-b > img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-banner h1 { max-width: none; }
  .process-grid, .timeline, .duo, .gallery { grid-template-columns: 1fr; gap: 36px; }
  .br-grid { grid-template-columns: 1fr; gap: 22px; }
  .tl-year { font-size: 1.7rem; padding-bottom: 10px; margin-bottom: 14px; }
}

/* ============================================================
   LANGUAGE SWITCHER (top-right, in header nav)
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}
.ls-item {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 4px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.ls-item:hover { color: var(--navy); background: var(--gray); }
.ls-item.is-active { color: var(--navy-deep); background: var(--gray); }

/* ============================================================
   TYPOGRAPHY PER LANGUAGE
   ============================================================ */
html[lang="zh-CN"] body {
  font-family: "Lato", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", sans-serif;
  line-height: 1.85;
}
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 { letter-spacing: 0; }
html[lang="zh-CN"] h1 { line-height: 1.32; font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
html[lang="zh-CN"] h2 { line-height: 1.35; }
html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .stat-band .k,
html[lang="zh-CN"] .bs-badge,
html[lang="zh-CN"] .br-card .ref,
html[lang="zh-CN"] .p-title,
html[lang="zh-CN"] .tl-year { letter-spacing: 0.06em; }
html[lang="zh-CN"] .main-nav > a,
html[lang="zh-CN"] .main-nav > .nav-item > a { letter-spacing: 0.04em; font-size: 13.5px; }
html[lang="zh-CN"] .lead { line-height: 1.95; }
html[lang="zh-CN"] .btn { letter-spacing: 0.06em; }
html[lang="zh-CN"] .wm-main { letter-spacing: 0.06em; }

html[lang="ru"] body { line-height: 1.72; }
html[lang="ru"] h1 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); line-height: 1.2; }
html[lang="ru"] .main-nav > a,
html[lang="ru"] .main-nav > .nav-item > a { font-size: 12px; letter-spacing: 0.06em; }
html[lang="ru"] .btn { letter-spacing: 0.08em; }
html[lang="ru"] .kicker { letter-spacing: 0.16em; }
html[lang="ru"] .lead { line-height: 1.8; }

@media (max-width: 1180px) {
  html[lang="ru"] .main-nav > a,
  html[lang="ru"] .main-nav > .nav-item > a { font-size: 11px; letter-spacing: 0.03em; }
  html[lang="zh-CN"] .main-nav > a,
  html[lang="zh-CN"] .main-nav > .nav-item > a { font-size: 13px; }
}

@media (max-width: 880px) {
  .lang-switch {
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.12);
    justify-content: flex-start;
  }
  .ls-item { color: #C9D0DA; font-size: 12px; padding: 7px 10px; }
  .ls-item.is-active { background: rgba(255,255,255,.14); color: #fff; }
  .ls-item:hover { color: #fff; background: rgba(255,255,255,.08); }
}

/* ---------- language switcher refinements ---------- */
/* nav labels never wrap to a second line */
.main-nav > a,
.main-nav > .nav-item > a { white-space: nowrap; }

/* desktop: compact switcher lives in the dark utility bar */
.lang-switch-top { margin: 0; padding: 0 0 0 20px; border-left: none; }
.head-top .lang-switch-top { display: flex; align-items: center; }
.head-top .lang-switch-top .ls-item { color: #9AA3B2; font-size: 11px; font-weight: 700; padding: 5px 8px; border-radius: 3px; }
.head-top .lang-switch-top .ls-item:hover { color: var(--gold); background: transparent; }
.head-top .lang-switch-top .ls-item.is-active { color: var(--gold); background: transparent; }

@media (min-width: 881px) {
  .main-nav .lang-switch { display: none; }   /* in-nav copy is mobile-menu only */
}
@media (max-width: 880px) {
  .head-top .lang-switch-top { display: none; }
}

/* ---------- design patents ---------- */
.patent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.patent-card {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: zoom-in;
}
.patent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.patent-card img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: center top; display: block; }
.patent-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.patent-card figcaption b { font-size: 14.5px; color: var(--navy-deep); }
.patent-card figcaption span { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 1020px) { .patent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .patent-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .patent-card figcaption { padding: 10px 12px 12px; } .patent-card figcaption b { font-size: 12.5px; } .patent-card figcaption span { font-size: 11px; } }

/* lightbox for patent certificates */
.lb { position: fixed; inset: 0; background: rgba(12,20,17,.82); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: min(560px, 86vw); max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb figcaption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #E8EAF0; font-size: 13.5px; letter-spacing: .04em; }
.lb-x { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 19px; cursor: pointer; }
.lb-x:hover { background: rgba(255,255,255,.26); }

/* ---------- squirrel whatsapp float ---------- */
.wa-float { width: 64px; height: 64px; background: transparent; border-radius: 50%; }
.wa-float svg { width: 64px; height: 64px; fill: none; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.28)); }
.wa-float:hover { transform: scale(1.07); background: transparent; }
@media (max-width: 880px) { .wa-float { width: 54px; height: 54px; } .wa-float svg { width: 54px; height: 54px; } }

/* ---------- wechat id copy ---------- */
.js-wx { color: var(--navy-deep); font-weight: 700; border-bottom: 1px dashed var(--gold); cursor: pointer; }
.js-wx:hover { color: var(--gold); }
.wx-note { color: var(--muted); font-size: 13px; }
.wx-tip { position: fixed; z-index: 210; background: var(--navy-deep); color: #fff; font-size: 12.5px; padding: 7px 12px; border-radius: 6px; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.wx-tip.show { opacity: 1; transform: translateY(0); }
.contact-info .block span.js-wx { text-transform: none; letter-spacing: normal; font-size: 1.05rem; color: var(--navy-deep); }
.contact-info .block span.wx-note { text-transform: none; letter-spacing: normal; font-size: 13px; display: inline; }

/* nav CTA: dark text on gold for always-clear label (overrides .main-nav > a color) */
.main-nav > .btn { color: var(--navy-deep); }
.main-nav > .btn:hover { color: var(--navy-deep); }

/* tighten header between 881-1010px so the nav + CTA always fit */
@media (max-width: 1010px) {
  .header-in { gap: 14px; }
  .wm-main { font-size: 1.05rem; }
  .wm-sub { font-size: 8px; letter-spacing: 0.22em; }
  .main-nav > a, .main-nav > .nav-item > a { padding: 10px 8px; font-size: 11.5px; letter-spacing: 0.04em; }
  .main-nav > .btn { padding: 0 14px; font-size: 11.5px; }
}

/* ---------- factory logo in header wordmark ---------- */
.wordmark { display: flex; align-items: center; }
.wm-logo {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 50%; background: #FFF; padding: 5px;
  margin-right: 12px; box-sizing: border-box; display: block;
}
.wm-text { display: block; }

/* ---------- footer squirrel watermark ---------- */
.site-footer { position: relative; overflow: hidden; }
.footer-squirrel {
  position: absolute; right: 2.5%; bottom: -26px; width: 290px;
  opacity: .16; pointer-events: none; user-select: none;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
@media (max-width: 880px) {
  .footer-squirrel { width: 170px; right: 2%; bottom: -12px; opacity: .12; }
  .wm-logo { width: 38px; height: 38px; padding: 4px; margin-right: 10px; }
}

/* sampling-work gallery: 2x2, larger photos so products read fully */
.gallery-2col { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
@media (max-width: 880px) { .gallery-2col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- page hero: full-bleed image banner (weisdin-style) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 0;
  min-height: 470px;
  display: flex;
  align-items: center;
}
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.page-hero:hover .ph-bg img { transform: scale(1.06); }
.page-hero .ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(7,28,23,.86) 0%, rgba(7,28,23,.76) 26%, rgba(7,28,23,.42) 45%, rgba(7,28,23,.08) 62%, rgba(7,28,23,0) 76%);
}
.page-hero .wrap { position: relative; z-index: 1; padding-top: 116px; padding-bottom: 108px; width: 100%; }
@media (max-width: 880px) {
  .page-hero { min-height: 300px; }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 58px; }
  .page-hero .ph-overlay {
    background: linear-gradient(180deg, rgba(7,28,23,.66) 0%, rgba(7,28,23,.5) 55%, rgba(7,28,23,.8) 100%);
  }
}

/* nav CTA stays readable even when its page is active (.active gold rule overrides color) */
.main-nav > .btn.active,
.main-nav > a.btn.active { color: var(--navy-deep); }
.main-nav > .btn.active::after,
.main-nav > a.btn.active::after { display: none; }

/* ---------- product detail lightbox ---------- */
.pd-card { cursor: pointer; }
.pd-card:hover img { transform: scale(1.03); }
.pd-overlay { position: fixed; inset: 0; background: rgba(8,32,25,.78); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 22px; }
.pd-overlay.open { display: flex; }
.pd-panel { background: var(--white); max-width: 1000px; width: 100%; max-height: 92vh; overflow: auto; border-radius: 4px; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; }
.pd-close { position: absolute; top: 10px; right: 14px; z-index: 5; width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--navy-deep); color: #fff; font-size: 20px; cursor: pointer; }
.pd-close:hover { background: var(--gold-deep); }
.pd-gallery { background: #101512; display: flex; flex-direction: column; }
.pd-main { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; display: block; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px 12px 14px; }
.pd-thumb { width: 62px; height: 62px; object-fit: cover; border: 2px solid transparent; cursor: pointer; opacity: .75; }
.pd-thumb.on { border-color: var(--gold); opacity: 1; }
.pd-info { padding: 30px 32px 34px; }
.pd-ref { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--gold-deep); }
.pd-title { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy-deep); margin: 6px 0 16px; line-height: 1.3; }
.pd-spec { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.pd-spec td { font-size: 13px; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.pd-spec td:first-child { color: var(--muted); width: 96px; padding-right: 10px; white-space: nowrap; }
.pd-meta { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.pd-feat { margin-top: 16px; }
.pd-h { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gold-deep); margin-bottom: 8px; text-transform: uppercase; }
.pd-feat ul { list-style: none; }
.pd-feat li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; padding: 5px 0 5px 18px; position: relative; }
.pd-feat li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--gold); }
.pd-lab { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; padding: 10px 12px; background: var(--sand); border-left: 3px solid var(--gold); }
.pd-cta { margin-top: 18px; display: inline-block; }
@media (max-width: 860px) {
  .pd-panel { grid-template-columns: 1fr; }
  .pd-info { padding: 22px; }
}

/* ---- detail lightbox: zoom magnifier ---- */
.pd-zoom { position: relative; overflow: hidden; cursor: zoom-in; background: #f5f2ec; }
.pd-zoom .pd-main { width: 100%; height: auto; display: block; transition: transform .18s ease; will-change: transform; }
.pd-zoom.zfull { cursor: zoom-out; }
.pd-zoom.zfull .pd-main { transition: none; }
.pd-glass { position: absolute; top: 0; left: 0; width: 46%; height: 46%; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85); box-shadow: 0 6px 24px rgba(0,0,0,.35);
  background-repeat: no-repeat; pointer-events: none; display: none; z-index: 3; }
.pd-hint { position: absolute; right: 10px; bottom: 10px; font-size: 13px; color: #6b665e;
  background: rgba(255,255,255,.85); border-radius: 14px; padding: 3px 10px; pointer-events: none; }
.pd-zoom.zfull ~ .pd-cap + .pd-thumbs, .pd-zoom:hover .pd-hint { opacity: .85; }
.pd-cap { font-size: 13px; color: #6b665e; padding: 8px 2px 0; min-height: 22px; }
