/* ============================================================
   Liang Studio — School Furniture B2B Site
   Design system: clean, industrial, trustworthy
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-2: #16405f;
  --orange: #f0883e;
  --orange-dark: #d9712a;
  --paper: #f7f8fa;
  --ink: #1c2733;
  --muted: #5b6b7a;
  --line: #e3e8ee;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 42, 67, 0.08);
  --shadow-lg: 0 14px 40px rgba(15, 42, 67, 0.14);
  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #ffd9b8; }
.topbar a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -0.3px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 17px;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.4px; }

.nav { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover, .nav a.active { color: var(--orange-dark); border-color: var(--orange); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff !important;
  font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 999px;
  border: none; cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff !important; }
.btn.dark { background: var(--navy); }
.btn.dark:hover { background: var(--navy-2); }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(240,136,62,0.16), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(15,42,67,0.10), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.15; letter-spacing: -1px; font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 52px; flex-wrap: wrap; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,0.62); }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-visual .img-ph {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(240,136,62,0.25), rgba(15,42,67,0.4)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 12px, transparent 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 15px;
  border: 1px dashed rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.hero-visual .caption { font-size: 13px; color: rgba(255,255,255,0.6); text-align: center; }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--paper); }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--navy); letter-spacing: -0.6px; line-height: 1.25; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px;
  background: #fdf0e4; color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #eef2f6, #e3e9f0);
  display: flex; align-items: center; justify-content: center;
  color: #8b9aab; font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.product .meta { padding: 20px 22px 24px; }
.product .tag { font-size: 11.5px; font-weight: 700; color: var(--orange-dark); text-transform: uppercase; letter-spacing: 0.8px; }
.product h3 { font-size: 17px; color: var(--navy); margin: 6px 0 8px; }
.product p { font-size: 13.5px; color: var(--muted); }
.product .more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--orange-dark); }

/* ---------- Process / why us ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 30px; font-weight: 800; color: #e6edf3;
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 70px 0; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 30px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1c2d; color: rgba(255,255,255,0.7); padding: 56px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 66px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.6px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 16px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 40px; max-width: 640px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fbfcfd; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,136,62,0.15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-ok { display: none; background: #e8f7ee; color: #1d7a46; border: 1px solid #b9e5c9; border-radius: 9px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }

/* ---------- Contact info ---------- */
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-list .ci { flex: 0 0 44px; height: 44px; border-radius: 11px; background: #fdf0e4; color: var(--orange-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-list b { display: block; font-size: 14.5px; color: var(--navy); }
.contact-list span { font-size: 13.5px; color: var(--muted); }

/* ---------- Two-col layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .cards, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 12px 6%;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .cards, .product-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  section.block { padding: 60px 0; }
  .form-card { padding: 26px 20px; }
}
