:root {
  --blue: #1a7cc4;
  --blue-deep: #0e5a96;
  --blue-navy: #0b3d68;
  --blue-sky: #e7f3fb;
  --blue-mid: #4aa3de;
  --leaf: #5dae3c;
  --leaf-deep: #3e8a24;
  --leaf-soft: #e8f6df;
  --ink: #12324c;
  --ink-soft: #3b5a72;
  --muted: #6b8496;
  --paper: #f7fbfe;
  --white: #ffffff;
  --line: rgba(14, 90, 150, 0.12);
  --shadow: 0 22px 50px rgba(11, 61, 104, 0.12);
  --radius: 24px;
  --max: 1180px;
  --header: 82px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  background: rgba(247, 251, 254, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 52px; height: 52px; border-radius: 14px;
  box-shadow: 0 8px 18px rgba(14, 90, 150, 0.22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: -0.02em; color: var(--blue-navy); }
.brand-text span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; }
.nav a { color: var(--ink-soft); }
.nav a:hover, .nav a.active { color: var(--blue-deep); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--blue-navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-weight: 750; border: 1px solid transparent;
  cursor: pointer; transition: 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(26, 124, 196, 0.28); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue-navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: var(--leaf-deep); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.hero {
  position: relative; min-height: min(86vh, 800px);
  display: grid; place-items: end start; overflow: hidden; color: #fff;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,61,104,0.15) 0%, rgba(11,61,104,0.35) 45%, rgba(11,61,104,0.82) 100%),
    linear-gradient(90deg, rgba(11,61,104,0.55), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding: 0 0 68px; max-width: 740px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; font-weight: 800;
  color: #c8ecff; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--leaf); border-radius: 2px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: #b6e38a; }
.hero p.lead { font-size: 19px; max-width: 560px; color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust { background: var(--blue-navy); color: #fff; padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 30px; color: #b6e38a; line-height: 1.1; }
.trust-item span { font-size: 13px; color: rgba(255,255,255,0.7); }

section { padding: 84px 0; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head h2, .serif {
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800;
}
.kicker { color: var(--blue); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.muted { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.photo-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.tall img { height: 520px; }
.badge-float {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.94); color: var(--blue-navy);
  padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 750;
}

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.02em; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--leaf-deep); margin-bottom: 8px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { background: var(--blue-sky); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--blue-navy); }

.why { background: linear-gradient(180deg, var(--blue-sky), var(--paper)); }
.why-item { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--line); }
.why-num { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--leaf-deep); }
.why-item h3 { font-size: 19px; margin: 8px 0; }

.band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-navy));
  color: #fff; border-radius: 32px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
}
.band-copy { padding: 48px 44px; }
.band h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 10px 0 16px; letter-spacing: -0.03em; }
.band img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }

.quote { background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line); }
.quote p { font-size: 22px; line-height: 1.4; margin-bottom: 16px; font-weight: 650; }
.quote cite { font-style: normal; color: var(--muted); font-size: 14px; }

.map-wrap { border-radius: 24px; overflow: hidden; min-height: 360px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; }
.info-list { display: grid; gap: 14px; }
.info-list div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.info-list strong { display: block; font-size: 12px; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; }

form { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 750; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.success { display: none; background: var(--leaf-soft); border: 1px solid #b7e0a4; color: #2d5a27; padding: 14px 16px; border-radius: 12px; }

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 200px 200px 200px;
  gap: 10px;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.mosaic img:nth-child(1) { grid-row: 1 / span 2; }
.mosaic img:nth-child(2) { grid-column: 2 / span 2; }

.site-footer { background: var(--blue-navy); color: #d7ecf8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.site-footer a { color: rgba(215,236,248,0.82); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { font-size: 16px; margin-bottom: 12px; color: #fff; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; font-size: 13px;
  color: rgba(215,236,248,0.55); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.float-call { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 8px; }
.float-call a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); font-size: 12px; font-weight: 800;
}
.float-call .wa { background: #128C7E; }
.float-call .ph { background: var(--blue); }

.page-hero {
  padding: 68px 0 32px;
  background: radial-gradient(700px 260px at 8% 0%, rgba(90, 174, 60, 0.12), transparent), var(--blue-sky);
}
.page-hero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -0.03em; }

@media (max-width: 980px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .nav.open {
    display: flex; position: absolute; top: var(--header); left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line); gap: 16px;
  }
  .menu-btn { display: block; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .band, .footer-grid, .mosaic {
    grid-template-columns: 1fr; grid-template-rows: auto;
  }
  .mosaic img:nth-child(1), .mosaic img:nth-child(2) { grid-row: auto; grid-column: auto; height: 240px; }
  .photo-frame.tall img { height: 340px; }
  .hero { min-height: 74vh; }
  section { padding: 60px 0; }
}

/* --- SmartHub additions --- */
.nav-login { color: var(--leaf-deep) !important; }
.nav-login::before { content: "→ "; }
@media (max-width: 980px) { .nav-login { border-top: 1px solid var(--line); padding-top: 12px; } }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-left: 4px; }
.lang-switch a { color: var(--muted); padding: 2px 4px; border-radius: 6px; }
.lang-switch a.on { color: var(--blue-deep); background: var(--blue-sky); }
body.lang-zh { font-family: "Noto Sans SC", "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
body.lang-zh .hero h1, body.lang-zh .section-head h2, body.lang-zh .serif, body.lang-zh .band h2, body.lang-zh .page-hero h1 { letter-spacing: 0; font-weight: 900; line-height: 1.18; }
body.lang-zh .eyebrow, body.lang-zh .kicker, body.lang-zh .brand-text span { letter-spacing: 0.08em; }
@media (max-width: 980px) { .lang-switch { padding-top: 6px; } }
body.lang-zh .hero h1 { font-size: clamp(34px, 4.8vw, 60px); }

/* release 4: anchor pills + linked card images */
a.pill { text-decoration: none; }
a.pill:hover { background: var(--leaf-soft); color: var(--leaf-deep); }
.card a img { display: block; }
.card a:hover img { opacity: .92; }
