﻿/* =============================================
   朝花里川菜小馆 - 参考老乡鸡风格设计
   主色：#096d68 | 风格：清新绿调 · 大量留白
   ============================================= */

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333; line-height: 1.7; background: #fff; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; }
.container { max-width: none; margin: 0 auto; padding: 0 160px; }

:root {
  --primary: #096d68;
  --primary-light: #0d8a83;
  --primary-dark: #054a47;
  --accent: #a8cf9e;
  --mint: #dceee5;
  --light-green: #eef6f0;
  --pale: #f7faf8;
  --text-dark: #2c2c2c;
  --text-gray: #666;
  --text-light: #999;
}

/* ========== Header ========== */
.header {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: all 0.4s;
}
.header:hover { background: rgba(255,255,255,0.97); }
.header.scrolled {
  position: fixed; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: center; gap: 152px;
  height: 100px; max-width: none; margin: 0 auto; padding: 0 160px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; height: 100%; }
.nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav > li > a {
  display: block; padding: 0 52px; font-size: 1.05rem; color: #fff; font-weight: 600;
  white-space: nowrap; transition: color 0.3s; position: relative; line-height: 100px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.header:hover .nav > li > a,
.header.scrolled .nav > li > a { color: #333; text-shadow: none; }
.header:hover .nav > li > a:hover,
.header.scrolled .nav > li > a:hover,
.header:hover .nav > li > a.active,
.header.scrolled .nav > li > a.active,
.nav > li > a:hover,
.nav > li > a.active { color: var(--primary); }

/* Nav arrow */
.nav-arrow { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-left: 4px; transition: transform 0.3s; }
.header:hover .nav-arrow, .header.scrolled .nav-arrow { color: #bbb; }
.nav > li:hover .nav-arrow { transform: rotate(180deg); color: var(--primary); }

/* Language Switcher */
.header-lang {
  position: relative; margin-left: auto; display: none;
}
.hdr-lang-btn {
  display: flex; align-items: center; padding: 4px;
  border-radius: 50%; transition: opacity 0.3s;
}
.hdr-lang-btn img { width: 28px; height: 28px; border-radius: 50%; display: block; }
.hdr-lang-btn:hover { opacity: 0.8; }

.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 12px); right: 0;
  background: #fff; min-width: 140px; border-radius: 6px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
  z-index: 100; padding: 8px 0;
}
.lang-dropdown::before {
  content: ''; position: absolute; top: -7px; right: 8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.04));
}
.header-lang:hover .lang-dropdown { display: block; }
.lang-dropdown li a {
  display: block; padding: 12px 24px; font-size: 0.9rem; color: #555;
  text-align: center; transition: color 0.2s; white-space: nowrap;
}
.lang-dropdown li a:hover { color: var(--primary); }
.lang-dropdown li a.active { color: var(--primary); font-weight: 500; }

.dropdown {
  display: none; position: absolute; top: calc(100% - 1px); left: 50%;
  transform: translateX(-50%);
  background: #fff; min-width: 180px; border-radius: 6px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
  z-index: 100; padding: 8px 0;
}
.dropdown::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.04));
}
.nav > li:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 14px 28px; font-size: 0.92rem; color: #555;
  transition: color 0.2s; text-align: center; white-space: nowrap;
  position: relative;
}
.dropdown li a:hover { color: var(--primary); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.header:hover .hamburger span, .header.scrolled .hamburger span { background: #333; box-shadow: none; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: 100px; left: 0; width: 100%; height: calc(100vh - 100px);
  background: #fff; flex-direction: column; padding: 16px 24px; overflow-y: auto; z-index: 999;
}
.mobile-nav.active { display: flex; }
.mobile-nav > li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 1rem; font-weight: 500; color: #333;
}
.mobile-nav .submenu { display: none; padding: 0 0 12px 16px; }
.mobile-nav .submenu.open { display: block; }
.mobile-nav .submenu a { display: block; padding: 10px 0; font-size: 0.9rem; color: #666; }
.mobile-nav .arrow { font-size: 0.7rem; transition: transform 0.3s; color: #aaa; }
.mobile-nav .arrow.open { transform: rotate(180deg); }

/* ========== Hero Carousel ========== */
.hero {
  position: relative; height: 926px; overflow: hidden;
}
.hero-carousel { height: 100%; position: relative; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(9,109,104,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 24px;
}
.hero-content h1 {
  font-size: 4.2rem; font-weight: 800; letter-spacing: 6px;
  margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(120px);
}
.hero-content p {
  font-size: 1.35rem; font-weight: 300; opacity: 0; letter-spacing: 4px;
  transform: translateY(120px);
}
.hero-slide.active .hero-content h1 {
  animation: heroIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-slide.active .hero-content p {
  animation: heroIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(120px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Dots */
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.45); transition: all 0.3s;
}
.hero-dots button.active { background: #fff; width: 36px; border-radius: 6px; }

/* Hero Arrows */
.hero-arrows {
  position: absolute; top: 50%; width: 100%; transform: translateY(-50%);
  display: flex; justify-content: space-between; padding: 0 24px;
  z-index: 3; pointer-events: none;
}
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: all 0.3s; pointer-events: auto;
}
.hero-arrows button:hover { background: rgba(255,255,255,0.3); }

/* ========== Section Common ========== */
.section { padding: 80px 0; }

/* Section Title with Leaf */
.sec-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 40px;
}
.sec-title h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); letter-spacing: 2px; }
.leaf-icon { width: 26px; height: 26px; color: var(--primary); fill: currentColor; flex-shrink: 0; }

/* Section Header (title + more btn) */
.sec-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;
}
.sec-header .sec-title { margin-bottom: 0; }

/* More Button */
.more-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 24px;
  border: 1.5px solid var(--primary); color: var(--primary); border-radius: 30px;
  font-size: 0.88rem; transition: all 0.3s; letter-spacing: 1px;
}
.more-btn:hover { background: var(--primary); color: #fff; }
.more-btn svg { width: 14px; height: 14px; transition: transform 0.3s; }
.more-btn:hover svg { transform: translateX(3px); }

/* ========== Brand Intro Section ========== */
.intro-section {
  background: var(--light-green); position: relative; overflow: hidden;
  padding: 80px 0 0;
}

.intro-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.intro-left { padding-left: 20px; }
.intro-title {
  font-size: 2.4rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 24px; letter-spacing: 2px;
}
.intro-left p {
  font-size: 0.95rem; color: #555; line-height: 1.9; margin-bottom: 14px;
}
.learn-btn {
  display: inline-block; padding: 12px 36px; background: var(--primary);
  color: #fff; border-radius: 30px; font-size: 0.95rem; font-weight: 500;
  transition: all 0.3s; margin-top: 20px;
}
.learn-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(9,109,104,0.25); }

.intro-img-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(9,109,104,0.15);
}
.intro-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.intro-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #f8d667; font-size: 0.95rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.intro-img-overlay::before {
  content: ''; display: inline-block; width: 16px; height: 2px; background: #f8d667;
}

/* ========== Stats inline (under intro) ========== */
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 60px; padding: 40px 0; position: relative; z-index: 1;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '/'; position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%); color: #c8e3d4; font-size: 1.5rem; font-weight: 300;
}
.stat-num {
  font-size: 2.6rem; font-weight: 800; color: var(--primary);
  letter-spacing: 1px; line-height: 1.2; margin-bottom: 6px;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.stat-num .stat-unit { font-size: 1rem; color: var(--primary); font-weight: 500; }
.stat-num .badge-unit { font-size: 0.75rem; color: #fff; background: var(--primary); padding: 2px 8px; border-radius: 4px; font-weight: 500; display: inline-block; margin-right: 6px; vertical-align: middle; }
.stat-label { font-size: 0.85rem; color: var(--text-gray); }

/* ========== Safe Section - 卡片式布局 ========== */
.safe-section { background: var(--light-green); }
.safe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.safe-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(9, 109, 104, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.safe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(9, 109, 104, 0.15);
}

.safe-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.safe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.safe-card:hover .safe-card-img img {
  transform: scale(1.05);
}

.safe-card-bar {
  background: #096d68;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.safe-card-num {
  background: #fff;
  color: #096d68;
  font-size: 14px;
  font-weight: 700;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safe-card-bar h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.safe-card-body {
  padding: 16px;
}

.safe-tag {
  font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 10px;
}
.safe-list {
  text-align: left; list-style: none; padding: 0;
}
.safe-list li {
  font-size: 0.82rem; color: var(--text-gray); line-height: 1.7;
  padding-left: 16px; position: relative; margin-bottom: 6px;
}
.safe-list li strong {
  color: var(--text-dark); font-weight: 700;
}
.safe-list li::before {
  content: '·'; position: absolute; left: 2px; top: 0;
  color: var(--primary); font-weight: 700; font-size: 1.1rem;
}

/* ========== Store Environment ========== */
.env-section { background: var(--light-green); }
.env-wrapper {
  display: flex; align-items: center; gap: 16px;
}
.env-carousel {
  display: flex; overflow: hidden; position: relative; flex: 1;
}
.env-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--light-green); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.3s; flex-shrink: 0;
  border: 1px solid #d4e8dc;
}
.env-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.env-slide {
  display: flex; gap: 28px; flex-shrink: 0; width: 100%;
  transition: transform 0.6s ease;
  padding: 0 2%; justify-content: center;
}
.env-card {
  flex: 0 0 calc(33.333% - 19px); position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16/10; box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: all 0.35s; cursor: pointer;
}
.env-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.14); }
.env-img { width: 100%; height: 100%; }
.env-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.env-card:hover .env-img img { transform: scale(1.06); }
.env-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; font-size: 0.95rem; font-weight: 500;
}

.env-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 32px;
}
.env-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: #c8e3d4; transition: all 0.3s;
}
.env-dots button.active {
  background: var(--primary); width: 24px; border-radius: 5px;
}

/* ========== Dishes Section ========== */
.dishes-section { background: var(--light-green); position: relative; overflow: hidden; }
.dishes-deco {
  position: absolute; right: -60px; top: 40px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168,207,158,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.dishes-carousel {
  display: flex; align-items: center; gap: 20px;
  min-height: 500px; position: relative;
}
.dish-slot {
  flex: 1; position: relative;
}
.dish-show {
  width: 100%; padding: 20px 30px; text-align: center;
  box-sizing: border-box;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.dish-show.feature {
  transform: scale(1.1); z-index: 2;
}
.dish-circle {
  position: relative; width: 280px; height: 280px; margin: 0 auto 24px;
  border-radius: 20px; overflow: visible;
  transition: all 0.6s ease;
}
.dish-show.feature .dish-circle {
  width: 320px; height: 320px;
}
.dish-circle::after {
  content: ''; position: absolute; inset: -60px;
  border: 2px dashed var(--accent); border-radius: 50%;
  opacity: 0; transition: opacity 0.6s ease;
  animation: spin 30s linear infinite;
  pointer-events: none;
}
.dish-show.feature .dish-circle::after { opacity: 0.8; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.dish-circle img { width: 100%; height: 100%; object-fit: cover; }
.dish-deco-icon {
  position: absolute; width: 40px; height: 40px;
  color: var(--primary); opacity: 0.6;
}
.dish-deco-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.dish-deco-2 { bottom: 30%; right: -20px; }
.dish-deco-3 { top: 30%; left: -20px; }
.dish-name {
  font-size: 1.5rem; font-weight: 700; color: var(--primary);
  margin-bottom: 12px; letter-spacing: 2px;
}
.dish-show:not(.feature) .dish-name { font-size: 1.2rem; }
.dish-desc {
  font-size: 0.95rem; color: #333; line-height: 1.8;
  max-width: 300px; margin: 0 auto;
}
.dish-show:not(.feature) .dish-desc { font-size: 0.85rem; }

.dishes-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.dishes-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: #c8e3d4; transition: all 0.3s;
}
.dishes-dots button.active {
  background: var(--primary); width: 24px; border-radius: 5px;
}

/* ========== History Section ========== */
.history-section { background: #fff; }
.timeline {
  position: relative; max-width: 800px; margin: 0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: #e0e0e0; transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 32px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  width: 14px; height: 14px; background: var(--primary); border-radius: 50%;
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  z-index: 2; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--primary);
}
.timeline-content {
  width: 44%; background: var(--pale); padding: 20px 24px; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; }
.timeline-year { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-content p { font-size: 0.92rem; color: var(--text-gray); line-height: 1.6; }

/* ========== Culture Section ========== */
.culture-section { background: var(--light-green); }
.culture-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.culture-card {
  background: #fff; border-radius: 16px; padding: 36px 24px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.35s;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(9,109,104,0.12); }
.culture-icon { font-size: 2.5rem; margin-bottom: 16px; }
.culture-card h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.culture-card p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }

/* ========== Honor Section ========== */
.honor-section { background: #fff; }
.honor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.honor-card {
  background: var(--pale); border-radius: 14px; padding: 32px 24px; text-align: center;
  transition: all 0.35s; border-top: 3px solid transparent;
}
.honor-card:hover { border-top-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.honor-icon { font-size: 2.2rem; margin-bottom: 12px; }
.honor-card h4 { font-size: 1.02rem; color: var(--text-dark); margin-bottom: 6px; }
.honor-card p { font-size: 0.85rem; color: var(--text-gray); }

/* ========== Contact/Cert Section ========== */
.contact-section { background: var(--light-green); }

.cert-coverflow {
  position: relative; display: flex; align-items: center; justify-content: center;
  max-width: 1100px; margin: 0 auto; height: 520px;
}
.cert-stage {
  position: relative; width: 320px; height: 440px;
  perspective: 1200px; transform-style: preserve-3d;
}
.cert-card {
  position: absolute; left: 50%; top: 50%;
  width: 260px; height: 380px; margin-left: -130px; margin-top: -190px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer; opacity: 0; pointer-events: none; z-index: 0;
}
.cert-card img { width: 100%; height: 100%; object-fit: cover; }

.cert-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: #fff; color: var(--text-dark); font-size: 1.1rem;
  cursor: pointer; transition: all 0.3s; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cert-arrow:hover { background: var(--primary); color: #fff; }
.cert-prev { left: 0; }
.cert-next { right: 0; }

/* ========== Banner ========== */
.banner {
  position: relative; padding: 110px 0; color: #fff; text-align: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.banner-overlay {
  position: absolute; inset: 0;
}
.banner-inner { position: relative; z-index: 2; }
.banner h2 { font-size: 2.8rem; font-weight: 800; letter-spacing: 8px; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.banner p { font-size: 1rem; opacity: 0.9; letter-spacing: 3px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* ========== Footer ========== */
.footer { background: #054a47; color: #ccc; padding: 80px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px;
  max-width: none; margin: 0 auto; padding: 0 160px 40px;
}
.footer-logo-img { height: 72px; width: auto; margin-bottom: 16px; }
.footer-brand .footer-contact { margin-top: 0; padding-top: 0; border-top: none; }
.footer-brand .footer-contact li { font-size: 0.85rem; color: #aaa; margin-bottom: 8px; }
.footer-slogan { color: var(--accent); font-size: 0.88rem; margin-bottom: 12px; letter-spacing: 1px; }
.footer-brand p { font-size: 0.85rem; color: #aaa; line-height: 1.8; }
.footer-col .footer-phone { font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: 12px; display: block; }

/* Footer Social */
.footer-social { display: flex; gap: 16px; margin-top: 30px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #ccc;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; cursor: pointer; position: relative;
}
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon > img { width: 22px; height: 22px; object-fit: contain; }
.social-icon:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.social-qr {
  position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%);
  background: #fff; padding: 8px; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2); opacity: 0; visibility: hidden;
  transition: all 0.3s; pointer-events: none; width: 140px;
}
.social-qr::after {
  content: attr(data-tip); display: none;
}
.social-icon:hover .social-qr { opacity: 1; visibility: visible; bottom: 56px; }
.social-qr img { width: 124px; height: 124px; border-radius: 6px; display: block; }

.footer-col h5 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; font-weight: 600; position: relative; padding-bottom: 10px; }
.footer-col h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: var(--primary-light); border-radius: 2px;
}
.footer-col ul li { margin-bottom: 10px; padding-left: 14px; position: relative; }
.footer-col ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; background: var(--primary-light);
  border-radius: 50%; opacity: 0.6;
}
.footer-col ul a { font-size: 0.85rem; color: #aaa; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--accent); }

.footer-contact li { font-size: 0.85rem; color: #aaa; margin-bottom: 8px; }

.footer-bar {
  text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem; color: #888;
}

/* ========== Scroll Animation ========== */
.fade-up { opacity: 0; transform: translateY(36px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== Back to Top ========== */
.back-top {
  position: fixed; bottom: 32px; right: 32px; width: 46px; height: 46px;
  background: var(--primary); color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(9,109,104,0.3); opacity: 0; visibility: hidden;
  transition: all 0.3s; z-index: 999;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .nav > li > a { padding: 0 18px; font-size: 0.9rem; }
  .safe-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .stats-row .stat-item:nth-child(3n)::after { display: none; }
  .stats-row .stat-item:nth-child(4)::after, .stats-row .stat-item:nth-child(5)::after { display: none; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .container, .header-inner { padding: 0 24px; }
  .nav > li > a { padding: 0 8px; font-size: 0.82rem; }
  .header-inner { height: 64px; }
  .logo img { height: 36px; }
  .header-lang { display: none; }
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
  .mobile-nav { top: 64px; height: calc(100vh - 64px); }

  .hero { height: 600px; }
  .hero-content h1 { font-size: 2.4rem; letter-spacing: 2px; }
  .hero-content p { font-size: 1.05rem; }
  .hero-arrows button { width: 38px; height: 38px; font-size: 1rem; }

  .section { padding: 56px 0; }
  .sec-title h2 { font-size: 1.5rem; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-left { padding-left: 0; }
  .intro-img-wrap img { height: 280px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding: 32px 0; margin-top: 40px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-num { font-size: 2rem; }

  .safe-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .safe-card-img { height: 160px; }
  .culture-grid { grid-template-columns: 1fr; gap: 16px; }
  .honor-grid { grid-template-columns: 1fr; }
  .news-main-img { height: 200px; }
  .news-item-img { width: 80px; height: 70px; }

  .dishes-carousel { min-height: auto; }
  .dish-slot { flex: 0 0 100%; }
  .dish-slot:not(:nth-child(2)) { display: none; }
  .dish-show { padding: 12px; }
  .dish-circle { width: 240px; height: 240px; }
  .dish-show.feature .dish-circle { width: 240px; height: 240px; }
  .dish-circle::after { inset: -24px; }

  .timeline::before { left: 24px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-dot { left: 24px; }
  .timeline-content { width: calc(100% - 56px); margin-left: 56px !important; }

  .banner { padding: 60px 0; }
  .banner h2 { font-size: 1.8rem; letter-spacing: 4px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .env-slide { gap: 14px; padding: 0 4%; }
  .env-card { aspect-ratio: 3/4; }
}

@media (max-width: 480px) {
  .container, .header-inner { padding: 0 16px; }
  .hero { height: 400px; }
  .hero-content h1 { font-size: 1.5rem; }
  .dish-show { padding: 12px 12px; }
  .dish-circle { width: 200px; height: 200px; }
  .dish-show.feature .dish-circle { width: 240px; height: 240px; }
  .dish-circle::after { inset: -30px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .env-slide { padding: 0 2%; gap: 8px; }
  .tab-nav button { padding: 7px 16px; font-size: 0.82rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .safe-grid { grid-template-columns: 1fr; }
}
