/* ==========================================================================
   成都市龙泉驿区燃灯寺公墓 - 现代官方网站设计系统 (Mobile-Optimized Edition)
   Design Tokens & Responsive Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Premium Emerald & Champagne Gold */
  --primary-dark: #0A261E;
  --primary-deep: #103B2F;
  --primary-medium: #195243;
  --primary-light: #25705D;
  --primary-accent: #2F8A73;
  
  --gold-primary: #D4AF37;
  --gold-light: #F4E5A9;
  --gold-dark: #A4811F;
  --gold-gradient: linear-gradient(135deg, #F5E6AD 0%, #D4AF37 50%, #9C7917 100%);
  
  --bg-silk: #FBFBF8;
  --bg-warm: #F4F1EA;
  --bg-card: #FFFFFF;
  --bg-dark: #0A1210;
  --bg-dark-card: #13201C;
  
  --text-main: #1D2623;
  --text-secondary: #52605B;
  --text-muted: #7E8D88;
  --text-light: #F2F5F4;
  --text-gold: #D4AF37;
  
  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 12px rgba(10, 38, 30, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 38, 30, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 38, 30, 0.14);
  --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(212, 175, 55, 0.2);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-silk);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Noto Serif SC', "Songti SC", "SimSun", serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. Top Announcement Bar & Sticky Header
   ========================================================================== */
.top-notice-bar {
  background: var(--primary-dark);
  color: #E2EBE8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-badge {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-right: 0.5rem;
  display: inline-block;
}

.top-contacts {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
}

.top-phone-link:hover {
  color: #FFFFFF;
}

/* Sticky Main Navigation */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 59, 47, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-deep);
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--primary-dark);
  margin-bottom: 0.1rem;
  white-space: nowrap;
}

.logo-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-deep);
}

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

.header-cta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  touch-action: manipulation;
}

.btn-primary {
  background: var(--primary-deep);
  color: #FFFFFF;
  border: 1px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-medium);
  color: var(--primary-medium);
}

.btn-outline:hover {
  background: var(--primary-medium);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  background: rgba(16, 59, 47, 0.06);
  border: 1px solid rgba(16, 59, 47, 0.15);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  color: var(--primary-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Header Quick Call Icon for Mobile */
.mobile-header-call {
  display: none;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 38, 30, 0.75) 0%, rgba(10, 38, 30, 0.88) 100%),
              url('../images/hero_banner.jpg') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.25;
}

.hero-title span {
  color: var(--gold-primary);
  display: block;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #D3E0DC;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Key Stats Banner */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--gold-primary);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.82rem;
  color: #C2D3CD;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   3. Common Section Components
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-warm {
  background-color: var(--bg-warm);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-bg-dark .section-subtitle {
  color: var(--gold-primary);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.section-bg-dark .section-title {
  color: #FFFFFF;
}

.section-title-divider {
  width: 50px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0 auto 1rem auto;
  border-radius: var(--radius-pill);
}

.section-desc {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
}

/* ==========================================================================
   4. About & Fengshui Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 38, 30, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  color: #FFFFFF;
}

.about-badge-overlay .title {
  font-family: 'Noto Serif SC', serif;
  color: var(--gold-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.about-badge-overlay .sub {
  font-size: 0.82rem;
  color: #C2D3CD;
}

.fengshui-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.fengshui-card {
  background: var(--bg-card);
  padding: 1.4rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fengshui-card h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.fengshui-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   5. Tomb Models & Pricing (Filter Bar)
   ========================================================================== */
.tomb-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tomb-tab-btn {
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(16, 59, 47, 0.15);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tomb-tab-btn:hover, .tomb-tab-btn.active {
  background: var(--primary-deep);
  color: #FFFFFF;
  border-color: var(--primary-deep);
  box-shadow: var(--shadow-md);
}

.tomb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.tomb-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 59, 47, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tomb-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.tomb-img-holder {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tomb-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tomb-price-tag {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(10, 38, 30, 0.92);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--gold-primary);
}

.tomb-price-tag strong {
  font-size: 1.15rem;
  color: var(--gold-primary);
}

.tomb-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tomb-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.tomb-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.tomb-tag {
  background: rgba(25, 82, 67, 0.08);
  color: var(--primary-medium);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.tomb-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  flex: 1;
}

.tomb-features li {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tomb-features li::before {
  content: '✓';
  color: var(--gold-dark);
  font-weight: bold;
}

/* ==========================================================================
   6. Free Shuttle Bus Reservation Card Section
   ========================================================================== */
.reservation-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-primary);
}

.reservation-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.reservation-content h3 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.reservation-content h3 span {
  color: var(--gold-primary);
}

.reservation-content p {
  color: #D3E0DC;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.reservation-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #E2EBE8;
}

.perk-icon {
  width: 24px;
  height: 24px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Inline Booking Form */
.booking-form-card {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.booking-form-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  text-align: center;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #E1E6E4;
  border-radius: var(--radius-sm);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  transition: var(--transition);
  background: var(--bg-silk);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-medium);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(25, 82, 67, 0.12);
}

/* ==========================================================================
   7. Honor Services & 5-Step Process
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 59, 47, 0.06);
  transition: var(--transition);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 5-Step Purchase Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.process-step {
  background: var(--bg-card);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold-primary);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary-deep);
  color: var(--gold-primary);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem auto;
  font-size: 0.9rem;
}

.process-step h5 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. Photo Gallery & Lightbox Modal
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 38, 30, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption h4 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: #D3E0DC;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

/* ==========================================================================
   9. Route & FAQ Section
   ========================================================================== */
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.route-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 59, 47, 0.08);
}

.route-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.route-item:last-child {
  margin-bottom: 0;
}

.route-icon {
  width: 40px;
  height: 40px;
  background: rgba(25, 82, 67, 0.1);
  color: var(--primary-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.route-detail h4 {
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.route-detail p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  border: 1px solid rgba(16, 59, 47, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-answer {
  padding: 0 1.5rem 1.2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* ==========================================================================
   10. Footer & Mobile Bottom Action Bar
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #A0B2AC;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  color: #6C7D78;
  font-size: 0.82rem;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 38, 30, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.6rem 0.8rem;
  border-top: 1.5px solid var(--gold-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.mobile-bottom-inner {
  display: flex;
  gap: 0.6rem;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-bottom-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 99999;
  background: var(--primary-dark);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  width: 90%;
  max-width: 420px;
  text-align: center;
  font-size: 0.9rem;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   11. Comprehensive Responsive Breakpoints (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid, .reservation-grid, .route-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tomb-grid, .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Hide desktop top bar */
  .top-notice-bar {
    display: none;
  }
  
  /* Compact mobile header */
  .header-inner {
    height: 66px;
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .logo-text h1 {
    font-size: 1.15rem;
  }
  .logo-text p {
    font-size: 0.65rem;
  }
  
  .header-cta .btn {
    display: none; /* Hidden on header, available in mobile menu & bottom bar */
  }
  .mobile-header-call {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Fullscreen mobile navigation overlay */
  .nav-menu {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-deep);
    gap: 0;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

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

  .nav-menu li {
    border-bottom: 1px solid rgba(16, 59, 47, 0.08);
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    color: var(--primary-dark);
  }
  .nav-link::after {
    display: none;
  }

  /* Hero Mobile Adaptations */
  .hero-section {
    padding: 2.5rem 0 3rem 0;
    min-height: auto;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1.2rem 0.8rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
  }
  .stat-item:nth-child(3), .stat-item:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Section Padding */
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* About & Fengshui Mobile */
  .about-image-wrapper img {
    height: 240px;
  }

  .fengshui-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Tomb Category Filter Bar - Horizontal Swipeable Pill Strip */
  .tomb-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0.2rem 0.8rem 0.2rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none; /* Firefox */
  }

  .tomb-filter-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .tomb-tab-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .tomb-grid, .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tomb-img-holder {
    height: 200px;
  }

  /* Free Shuttle Reservation Card */
  .reservation-banner {
    padding: 1.6rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .reservation-perks {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .booking-form-card {
    padding: 1.2rem 1rem;
  }

  /* 5-Step Process List */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1.1rem;
    border-top: none;
    border-left: 4px solid var(--gold-primary);
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
  }

  /* Photo Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .gallery-item {
    height: 160px;
  }

  .gallery-overlay {
    opacity: 1; /* Always show caption on mobile touch screens */
    background: linear-gradient(0deg, rgba(10, 38, 30, 0.9) 0%, transparent 85%);
    padding: 0.8rem;
  }

  .gallery-caption h4 {
    font-size: 0.9rem;
  }

  .gallery-caption p {
    font-size: 0.72rem;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  /* Mobile Sticky Bottom Bar */
  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-title span {
    font-size: 1.45rem;
  }
}
