/* VANX Studio — design tokens follow vanxcooling.com (VANX parent brand) */
/* Same self-hosted Latin subsets as vanxcooling.com (Inter, Sora — SIL OFL); Chinese falls back to system fonts */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Sora; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #f5f8fb;
  --panel: #ffffff;
  --ink: #0f2433;
  --muted: #566b7b;
  --line: #dce7ef;
  --line-strong: #bdd0dd;
  --brand: #0c6f9e;
  --brand-2: #0f806c;
  --deep: #07131d;
  --tint: #edf7fa;
  --ok: #0f806c;
  --ok-bg: #e6f4f1;
  --grad: linear-gradient(135deg, var(--brand), var(--brand-2));
  --shadow: 0 18px 46px -34px rgba(15, 36, 51, .42);
  --radius: 10px;
  --max: 1180px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: Sora, var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.6px; line-height: 1.12; }
h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
h3 { font-size: 19px; line-height: 1.2; }
p { margin: 0 0 1em; }
code { font-family: Consolas, "SFMono-Regular", monospace; background: var(--deep); color: #e3edf2; padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
[id] { scroll-margin-top: 90px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(245, 248, 251, .92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--grad); color: #fff; font-size: 12px; letter-spacing: .04em; }
.brand small { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 13px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 700; }
.lang { font-size: 13px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; text-decoration: none; color: var(--ink); background: #fff; white-space: nowrap; }
.lang:hover { border-color: var(--brand); color: var(--brand); }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; line-height: 1.3; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: rgba(12, 111, 158, .9) 0 16px 34px -22px; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-line, .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-line:hover, .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; color: #fff; }
.nav .btn-primary:hover, .nav .btn-primary[aria-current="page"] { color: #fff; filter: brightness(1.08); }

/* hero (light, as on vanxcooling.com) */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 36em; line-height: 1.65; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.hero figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 46em; margin: 0; line-height: 1.65; }

/* sections */
section { padding: 72px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.intro { color: var(--muted); max-width: 46em; font-size: 17px; line-height: 1.65; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card.top::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--grad); margin-bottom: 16px; }
.card .more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--brand); }
.card ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink); }
.card li { margin: 4px 0; }
.card p.muted { line-height: 1.6; }
a.card { transition: transform .25s, border-color .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: rgba(7, 19, 29, .52) 0 22px 50px -30px; }
.card.feature { padding: 0; overflow: hidden; }
.card.feature .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; align-self: flex-start; }
.badge.demo { padding: 4px 10px; border-radius: 999px; background: var(--tint); letter-spacing: .06em; text-transform: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* figures */
figure.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
figure.shot img { width: 100%; background: #fff; }
.gallery figure.shot img, .ba figure.shot img { aspect-ratio: 3 / 2; object-fit: contain; }
.card.feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #e9f0f5; }
figure.shot figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); line-height: 1.5; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.ba .arrow { font-size: 28px; color: var(--brand); font-weight: 700; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 28px; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat.ok { background: var(--ok-bg); border-color: #bfe3da; }
.stat.ok b { color: var(--ok); }
.stats.s4 { grid-template-columns: repeat(4, 1fr); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; list-style: none; margin: 0; }
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 50px; position: relative; line-height: 1.55; }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.checks b { color: var(--ink); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--deep); color: #e3edf2; font-weight: 600; font-size: 14px; }

/* deliverables */
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deliver ul { margin: 0; padding-left: 1.1em; }

/* in-page CTA band (light; the dark enquiry strip lives in the footer, as on vanxcooling.com) */
.cta { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 .25em; font-size: clamp(22px, 2.4vw, 30px); }
.cta p { color: var(--muted); margin: 0; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 16px 18px; font-family: var(--display); font-weight: 700; color: var(--ink); list-style: none; position: relative; padding-right: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--brand); font-family: var(--font); }
details[open] summary::after { content: "−"; }
details .ans { padding: 0 18px 16px; color: var(--muted); }
details .ans p:last-child { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: rgba(12, 111, 158, .14) 0 0 0 3px; }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.qr figure { margin: 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.qr img { width: 100%; max-width: 140px; margin: 0 auto; image-rendering: pixelated; }
.qr figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: inline-block; min-width: 72px; color: var(--ink); }

/* footer */
.site-foot { background: #1e5873; color: #cfe1e9; font-size: 14px; }  /* steel blue, option B (V1.3) */
.foot-cta { border-bottom: 1px solid rgba(227, 237, 242, .18); padding: 40px 0; }
.foot-cta .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-cta .kicker { color: #5fe0d2; margin-bottom: 8px; }
.foot-cta strong { display: block; font-family: var(--display); color: #fff; font-size: clamp(20px, 2.2vw, 26px); }
.foot-main { padding: 36px 0 26px; }
.foot-main .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-foot a { color: #e3edf2; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot h3 { color: #fff; font-size: 14px; margin-bottom: 10px; font-family: var(--display); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 6px 0; }
.site-foot .brand { color: #fff; margin-bottom: 12px; }
.foot-qr { display: flex; gap: 10px; margin-top: 14px; }
.foot-qr figure { margin: 0; text-align: center; }
.foot-qr img { width: 76px; height: 76px; background: #fff; border-radius: 6px; padding: 4px; image-rendering: pixelated; }
.foot-qr figcaption { font-size: 12px; margin-top: 4px; color: #fff; font-weight: 600; }
.site-foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(227, 237, 242, .18); padding-top: 16px; margin-top: 8px; font-size: 13px; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats.s4 { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 2px; margin: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 4px; font-size: 15px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  section { padding: 48px 0; }
  .hero { padding: 36px 0 48px; }
  .g2, .g3, .g4, .steps, .steps.s3, .deliver, .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ba { grid-template-columns: 1fr; }
  .ba .arrow { transform: rotate(90deg); justify-self: center; }
  .foot-main .wrap { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
