/* KWDATA 可威数据 官网样式 —— 无框架，纯 CSS。
   色彩取自 Logo：橙 #E05010 / #E85A12，金 #F0B020，黄钻 #F7D21E，字标灰 #505050 */
:root {
  --bg: #FAF7F2;
  --bg-2: #F3EDE4;
  --surface: #FFFFFF;
  --ink: #221E1A;
  --ink-2: #4A433C;
  --muted: #776E64;
  --line: #E6DED2;
  --orange: #E05010;
  --orange-2: #E85A12;
  --orange-ink: #B83F0A;
  --gold: #F0B020;
  --yellow: #F7D21E;
  --char: #1E1A17;
  --char-2: #2A2521;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(34,30,26,.04), 0 8px 24px -12px rgba(34,30,26,.18);
  --shadow-lg: 0 2px 4px rgba(34,30,26,.04), 0 24px 48px -24px rgba(34,30,26,.28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: .01em; font-weight: 700; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2 { word-break: keep-all; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(240,176,32,.35); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--char); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34,30,26,.35); background: rgba(250,247,242,.95); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; padding: 4px 0; }
.brand img { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; position: relative; }
.nav-link:hover { color: var(--ink); background: rgba(34,30,26,.05); }
.nav-link.has-sub::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
[data-active] > .nav-link { color: var(--orange-ink); }
[data-active] > .nav-link::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; background: var(--orange); transform: translateX(-50%) rotate(45deg); }
.sub-menu { position: absolute; top: calc(100% + 6px); left: 50%; min-width: 260px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub-li:hover .sub-menu, .has-sub-li:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); transition: background .15s; }
.sub-menu a small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--bg-2); }
.sub-menu a[aria-current] span { color: var(--orange-ink); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em; transition: background .2s, transform .2s; white-space: nowrap; }
.header-phone:hover { background: var(--orange-ink); }
.nav-mobile-contact { display: none; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  /* backdrop-filter 会让 fixed 菜单以页头为容器，小屏改为实色背景 */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .header-inner { gap: 10px; }
  .brand img { height: 36px; }
  .header-phone { margin-left: auto; padding: 7px 12px; font-size: 14px; background: transparent; color: var(--orange-ink); border: 1.5px solid rgba(224,80,16,.35); }
  .header-phone:hover { background: rgba(224,80,16,.08); }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; color: var(--ink); border-radius: 10px; cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--bg); overflow-y: auto; padding: 8px var(--gutter) 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s; border-top: 1px solid var(--line); }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 16px 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-radius: 0; }
  .nav-link:hover { background: transparent; }
  .nav-link.has-sub::after { display: none; }
  [data-active] > .nav-link::before { left: auto; right: 6px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(45deg); width: 8px; height: 8px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
  .sub-menu::before { display: none; }
  .sub-menu a { padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
  .sub-menu a small { font-size: 12px; }
  .nav-mobile-contact { display: grid; gap: 10px; margin-top: 24px; }
  .nav-mobile-contact a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
  .nav-mobile-contact a:first-child { background: var(--orange); color: #fff; border-color: var(--orange); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 380px) { .header-phone .ico { display: none; } .brand img { height: 32px; } }

/* ---------- Buttons & common ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; font-family: inherit; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(224,80,16,.7); }
.btn-primary:hover { background: var(--orange-ink); }
.btn-ghost { border-color: rgba(34,30,26,.2); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-ink); }
.text-link .ico { transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--orange-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); box-shadow: 9px -9px 0 -2px var(--gold); margin-right: 8px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { text-wrap: pretty; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.8; }
.note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ico { margin-top: 4px; color: var(--gold); width: 12px; height: 12px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(240,176,32,.16); color: #8A5A00; font-size: 13px; font-weight: 600; }
.diagram-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); border: 1px dashed var(--line); padding: 2px 10px; border-radius: 999px; background: var(--surface); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; overflow: hidden; background: #6b3a1d; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,20,16,.82) 0%, rgba(26,20,16,.62) 26%, rgba(26,20,16,.12) 48%, rgba(26,20,16,0) 60%), linear-gradient(0deg, rgba(26,20,16,.35) 0%, rgba(26,20,16,0) 30%); }
.hero-content { position: relative; color: #fff; max-width: 560px; padding: 64px 0 88px; }
.hero .eyebrow { color: #FFD27A; }
.hero .eyebrow::before { background: var(--gold); box-shadow: 9px -9px 0 -2px var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.22; letter-spacing: .02em; white-space: pre-line; }
.hero p { margin: 22px 0 34px; font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.9); max-width: 27em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-meta .wrap { display: flex; justify-content: flex-end; }
.hero-meta ul { display: flex; gap: 0; background: rgba(250,247,242,.94); backdrop-filter: blur(8px); border-radius: 14px 14px 0 0; padding: 14px 8px; box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); }
.hero-meta li { padding: 0 22px; font-size: 14px; color: var(--muted); line-height: 1.4; border-left: 1px solid var(--line); }
.hero-meta li:first-child { border-left: 0; }
.hero-meta strong { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; background: var(--char); }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: 58% 50%; }
  .hero::before { display: none; }
  .hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, var(--char), rgba(30,26,23,0)); }
  .hero-content { padding: 4px 0 40px; margin-top: -48px; }
  .hero-meta { position: static; background: var(--char); }
  .hero-meta .wrap { padding: 0; }
  .hero-meta ul { width: 100%; border-radius: 0; background: var(--bg-2); justify-content: space-between; padding: 14px 4px; }
  .hero-meta li { padding: 0 12px; font-size: 12.5px; flex: 1; }
  .hero-meta strong { font-size: 14px; }
}

/* ---------- Direction cards ---------- */
.directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dir-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #DCCFBD; }
.dir-art { aspect-ratio: 16 / 10; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.dir-art img { width: 100%; height: 100%; object-fit: cover; }
.dir-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.dir-num { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.dir-body h3 { font-size: 22px; margin: 6px 0 10px; }
.dir-body p { color: var(--ink-2); flex: 1; }
.dir-card .text-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 900px) { .directions { grid-template-columns: minmax(0, 1fr); } .dir-card { display: grid; grid-template-columns: 38% 1fr; } .dir-art { aspect-ratio: auto; height: 100%; } }
@media (max-width: 560px) { .dir-card { grid-template-columns: minmax(0, 1fr); } .dir-art { aspect-ratio: 16 / 9; } }

/* ---------- Why (dark band) ---------- */
.band-dark { background: var(--char); color: #EDE6DC; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #FFC560; }
.band-dark .section-head p { color: #BDB3A6; }
.band-dark::before { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; background: url("../img/pattern-k.svg") center / contain no-repeat; opacity: .9; pointer-events: none; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.why-item { padding: 32px 28px 8px 0; position: relative; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.why-num { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .1em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.why-num::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.why-item h3 { font-size: 20px; margin-bottom: 10px; }
.why-item p { color: #C9BFB2; font-size: 15.5px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .why-item:nth-child(3) { padding-left: 0; border-left: 0; } .why-item { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 24px; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-item, .why-item + .why-item { padding: 24px 0; border-left: 0; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media picture, .split-media > img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media::after { content: ""; position: absolute; width: 96px; height: 96px; right: -18px; bottom: -18px; background: var(--orange); transform: rotate(45deg); border-radius: 10px; z-index: -1; }
.split-media::before { content: ""; position: absolute; width: 40px; height: 40px; right: 70px; bottom: -34px; background: var(--gold); transform: rotate(45deg); border-radius: 6px; z-index: -1; }
.split-body h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.split-body p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.facts div { background: var(--surface); padding: 16px 18px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 16px; line-height: 1.45; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } .split-media::after { width: 64px; height: 64px; right: -8px; bottom: -14px; } .split-media::before { right: 48px; bottom: -22px; width: 28px; height: 28px; } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Service preview list ---------- */
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: svc; }
.svc-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.svc-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-card .svc-ico { width: 56px; height: 56px; margin-bottom: 18px; }
.svc-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: 15px; flex: 1; margin-bottom: 14px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-ink); font-weight: 600; font-size: 14.5px; }
.svc-card a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1000px) { .svc-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .svc-list { grid-template-columns: minmax(0, 1fr); } .svc-card { flex-direction: row; flex-wrap: wrap; gap: 0 16px; } .svc-card .svc-ico { width: 44px; height: 44px; margin: 0; } .svc-card > div { flex: 1; min-width: 0; } }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.contact-strip::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%) rotate(45deg); border: 56px solid rgba(240,176,32,.45); border-radius: 30px; pointer-events: none; }
.contact-strip .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,2fr); gap: 40px; align-items: center; padding-top: clamp(48px,6vw,72px); padding-bottom: clamp(48px,6vw,72px); }
.contact-strip h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.contact-strip p { color: rgba(255,255,255,.88); margin: 10px 0 0; }
.cs-items { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px; justify-content: end; }
.cs-item { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); transition: background .2s; min-width: 0; }
a.cs-item:hover { background: rgba(255,255,255,.2); }
.cs-item span { font-size: 13px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; }
.cs-item strong { font-size: 17px; font-weight: 700; word-break: break-all; }
@media (max-width: 1000px) { .contact-strip .wrap { grid-template-columns: minmax(0, 1fr); } .cs-items { justify-content: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cs-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .cs-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: max(-80px, calc((100vw - var(--wrap)) / 2 - 160px)); top: 50%; width: 380px; height: 380px; transform: translateY(-50%); background: url("../img/pattern-k-light.svg") center / contain no-repeat; pointer-events: none; z-index: -1; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); max-width: 16em; text-wrap: balance; }
.page-hero .lead { margin-top: 18px; max-width: 40em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--orange-ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #C9BEAF; }
@media (max-width: 700px) { .page-hero::after { width: 220px; height: 220px; right: -70px; top: 30px; transform: none; opacity: .6; } }

/* ---------- Product overview ---------- */
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.prod-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44%; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 260px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #DCCFBD; }
.prod-card .pc-body { padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.prod-card h2 { font-size: 24px; margin: 12px 0 10px; }
.prod-card p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.prod-card .pc-art { background: var(--bg-2); display: grid; place-items: center; }
.prod-card .pc-art img { width: 100%; height: 100%; object-fit: cover; }
.prod-card.is-hw .pc-art { background: #F3F3F3; }
.prod-card.is-hw .pc-art img { object-fit: contain; padding: 12px; }
.prod-card a.text-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 980px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .prod-card { grid-template-columns: minmax(0, 1fr); } .prod-card .pc-art { order: -1; aspect-ratio: 16 / 9; } }

/* ---------- Feature blocks ---------- */
.edition-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.edition { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.edition::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--orange); }
.edition.gold::before { background: var(--gold); }
.edition-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.edition h2 { font-size: clamp(24px, 2.6vw, 30px); }
.edition > p { color: var(--ink-2); }
.module-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.module-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-weight: 600; font-size: 15px; }
.module-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.edition.gold .module-list li::before { background: var(--gold); }
@media (max-width: 860px) { .edition-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .module-list { grid-template-columns: minmax(0, 1fr); } }

.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .f-ico { width: 48px; height: 48px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.feature-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .feature-row, .feature-row.four { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .feature-row, .feature-row.four { grid-template-columns: minmax(0, 1fr); } }

/* Flow diagram */
.flow-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.flow-top h2 { font-size: clamp(22px, 2.4vw, 28px); }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: flow; }
.flow li { position: relative; text-align: center; padding: 0 6px; counter-increment: flow; }
.flow li .node { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; position: relative; }
.flow li .node::before { content: ""; position: absolute; inset: 8px; background: var(--bg-2); border: 2px solid var(--orange); transform: rotate(45deg); border-radius: 8px; }
.flow li:nth-child(3) .node::before { background: var(--orange); }
.flow li:nth-child(3) .node span { color: #fff; }
.flow li:nth-child(6) .node::before { border-color: var(--gold); }
.flow li .node span { position: relative; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--orange-ink); }
.flow li .node span::before { content: "0" counter(flow); }
.flow li strong { font-size: 15.5px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 11px); }
@media (max-width: 760px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow li { display: flex; align-items: center; gap: 16px; text-align: left; padding: 0 0 18px; }
  .flow li .node { margin: 0; width: 52px; height: 52px; flex: none; }
  .flow li:not(:last-child)::after { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 11px); }
}

/* Point list */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(224,80,16,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23E05010' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.panel-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.panel-head img { width: 64px; height: 64px; flex: none; }
.panel h2 { font-size: clamp(22px, 2.4vw, 28px); }
.panel > p { color: var(--ink-2); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.steps li::before { content: "0" counter(step); display: block; font-size: 28px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps li strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps li span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Hardware hero */
.hw-hero { background: #F3F3F3; position: relative; overflow: hidden; border-bottom: 1px solid #E6E6E6; }
.hw-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; min-height: 520px; }
.hw-hero .hw-text { padding: 56px 0; }
.hw-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hw-hero .lead { margin: 18px 0 26px; }
.hw-hero .hw-img img { width: 100%; max-width: 640px; margin-left: auto; }
.hw-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hw-pills li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #E2E2E2; font-weight: 600; font-size: 14.5px; }
@media (max-width: 860px) { .hw-hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; } .hw-hero .hw-img { order: -1; padding-top: 16px; } .hw-hero .hw-img img { max-width: 420px; margin: 0 auto; } .hw-hero .hw-text { padding: 8px 0 48px; } }

/* Services page */
.svc-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250,247,242,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px !important; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.svc-nav a:hover { background: var(--surface); border-color: var(--line); }
.svc-nav a.is-current { background: var(--char); color: #fff; }
.svc-nav a span { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--orange); }
.svc-nav a.is-current span { color: var(--gold); }
.svc-section { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 60px); }
.svc-section:nth-of-type(even) { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc-index { font-size: clamp(56px, 8vw, 104px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orange); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.svc-grid h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.svc-grid .summary { font-size: 18px; color: var(--orange-ink); font-weight: 600; }
.svc-art { margin-top: 28px; width: 100%; max-width: 360px; }
.svc-detail { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.svc-detail > p { font-size: 17px; color: var(--ink-2); }
.svc-detail h3 { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: .08em; margin: 24px 0 6px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc-art { display: none; } .svc-index { font-size: 56px; margin-bottom: 8px; } }

/* About */
.about-hero { position: relative; }
.about-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) { .about-photo img { aspect-ratio: 4 / 3; } }
.prose p { font-size: 17px; color: var(--ink-2); line-height: 1.9; margin-bottom: 1.1em; }
.prose p:first-child { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); line-height: 1.8; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--char); color: #EDE6DC; border-radius: 20px; padding: 32px 28px; overflow: hidden; }
.about-aside::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; background: url("../img/pattern-k.svg") center / contain no-repeat; opacity: .8; }
.about-aside dl { margin: 0; position: relative; z-index: 1; }
.about-aside dt { font-size: 13px; color: #B5AA9C; letter-spacing: .08em; }
.about-aside dd { margin: 4px 0 20px; font-size: 18px; font-weight: 700; color: #fff; }
.about-aside .motto { font-size: 15px; color: var(--gold); font-weight: 600; letter-spacing: .1em; margin-bottom: 20px; position: relative; z-index: 1; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-aside { position: relative; top: 0; } }
.biz-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.biz { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; }
.biz img { width: 56px; height: 56px; margin-bottom: 18px; }
.biz h3 { font-size: 20px; margin-bottom: 10px; }
.biz p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .biz-list { grid-template-columns: minmax(0, 1fr); } .biz { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; } .biz img { grid-row: span 2; margin: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
a.c-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.c-card .c-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(224,80,16,.1); color: var(--orange); display: grid; place-items: center; flex: none; }
.c-card .c-ico .ico { width: 22px; height: 22px; }
.c-card small { display: block; font-size: 13px; color: var(--muted); }
.c-card strong { display: block; font-size: 19px; line-height: 1.45; word-break: break-word; }
.c-card.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.c-card.primary small { color: rgba(255,255,255,.85); }
.c-card.primary .c-ico { background: rgba(255,255,255,.18); color: #fff; }
.c-card .c-action { font-size: 13.5px; font-weight: 600; color: var(--orange-ink); margin-top: 4px; display: block; }
.c-card.primary .c-action { color: #fff; opacity: .9; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label em { color: var(--orange); font-style: normal; margin-left: 2px; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(224,80,16,.12); }
.field [aria-invalid="true"] { border-color: #C2410C; background: #FFF5F0; }
.form-msg { grid-column: 1 / -1; font-size: 14px; color: #B42318; min-height: 1.5em; margin: 0; }
.form-msg.ok { color: #1B6E3A; }
.form-msg.pending { color: var(--muted); }
.form-fallback { margin-left: 4px; font: inherit; font-weight: 600; color: var(--orange); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .65; cursor: progress; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 12px; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; }
.form-note .ico { color: var(--orange); margin-top: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.map-card { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.map { height: 420px; background: #EAE3D8 url("../img/map-fallback.svg") center / cover no-repeat; position: relative; z-index: 0; }
.map-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); }
.map-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 48em; }
.map-links { display: flex; gap: 16px; flex-wrap: wrap; }
.kw-pin { width: 34px; height: 34px; }
.kw-pin span { display: block; width: 26px; height: 26px; margin: 4px; background: var(--orange); border: 3px solid #fff; transform: rotate(45deg); border-radius: 6px 6px 6px 0; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
@media (max-width: 600px) { .map { height: 300px; } }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--orange); }
.nf h1 { font-size: 28px; margin: 12px 0; }
.nf p { color: var(--ink-2); }
.nf .hero-actions { justify-content: center; margin-top: 24px; }

/* CTA bottom (inner pages) */
.cta-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--char); color: #fff; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: url("../img/pattern-k.svg") center / contain no-repeat; opacity: .9; }
.cta-box h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.cta-box p { margin: 8px 0 0; color: #C9BFB2; }
.cta-box .hero-actions { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: #BDB3A6; padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { line-height: 1.9; }
.site-footer h2 { font-size: 14px; color: #fff; letter-spacing: .1em; margin-bottom: 16px; font-weight: 600; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 5px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #8E8478; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand, .footer-contact { grid-column: 1 / -1; } }

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-content > * { animation: rise .8s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .16s; }
  .hero-content > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media print { .site-header, .menu-btn, .svc-nav, .map-card { display: none; } body { background: #fff; } }
.why-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .why-grid.three { grid-template-columns: minmax(0, 1fr); } .why-grid.three .why-item, .why-grid.three .why-item + .why-item { padding: 24px 0; border-left: 0; } }

main { overflow-x: clip; }
@media (max-width: 560px) {
  .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; padding: 20px; }
  .feature .f-ico { grid-row: span 2; margin: 0; }
}

.facts-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .why-grid.two { grid-template-columns: minmax(0, 1fr); }
  .why-grid.two .why-item, .why-grid.two .why-item + .why-item { padding: 24px 0; border-left: 0; }
}
