/* Poly Construction Holdings — shared stylesheet (EN + ZH) */
:root {
  --ink: #22271F;
  --ink-soft: #4A5044;
  --paper: #FAF8F3;
  --paper-2: #F1EDE3;
  --white: #FFFFFF;
  --green: #2F5233;
  --green-deep: #24402A;
  --gold: #B98A2E;
  --gold-soft: #E8D9B8;
  --line: #DED8C8;
  --ok: #2E7D4F;
  --radius: 10px;
  --font: "Source Sans 3", "Segoe UI", -apple-system, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-display: "Lexend", "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}
html[lang="zh"] {
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}
html[lang="zh"] body { line-height: 1.85; letter-spacing: .01em; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
:lang(zh) body, body:lang(zh) { line-height: 1.85; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; color: var(--ink); }
a, button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #221A05; padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
h1 { font-size: 2.4rem; margin: 0 0 16px; }
h2 { font-size: 1.7rem; margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; gap: 20px; padding: 14px 24px; max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; background: var(--green); flex: 0 0 auto;
}
.links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: 4px 0; }
.links a:hover, .links a[aria-current="page"] { color: var(--green); border-bottom: 2px solid var(--gold); }
.lang-switch {
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
  text-decoration: none; color: var(--ink); font-size: .9rem; background: var(--paper);
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--gold); }

/* Hero */
.hero { background: var(--green-deep); color: #F4F1E8; padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.hero h1 { color: #FFFFFF; font-size: 2.6rem; }
.hero .lede { font-size: 1.15rem; color: #DDE3D3; max-width: 34em; }
.hero .verify-line { font-size: .92rem; color: #C9CFB9; margin-top: 22px; }
.hero .verify-line a { color: var(--gold-soft); }
.hero-art { text-align: center; }
.hero-art img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(232,217,184,.35); box-shadow: 0 18px 40px rgba(0,0,0,.35); display: block; }
.hero-art figcaption, .page-figure figcaption { font-size: .78rem; color: #A8B199; margin-top: 8px; text-align: right; }
.hero-art figure, .page-figure figure { margin: 0; }
.page-figure { margin-top: -24px; }
.page-figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; box-shadow: 0 14px 30px rgba(34,39,31,.12); }
.page-figure figcaption { color: var(--ink-soft); }
.card-img { margin: -26px -26px 16px; }
.card-img img { width: 100%; height: auto; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.page-hero { background: var(--green-deep); color: #F4F1E8; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #DDE3D3; font-size: 1.1rem; max-width: 38em; }
.crumb { font-size: .85rem; color: #A8B199; margin-bottom: 10px; }
.crumb a { color: #C9CFB9; }

/* Buttons */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem;
}
.btn.primary { background: var(--gold); color: #221A05; }
.btn.primary:hover { background: #CBA044; }
.btn.ghost { border: 1px solid rgba(255,255,255,.45); color: #F4F1E8; }
.btn.ghost:hover { border-color: var(--gold-soft); color: #fff; }
.btn.dark { background: var(--green); color: #fff; }
.btn.dark:hover { background: var(--green-deep); }
.btn.outline { border: 1.5px solid var(--green); color: var(--green); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--paper-2); }
.section-intro { max-width: 42em; }
.kicker {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 8px; font-family: var(--font);
}

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 20px;
}
.card h3 { margin-top: 0; }
.card .tag { display: inline-block; font-size: .78rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--ink-soft); margin-bottom: 10px; }
.card a.more { font-weight: 600; text-decoration: none; }

/* Worry / pain-point blocks */
.worry { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
.worry h3 { font-family: var(--font); font-size: 1.05rem; color: var(--green-deep); }
.worry p { margin-bottom: 6px; }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step-detail { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.step-detail h3 { display: flex; align-items: center; gap: 12px; }
.step-detail .num {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-family: var(--font);
}
.step-detail ul { margin: 10px 0 0; padding-left: 22px; }
.step-detail li { margin-bottom: 6px; }
.included { background: var(--paper-2); border-radius: 8px; padding: 14px 18px; margin-top: 14px; font-size: .95rem; }
.included strong { color: var(--green-deep); }

/* Verify table */
.verify-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.verify-table th, .verify-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.verify-table th { width: 34%; background: var(--paper-2); font-weight: 600; }
.verify-table tr:last-child th, .verify-table tr:last-child td { border-bottom: none; }
.check { color: var(--ok); font-weight: 700; }

/* FAQ */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 4px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style-position: outside; }
details.faq[open] { border-color: var(--gold); }
details.faq p { color: var(--ink-soft); }

/* Area chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: .95rem; }

/* Note band (honesty strip) */
.note-band { background: var(--gold-soft); border-radius: var(--radius); padding: 26px 30px; display: flex; gap: 18px; align-items: flex-start; }
.note-band p { margin: 0; }

/* Contact */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card .big { font-size: 1.35rem; font-weight: 700; color: var(--green-deep); text-decoration: none; }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }

/* CTA band */
.cta-band { background: var(--green-deep); color: #F4F1E8; border-radius: var(--radius); padding: 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #DDE3D3; max-width: 36em; margin: 0 auto 8px; }
.cta-band .cta-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C9C5B8; padding: 44px 0 28px; margin-top: 40px; font-size: .93rem; }
.site-footer a { color: #E4DFCF; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-legal { border-top: 1px solid #3A3F35; margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #96927F; }

/* Language chooser (root) */
.lang-gate { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--green-deep); padding: 24px; text-align: center; }
.lang-gate .brand-big { color: #fff; font-family: var(--font-display); font-size: 2rem; margin-bottom: 6px; }
.lang-gate .sub { color: #C9CFB9; margin-bottom: 36px; }
.lang-choices { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.lang-choice {
  background: var(--white); border-radius: var(--radius); padding: 28px 44px; text-decoration: none;
  color: var(--ink); min-width: 240px; border-top: 4px solid var(--gold);
}
.lang-choice .lg { font-size: 1.3rem; font-weight: 700; display: block; margin-bottom: 4px; }
.lang-choice .sm { color: var(--ink-soft); font-size: .9rem; }
.lang-choice:hover { outline: 2px solid var(--gold); }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid-2, .grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .nav-row { flex-wrap: wrap; }
  .links { width: 100%; order: 3; gap: 14px; }
}
