/* ==========================================================================
   嗨喜集团官网 - style.css（v2 现代活力风 · 保留橙色品牌色）
   ========================================================================== */

:root {
  --brand: #F25C1D;
  --brand-deep: #E14A0F;
  --brand-2: #FF9E2C;
  --grad: linear-gradient(135deg, #FF6A1A 0%, #F25C1D 45%, #FF9E2C 100%);
  --grad-soft: linear-gradient(135deg, #FFF1E6 0%, #FFE3CC 100%);
  --ink: #17181C;
  --ink-2: #5A5F6B;
  --muted: #9AA0AC;
  --line: rgba(23, 24, 28, .08);
  --soft: #FFF1E6;
  --bg: #FFFDF9;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-lg: 26px;
  --shadow: 0 12px 34px rgba(242, 92, 29, .12);
  --shadow-lg: 0 24px 60px rgba(23, 24, 28, .12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }

/* ---------- 渐变文字 / 通用装饰 ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  transition: all .28s ease; border: none; cursor: pointer;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px rgba(242, 92, 29, .35);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: "→"; margin-left: 2px; transition: transform .28s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(242, 92, 29, .42); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost {
  background: #fff; color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 8px 20px rgba(242, 92, 29, .12);
}
.btn-ghost:hover { background: var(--soft); transform: translateY(-3px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 253, 249, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(23, 24, 28, .06); }

.nav-wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 15px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: all .2s ease; position: relative;
}
.main-nav a:hover { color: var(--brand-deep); background: var(--soft); }
.main-nav a.active { color: #fff; background: var(--grad); font-weight: 600; box-shadow: 0 6px 16px rgba(242,92,29,.3); }

.nav-cta { padding: 10px 22px; font-size: 14px; margin-left: 6px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2.4px; background: var(--ink); border-radius: 3px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 178px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(255, 158, 44, .16), transparent 62%),
    radial-gradient(640px 380px at -6% 112%, rgba(242, 92, 29, .12), transparent 60%),
    linear-gradient(180deg, #FFF7F0 0%, var(--bg) 100%);
}
/* 点阵底纹 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(242, 92, 29, .16) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 460px at 82% 18%, #000 0%, transparent 70%);
  mask-image: radial-gradient(720px 460px at 82% 18%, #000 0%, transparent 70%);
}
/* 漂浮色块 */
.hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  left: -120px; top: 40px; pointer-events: none; filter: blur(10px); opacity: .5;
  background: radial-gradient(circle at 30% 30%, rgba(255,158,44,.35), transparent 65%);
  animation: floatBlob 9s ease-in-out infinite;
}
@keyframes floatBlob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(242, 92, 29, .28);
}
.hero-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35);
}

.hero h1 { font-size: 44px; line-height: 1.28; letter-spacing: 0; margin: 22px 0 20px; font-weight: 900; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 560px; }

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

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px;
  border-top: 1px solid var(--line); padding-top: 30px; max-width: 660px;
}
.hero-stats li { border-left: 3px solid var(--brand); padding-left: 16px; position: relative; }
.hero-stats li::before {
  content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px;
  background: var(--grad); border-radius: 3px;
}
.hero-stats strong {
  display: block; font-size: 34px; font-weight: 900; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-stats em { font-style: normal; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-card {
  position: relative; width: min(400px, 100%); border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff;
  transform: rotate(1deg);
}
.hero-card img { width: 100%; height: auto; }
.hero-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--grad); z-index: 2;
}
.hero-card-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); border-radius: 16px; padding: 11px 18px;
  box-shadow: 0 14px 34px rgba(23,24,28,.14); font-size: 13px; font-weight: 700; line-height: 1.4;
}
.hero-card-tag img { width: 36px; height: 36px; }

/* ---------- 通用 section ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--brand-deep);
  margin-bottom: 14px;
}
.section-kicker::before, .section-kicker::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section-head h2 { font-size: 40px; font-weight: 900; letter-spacing: 1px; margin-bottom: 16px; }
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ---------- 关于我们 ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: start; }
.about-intro h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; position: relative; padding-left: 18px; }
.about-intro h3::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 6px;
  border-radius: 6px; background: var(--grad);
}
.about-intro p { color: var(--ink-2); margin-bottom: 15px; font-size: 15.5px; }
.about-highlight {
  background: var(--grad-soft); border-radius: 14px; padding: 18px 22px;
  color: var(--ink) !important; box-shadow: inset 4px 0 0 var(--brand);
}
.about-highlight strong { color: var(--brand-deep); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-grid li {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.stat-grid li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.stat-grid li:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242,92,29,.3); }
.stat-grid li:hover::before { opacity: 1; }
.stat-grid strong {
  display: block; font-size: 32px; font-weight: 900; line-height: 1.2;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-grid span { font-size: 13px; color: var(--muted); }
.stat-grid em { font-style: normal; }

/* ---------- 发展历程 ---------- */
.timeline-section { background: var(--white); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 44px; }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px;
  width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-2));
}
.timeline li { position: relative; padding: 0 0 38px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -41px; top: 10px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand);
  box-shadow: 0 0 0 6px rgba(242, 92, 29, .16), 0 0 18px rgba(242,92,29,.5);
}
.tl-year {
  display: inline-block; font-size: 27px; font-weight: 900; letter-spacing: 1px; margin-bottom: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tl-body {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 20px; transition: transform .3s, box-shadow .3s;
}
.tl-body:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.tl-body p { color: var(--ink-2); font-size: 15.5px; max-width: 700px; }

/* ---------- 核心业务 ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .32s, box-shadow .32s, border-color .32s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(242,92,29,.25); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  position: absolute; top: 12px; right: 22px; font-size: 64px; font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, rgba(242,92,29,.16), rgba(242,92,29,.04));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.service-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 14px; padding-right: 44px; }
.service-card p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 16px; }
.service-card ul { display: flex; flex-direction: column; gap: 10px; }
.service-card li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); }
.service-card li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.capabilities {
  background: linear-gradient(160deg, #FFF7F0, #FFEFDF);
  border: 1px solid rgba(242,92,29,.18); border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: center;
}
.capabilities h3 { font-size: 19px; font-weight: 800; margin-bottom: 20px; }
.capabilities h3.mt { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips span {
  padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; color: var(--brand-deep);
  border: 1px solid rgba(242,92,29,.28);
  transition: all .25s ease; cursor: default;
}
.chips span:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(242,92,29,.25); }
.chips-alt span { background: var(--soft); border-color: transparent; color: var(--ink-2); }
.chips-alt span:hover { background: var(--grad); color: #fff; }

/* ---------- 服务优势 ---------- */
.advantage { background: var(--white); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center; background: var(--bg);
  transition: transform .32s, box-shadow .32s, border-color .32s;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(242,92,29,.25); }
.adv-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 18px;
  background: var(--grad); color: #fff; font-size: 25px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(242, 92, 29, .32);
  transition: transform .3s;
}
.adv-card:hover .adv-icon { transform: rotate(-6deg) scale(1.06); }
.adv-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 成功案例 ---------- */
.cases { background: linear-gradient(180deg, #FFF7F0 0%, var(--bg) 100%); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .32s, box-shadow .32s;
}
.case-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--grad);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-type {
  align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: #fff; background: var(--grad); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 16px; box-shadow: 0 6px 14px rgba(242,92,29,.28);
}
.case-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; line-height: 1.5; }
.case-card > p { font-size: 14px; color: var(--ink-2); flex: 1; margin-bottom: 18px; }
.case-data { border-top: 1px dashed rgba(242,92,29,.35); padding-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case-data li { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.case-data strong {
  display: block; font-size: 16px; font-weight: 900; margin-top: 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 合作范围 ---------- */
.coverage { background: var(--white); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cov-block {
  border-radius: var(--radius-lg); padding: 34px 28px; text-align: center;
  background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cov-block::before {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,92,29,.12), transparent 70%);
  top: -60px; right: -60px;
}
.cov-block:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cov-block h3 { font-size: 19px; font-weight: 800; margin-bottom: 20px; position: relative; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(180deg, var(--bg), #FFF3E8); padding-bottom: 120px; }
.contact-box {
  max-width: 900px; margin: 0 auto; text-align: center; position: relative;
  border-radius: 34px; padding: 64px 52px; overflow: hidden;
  background: linear-gradient(150deg, #1F1B17 0%, #2E241C 55%, #3A2B1E 100%);
  color: #fff; box-shadow: 0 30px 70px rgba(23,24,28,.28);
}
.contact-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 200px at 90% -10%, rgba(255,158,44,.35), transparent 65%),
    radial-gradient(360px 200px at 5% 110%, rgba(242,92,29,.4), transparent 60%);
}
.contact-box > * { position: relative; z-index: 1; }
.contact-box .section-kicker { color: var(--brand-2); }
.contact-box .section-kicker::before, .contact-box .section-kicker::after { background: var(--grad); }
.contact-box h2 { font-size: 34px; font-weight: 900; margin-bottom: 16px; }
.contact-box > p { color: rgba(255,255,255,.82); font-size: 15.5px; margin-bottom: 38px; }
.contact-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-item {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .3s, transform .3s;
}
.contact-item:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.ci-label { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: 2px; font-weight: 700; }
.ci-value { font-size: 16px; font-weight: 700; color: #fff; word-break: break-all; }
.contact-item .ci-value:hover { color: var(--brand-2); }
.qr-item { padding: 18px 16px; }
.ci-qr { width: 112px; height: 112px; margin: 4px auto 0; border-radius: 12px; background: #fff; padding: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #131417; color: #9AA0AC; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { height: 36px; width: auto; }
.footer-brand span { font-size: 12px; color: #6F7580; letter-spacing: 1.5px; }
.footer-copy { font-size: 13px; color: #6F7580; }
.footer-copy a { color: var(--brand-2); }
.footer-copy a:hover { text-decoration: underline; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .hero-card { width: min(320px, 82%); transform: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: 1fr; max-width: 660px; margin-left: auto; margin-right: auto; }
  .coverage-grid { grid-template-columns: 1fr; max-width: 660px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 16px 24px 24px;
    background: rgba(255,253,249,.98); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(23,24,28,.1);
    transform: translateY(-140%); transition: transform .32s ease; margin: 0;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 18px; font-size: 16px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-items { grid-template-columns: 1fr; }
  .contact-box { padding: 50px 28px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 138px 0 68px; }
  .hero h1 { font-size: 28px; letter-spacing: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hero-stats strong { font-size: 28px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid strong { font-size: 25px; }
  .adv-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; letter-spacing: .5px; }
  .section-kicker { letter-spacing: 2px; }
  .timeline { padding-left: 30px; }
  .contact-box h2 { font-size: 26px; }
}
