/* ============ FurryJoy 官网全局样式（暖色宠物烘焙风） ============ */
:root {
  --c-primary: #d97a29;        /* 主色：暖橙 */
  --c-primary-dark: #b45f1a;
  --c-accent: #f5a94f;         /* 强调色：蜜糖橙 */
  --c-dark: #42291a;           /* 深色背景：暖可可棕 */
  --c-dark-2: #5c3a24;
  --c-text: #3d3229;
  --c-text-light: #8a7a6b;
  --c-bg: #fffdf9;
  --c-bg-soft: #fdf4e8;
  --c-border: #f0e3d3;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(66, 41, 26, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(66, 41, 26, 0.94);
  backdrop-filter: blur(10px);
  color: #fff;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-links a.active { background: var(--c-primary); color: #fff; }

.lang-switch {
  margin-left: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(245, 169, 79, 0.28), transparent),
    linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: #fff;
  padding: 110px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c-accent), #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(217, 122, 41, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  margin-left: 14px;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- 内页头部横幅 ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 { font-size: 2.2rem; letter-spacing: 2px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--c-bg-soft); }

.section-head { text-align: center; margin-bottom: 56px; }

.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-head p { color: var(--c-text-light); margin-top: 12px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 169, 79, 0.2), rgba(217, 122, 41, 0.14));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--c-text-light); }

/* ---------- 产品卡片 ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #fdf1e2, #f8e3c8);
  display: grid;
  place-items: center;
  font-size: 3.2rem;
}

.product-body { padding: 24px; }
.product-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-body p { font-size: 0.9rem; color: var(--c-text-light); }

.product-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(245, 169, 79, 0.16);
  color: var(--c-primary-dark);
  font-weight: 600;
}

/* ---------- 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stats .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c-primary);
}

.stats .label { color: var(--c-text-light); font-size: 0.95rem; }

/* ---------- 时间线 ---------- */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  border-left: 2px solid var(--c-border);
  padding-left: 36px;
}

.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c-accent);
}

.timeline .year { font-weight: 700; color: var(--c-primary); font-size: 1.05rem; }
.timeline p { color: var(--c-text-light); font-size: 0.95rem; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }
.cta-band .btn-primary { background: #fff; color: var(--c-primary); box-shadow: none; }

/* ---------- 联系页 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info .card { margin-bottom: 20px; display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.contact-info .icon { margin-bottom: 0; flex-shrink: 0; }

.contact-form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(245, 169, 79, 0.2);
}

.form-row textarea { min-height: 130px; resize: vertical; }

.map-placeholder {
  margin-top: 40px;
  height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fdf1e2, #f8e3c8);
  display: grid;
  place-items: center;
  color: var(--c-text-light);
  border: 1px dashed var(--c-border);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top .logo { color: #fff; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a:hover { color: #fff; }

.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

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

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-dark);
    padding: 12px 5%;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .lang-switch { margin: 8px 0 0; text-align: center; }

  .hero { padding: 72px 0 80px; }
  .btn-ghost { margin-left: 0; margin-top: 14px; }
}
