/* ============================================================
   Tanzania Track & Trail — Main Stylesheet
   ============================================================ */

/* ── 1. CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #02312d;
  --primary-dark: #011e1b;
  --primary-light: #034a44;
  --secondary: #a1cc3a;
  --secondary-light: #b8db5c;
  --accent: #f15a24;
  --accent-light: #f47a4e;
  --text: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --bg-warm: #f7f5f0;
  --card-bg: rgba(255,255,255,0.85);
  --card-border: rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px -8px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --font: 'Funnel Display', sans-serif;
  --font-hand: 'Caveat', cursive;
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-gentle: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── 3. Base Styles ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

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

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

img[loading="lazy"] { opacity: 0; transition: opacity 0.5s var(--ease-gentle); }
img[loading="lazy"].loaded,
img[loading="lazy"][complete] { opacity: 1; }

a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease-gentle); }
a:hover { color: var(--accent); }

ul { list-style: none; }

p { font-size: 1rem; }

/* ── 4. Container ─────────────────────────────────────────── */
.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 5. Section ───────────────────────────────────────────── */
.section { padding: 100px 0; }

.section-footer {
  text-align: center;
  margin-top: 48px;
}

/* ── 6. Scroll Reveal ─────────────────────────────────────── */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: all 0.8s var(--ease-out);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }

.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── 7. Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-header h2 .highlight {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-watermark {
  font-family: var(--font-hand);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: rgba(2,49,45,0.04);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  gap: 0.5em;
  overflow: hidden;
  width: 100%;
  z-index: 0;
}

.section-watermark span {
  animation: watermarkScroll 24s linear infinite;
  flex-shrink: 0;
}

.section-watermark.section-bg-dark span {
  color: rgba(255,255,255,0.04);
}

@keyframes watermarkScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 8. Noise Overlay ─────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── 9. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--ease-gentle);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-gentle);
  z-index: -1;
}

.btn:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(241,90,36,0.3);
}
.btn-accent:hover {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 0 6px 28px rgba(241,90,36,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--bg-warm); color: var(--primary); }

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── 10. Navigation ───────────────────────────────────────── */
/* ── 10a. Top Bar ──────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--primary-dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease-gentle);
}
body.topbar-hidden .topbar {
  transform: translateY(-100%);
}
body.topbar-hidden .main-nav {
  top: 0;
}
body.topbar-hidden .page-hero {
  padding-top: 140px;
}

.main-nav {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background 0.4s var(--ease-gentle), padding 0.3s var(--ease-gentle), box-shadow 0.4s var(--ease-gentle);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 10px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-logo-light { width: 180px; height: auto; object-fit: contain; display: block; }
.nav-logo-dark { width: 180px; height: auto; object-fit: contain; display: none; }
.main-nav.scrolled .nav-logo-light { display: none; }
.main-nav.scrolled .nav-logo-dark { display: block; }

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

.nav-links li { position: relative; }

.nav-links a {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.3s var(--ease-gentle);
  border-radius: var(--radius);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-gentle);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a:hover { color: #fff; }
.main-nav.scrolled .nav-links a:hover { color: var(--primary); }

.nav-links a.active { color: #fff; }
.main-nav.scrolled .nav-links a.active { color: var(--primary); }

.nav-cta a {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 2px 12px rgba(241,90,36,0.25);
}
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--accent-light) !important; }

/* ── 11. Mobile Toggle ────────────────────────────────────── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.35s var(--ease-gentle);
}

.main-nav.scrolled .mobile-toggle span { background: var(--text); }

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.4s var(--ease-gentle);
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ── 12. Hero Section ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg.active { opacity: 1; }
.hero-bg-2, .hero-bg-3 { opacity: 0; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(2,49,45,0.65) 0%, rgba(1,30,27,0.5) 50%, rgba(2,49,45,0.7) 100%);
  pointer-events: none;
}

.hero-gradient { display: none; }
.hero-pattern { display: none; }
.hero-ambient { display: none; }

.hero-handtext {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-handtext span {
  position: absolute;
  font-family: var(--font-hand);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  animation: handDrift 20s linear infinite;
}

.hero-handtext .ht1 { top: 8%; left: -10%; animation-delay: 0s; font-size: 4rem; }
.hero-handtext .ht2 { top: 22%; left: 20%; animation-delay: -4s; font-size: 2.5rem; }
.hero-handtext .ht3 { bottom: 18%; right: -5%; animation-delay: -8s; font-size: 3.5rem; }
.hero-handtext .ht4 { bottom: 30%; left: 40%; animation-delay: -12s; font-size: 2rem; }
.hero-handtext .ht5 { bottom: 8%; left: 10%; animation-delay: -16s; font-size: 2.8rem; }

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: badgeSlide 0.8s 0.4s var(--ease-out) both;
}

.hero-badge-logo { width: 18px; height: 18px; opacity: 0.8; }

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  animation: heroTitle 1s 0.6s var(--ease-out) both;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-squiggle {
  display: inline-block;
  width: 120px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='18' viewBox='0 0 120 18'%3E%3Cpath d='M2,10 Q15,0 30,8 T60,8 T90,10 T118,6' fill='none' stroke='%23a1cc3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-squiggle.center { display: block; margin: 8px auto 16px; }

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: heroFadeIn 0.8s 0.8s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeIn 0.8s 1s var(--ease-out) both;
}

/* ── 13. Hero Marquee ─────────────────────────────────────── */
.hero-marquee-wrap {
  position: relative; margin-top: 0; padding: 18px 0 6px; width: 100%; align-self: stretch; flex-shrink: 0;
  background: #fff;
  clip-path: polygon(
    0% 0%, 3% 2%, 7% 0%, 12% 3%, 16% 0%, 20% 2%, 25% 0%, 29% 3%, 34% 0%, 38% 2%, 42% 0%, 47% 3%, 51% 0%, 55% 2%, 60% 0%, 64% 3%, 69% 0%, 73% 2%, 77% 0%, 82% 3%, 86% 0%, 90% 2%, 95% 0%, 100% 0%,
    100% 97%, 95% 100%, 91% 98%, 86% 100%, 82% 98%, 77% 100%, 73% 98%, 68% 100%, 64% 98%, 59% 100%, 55% 98%, 50% 100%, 46% 98%, 41% 100%, 37% 98%, 32% 100%, 28% 98%, 23% 100%, 19% 98%, 14% 100%, 10% 98%, 5% 100%, 2% 98%, 0% 100%
  );
  animation: heroTitle 0.8s var(--ease-out) 1s both;
}
.hero-marquee-wrap::before,
.hero-marquee-wrap::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 3px; background: var(--secondary); opacity: 0.5;
}
.hero-marquee-wrap::before { top: 0; }
.hero-marquee-wrap::after { bottom: 0; }

.hero-marquee {
  overflow: hidden;
}

.hero-marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marqueeScroll 18s linear infinite;
}

.hero-marquee-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 32px; margin: 0 4px;
  border-right: 1px solid rgba(2,49,45,0.1);
  white-space: nowrap; flex-shrink: 0;
}

.hm-logo { width: 22px; height: 22px; object-fit: contain; opacity: 0.6; flex-shrink: 0; }

.hero-marquee-item .hm-num {
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em; line-height: 1;
}

.hero-marquee-item .hm-label {
  font-size: 0.78rem; color: rgba(2,49,45,0.55);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

.hero-marquee-tape {
  display: flex; width: max-content; gap: 0;
  animation: marqueeScroll 12s linear infinite;
  padding: 5px 0; margin-top: 0;
  background: repeating-linear-gradient(90deg, transparent 0px, transparent 30px, rgba(2,49,45,0.04) 30px, rgba(2,49,45,0.04) 32px);
}

.hero-marquee-tape span {
  font-family: var(--font-hand); font-size: 0.65rem;
  color: rgba(2,49,45,0.35); letter-spacing: 4px;
  text-transform: lowercase; white-space: nowrap;
  padding: 0 40px; flex-shrink: 0; position: relative;
}
.hero-marquee-tape span::before {
  content: '◆'; position: absolute; left: 12px;
  font-size: 0.35rem; color: rgba(2,49,45,0.25);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── 14. Hero Offer Badge ─────────────────────────────────── */
.hero-offer {
  position: absolute;
  bottom: 120px;
  right: 24px;
  z-index: 5;
  animation: offerFadeIn 0.8s 1.4s var(--ease-out) both;
  max-width: 280px;
}

.hero-offer.hidden { display: none; }

.hero-offer-tag {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border-left: 4px solid var(--accent);
}

.hero-offer-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background 0.2s;
}
.hero-offer-close:hover { background: var(--accent); }

.hero-offer-ribbon {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-offer-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hero-offer-label i { margin-right: 4px; }

.hero-offer-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-offer-detail {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2px;
}
.hero-offer-detail i { margin-right: 4px; color: var(--accent); }

.hero-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}
.hero-offer-link:hover { color: var(--primary); }
.hero-offer-link i { font-size: 0.75rem; }

/* ── 15. Page Heroes ──────────────────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: 184px 0 80px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.page-hero-watermark span {
  font-family: var(--font-hand);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  color: rgba(255,255,255,0.035);
  white-space: nowrap;
  position: absolute;
  animation: watermarkScroll 30s linear infinite;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-hero h1 span { color: var(--secondary); }

.page-hero .subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 480px;
}

/* About Hero */
.about-hero { background: var(--primary-dark); }
.about-hero-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.about-hero-letter {
  font-size: 16rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  flex-shrink: 0;
  font-family: var(--font);
  letter-spacing: -0.08em;
}

.about-hero-content { flex: 1; }

.about-hero-content .label {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-hero-years {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.year-badge i { color: var(--secondary); }
.year-badge strong { color: #fff; font-size: 1rem; }

/* Tours Hero */
.tours-hero { background: var(--primary-dark); }
.tours-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.tours-hero-text { flex: 1; }

.tours-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 360px;
}

.tours-hero-tags span {
  padding: 8px 18px;
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.tours-hero-tags span:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--secondary);
}

/* Events Hero */
.events-hero { background: var(--primary); }
.events-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.events-hero-calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.cal-block {
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  animation: calPop 0.5s var(--ease-spring) both;
  animation-delay: calc(0.1s * var(--i, 1));
}

.cal-block .day {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.cal-block .dow {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.cal-block.highlight {
  border-color: var(--secondary);
  background: rgba(161,204,58,0.1);
}
.cal-block.highlight .day { color: var(--secondary); }

@keyframes calPop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Gallery Hero */
.gallery-hero {
  background: var(--primary-dark);
  text-align: center;
}
.gallery-hero-layout {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.gallery-hero-frames {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.frame {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.1);
}
.frame.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Blog Hero */
.blog-hero {
  background: var(--primary);
  text-align: center;
}
.blog-hero-layout {
  position: relative;
  z-index: 1;
}
.blog-hero-quote {
  font-size: 8rem;
  line-height: 0.8;
  font-weight: 400;
  color: rgba(255,255,255,0.06);
  margin-bottom: -16px;
  font-family: Georgia, serif;
}

/* Contact Hero */
.contact-hero { background: var(--primary-dark); }
.contact-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.contact-hero-map-pin i {
  font-size: 4rem;
  color: var(--accent);
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Booking Hero */
.booking-hero {
  background: var(--primary-dark);
  text-align: center;
}
.booking-hero-layout {
  position: relative;
  z-index: 1;
}

.booking-hero-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.3s;
}

.step.active { color: #fff; }
.step.active .num {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

.step-arrow { color: rgba(255,255,255,0.2); font-size: 0.8rem; }

/* ── 16. About Page ───────────────────────────────────────── */
/* Story Section */
.about-story { background: #fff; }
.about-story-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-image { position: relative; }

.about-story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-story-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-story-text { position: relative; }

.about-story-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-story-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-story-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.about-story-avatar i {
  font-size: 2.6rem;
  color: var(--primary);
  opacity: 0.5;
}

.about-story-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.about-story-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Pull-quote style (for about story) */
.pull-quote {
  padding: 24px 0 24px 24px;
  border-left: 4px solid var(--secondary);
  margin: 32px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.6;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: normal;
}

/* Mission/Vision */
.about-philosophy { background: var(--bg-warm); }
.about-phil-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-phil-item { text-align: center; }

.about-phil-num {
  font-family: var(--font-hand);
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.about-phil-item h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-phil-item p {
  color: var(--text-light);
  line-height: 1.7;
}

.about-phil-divider {
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--secondary), transparent);
}

/* Quality Cards */
.about-qualities { background: #fff; }
.about-qualities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.impact-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.impact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.impact-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out);
}
.impact-card:hover .impact-card-image {
  transform: scale(1.1);
}
.impact-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,49,45,0.1) 0%, rgba(2,49,45,0.88) 60%, rgba(1,30,27,0.95) 100%);
  z-index: 1;
  transition: opacity 0.5s var(--ease-gentle);
}
.impact-card:hover .impact-card-overlay {
  opacity: 0.92;
}
.impact-card-body {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  color: #fff;
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out);
}
.impact-card-icon {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 12px;
  transition: transform 0.4s var(--ease-spring);
}
.impact-card:hover .impact-card-icon {
  transform: scale(1.2) rotate(-8deg);
}
.impact-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.impact-card-divider {
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  margin-bottom: 12px;
  transition: width 0.5s var(--ease-out);
}
.impact-card:hover .impact-card-divider {
  width: 64px;
}
.impact-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
}

.about-quality {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.4s var(--ease-gentle);
  overflow: hidden;
}

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

.about-quality::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.about-quality[data-num="01"]::before { background: linear-gradient(135deg, var(--secondary), transparent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.about-quality[data-num="02"]::before { background: linear-gradient(135deg, var(--accent), transparent); clip-path: polygon(0 0, 100% 0, 100% 20%, 0 60%); }
.about-quality[data-num="03"]::before { background: linear-gradient(135deg, var(--primary), transparent); clip-path: polygon(100% 0, 100% 100%, 0 100%, 60% 80%, 100% 40%); }
.about-quality[data-num="04"]::before { background: linear-gradient(135deg, var(--secondary), transparent); clip-path: polygon(0 80%, 100% 40%, 100% 100%, 0 100%); }
.about-quality[data-num="05"]::before { background: linear-gradient(135deg, var(--accent), transparent); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%, 0 40%); }
.about-quality[data-num="06"]::before { background: linear-gradient(135deg, var(--primary), transparent); clip-path: polygon(0 0, 100% 20%, 100% 60%, 40% 100%, 0 100%); }

.about-quality-num {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--primary);
  opacity: 0.15;
  position: relative;
  z-index: 1;
}

.about-quality-icon {
  font-size: 2rem;
  margin: 12px 0;
  position: relative;
  z-index: 1;
}
.about-quality[data-num="01"] .about-quality-icon i { color: var(--secondary); }
.about-quality[data-num="02"] .about-quality-icon i { color: var(--accent); }
.about-quality[data-num="03"] .about-quality-icon i { color: var(--primary); }
.about-quality[data-num="04"] .about-quality-icon i { color: var(--secondary-light); }
.about-quality[data-num="05"] .about-quality-icon i { color: var(--accent-light); }
.about-quality[data-num="06"] .about-quality-icon i { color: var(--primary-light); }

.about-quality h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.about-quality p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── 17. Intro / Welcome Section ──────────────────────────── */
.intro-section {
  background: linear-gradient(135deg, #f7faf8 0%, #eef5f0 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.intro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(161,204,58,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(2,49,45,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.intro-carousel-wrap {
  display: flex; align-items: center; gap: 48px;
  position: relative; z-index: 1;
}
.intro-carousel {
  flex: 0 0 38%; position: relative; min-height: 400px;
  background: transparent; box-shadow: none;
}
.intro-carousel-track {
  position: relative; width: 100%; height: 100%; min-height: 400px;
}
.intro-carousel-slide {
  position: absolute; transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 50px -12px rgba(2,49,45,0.25);
  overflow: hidden; background: var(--primary-dark);
}
.intro-carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.intro-carousel-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,49,45,0.15), transparent 50%);
  pointer-events: none;
}

/* Slide 1: Circle */
.intro-carousel-slide:nth-child(1) {
  width: 300px; height: 300px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1);
  z-index: 10; opacity: 1;
  clip-path: none;
}
.intro-carousel-slide:nth-child(1) img { border-radius: 50%; }

/* Slide 2: Instagram Story */
.intro-carousel-slide:nth-child(2) {
  width: 160px; height: 300px; border-radius: 16px;
  top: 30px; right: -10px; transform: rotate(6deg) scale(0.85);
  z-index: 4; opacity: 0.4;
}
.intro-carousel-slide:nth-child(2) img { border-radius: 16px; }

/* Slide 3: Unique shape */
.intro-carousel-slide:nth-child(3) {
  width: 200px; height: 180px;
  top: auto; bottom: 10px; left: -5px; transform: rotate(-5deg) scale(0.85);
  z-index: 5; opacity: 0.4;
  clip-path: polygon(15% 0%, 85% 0%, 100% 20%, 95% 80%, 80% 100%, 20% 100%, 5% 80%, 0% 20%);
}

/* Slide 4: Facebook Post */
.intro-carousel-slide:nth-child(4) {
  width: 220px; height: 130px; border-radius: 10px;
  top: 15px; left: 20px; transform: rotate(-3deg) scale(0.8);
  z-index: 3; opacity: 0.3;
}
.intro-carousel-slide:nth-child(4) img { border-radius: 10px; }

/* Active state */
.intro-carousel-slide.active {
  z-index: 10; opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg);
  box-shadow: 0 30px 70px -16px rgba(2,49,45,0.35);
}
.intro-carousel-slide.active:nth-child(1) {
  top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1);
}
.intro-carousel-slide.active:nth-child(2) {
  top: 50%; left: 50%; width: 180px; height: 340px; border-radius: 20px;
  transform: translate(-50%, -50%) scale(1);
}
.intro-carousel-slide.active:nth-child(3) {
  top: 50%; left: 50%; width: 260px; height: 240px;
  transform: translate(-50%, -50%) scale(1);
}
.intro-carousel-slide.active:nth-child(4) {
  top: 50%; left: 50%; width: 320px; height: 180px;
  transform: translate(-50%, -50%) scale(1);
}

/* Controls */
.intro-carousel-controls {
  position: absolute; bottom: -32px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 20; background: none; padding: 0;
}
.intro-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(2,49,45,0.3);
  background: transparent; cursor: pointer; transition: all 0.3s var(--ease-spring);
  padding: 0;
}
.intro-dot.active { background: var(--primary); border-color: var(--primary); transform: scale(1.3); }
.intro-dot:hover { border-color: var(--primary); }

.intro-text {
  flex: 1;
  padding: 24px 0;
}

.intro-text h2 {
  font-size: 2.8rem; color: var(--primary); margin-bottom: 8px;
  letter-spacing: -0.03em; line-height: 1.1;
  position: relative;
  display: inline-block;
}
.intro-text h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.intro-text .highlight {
  background: linear-gradient(135deg, var(--secondary), #b8db5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-text p {
  color: var(--text-light);
  margin: 24px 0 32px;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 540px;
}

.intro-text .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.intro-text .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ── 18. Services Section ─────────────────────────────────── */
.services-section { background: var(--bg-warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.services-scroll-wrap {
  overflow: hidden;
  width: 100%;
}
.services-scroll-desktop {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: servicesMarquee 45s linear infinite;
}
.services-scroll-desktop:hover {
  animation-play-state: paused;
}
.services-scroll-desktop .service-card {
  flex-shrink: 0;
  width: 240px;
}
.services-grid-mobile {
  display: none;
}
@keyframes servicesMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease-gentle);
  position: relative;
  overflow: hidden;
}

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

.service-number {
  font-family: var(--font-hand);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.4s var(--ease-spring);
}

.service-card:hover .service-icon-wrap {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: scale(1.1) rotate(8deg);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ── 19. Tours Section ────────────────────────────────────── */
.category-section { margin-bottom: 56px; }

.category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tours-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.tours-flex .tour-card {
  width: 320px;
  max-width: 100%;
}

.tour-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease-gentle);
}

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

.tour-card-image {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.tour-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-gentle);
}

.tour-card:hover .tour-card-image img { transform: scale(1.08); }

.tour-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
}

.tour-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-body h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tour-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tour-meta i { color: var(--primary); margin-right: 4px; }

/* Featured Tour Split Cards */
.tours-split-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tour-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease-gentle);
}

.tour-split-card.reverse { direction: rtl; }
.tour-split-card.reverse .tour-split-body { direction: ltr; }

.tour-split-card:hover { box-shadow: var(--shadow-lg); }

.tour-split-image { overflow: hidden; }

.tour-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-gentle);
}

.tour-split-card:hover .tour-split-image img { transform: scale(1.05); }

.tour-split-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tour-split-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(161,204,58,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  width: fit-content;
}

.tour-split-body h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.tour-split-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tour-split-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tour-split-meta i { color: var(--primary); margin-right: 6px; }

/* Tour Detail Page */
.tour-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tour-detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.tour-detail-content h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.tour-detail-meta { margin-bottom: 20px; }

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.meta-item i { color: var(--primary); width: 20px; }
.meta-item strong { font-weight: 600; }

.tour-detail-description p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ── 20. Events Section ───────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.events-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.events-flex .event-card {
  width: 380px;
  max-width: 100%;
}

.event-card {
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-gentle);
  border-left: 4px solid var(--border);
}

.event-card:hover { box-shadow: var(--shadow-lg); }

.event-card.upcoming { border-left-color: var(--accent); }
.event-card.community { border-left-color: var(--secondary); }
.event-card.competition { border-left-color: #d63384; }

.event-date-block {
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}

.event-date-day {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.event-date-month {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.event-date-year {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.event-body { flex: 1; }

.event-body h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.event-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.event-location i { color: var(--accent); }

.event-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 21. Gallery Section ──────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s var(--ease-gentle);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.masonry-gallery {
  columns: 3;
  column-gap: 16px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: masonryItemIn 0.6s var(--ease-out) both;
  animation-delay: calc(0.05s * var(--data-index, 0));
}

.masonry-item a {
  display: block;
  position: relative;
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-gentle);
}

.masonry-item:hover img { transform: scale(1.06); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,49,45,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-gentle);
}

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

.masonry-zoom {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transform: scale(0.8);
  transition: transform 0.3s var(--ease-spring);
}

.masonry-item:hover .masonry-zoom { transform: scale(1); }

.masonry-item.hidden { display: none; }

/* Full-width sections (edge-to-edge) */
.full-width-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.full-width-section .container {
  max-width: none;
  padding: 0 24px;
}
.full-width-inner {
  padding: 0 24px;
}

/* Filter bar (tours & events) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-bar .filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-bar .filter-btn:hover { background: rgba(2,49,45,0.06); }
.filter-bar .filter-btn.active { background: var(--primary); color: #fff; }

/* Gallery Showcase (home page) — W3Schools slideshow style */
.showcase-wrap {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}
.showcase-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--primary-dark);
}
.showcase-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.showcase-featured img.active {
  display: block;
}
.showcase-prev, .showcase-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  padding: 12px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
  transition: background 0.3s;
  user-select: none;
}
.showcase-prev:hover, .showcase-next:hover { background: rgba(0,0,0,0.8); }
.showcase-prev { left: 12px; }
.showcase-next { right: 12px; }
.showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.9rem;
  text-align: center;
}
.showcase-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.showcase-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.showcase-thumb:hover { opacity: 1; }
.showcase-thumb.active { border-color: var(--secondary); opacity: 1; }
.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 22. Blog Section ─────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease-gentle);
}

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

.blog-card-image {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.blog-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-gentle);
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.image-placeholder {
  height: 200px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.blog-card-body { padding: 22px; }

.blog-category {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(161,204,58,0.12);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-meta i { margin-right: 4px; }

/* Blog Single */
.blog-article { max-width: 760px; margin: 0 auto; }

.blog-featured-image {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-featured-image img { width: 100%; }

.blog-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
}

.blog-content p { margin-bottom: 20px; }
.blog-content h2, .blog-content h3 { color: var(--text); margin: 32px 0 16px; }
.blog-content img { border-radius: var(--radius); margin: 24px 0; }
.blog-content blockquote {
  border-left: 4px solid var(--secondary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-warm);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-navigation { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ── 23. Booking Section ──────────────────────────────────── */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.booking-form-container h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.booking-form .form-group { margin-bottom: 20px; }
.booking-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.88rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group.half { margin-bottom: 0; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: all 0.3s var(--ease-gentle);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(161,204,58,0.15);
}

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* Booking Info Sidebar */
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card ul { display: flex; flex-direction: column; gap: 8px; }

.info-card li {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.info-card li i { color: var(--secondary); margin-top: 3px; }

.info-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

.info-card p a { color: var(--accent); font-weight: 500; }

/* Success Page */
.success-page {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
  animation: successBounce 0.8s var(--ease-spring);
}

.success-page h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.success-page p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.success-contact { margin: 20px 0; font-size: 0.95rem; }

.success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

@keyframes successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── 24. Contact Section ──────────────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-container h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.88rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ── 25. Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer-art {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 6s linear infinite;
}

.footer-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.footer-watermark span {
  font-family: var(--font-hand);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  animation: watermarkScroll 20s linear infinite;
}

.footer-watermark span:nth-child(2) {
  animation-delay: -10s;
  animation-direction: reverse;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  padding: 60px 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-col p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--secondary); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-contact li i {
  color: var(--secondary);
  font-size: 0.9rem;
  width: 18px;
}

.footer-contact li a { color: rgba(255,255,255,0.7); }
.footer-contact li a:hover { color: var(--secondary); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── 26. Floating Contact Widget ──────────────────────────── */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-spring);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.floating-btn.whatsapp { background: #25d366; }
.floating-btn.whatsapp:hover { background: #1da851; }

.floating-btn.phone { background: var(--primary); }
.floating-btn.phone:hover { background: var(--primary-light); }

/* ── 27. Site Loader ──────────────────────────────────────── */
.site-loader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-gentle);
}

.site-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.site-loader.hidden {
  display: none;
}

.loader-content { text-align: center; }

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.8s var(--ease-spring);
}

.loader-logo.animate {
  opacity: 1;
  transform: scale(1);
}

.loader-logo img { width: 64px; height: 64px; object-fit: contain; }

.loader-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── 28. Page Transitions ─────────────────────────────────── */
main { transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }

body.page-in main {
  animation: pageFadeIn 0.5s var(--ease-out) both;
}

body.page-exit main {
  opacity: 0;
  transform: translateY(12px);
}

@keyframes pageFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ── 30. Masonry Gallery — CSS Columns ────────────────────── */
@keyframes masonryItemIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── 31. Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-gentle);
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.lightbox-counter {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.18);
}

/* ── 32. Mobile Navbar ────────────────────────────────────── */
@media (max-width: 1024px) {
  .mobile-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #02312d;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    z-index: 1002;
    transition: right 0.4s var(--ease-gentle);
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  }

  .nav-links.active { right: 0; }

  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease-gentle);
  }

  .nav-links li.show {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.95rem;
    border-radius: var(--radius);
    font-weight: 500;
  }

  .nav-links a::after { display: none; }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
  }

  .nav-cta { margin-top: 8px; }
  .nav-cta a {
    background: var(--accent) !important;
    color: #fff !important;
    text-align: center;
    padding: 14px 16px !important;
    margin-left: 0;
  }
  .nav-cta a:hover { background: var(--accent-light) !important; }

.main-nav.scrolled .mobile-toggle span { background: var(--text); }
}

@media (max-width: 768px) {
  .nav-logo-light, .nav-logo-dark { width: 100px; }
}

/* ── 33. Animations / Keyframes ───────────────────────────── */
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes badgeSlide {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitle {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes handDrift {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 16px); }
}

@keyframes floatC {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes offerFadeIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241,90,36,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(241,90,36,0); }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Extra Utilities ───────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-danger { background: #fbe9e7; color: #c62828; border: 1px solid #ffccbc; }
.alert-danger ul { margin: 6px 0 0 16px; }

/* CTA Section */
.cta-section {
  background: var(--primary);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Post Meta (blog single) */
.post-meta { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.post-meta i { margin-right: 4px; }

/* Cursor glow */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161,204,58,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ── 34. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-scroll-desktop { display: none; }
  .services-grid-mobile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-qualities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-carousel-wrap { flex-direction: column; gap: 40px; }
  .intro-carousel { flex: none; width: 100%; max-width: 480px; min-height: 360px; }
  .intro-carousel-track { min-height: 360px; }
  .intro-text { text-align: center; }
  .intro-text h2 { font-size: 2.2rem; }
  .intro-text h2::after { left: 50%; transform: translateX(-50%); }
  .intro-text p { max-width: none; }
  .masonry-gallery { columns: 2; }
  .booking-wrapper { grid-template-columns: 1fr; }
  .booking-hero-steps { gap: 8px; }
  .tour-detail { grid-template-columns: 1fr; gap: 32px; }
  .showcase-thumb { width: 80px; height: 56px; }
  .about-hero-layout { flex-direction: column; text-align: center; gap: 0; }
  .about-hero-letter { font-size: 8rem; margin-bottom: -16px; }
  .about-hero-years { justify-content: center; }
  .about-phil-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-phil-divider { width: 60px; height: 2px; margin: 0 auto; }
  .tours-hero-layout { flex-direction: column; text-align: center; }
  .tours-hero-tags { justify-content: center; max-width: none; }
  .events-hero-layout { flex-direction: column; text-align: center; }
  .events-hero-calendar { margin: 0 auto; }
  .contact-hero-layout { flex-direction: column; text-align: center; }
  .tour-split-card { grid-template-columns: 1fr; }
  .tour-split-card.reverse { direction: ltr; }
  .tour-split-card .tour-split-image { height: 240px; }
  .tour-split-body { padding: 28px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-mobile { grid-template-columns: 1fr 1fr; }
  .tours-flex .tour-card { width: 280px; }
  .events-flex .event-card { width: 320px; }
  .tours-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-qualities-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .filter-bar .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
  .hero-content h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-handtext span { font-size: 2rem; }
  .hero-offer { bottom: 16px; right: 16px; max-width: 200px; }
  .hero-offer-tag { padding: 10px 14px; }
  .hero-offer-title { font-size: 0.75rem; padding-right: 16px; }
  .hero-offer-label { font-size: 0.5rem; }
  .hero-offer-detail { font-size: 0.65rem; }
  .hero-offer-link { font-size: 0.65rem; }
  .hero-offer-close { width: 20px; height: 20px; font-size: 0.55rem; }
  .about-story-frame { grid-template-columns: 1fr; gap: 32px; }
  .about-story-image-accent { display: none; }
  .masonry-gallery { columns: 2; }
  .page-hero { padding: 164px 0 60px; }
  body.topbar-hidden .page-hero { padding-top: 120px; }
  .page-hero h1 { font-size: 2rem; }
  .intro-carousel { min-height: 380px; flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .intro-carousel-track { min-height: 380px; }
  .intro-carousel-slide:nth-child(1) { width: 200px; height: 200px; }
  .intro-carousel-slide:nth-child(2) { width: 110px; height: 200px; border-radius: 12px; top: 20px; right: 5px; }
  .intro-carousel-slide:nth-child(2) img { border-radius: 12px; }
  .intro-carousel-slide:nth-child(3) { width: 130px; height: 120px; bottom: 10px; left: 0; }
  .intro-carousel-slide:nth-child(4) { width: 140px; height: 80px; border-radius: 8px; top: 10px; left: 10px; }
  .intro-carousel-slide:nth-child(4) img { border-radius: 8px; }
  .intro-carousel-slide.active:nth-child(1) { width: 220px; height: 220px; }
  .intro-carousel-slide.active:nth-child(2) { width: 130px; height: 230px; border-radius: 14px; }
  .intro-carousel-slide.active:nth-child(3) { width: 180px; height: 170px; }
  .intro-carousel-slide.active:nth-child(4) { width: 220px; height: 120px; }
  .intro-text { text-align: center; }
  .intro-text h2 { font-size: 1.8rem; }
  .cal-block { width: 48px; height: 48px; }
  .cal-block .day { font-size: 1rem; }
  .floating-widget { bottom: 16px; right: 16px; }
  .floating-btn { width: 44px; height: 44px; font-size: 1.1rem; }
  .form-row { grid-template-columns: 1fr; }
  .events-hero-calendar { gap: 6px; }
  .post-meta { flex-direction: column; align-items: center; gap: 6px !important; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header { margin-bottom: 32px; }
  .filter-bar { gap: 6px; }
  .filter-bar .filter-btn { padding: 5px 10px; font-size: 0.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-mobile { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .showcase-thumb { width: 64px; height: 48px; }
  .masonry-gallery { columns: 1; }
  .page-hero { padding: 144px 0 48px; }
  body.topbar-hidden .page-hero { padding-top: 100px; }
  .page-hero h1 { font-size: 1.7rem; }
  .hero-content { padding: 100px 16px 80px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-squiggle { width: 80px; }
  .container { padding: 0 16px; }
  .intro-carousel { min-height: 280px; }
  .intro-carousel-track { min-height: 280px; }
  .intro-carousel-slide:nth-child(1) { width: 160px; height: 160px; }
  .intro-carousel-slide:nth-child(2) { width: 70px; height: 130px; border-radius: 10px; top: 10px; right: 5px; }
  .intro-carousel-slide:nth-child(3) { width: 90px; height: 80px; bottom: 5px; left: 0; }
  .intro-carousel-slide:nth-child(4) { width: 100px; height: 55px; border-radius: 6px; top: 5px; left: 5px; }
  .intro-carousel-slide.active:nth-child(1) { width: 180px; height: 180px; }
  .intro-carousel-slide.active:nth-child(2) { width: 90px; height: 160px; border-radius: 12px; }
  .intro-carousel-slide.active:nth-child(3) { width: 130px; height: 120px; }
  .intro-carousel-slide.active:nth-child(4) { width: 160px; height: 90px; }
  .intro-text h2 { font-size: 1.5rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 1.6rem; }
  .booking-hero-steps { gap: 4px; }
  .step { font-size: 0.75rem; }
  .step .num { width: 26px; height: 26px; font-size: 0.72rem; }
  .step-arrow { font-size: 0.6rem; }
  .empty-state { padding: 40px 16px; }
  .tours-flex .tour-card { width: 260px; }
  .tours-flex { gap: 16px; }
  .events-flex .event-card { width: 280px; }
  .events-flex { gap: 16px; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .tour-card-image img { height: 180px; }
  .blog-card-image img { height: 170px; }
  .site-footer .container { padding: 40px 16px 0; }
  .footer-grid { gap: 24px; }
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 0.9rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; }
  .hero-marquee-item { padding: 0 16px; }
  .hero-marquee-item .hm-label { font-size: 0.75rem; }
  .hero-marquee-item .hm-num { font-size: 1rem; }
  .hm-logo { width: 18px; height: 18px; }
}

