/* ============================================================
   贵州德财孔雀谷农旅发展有限公司 · 主题样式
   主题：孔雀蓝 + 翡翠绿 + 金穗点缀，自然·文旅·典雅
   ============================================================ */

:root {
  --teal-900: #0a3a34;
  --teal-800: #0e4d45;
  --teal-700: #146152;
  --teal-600: #1a7a68;
  --teal-500: #2a9d8f;
  --peacock: #176b7e;
  --gold: #c9a227;
  --gold-light: #e6c765;
  --cream: #f7f4ed;
  --ink: #1c2a28;
  --muted: #5f6f6b;
  --card: #ffffff;
  --line: rgba(20, 97, 82, 0.12);
  --shadow: 0 14px 40px rgba(10, 58, 52, 0.10);
  --radius: 18px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(10, 58, 52, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { width: 40px; height: 40px; color: var(--gold-light); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: 1px; }
.brand-text small { font-size: 11px; letter-spacing: 3px; opacity: 0.8; }

.nav { display: flex; gap: 30px; }
.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 6px 2px;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width 0.25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(42, 157, 143, 0.55), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(23, 107, 126, 0.6), transparent 55%),
    linear-gradient(150deg, #0a3a34 0%, #0e4d45 45%, #146152 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-feathers {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  color: rgba(230, 199, 101, 0.14);
  pointer-events: none;
}
.hero-feathers svg { width: 320px; height: 640px; }

.hero-content { position: relative; z-index: 2; padding: 120px 0 100px; }
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(30px, 5.5vw, 60px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 2px;
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.85);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #3a2c05;
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint .scroll-mouse {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* 手机端：触控上滑提示 */
.scroll-hint .scroll-touch {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-hint .chev {
  display: block;
  width: 13px; height: 13px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  border-radius: 2px;
  transform: rotate(45deg);
  animation: chevPulse 1.8s ease-in-out infinite;
}
.scroll-hint .chev:nth-child(2) { animation-delay: 0.25s; }
.scroll-hint .scroll-touch em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.9);
}
@keyframes chevPulse {
  0%, 100% { opacity: 0.25; transform: rotate(45deg) translateY(5px); }
  50% { opacity: 1; transform: rotate(45deg) translateY(-2px); }
}

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; }
.section-alt { background: #fff; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--peacock);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--teal-900);
  letter-spacing: 1px;
}
.section-desc { margin-top: 14px; color: var(--muted); }

/* ---------- 公司简介 facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.fact:hover { transform: translateY(-4px); }
.fact-icon {
  font-size: 26px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(42, 157, 143, 0.12);
  border-radius: 14px;
}
.fact-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.fact-value { font-size: 16px; color: var(--teal-900); font-weight: 600; }

/* ---------- 主营业务 ---------- */
.biz-group + .biz-group { margin-top: 56px; }
.biz-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--teal-800);
  margin-bottom: 24px;
}
.biz-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.15);
}
.biz-dot--alt { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.biz-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.biz-card:hover { transform: translateY(-4px); border-color: rgba(42, 157, 143, 0.4); }
.biz-num {
  font-size: 30px;
  font-weight: 700;
  color: rgba(42, 157, 143, 0.22);
  line-height: 1;
  margin-bottom: 14px;
}
.biz-card h4 { font-size: 17px; color: var(--teal-900); margin-bottom: 8px; }
.biz-card p { font-size: 14px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
a.contact-card:hover { transform: translateY(-4px); border-color: rgba(42, 157, 143, 0.4); }
.contact-icon {
  font-size: 26px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(201, 162, 39, 0.14);
  border-radius: 14px;
}
.contact-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-value { font-size: 16px; color: var(--teal-900); font-weight: 600; word-break: break-all; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 34px 0;
}
.footer-inner { text-align: center; }
.footer-inner p { font-size: 14px; }
.footer-code { margin-top: 6px; opacity: 0.75; letter-spacing: 1px; }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 72px; right: 0;
    flex-direction: column;
    gap: 0;
    width: 72%;
    max-width: 300px;
    background: rgba(10, 58, 52, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-radius: 0 0 0 18px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 28px; font-size: 16px; }
  .nav a::after { display: none; }

  .nav-toggle { display: flex; }

  .hero-feathers { right: -120px; opacity: 0.7; }

  .scroll-hint .scroll-mouse { display: none; }
  .scroll-hint .scroll-touch { display: flex; }

  .facts { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
}
