/* ========================================
   漢森民俗調理整復中心 v3 - 檀香木治癒風
   ======================================== */

:root {
  /* Sandalwood Palette */
  --sandalwood: #8B5E3C;
  --sandalwood-dark: #5C3D26;
  --sandalwood-deep: #3D2B1F;
  --sandalwood-light: #A67C52;
  --sandalwood-pale: #C9A882;
  --golden: #D4A574;
  --golden-light: #E2C4A0;
  --cream: #FAF6F1;
  --cream-dark: #F0E8DD;
  --warm-white: #FEFCF9;
  --text: #3A2F28;
  --text-light: #7A6E63;
  --text-muted: #A89B8E;
  --line-green: #06C755;
  --star: #E8B94A;

  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', sans-serif;
  --shadow-soft: 0 4px 24px rgba(93, 61, 38, 0.08);
  --shadow-warm: 0 8px 40px rgba(93, 61, 38, 0.12);
  --shadow-glow: 0 0 40px rgba(212, 165, 116, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Floating Particles --- */
.particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--golden-light), transparent 70%);
  opacity: 0; animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 120px 0; position: relative; }

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

.section-tag {
  display: inline-block; font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: 4px;
  color: var(--sandalwood-light); text-transform: uppercase; margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif); font-size: 34px; font-weight: 700;
  color: var(--sandalwood-dark); letter-spacing: 3px; margin-bottom: 20px;
}

.section-divider {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px;
}
.section-divider::before, .section-divider::after {
  content: ''; width: 40px; height: 1px; background: var(--sandalwood-pale);
}
.section-divider span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--golden);
}

.section-desc {
  font-size: 15px; color: var(--text-light); max-width: 480px; margin: 0 auto;
  letter-spacing: 1px;
}

/* --- Placeholders --- */
.image-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #ddd3c6 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--text-muted);
  font-size: 14px; letter-spacing: 1px; border: 1px dashed var(--sandalwood-pale);
  transition: var(--transition);
}

.image-placeholder--cert { min-height: 200px; cursor: pointer; }
.image-placeholder--cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-warm); }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 36px; font-size: 14px; font-weight: 500;
  letter-spacing: 2px; border-radius: 50px; cursor: pointer;
  transition: all var(--transition); border: 1.5px solid transparent; text-align: center;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--sandalwood); color: var(--warm-white); border-color: var(--sandalwood);
}
.btn-primary:hover {
  background: var(--sandalwood-light); border-color: var(--sandalwood-light);
  transform: translateY(-3px); box-shadow: var(--shadow-glow);
}

.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 200%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.2), transparent 60%);
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { transform: translateX(-20%) rotate(0deg); opacity: 0; }
  50% { transform: translateX(20%) rotate(10deg); opacity: 1; }
}

.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.btn-line {
  background: var(--line-green); color: #fff; border-color: var(--line-green);
  padding: 10px 24px; border-radius: 50px; font-size: 13px;
}
.btn-line:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-phone {
  background: var(--sandalwood); color: #fff; border-color: var(--sandalwood);
  padding: 10px 24px; border-radius: 50px; font-size: 13px;
}
.btn-phone:hover { background: var(--sandalwood-light); transform: translateY(-2px); }

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(250, 246, 241, 0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(93, 61, 38, 0.06);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-zh {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--warm-white); letter-spacing: 4px; transition: color var(--transition);
}
.logo-sub {
  font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 2px;
  transition: color var(--transition);
}
.navbar.scrolled .logo-zh { color: var(--sandalwood-dark); }
.navbar.scrolled .logo-sub { color: var(--text-muted); }

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

.nav-link {
  display: block; padding: 8px 14px; font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.85); letter-spacing: 1px;
  border-radius: 50px; transition: all var(--transition);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.navbar.scrolled .nav-link { color: var(--text-light); }
.navbar.scrolled .nav-link:hover { color: var(--sandalwood); background: rgba(139,94,60,0.06); }

.nav-cta {
  background: var(--golden) !important; color: var(--sandalwood-deep) !important;
  font-weight: 500; margin-left: 8px; padding: 8px 20px;
}
.nav-cta:hover { background: var(--golden-light) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--warm-white);
  border-radius: 2px; transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--sandalwood-deep) 0%, var(--sandalwood) 40%, var(--sandalwood-light) 70%, var(--golden) 100%);
}

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,165,116,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(169,124,82,0.2) 0%, transparent 40%);
  animation: heroBreath 8s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; color: var(--cream);
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--golden); display: inline-block;
}

.hero-title {
  font-family: var(--font-serif); color: var(--warm-white); margin-bottom: 24px;
}
.title-line {
  display: block;
}
.title-line:first-child {
  font-size: 64px; font-weight: 700; letter-spacing: 12px; line-height: 1.2;
}
.title-line:last-child {
  font-size: 22px; font-weight: 400; letter-spacing: 6px;
  color: rgba(255,255,255,0.7); margin-top: 8px;
}

.hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,0.65); letter-spacing: 3px;
  margin-bottom: 44px; font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.4); z-index: 2;
}
.hero-scroll span { font-size: 10px; letter-spacing: 3px; }
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--golden), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ========================================
   About
   ======================================== */
.about { background: var(--cream); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}

.image-frame { position: relative; }
.image-frame-deco {
  position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid var(--sandalwood-pale); border-radius: var(--radius);
  z-index: -1; transition: all var(--transition-slow);
}
.image-frame:hover .image-frame-deco { top: -12px; left: -12px; }

.about-lead {
  font-family: var(--font-serif); font-size: 14px; color: var(--golden);
  letter-spacing: 2px; margin-bottom: 12px;
}

.about-text h3 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: var(--sandalwood-dark); margin-bottom: 24px; letter-spacing: 2px; line-height: 1.5;
}
.about-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.9; }

.about-stats {
  display: flex; gap: 40px; margin-top: 36px; padding-top: 36px;
  border-top: 1px solid var(--cream-dark);
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--sandalwood); }
.stat-unit { font-size: 14px; font-weight: 500; color: var(--sandalwood-light); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }

/* ========================================
   Services
   ======================================== */
.services { background: var(--sandalwood-deep); color: var(--cream); padding: 140px 0; }

.services .section-tag { color: var(--golden); }
.services .section-title { color: var(--warm-white); }
.services .section-divider::before,
.services .section-divider::after { background: rgba(255,255,255,0.15); }
.services .section-desc { color: rgba(255,255,255,0.5); }

.wave-top, .wave-bottom { position: absolute; left: 0; right: 0; line-height: 0; z-index: 1; }
.wave-top { top: -1px; color: var(--cream); }
.wave-bottom { bottom: -1px; color: var(--cream); }
.wave-top svg, .wave-bottom svg { width: 100%; height: 60px; }

.services .wave-top { color: var(--cream); }
.services .wave-bottom { color: var(--cream); }
.booking .wave-top { color: var(--cream); }
.booking .wave-bottom { color: var(--cream); }

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}

.service-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(212,165,116,0.3);
  transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.service-card-inner { padding: 40px 32px; }

.service-number {
  font-family: var(--font-serif); font-size: 42px; font-weight: 700;
  color: rgba(212,165,116,0.15); line-height: 1; margin-bottom: 8px;
}

.service-icon-wrap {
  width: 48px; height: 48px; color: var(--golden); margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--warm-white); letter-spacing: 2px; margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px;
}

.service-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.service-price {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--golden);
}

/* ========================================
   Environment
   ======================================== */
.environment { background: var(--cream); }

.env-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.env-item { border-radius: var(--radius); overflow: hidden; }
.env-item--large { grid-row: span 2; }
.env-item--large .image-placeholder { min-height: 100%; }
.env-item .image-placeholder { min-height: 200px; transition: transform 0.6s ease; }
.env-item:hover .image-placeholder { transform: scale(1.03); }

/* ========================================
   Certificates
   ======================================== */
.certificates { background: var(--warm-white); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-label {
  text-align: center; font-size: 13px; color: var(--text-muted);
  margin-top: 12px; letter-spacing: 0.5px;
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(61,43,31,0.9); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; background: none; border: none;
  color: var(--cream); font-size: 40px; cursor: pointer; transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 0.6; }
.lightbox-img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }

/* ========================================
   Reviews
   ======================================== */
.reviews { background: var(--cream); overflow: hidden; }

.reviews-slider { position: relative; }

.reviews-track {
  display: flex; gap: 28px; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.review-card {
  flex: 0 0 calc(33.333% - 19px); background: var(--warm-white);
  border-radius: var(--radius); padding: 40px 32px;
  border: 1px solid var(--cream-dark); transition: all var(--transition);
  position: relative;
}
.review-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-4px); }

.review-quote {
  font-family: var(--font-serif); font-size: 64px; line-height: 1;
  color: var(--golden-light); opacity: 0.4; position: absolute; top: 20px; left: 28px;
}

.review-text {
  font-size: 15px; color: var(--text-light); line-height: 1.9;
  margin-bottom: 20px; margin-top: 20px;
}
.review-stars { color: var(--star); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sandalwood), var(--golden));
  color: var(--warm-white); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; font-family: var(--font-serif);
}
.review-name { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-muted); }

.reviews-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.reviews-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sandalwood-pale);
  background: var(--warm-white); color: var(--sandalwood); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.reviews-btn svg { width: 20px; height: 20px; }
.reviews-btn:hover { background: var(--sandalwood); color: var(--warm-white); border-color: var(--sandalwood); }

/* ========================================
   Booking
   ======================================== */
.booking { background: var(--sandalwood-deep); color: var(--cream); padding: 140px 0; }
.booking .section-tag { color: var(--golden); }
.booking .section-title { color: var(--warm-white); }
.booking .section-divider::before,
.booking .section-divider::after { background: rgba(255,255,255,0.15); }

.booking-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}

.booking-schedule h3, .booking-methods h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--warm-white); margin-bottom: 24px; letter-spacing: 2px;
}

.schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule-table th {
  background: rgba(212,165,116,0.2); color: var(--golden-light);
  padding: 12px 16px; text-align: center; font-weight: 500; letter-spacing: 1px;
}
.schedule-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.schedule-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.schedule-table td {
  padding: 12px 16px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: rgba(255,255,255,0.03); }
.schedule-table td:first-child { font-weight: 500; color: rgba(255,255,255,0.8); }
.schedule-table .closed { color: #E87461; font-weight: 500; }

.method-card {
  display: flex; gap: 20px; padding: 24px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); margin-bottom: 16px; align-items: flex-start;
}
.method-icon { width: 36px; height: 36px; color: var(--golden); flex-shrink: 0; }
.method-info h4 { font-size: 15px; font-weight: 600; color: var(--warm-white); margin-bottom: 4px; }
.method-info p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }

.booking-note {
  margin-top: 20px; padding: 16px 20px;
  background: rgba(212,165,116,0.1); border-radius: var(--radius-sm);
  border-left: 3px solid var(--golden);
}
.booking-note p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ========================================
   Contact
   ======================================== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon { width: 24px; height: 24px; color: var(--golden); flex-shrink: 0; margin-top: 3px; }
.contact-item h4 {
  font-size: 13px; font-weight: 600; color: var(--sandalwood-dark);
  margin-bottom: 4px; letter-spacing: 1px;
}
.contact-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.contact-item a { color: var(--sandalwood); transition: color var(--transition); }
.contact-item a:hover { color: var(--golden); }

.contact-social { display: flex; gap: 10px; margin-top: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sandalwood); color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--golden); transform: translateY(-3px) scale(1.05); }

.contact-map {
  min-height: 420px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-warm);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative; background: var(--sandalwood-deep); color: rgba(255,255,255,0.6);
  padding: 64px 0 28px; overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,43,31,0) 0%, rgba(61,43,31,0.5) 100%);
}

.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  color: var(--warm-white); letter-spacing: 4px; display: block; margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; }

.footer-nav h4, .footer-contact h4 {
  font-size: 13px; font-weight: 600; color: var(--golden-light);
  letter-spacing: 2px; margin-bottom: 16px;
}
.footer-nav a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.5);
  padding: 4px 0; transition: color var(--transition);
}
.footer-nav a:hover { color: var(--golden); }
.footer-contact p { font-size: 13px; line-height: 1.8; }

.footer-bottom { padding-top: 28px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 1px; }

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--sandalwood); color: var(--warm-white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition);
  box-shadow: var(--shadow-warm); z-index: 900;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--golden); transform: translateY(-4px); }

/* ========================================
   Animations
   ======================================== */
.animate-fade-in { animation: fadeIn 1.2s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 1.2s ease forwards; animation-delay: 0.4s; opacity: 0; }

.animate-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .services, .booking { padding: 120px 0; }
  .hero-title .title-line:first-child { font-size: 48px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex: 0 0 calc(50% - 14px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--cream); flex-direction: column; padding: 80px 32px 32px; gap: 0;
    transition: right var(--transition); box-shadow: -4px 0 30px rgba(93,61,38,0.1);
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: var(--text) !important; padding: 12px 0; border-bottom: 1px solid var(--cream-dark); }
  .nav-cta { margin-left: 0; margin-top: 16px; text-align: center; }

  .hero { min-height: 85vh; }
  .hero-title .title-line:first-child { font-size: 36px; letter-spacing: 6px; }
  .hero-title .title-line:last-child { font-size: 16px; }
  .hero-subtitle { font-size: 14px; }
  .hero-scroll { display: none; }

  .section { padding: 64px 0; }
  .services, .booking { padding: 100px 0; }
  .section-title { font-size: 26px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }
  .env-item--large { grid-row: span 1; }

  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .review-card { flex: 0 0 calc(100% - 0px); }

  .booking-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title .title-line:first-child { font-size: 28px; letter-spacing: 4px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; }
  .about-stats { flex-direction: column; gap: 20px; }
  .cert-grid { grid-template-columns: 1fr; }
  .schedule-table { font-size: 13px; }
  .schedule-table th, .schedule-table td { padding: 10px 8px; }
}
