/* ============ LING · 单页官网 ============ */
:root {
  --bg: #F1F5F2;
  --surface: #FFFFFF;
  --ink: #111111;
  --ink-2: #6B6B6B;
  --ink-3: #9B9B9B;
  --line: #E2E9E4;
  --line-strong: #E3E9E5;
  --wa: #25D366;
  --radius: 12px;
  --radius-sm: 10px;
  --gutter: 120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
          Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- HERO ---------- */
.hero { padding: 96px 0 88px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 80px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.hero-copy h1 {
  margin-top: 26px;
  font-size: 52px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: -.01em;
}

.tagline {
  margin-top: 16px;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
}

.sub {
  margin-top: 18px;
  max-width: 30em;
  font-size: 17px;
  line-height: 30px;
  color: var(--ink-2);
}

.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: #FAFAFA; }

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
}
.hero-figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 416 / 330;
  background: #EDEDED;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-card figcaption {
  padding: 8px 6px 2px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ---------- CATEGORIES ---------- */
.categories { padding: 0 0 88px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.kicker-sm {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-3);
}
.section-head h2 {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 700;
}
.link-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}
.link-all:hover { border-color: var(--ink-3); color: var(--ink); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--ink-3); }
.cat-figure {
  aspect-ratio: 279 / 180;
  overflow: hidden;
  background: #EDEDED;
}
.cat-figure img { width: 100%; height: 100%; object-fit: cover; }
.cat-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px 18px;
}
.cat-name { font-size: 19px; font-weight: 700; }
.cat-count { font-size: 12px; color: var(--ink-2); }

/* ---------- WHATSAPP ---------- */
.wa-section { padding-bottom: 56px; }
.wa-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.wa-left { display: flex; align-items: center; gap: 14px; }
.wa-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.wa-text { display: flex; flex-direction: column; gap: 2px; }
.wa-title { font-size: 16px; font-weight: 600; }
.wa-desc { font-size: 13px; color: var(--ink-2); }
.wa-desc:hover { color: var(--wa); }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .18s ease, opacity .18s ease;
}
.wa-btn:hover { transform: translateY(-1px); opacity: .92; }

/* ---------- FOOTER ---------- */
.site-footer { padding-bottom: 48px; }
.rule { height: 1px; background: var(--line-strong); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}
.footer-brand { font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.footer-copy { font-size: 12px; color: var(--ink-3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 64px; }
  .hero-inner { grid-template-columns: 1fr 420px; gap: 48px; }
  .hero-copy h1 { font-size: 44px; line-height: 56px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { font-size: 36px; line-height: 48px; }
  .tagline { font-size: 18px; }
  .sub { font-size: 16px; line-height: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .wa-band { flex-direction: column; align-items: flex-start; }
  .wa-btn { width: 100%; justify-content: center; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
