/* 香港龍耀 · 企业站样式 */
:root { --navy:#14213d; --navy2:#1d2d54; --gold:#c9a227; --gold2:#e3bf5a; --bg:#f7f8fa; --text:#2b2b3a; --muted:#7a7a8c; }
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
body { font-family:"Noto Serif TC","Songti TC","STSong","Segoe UI",serif,sans-serif; background:var(--bg); color:var(--text); line-height:1.7; }
.wrap { max-width:1080px; margin:0 auto; padding:0 20px; }

/* 顶栏 */
header { background:var(--navy); color:#fff; position:sticky; top:0; z-index:10; box-shadow:0 2px 12px rgba(0,0,0,.25); }
.hd { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; max-width:1080px; margin:0 auto; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; }
/* 官方 logo（白底衬板，深色头部上清晰可见） */
.logo-plate { display:flex; align-items:center; background:#fff; border-radius:10px; padding:5px 9px; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.logo-plate img { display:block; height:40px; width:auto; }
.brand .btxt { display:flex; flex-direction:column; line-height:1.25; }
.brand .t { font-size:19px; font-weight:900; letter-spacing:2px; }
.brand .s { font-size:9px; letter-spacing:2px; color:var(--gold2); }
.logo { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--gold2)); color:var(--navy); display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:900; }
.brand .t { font-size:19px; font-weight:900; letter-spacing:2px; }
.brand .s { font-size:10px; letter-spacing:3px; color:var(--gold2); }
nav { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
nav a { color:#dfe3ee; text-decoration:none; font-size:15px; padding:8px 12px; border-radius:8px; transition:.2s; }
nav a:hover { color:#fff; background:rgba(255,255,255,.1); }
nav a.act { color:var(--gold2); }
.lang { margin-left:8px; background:transparent; border:1px solid var(--gold); color:var(--gold2); border-radius:20px; padding:6px 14px; font-size:13px; cursor:pointer; font-family:inherit; }
.lang:hover { background:var(--gold); color:var(--navy); }

/* 汉堡按钮（仅移动端显示） */
.burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:42px; height:42px; padding:9px; background:transparent; border:1px solid rgba(255,255,255,.25); border-radius:10px; cursor:pointer; flex-shrink:0; }
.burger span { display:block; height:2px; width:100%; background:var(--gold2); border-radius:2px; transition:.25s; }
.burger:active { background:rgba(255,255,255,.1); }
@media (max-width:820px){
  .burger { display:flex; }
  .hd { padding:10px 16px; }
  .logo-plate { padding:4px 7px; border-radius:8px; }
  .logo-plate img { height:30px; }
  .brand { gap:8px; }
  .brand .t { font-size:15px; letter-spacing:1px; }
  .brand .s { font-size:7px; letter-spacing:1px; }
  nav {
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0; flex-wrap:nowrap;
    background:var(--navy2); box-shadow:0 12px 24px rgba(0,0,0,.35);
    border-top:1px solid rgba(255,255,255,.08);
  }
  nav.open { display:flex; }
  nav a { padding:14px 22px; font-size:15px; border-radius:0; border-bottom:1px solid rgba(255,255,255,.06); }
  nav a:hover { background:rgba(255,255,255,.06); }
  .lang { margin:12px 22px 14px; padding:10px 14px; }
}

/* Hero */
.hero { background:linear-gradient(135deg,#14213d 55%,#2a3c6e), radial-gradient(circle at 80% 20%, #c9a22733, transparent 50%); color:#fff; text-align:center; padding:90px 20px 100px; position:relative; overflow:hidden; }
.hero::after { content:"龍"; position:absolute; right:-30px; bottom:-70px; font-size:280px; color:rgba(201,162,39,.08); font-weight:900; }
.hero h1 { font-size:clamp(30px,6vw,52px); letter-spacing:8px; margin-bottom:14px; }
.hero p { font-size:clamp(15px,2.4vw,19px); color:#c8d0e4; letter-spacing:3px; }
.hero .line { width:70px; height:3px; background:var(--gold); margin:22px auto; }
.hero .cta { margin-top:26px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* 手机端主标题：保证「龍耀東方 · 耀啟未來」8 个字单行不换行 */
@media (max-width:820px){
  .hero { padding:64px 16px 76px; }
  /* 繁体中文：强制单行，字号按屏宽收缩，字距收紧 */
  html[lang="zh-Hant"] .hero h1 {
    font-size:clamp(16px,7.8vw,34px);
    letter-spacing:2px;
    white-space:nowrap;
    margin-bottom:16px;
  }
  /* 英文标题较长，允许换行，但收紧字距避免断裂难看 */
  html[lang="en"] .hero h1 {
    font-size:clamp(18px,5.6vw,32px);
    letter-spacing:1px;
    line-height:1.35;
  }
  .hero p { letter-spacing:1.5px; }
}
.btn { display:inline-block; text-decoration:none; padding:13px 34px; border-radius:30px; font-size:15px; font-weight:700; letter-spacing:1px; transition:.2s; }
.btn-gold { background:linear-gradient(135deg,var(--gold),var(--gold2)); color:var(--navy); box-shadow:0 4px 14px rgba(201,162,39,.4); }
.btn-ghost { border:1px solid #ffffff66; color:#fff; }
.btn:hover { transform:translateY(-2px); }

/* 区块 */
section { padding:64px 0; }
.sec-title { text-align:center; margin-bottom:8px; font-size:clamp(22px,3.6vw,30px); color:var(--navy); letter-spacing:3px; }
.sec-sub { text-align:center; color:var(--muted); font-size:14px; margin-bottom:36px; letter-spacing:2px; }
.sec-sub::after { content:""; display:block; width:46px; height:2px; background:var(--gold); margin:14px auto 0; }

/* 特性卡 */
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px; }
.card { background:#fff; border-radius:16px; padding:30px 24px; box-shadow:0 4px 20px rgba(20,33,61,.07); border-top:3px solid var(--gold); text-align:center; }
.card .ico { font-size:36px; margin-bottom:12px; }
.card h3 { color:var(--navy); font-size:17px; margin-bottom:8px; }
.card p { color:var(--muted); font-size:14px; }

/* 深色简介 */
.dark-sec { background:var(--navy); color:#e8ebf4; }
.dark-sec .sec-title { color:#fff; }
.dark-sec .sec-sub { color:#9aa6c4; }
.dark-sec p.about { max-width:820px; margin:0 auto; font-size:16px; line-height:2; text-align:justify; }

/* 产品 */
.prod-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:22px; }
.prod { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 18px rgba(20,33,61,.08); transition:.25s; display:flex; flex-direction:column; text-decoration:none; color:inherit; }
.prod:hover { transform:translateY(-5px); box-shadow:0 10px 26px rgba(20,33,61,.14); }
.prod .img-wrap { position:relative; aspect-ratio:1/1; background:linear-gradient(135deg,#eef1f7,#e2e7f1); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.prod .img-wrap img { width:100%; height:100%; object-fit:contain; padding:6px; display:block; transition:transform .4s; }
.prod:hover .img-wrap img { transform:scale(1.04); }
.prod .img-wrap .ph { font-size:44px; }
.prod .mfr { position:absolute; top:10px; left:10px; background:rgba(255,255,255,.92); color:var(--navy); font-size:11px; letter-spacing:.5px; padding:3px 9px; border-radius:20px; box-shadow:0 1px 4px rgba(0,0,0,.12); }
.prod .info { padding:14px 16px 18px; flex:1; }
.prod .cat { display:inline-block; font-size:11px; color:var(--gold); border:1px solid var(--gold); border-radius:10px; padding:1px 10px; margin-bottom:8px; }
.prod h3 { color:var(--navy); font-size:15px; line-height:1.5; margin-bottom:6px; }
.prod .model { color:var(--muted); font-size:12px; letter-spacing:.5px; }
.filter { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-bottom:26px; }
.filter button { border:1px solid #d8dce8; background:#fff; color:var(--muted); border-radius:20px; padding:7px 18px; font-size:13px; cursor:pointer; font-family:inherit; }
.filter button.act { background:var(--navy); color:#fff; border-color:var(--navy); }
.empty-tip { text-align:center; color:var(--muted); padding:40px 0; }

/* 产品详情 */
.pd { max-width:1000px; margin:0 auto; }
.pd-back { display:inline-block; margin-bottom:20px; color:var(--muted); font-size:13px; text-decoration:none; }
.pd-back:hover { color:var(--gold); }
.pd-top { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.pd-img { background:linear-gradient(135deg,#eef1f7,#e2e7f1); border-radius:18px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.pd-img img { width:100%; max-height:560px; object-fit:contain; display:block; }
.pd-info h1 { color:var(--navy); font-size:clamp(20px,3vw,28px); line-height:1.45; margin:10px 0 14px; letter-spacing:1px; }
.pd-meta { border-top:1px solid #e6eaf2; border-bottom:1px solid #e6eaf2; padding:12px 0; margin-bottom:16px; }
.pd-meta div { font-size:14px; color:var(--text); margin:4px 0; }
.pd-meta b { color:var(--muted); font-weight:400; margin-right:10px; font-size:13px; }
.pd-desc { color:var(--muted); font-size:15px; line-height:2; margin-bottom:22px; }
.pd-h { color:var(--navy); font-size:18px; letter-spacing:2px; margin:40px 0 16px; padding-left:12px; border-left:3px solid var(--gold); }
.pd-feats { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pd-feats li { background:#fff; border-radius:12px; padding:14px 16px 14px 40px; font-size:14px; color:var(--text); position:relative; box-shadow:0 2px 10px rgba(20,33,61,.06); }
.pd-feats li::before { content:"✓"; position:absolute; left:14px; top:13px; color:var(--gold); font-weight:900; }
.spec-wrap { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 18px rgba(20,33,61,.07); }
table.spec { width:100%; border-collapse:collapse; font-size:14px; }
table.spec th, table.spec td { padding:11px 16px; text-align:left; border-bottom:1px solid #eef1f6; vertical-align:top; }
table.spec th { width:38%; color:var(--navy); font-weight:600; background:#f8f9fc; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom:none; }
@media (max-width:760px){
  .pd-top { grid-template-columns:1fr; gap:22px; }
  .pd-feats { grid-template-columns:1fr; }
  .pd-img img { max-height:44vh; }
  table.spec { font-size:13px; }
  table.spec th, table.spec td { padding:9px 12px; }
  table.spec th { width:45%; }
}

/* 联系页 */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:28px; }
@media (max-width:760px){ .contact-grid { grid-template-columns:1fr; } }
.cinfo { background:var(--navy); color:#e8ebf4; border-radius:16px; padding:30px; }
.cinfo h3 { color:var(--gold2); margin-bottom:18px; letter-spacing:2px; }
.cinfo .row { display:flex; gap:12px; margin-bottom:16px; font-size:14px; align-items:flex-start; }
.cinfo .row .i { font-size:18px; }
.form { background:#fff; border-radius:16px; padding:30px; box-shadow:0 4px 18px rgba(20,33,61,.08); }
.form label { display:block; font-size:13px; color:var(--navy); font-weight:700; margin:14px 0 6px; }
.form input,.form textarea { width:100%; border:1px solid #d8dce8; border-radius:10px; padding:11px 14px; font-size:14px; font-family:inherit; outline:none; }
.form input:focus,.form textarea:focus { border-color:var(--gold); }
.form textarea { min-height:110px; resize:vertical; }
.form button { margin-top:18px; width:100%; border:none; border-radius:12px; padding:14px; font-size:16px; font-weight:800; color:var(--navy); background:linear-gradient(135deg,var(--gold),var(--gold2)); cursor:pointer; font-family:inherit; }
.form .msg { margin-top:12px; text-align:center; font-size:14px; min-height:20px; color:#059669; }
.form .err { color:#b91c1c; }
.hp { position:absolute; left:-9999px; }

/* 页脚 */
footer { background:#0d1526; color:#8f97ad; padding:34px 0 26px; font-size:13px; }
.ft { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; max-width:1080px; margin:0 auto; padding:0 20px; }
.ft a { color:#c2c9da; text-decoration:none; margin-left:16px; }
.ft a:hover { color:var(--gold2); }
.ft .cp { letter-spacing:1px; }

/* 动画 */
.reveal { opacity:0; transform:translateY(18px); transition:all .7s; }
.reveal.in { opacity:1; transform:none; }
