:root {
  --bg: #fff8f1;
  --paper: #ffffff;
  --ink: #3d2a1a;
  --muted: #8a6a52;
  --accent: #ff7a1a;
  --accent-dark: #e0650d;
  --line: rgba(61, 42, 26, 0.08);
  --shadow: 0 18px 40px rgba(176, 108, 48, 0.12);
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(255, 122, 26, 0.16), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(247, 212, 176, 0.45), transparent 50%),
    var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 248, 241, 0.92);
  box-shadow: 0 8px 24px rgba(176, 108, 48, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
}

.brand-name {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: calc(var(--header-h) + 48px) clamp(20px, 5vw, 64px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.2;
}

.hero-lead {
  max-width: 34em;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(420px, 100%);
  filter: drop-shadow(var(--shadow));
}

.section {
  padding: 72px clamp(20px, 5vw, 64px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p,
.about-panel p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.about-panel,
.contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.about-panel,
.contact-box {
  padding: 28px 32px;
}

.contact-name {
  margin: 0;
  color: var(--muted);
}

.contact-value {
  margin: 6px 0 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 64px) 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.icp:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 28px);
  }

  .nav a:not(.nav-cta) {
    display: none;
  }
}
