:root {
  --brand-1: #0ea5e9; /* sky-500 */
  --brand-2: #0369a1; /* sky-800 */
  --bg: #ffffff;      /* light background */
  --panel: #ffffff;   /* panel on light */
  --text: #111827;    /* gray-900 */
  --muted: #6b7280;   /* gray-500 */
  --ok: #16a34a;      /* green-600 */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px;
  background: #ffffff; border-bottom: 1px solid #e5e7eb;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-logo { width: 32px; height: 32px; }
.brand-name { font-weight: 600; font-size: 14px; }

.nav-links { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: rgba(14, 165, 233, .15); }
.nav-links .cta { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); border: 1px solid rgba(255,255,255,.15); }
.nav-links .cta:hover { filter: brightness(1.05); }

.nav-toggle { display: none; background: #ffffff; border: 1px solid #e5e7eb; color: var(--text); padding: 6px 10px; border-radius: 8px; }

/* Hero */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.hero-content { text-align: center; padding: 56px 20px 48px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(22px, 4vw, 34px); line-height: 1.25; }
.subtitle { color: var(--muted); margin-bottom: 20px; }
.hero-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(148,163,184,.3); color: var(--text); text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); border: 1px solid rgba(255,255,255,.2); }
.btn:hover { filter: brightness(1.06); }

/* Sections */
.section { padding: 44px 0; }
.section.alt { background: #ffffff; }
.section h2 { margin: 0 0 16px; font-size: 22px; }
.section p { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card h3 { margin: 8px 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(14,165,233,.10); border: 1px solid rgba(14,165,233,.20); }

/* News */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; }
.news time { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.contact-info ul { list-style: none; margin: 12px 0 0; padding: 0; }
.contact-info li { margin-bottom: 6px; }
.contact-info a { color: var(--text); }

.contact-form { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea { width: 100%; background: #ffffff; color: var(--text); border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(14,165,233,.35); }
.form-tip { margin-top: 8px; color: var(--ok); min-height: 20px; }

/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; background: #ffffff; }
.footer-content { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 16px 20px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .nav.nav-open .nav-links { display: flex; flex-direction: column; gap: 8px; background: #ffffff; position: absolute; top: 56px; right: 10px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 12px; }
  .cards { grid-template-columns: 1fr; }
  .brand-name { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
