:root {
  --theme: #ffbc00;
  --theme-dark: #e6a800;
  --secondary: #ff8814;
  --text: #0f1115;
  --muted: #777;
  --footer: #2b2b2b;
  --nav-h: 72px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 0 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.72), rgba(255,255,255,0));
}
.site-header.is-solid {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  min-width: 80px;
  height: 65px;
  line-height: 65px;
  text-align: center;
  font-size: 14px;
  color: #333;
}
.nav a:hover,
.nav a.active {
  color: var(--theme);
  box-shadow: inset 0 -3px 0 var(--theme);
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  position: relative;
  content: "";
}
.menu-btn span:before { position: absolute; top: -7px; }
.menu-btn span:after { position: absolute; top: 7px; }

.screen {
  min-height: 100vh;
  position: relative;
}
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: #9cc44a;
}
.hero-img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 135%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
}

.section {
  padding: 110px 8vw 80px;
  overflow: hidden;
}
.section.alt { background: #fff; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.kicker {
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.h1 {
  font-size: 42px;
  margin: 0 0 12px;
  font-weight: 700;
}
.h2 {
  font-size: 28px;
  margin: 0 0 16px;
  font-weight: 700;
}
.lead {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}
.p, .section p {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
  margin: 0 0 14px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
}
.media video,
.media img {
  width: 100%;
  height: auto;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.quote-list p {
  font-size: 18px;
  margin: 10px 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.app-grid img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.btn {
  display: inline-block;
  background: var(--theme);
  color: #222;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  margin-top: 20px;
}
.btn:hover { background: var(--theme-dark); }

.pics {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.pics img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px;
  max-width: 720px;
}
.contact-card dt {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}
.contact-card dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  background: var(--footer);
  color: #ccc;
  text-align: center;
  padding: 28px 16px;
  font-size: 13px;
}
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--theme); }

.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 8vw 48px;
  color: #fff;
  background: #1f3d1a center / cover no-repeat;
}
.page-hero.about { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), url("../images/bg-about.jpg"); }
.page-hero.contact { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), url("../images/bg-contact.jpg"); }
.page-hero h1 { margin: 0; font-size: 44px; }
.page-hero span { letter-spacing: .3em; opacity: .85; font-size: 14px; }

@media (max-width: 900px) {
  .site-header { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 0 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a { height: 48px; line-height: 48px; }
  .split, .pics, .app-grid { grid-template-columns: 1fr; }
  .h1 { font-size: 32px; }
  .section { padding: 96px 20px 56px; }
  .page-hero { padding: 120px 20px 36px; min-height: 32vh; }
}
