/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F6F2EB;
  --primary: #8A5A32;
  --secondary: #5F664B;
  --text: #333333;
  --text-light: #6B6B6B;
  --footer-bg: #2D2D2D;
  --footer-text: #C9C5BE;
  --white: #FFFFFF;
  --border: #E0D9CE;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== Layout ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: var(--bg);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.navbar.nav-overlay {
  background-color: transparent;
}

.navbar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 20px;
  }
}

.brand-logo {
  width: 95px;
  height: 95px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.navbar.nav-overlay .nav-links a {
  color: var(--white);
}

.navbar.nav-overlay.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 2px;
  font-size: 13px;
  background-color: var(--white);
}

.navbar.nav-overlay:not(.scrolled) .lang-switcher {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-switcher button {
  padding: 2px 6px;
  font-size: 13px;
  border-radius: 1px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.navbar.nav-overlay:not(.scrolled) .lang-switcher button {
  color: rgba(255, 255, 255, 0.7);
}

.lang-switcher button.active {
  color: var(--primary);
  font-weight: 500;
}

.navbar.nav-overlay:not(.scrolled) .lang-switcher button.active {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.navbar.nav-overlay:not(.scrolled) .hamburger span {
  background-color: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  z-index: 999;
  padding: 100px 40px 40px;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .lang-switcher-mobile {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
}

.mobile-menu .lang-switcher-mobile button {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text-light);
}

.mobile-menu .lang-switcher-mobile button.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu ul a {
  font-size: 20px;
  color: var(--text);
  font-family: var(--font-display);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-right .lang-switcher {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 560px;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #5A585A; /* 原图home-banner.jpg 855x481 边缘中位色 - 极端情况视觉兜底 */
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ========== HOME PAGE ONLY: hero 右缝防御性修复（不影响About/Products/Contact/Events） ========== */
.hero.hero--home {
  display: block;
  /* 防御：子像素舍入产生0.5px级缝隙时，用宽+overflow-hidden裁切；
     用1px/0.5px避免引入横向滚动条 */
  width: calc(100% + 0.5px);
  max-width: none;
  margin-left: -0.25px;
  margin-right: -0.25px;
  overflow: hidden;
  box-sizing: content-box; /* 防止border-box使 +0.5px 被padding吃掉 */
}

.hero.hero--home .hero-image {
  /* 图片本身再向4个方向微溢出0.5px，保证边缘不出现白缝 */
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  min-width: calc(100% + 1px);
  min-height: calc(100% + 1px);
  top: -0.5px;
  left: -0.5px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-subtitle {
  font-size: clamp(13px, 1.2vw, 15px);
  max-width: 520px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 36px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-cta:hover {
  background-color: #6f4625;
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Page Hero (non-home) ========== */
.page-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 560px;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.page-hero-text-wrap {
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.page-hero-sub {
  margin: 14px auto 0;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.08em;
  line-height: 1.8;
  opacity: 0.92;
  max-width: 680px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.page-hero.page-hero--tall {
  height: 85vh;
  min-height: 680px;
}

.page-hero.page-hero--tall .page-hero-image {
  position: absolute;
  object-fit: cover;
  object-position: center;
}

/* Events page banner only: restore title to original size, keep aligned at bottom so faces aren't covered */
.page-hero-content--events {
  align-items: flex-end;
  padding-bottom: clamp(24px, 8%, 80px);
}

.page-hero-text-wrap--events {
  max-width: 720px;
  padding: 0 22px;
}

.page-hero-title--events {
  /* 相比默认 .page-hero-title (clamp 40,6,68) 缩小 20% */
  font-size: clamp(32px, 4.8vw, 54.4px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.page-hero-sub--events {
  /* 相比默认 .page-hero-sub (clamp 12,1.2,15) 缩小 20% */
  font-size: clamp(9.6px, 0.96vw, 12px);
  letter-spacing: 0.08em;
  line-height: 1.8;
  max-width: 680px;
  margin-top: 14px;
  opacity: 0.92;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ========== Section Styles ========== */
.section {
  padding: var(--section-padding);
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== Brand Story ========== */
.brand-story .section-subtitle {
  font-size: 13px;
  text-align: left;
}

.why-coffee .section-subtitle {
  text-align: left;
}

/* ========== Why Coffee Grounds ========== */
.why-coffee {
  position: relative;
  overflow: hidden;
  background-color: #EFE9DF;
}

.why-coffee-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}

.why-coffee .container {
  position: relative;
  z-index: 1;
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .feature-grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon--img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: 4px;
  overflow: hidden;
}

.feature-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.03em;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Circular Economy ========== */
.circular-economy {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

.circular-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.circular-economy .section-header {
  position: relative;
  z-index: 1;
}

.circular-economy .section-subtitle {
  text-align: left;
}

.circular-steps {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 60px auto 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .circular-steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

.circular-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
  position: relative;
}

.circular-step-num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--primary);
}

.circular-step-label {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ========== Product Benefits ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background-color: #FAF5EC;
  padding: 28px 20px;
  border-radius: 2px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(138, 90, 50, 0.08);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 14px;
  color: var(--primary);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.benefit-desc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== CTA Section ========== */
.cta-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(246, 242, 235, 0.4) 0%,
    rgba(246, 242, 235, 0.5) 50%,
    rgba(246, 242, 235, 0.3) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.cta-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 13px 34px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #6f4625;
  transform: translateY(-2px);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--footer-bg);
  padding: 60px 0 30px;
  color: var(--footer-text);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.footer-brand .tagline {
  font-size: 12px;
  opacity: 0.7;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-right {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.footer-col h4 {
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-nav-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-nav-row {
    justify-content: center;
  }
}

.social-qr {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .social-qr {
    justify-content: center;
  }
}

.qr-item {
  text-align: center;
}

.qr-code {
  width: 64px;
  height: 64px;
  background-color: var(--white);
  border-radius: 4px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-bg);
}

.qr-code svg {
  width: 40px;
  height: 40px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.qr-label {
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 11px;
  opacity: 0.5;
}

/* ========== About Page ========== */
.about-philosophy {
  padding: var(--section-padding);
}

.about-philosophy .content-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-philosophy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.about-philosophy p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* Coffee Waste */
.coffee-waste {
  background-color: #EFE9DF;
  padding: var(--section-padding);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.col-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.col-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}

.col-illustration {
  display: flex;
  justify-content: center;
}

.illustration-box {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 3;
  background-color: var(--white);
  border: 1px dashed var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.illustration-box svg {
  width: 70%;
  height: 70%;
}

.illustration-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.illustration-box:has(img) {
  background-color: transparent;
  border: none;
  aspect-ratio: auto;
}

.illustration-box--transparent {
  background-color: transparent !important;
  border: none !important;
  aspect-ratio: auto !important;
}

/* Material Innovation */
.material-innovation {
  padding: var(--section-padding);
}

/* Pet Friendly */
.pet-friendly {
  background-color: #EFE9DF;
  padding: var(--section-padding);
}

.pie-chart {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    #8A5A32 0 35%,
    #C9A27A 35% 65%,
    #E0D9CE 65% 85%,
    #5F664B 85% 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pie-chart::after {
  content: '';
  width: 130px;
  height: 130px;
  background-color: #EFE9DF;
  border-radius: 50%;
}

/* From Bean to Future */
.bean-future {
  padding: var(--section-padding);
}

.timeline {
  max-width: 600px;
  margin: 60px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background-color: var(--border);
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-num {
  width: 32px;
  height: 32px;
  border: 1px solid var(--primary);
  background-color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Products Page ========== */
.products-hero-cta {
  padding: var(--section-padding);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.product-image-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.product-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-bottom: 24px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.product-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--secondary);
}

.product-sales {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Purchase Channels */
.purchase-channels {
  background-color: #EFE9DF;
  padding: var(--section-padding);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .channels-grid {
    grid-template-columns: 1fr;
  }
}

.channel-card {
  background-color: #FAF5EC;
  padding: 32px 24px;
  border-radius: 2px;
  text-align: center;
}

.channel-name {
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.channel-qr {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-qr svg {
  width: 70px;
  height: 70px;
  color: var(--primary);
}

.channel-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.channel-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Events Page ========== */
.events-section {
  padding: 60px 0;
}

.events-section.alt-bg {
  background-color: #EFE9DF;
}

.event-block {
  max-width: 1080px;
  margin: 0 auto;
}

.event-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.event-two-col.reverse {
  direction: rtl;
}

.event-two-col.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .event-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 移动版：指定区块图在文下 */
  .event-two-col--img-below-mobile > div:first-child {
    order: 2;
  }
  .event-two-col--img-below-mobile > div:last-child {
    order: 1;
  }
}

.event-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.event-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}

.event-images-single {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #C9A27A, #8A5A32);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.event-images-single::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Lifestyle%20photography%3A%20volunteers%20feeding%20stray%20cats%20in%20shelter%2C%20warm%20natural%20light%2C%20documentary%20style%2C%20soft%20shadows&image_size=landscape_4_3");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.event-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.event-images-grid .thumb {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #E0D9CE, #C9A27A);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.event-images-grid .thumb:nth-child(1)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=stray%20cats%20in%20shelter%2C%20documentary%20style%2C%20natural%20light%2C%20warm%20tone&image_size=square");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.event-images-grid .thumb:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=volunteer%20cleaning%20cat%20cages%20in%20shelter%2C%20documentary%20style%2C%20natural%20light&image_size=square");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.event-images-grid .thumb:nth-child(3)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=cat%20litter%20donation%20boxes%2C%20coffee%20ground%20cat%20litter%2C%20lifestyle%20photo&image_size=square");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.event-images-single--img {
  background: transparent;
  aspect-ratio: 4 / 3;
  height: auto;
}

.event-images-single--img::before {
  display: none;
}

.event-images-single--img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.thumb--img {
  background: transparent !important;
}

.thumb--img::before {
  display: none !important;
}

.thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.events-hero-sub-moved {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-light);
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .events-hero-sub-moved {
    font-size: 12px;
    padding: 0 20px;
  }
}

.event-intro h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.event-intro p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.certificate-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--white) 0%, #F0E8DA 100%);
  border: 2px solid var(--border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.certificate-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.certificate-subtitle {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

.event-image-col {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #D4C4A8, #8A5A32);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.event-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=stray%20cat%20being%20cared%20for%2C%20close%20up%2C%20warm%20natural%20light%2C%20documentary%20style&image_size=landscape_4_3");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.event-join-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
}

.event-join-cta h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.event-join-cta p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ========== Contact Page ========== */
.contact-main {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.contact-follow h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.contact-qr-row {
  display: flex;
  gap: 48px;
  margin-bottom: 50px;
}

@media (max-width: 480px) {
  .contact-qr-row {
    gap: 24px;
  }
}

.contact-qr-item {
  text-align: center;
}

.contact-qr-box {
  width: 120px;
  height: 120px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

@media (max-width: 480px) {
  .contact-qr-box {
    width: 96px;
    height: 96px;
  }
}

.contact-qr-box svg {
  width: 70px;
  height: 70px;
}

.contact-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .contact-qr-box svg {
    width: 56px;
    height: 56px;
  }
}

.contact-qr-label {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-email-block {
  margin-top: 20px;
}

.contact-email-block h4 {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 400;
}

.contact-email-block a {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.contact-form h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background-color: transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-submit:hover {
  background-color: #6f4625;
  transform: translateY(-2px);
}

/* ========== Scroll Reveal Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== Page Hero Subtitle ========== */
.page-hero-sub {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.9;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 768px) {
  .page-hero-sub {
    font-size: 12px;
    padding: 0 20px;
  }
}

/* ========== Eyebrow Tag (小标签) ========== */
.eyebrow-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: none;
  margin-bottom: 14px;
  opacity: 0.85;
  text-align: center;
  line-height: 1.6;
}

.section-header .eyebrow-tag {
  margin-bottom: 12px;
}

/* ========== Event Images with Labels ========== */
.event-images-grid-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.event-images-grid-labels .thumb-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-images-grid-labels .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E0D9CE, #C9A27A);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.event-images-grid-labels .thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(138, 90, 50, 0.2), transparent 55%);
}

.thumb-label {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  padding: 0 2px;
  text-align: center;
}

@media (max-width: 768px) {
  .event-images-grid-labels {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .event-images-grid-labels .thumb-wrap {
    gap: 6px;
  }
  .thumb-label {
    font-size: 10px;
  }
}

/* ========== Certificate Gallery Spacing ========== */
.cert-gallery {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.reveal-delay-5 { transition-delay: 0.5s; }
