/* ============================================================
   昶翰科技股份有限公司 CHENG HAN TECHNICAL CO., LTD.
   藍鋼 × 鍛金 工業形象站
   ============================================================ */
:root {
  --navy-950: #071523;
  --navy-900: #0B1D2E;
  --navy-800: #10283D;
  --navy-700: #17344E;
  --blue: #0068B7;          /* logo 藍 */
  --blue-deep: #0A4E86;
  --gold: #C9A45C;          /* logo 金（沉穩版） */
  --gold-bright: #D9B96E;
  --ink: #1C2833;
  --gray-600: #5A6B7A;
  --gray-100: #F4F6F8;
  --line: #E2E8EE;
  --white: #FFFFFF;
  --nav-h: 74px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(7, 21, 35, .10);
  --en: "Chakra Petch", "Noto Sans TC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: clip; /* 用 clip，不用 hidden：不殺 sticky */
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy-950);
  color: #9FB3C4;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 7px 24px;
  display: flex; justify-content: space-between; gap: 16px;
}
.topbar a:hover { color: var(--gold-bright); }
.topbar-item + .topbar-item { margin-left: 20px; }
.topbar .en { font-family: var(--en); }

/* ---------- header（鐵律：sticky） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  /* ⚠️ 不可加 backdrop-filter：會變成 fixed 子元素的 containing block，
     手機版 .site-nav 藏在右外側時會把頁面撐出水平捲軸 */
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(7, 21, 35, .06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 44px; width: 44px; object-fit: contain; }
.brand-name { line-height: 1.25; }
.brand-name .zh { font-size: 19px; font-weight: 900; letter-spacing: .06em; color: var(--navy-900); }
.brand-name .en { font-family: var(--en); font-size: 10.5px; letter-spacing: .10em; color: var(--gray-600); display: block; }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 10px 14px;
  font-weight: 500; font-size: 15.5px; letter-spacing: .05em;
  border-radius: 6px; transition: color .2s;
}
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--blue); }
.nav-list > li > a.active { position: relative; }
.nav-list > li > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta {
  margin-left: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #B8944A 100%);
  color: var(--navy-950) !important; font-weight: 700;
  padding: 10px 22px !important; border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 164, 92, .45); }

/* 下拉 */
.has-sub > a .caret { font-size: 10px; margin-left: 4px; display: inline-block; transition: transform .2s; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 216px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transition: all .22s;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-sub:hover > a .caret { transform: rotate(180deg); }
.sub-menu a {
  display: block; padding: 10px 14px; font-size: 14.5px; border-radius: 7px;
  transition: background .15s, color .15s;
}
.sub-menu a:hover { background: var(--gray-100); color: var(--blue); }
.sub-menu a.active { color: var(--blue); font-weight: 700; }
.sub-menu .sub-all { border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 12px; font-weight: 700; }

/* 漢堡（≤992px，與 JS 閾值同數字） */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px; flex: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--navy-900);
  margin: 5px auto; border-radius: 2px; transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 章節標頭 ---------- */
.kicker {
  font-family: var(--en); font-size: 13px; font-weight: 600;
  letter-spacing: .28em; color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.sec-head { margin: 10px 0 18px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; letter-spacing: .08em; color: var(--navy-900); }
.sec-head .sub { color: var(--gray-600); margin-top: 8px; max-width: 720px; }
.on-dark .sec-head h2 { color: #EDF3F8; }
.on-dark .sec-head .sub { color: #9FB3C4; }

section { padding: 84px 0; }
.sec-tight { padding: 64px 0; }
.bg-gray { background: var(--gray-100); }
.bg-navy { background: var(--navy-900); color: #C7D5E1; }
.bg-navy-deep { background: var(--navy-950); color: #C7D5E1; }

/* 藍圖網格背景 */
.blueprint {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  letter-spacing: .06em; transition: all .22s; border: 2px solid transparent; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201, 164, 92, .4); }
.btn-line { border-color: rgba(255,255,255,.55); color: #EDF3F8; }
.btn-line:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- 首頁 hero ---------- */
.hero-home {
  position: relative; min-height: min(88vh, 780px);
  display: flex; align-items: center;
  background: var(--navy-950); color: #EDF3F8; overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(.82) brightness(.9);
}
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(7,21,35,.94) 0%, rgba(7,21,35,.78) 44%, rgba(7,21,35,.38) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0 130px; width: 100%; }
.hero-inner h1 {
  font-size: clamp(32px, 5.2vw, 56px); font-weight: 900;
  letter-spacing: .10em; line-height: 1.3; margin: 18px 0 6px; color: #fff;
}
.hero-inner h1 .gold { color: var(--gold-bright); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: #B9C9D8; letter-spacing: .06em; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* 數字帶 */
.stat-band {
  position: relative; z-index: 3;
  max-width: 1200px; margin: -62px auto 0; padding: 0 24px;
}
.stat-grid {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 26px 18px; text-align: center; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--en); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700;
  color: var(--navy-900); line-height: 1.1;
}
.stat .num .unit { font-size: .48em; color: var(--gold); font-weight: 600; margin-left: 2px; }
.stat .label { font-size: 14px; color: var(--gray-600); letter-spacing: .1em; margin-top: 6px; }

/* ---------- 服務卡 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 > *, .grid-3 > *, .grid-2 > * { min-width: 0; }

.svc-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px; overflow: clip;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue)); transition: right .35s;
}
.svc-card:hover::after { right: 0; }
.svc-num {
  font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .2em;
  color: var(--gold);
}
.svc-icon { width: 52px; height: 52px; margin: 14px 0 12px; color: var(--blue); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 { font-size: 19.5px; font-weight: 700; letter-spacing: .06em; color: var(--navy-900); margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--gray-600); flex: 1; }
.svc-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc-items span {
  font-size: 12.5px; letter-spacing: .04em; color: var(--blue-deep);
  background: var(--gray-100); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 11px; white-space: nowrap;
}
.svc-more { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.svc-more .arr { display: inline-block; transition: transform .2s; }
.svc-card:hover .svc-more .arr { transform: translateX(5px); }

/* ---------- 產業磁磚 ---------- */
.ind-tile {
  position: relative; border-radius: var(--radius); overflow: clip;
  background: var(--navy-800); border: 1px solid var(--navy-700);
  padding: 34px 28px; transition: transform .25s, border-color .25s;
}
.ind-tile:hover { transform: translateY(-5px); border-color: var(--gold); }
.ind-tile .ico { width: 46px; height: 46px; color: var(--gold-bright); margin-bottom: 14px; }
.ind-tile .ico svg { width: 100%; height: 100%; }
.ind-tile h3 { color: #EDF3F8; font-size: 20px; letter-spacing: .08em; margin-bottom: 6px; }
.ind-tile .en { font-family: var(--en); font-size: 12px; letter-spacing: .18em; color: #7E93A6; text-transform: uppercase; }
.ind-tile p { font-size: 14.5px; color: #9FB3C4; margin-top: 10px; }

/* ---------- 圖文對開 ---------- */
.feature-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.feature-split > * { min-width: 0; }
.fs-media { position: relative; border-radius: 14px; overflow: clip; box-shadow: var(--shadow); }
.fs-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.fs-media::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.25); border-radius: 14px; pointer-events: none;
}
.fs-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(7,21,35,.82); backdrop-filter: blur(6px);
  color: var(--gold-bright); font-family: var(--en); font-size: 12.5px; letter-spacing: .16em;
  padding: 8px 14px; border-radius: 7px; border-left: 3px solid var(--gold);
}
.check-list li {
  position: relative; padding-left: 30px; margin-top: 12px; color: var(--ink);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 4px; background: var(--blue);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 18%, 84% 4%, 40% 66%);
}
.on-dark .check-list li { color: #C7D5E1; }
.on-dark .check-list li::before { background: var(--gold-bright); }

/* ---------- 實績卡 ---------- */
.proj-card {
  background: var(--white); border-radius: var(--radius); overflow: clip;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.proj-thumb { position: relative; overflow: clip; }
.proj-thumb img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s; }
.proj-card:hover .proj-thumb img { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(7,21,35,.85); color: var(--gold-bright);
  font-size: 12.5px; letter-spacing: .12em; padding: 5px 12px; border-radius: 999px;
}
.proj-body { padding: 18px 20px 20px; flex: 1; }
.proj-body h3 { font-size: 17.5px; font-weight: 700; color: var(--navy-900); letter-spacing: .04em; }
.proj-body p { font-size: 14px; color: var(--gray-600); margin-top: 6px; }

/* ---------- 流程 ---------- */
.steps { counter-reset: step; display: grid; gap: 0; position: relative; }
.step {
  position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 22px;
  padding: 26px 0;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 36px; top: 84px; bottom: -8px;
  width: 2px; background: linear-gradient(var(--gold) 40%, var(--line) 100%);
}
.step-no {
  counter-increment: step;
  width: 74px; height: 74px; border-radius: 50%; flex: none;
  background: var(--navy-900); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 24px; font-weight: 700;
  border: 3px solid var(--gold); box-shadow: 0 6px 16px rgba(7,21,35,.18);
}
.step-no::before { content: counter(step, decimal-leading-zero); }
.step-body { min-width: 0; padding-top: 6px; }
.step-body h3 { font-size: 20px; font-weight: 700; color: var(--navy-900); letter-spacing: .06em; }
.step-body p { color: var(--gray-600); margin-top: 6px; max-width: 700px; }

/* ---------- CTA 帶 ---------- */
.cta-band { position: relative; overflow: clip; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; letter-spacing: .12em; color: #fff; }
.cta-band p { color: #9FB3C4; margin: 12px auto 28px; max-width: 620px; }
.cta-band .tel {
  font-family: var(--en); font-size: clamp(26px, 4vw, 38px); font-weight: 700;
  color: var(--gold-bright); letter-spacing: .06em; display: block; margin-bottom: 22px;
}

/* ---------- 內頁 hero ---------- */
.page-hero {
  position: relative; background: var(--navy-950); color: #fff;
  padding: 84px 0 72px; overflow: clip;
}
.page-hero .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .28; filter: saturate(.7);
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.page-hero .container { position: relative; z-index: 2; }
.crumb { font-size: 13.5px; color: #8FA5B8; letter-spacing: .08em; margin-bottom: 14px; }
.crumb a:hover { color: var(--gold-bright); }
.crumb .sep { margin: 0 8px; color: #4E657A; }
.page-hero h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 900; letter-spacing: .12em; }
.page-hero .lead { color: #B9C9D8; margin-top: 12px; max-width: 720px; }

/* ---------- 資訊卡 / 表格 ---------- */
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 4px 18px rgba(7,21,35,.05);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
table.spec th, table.spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--navy-900); color: #EDF3F8; font-weight: 500; letter-spacing: .08em; white-space: nowrap; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { color: var(--gray-600); white-space: nowrap; width: 152px; }

/* ---------- 聯絡頁 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
.contact-grid > * { min-width: 0; }
.c-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.c-item:last-child { border-bottom: 0; }
.c-item .ico { width: 40px; height: 40px; flex: none; border-radius: 9px; background: var(--navy-900); color: var(--gold-bright); display: flex; align-items: center; justify-content: center; }
.c-item .ico svg { width: 20px; height: 20px; }
.c-item h4 { font-size: 14px; color: var(--gray-600); font-weight: 500; letter-spacing: .1em; }
.c-item .val { font-size: 16.5px; font-weight: 700; color: var(--navy-900); word-break: break-all; }
.c-item .val.en { font-family: var(--en); letter-spacing: .04em; }

.form label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--navy-900); margin: 18px 0 7px; }
.form label .req { color: #C0392B; margin-left: 3px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; background: var(--gray-100);
  transition: border-color .2s, background .2s; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row > * { min-width: 0; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; }

/* ---------- demo 提示 ---------- */
.demo-note {
  background: #FFF7E6; border: 1px solid #EAD9AC; color: #7A5B18;
  border-left: 4px solid var(--gold);
  padding: 13px 18px; border-radius: 9px; font-size: 14px; margin-bottom: 30px;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #8FA5B8; font-size: 14.5px; }
.footer-main {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px 44px;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px;
}
.footer-main > * { min-width: 0; }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-brand .chip { background: #fff; border-radius: 9px; padding: 5px; flex: none; }
.f-brand img { height: 40px; width: 40px; object-fit: contain; }
.f-brand .zh { color: #EDF3F8; font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.f-brand .en { font-family: var(--en); font-size: 10px; letter-spacing: .1em; display: block; }
.site-footer h4 {
  color: var(--gold-bright); font-size: 15px; letter-spacing: .18em; margin-bottom: 16px; font-weight: 700;
}
.f-links li { margin-bottom: 9px; }
.f-links a:hover { color: var(--gold-bright); }
.f-contact li { margin-bottom: 10px; display: flex; gap: 10px; }
.f-contact .k { color: #5E7690; flex: none; letter-spacing: .1em; }
.f-contact .en { font-family: var(--en); }
.footer-bar { border-top: 1px solid var(--navy-700); }
.footer-bar .inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #5E7690; letter-spacing: .05em;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RWD
   ============================================================ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) { /* ⚠️ 與 js/main.js 的 BREAKPOINT 同數字 */
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
    background: rgba(7, 21, 35, .97); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto; padding: 30px 26px 60px;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-list > li > a {
    color: #EDF3F8; font-size: 18px; padding: 16px 6px; border-radius: 0;
  }
  .nav-list > li > a.active { color: var(--gold-bright); }
  .nav-list > li > a.active::after { display: none; }
  .has-sub > a .caret { display: none; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 12px 18px;
  }
  .sub-menu a { color: #9FB3C4; font-size: 15.5px; padding: 9px 6px; }
  .sub-menu a:hover, .sub-menu a.active { background: transparent; color: var(--gold-bright); }
  .sub-menu .sub-all { border-color: rgba(255,255,255,.08); }
  .nav-cta {
    margin: 22px 0 0; text-align: center; display: block;
  }
  .feature-split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat-band { margin-top: -46px; }
  .hero-inner { padding: 84px 0 110px; }
  .form-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-no { width: 56px; height: 56px; font-size: 18px; }
  .step:not(:last-child)::before { left: 27px; top: 66px; }
}

@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .brand-name .en { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
