/* ==========================================================================
   WanderLux Travel — style.css
   Premium travel agency design system (light + dark themes)
   ========================================================================== */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
  /* Colors */
  --ocean: #0369a1;
  --ocean-dark: #075985;
  --sky: #38bdf8;
  --turquoise: #14b8a6;
  --navy: #0c2340;
  --orange: #f97316;
  --orange-dark: #ea580c;

  /* Surfaces & text (light theme) */
  --bg: #f6fafd;
  --bg-alt: #eaf3f9;
  --surface: #ffffff;
  --surface-2: #f0f7fb;
  --text: #17293e;
  --text-soft: #4d6379;
  --text-faint: #7d92a6;
  --border: #dbe7f0;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.55);
  --nav-solid: rgba(255, 255, 255, 0.9);
  --hero-text: #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0369a1, #14b8a6);
  --grad-accent: linear-gradient(135deg, #f97316, #fb923c);
  --grad-overlay: linear-gradient(180deg, rgba(7, 22, 48, 0.55), rgba(7, 22, 48, 0.35) 45%, rgba(7, 22, 48, 0.75));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 35, 64, 0.12);
  --shadow-lg: 0 20px 50px rgba(12, 35, 64, 0.18);
  --shadow-glow: 0 8px 30px rgba(3, 105, 161, 0.35);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 5rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Typography */
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

[data-theme="dark"] {
  --bg: #0a1626;
  --bg-alt: #0e1d31;
  --surface: #132741;
  --surface-2: #17304e;
  --text: #e8f1f8;
  --text-soft: #a8bdd0;
  --text-faint: #7b93a9;
  --border: #22405f;
  --glass-bg: rgba(19, 39, 65, 0.72);
  --glass-border: rgba(120, 170, 210, 0.18);
  --nav-solid: rgba(10, 22, 38, 0.92);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--dur) ease, color var(--dur) ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Focus visibility */
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); transition: top 0.25s ease;
}
.skip-link:focus { top: 12px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--grad-accent); z-index: 1600;
  transition: width 0.1s linear;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-full);
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) ease;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 12px 36px rgba(3, 105, 161, 0.45); }

.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35); }

.btn-glass {
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); }

.btn-outline { border: 2px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean); }

.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Ripple effect (span injected by JS) */
.ripple-circle {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.45);
  transform: scale(0); animation: ripple 0.6s ease-out forwards; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- 4. GLASS & CARDS ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* ---------- 5. NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  padding: 18px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled {
  background: var(--nav-solid);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.navbar.scrolled .nav-link, .navbar.scrolled .logo, .navbar.scrolled .theme-toggle, .navbar.scrolled .hamburger { color: var(--text); }

.nav-container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }

.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: #fff; }
.logo-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-glow); }
.logo-text span { color: var(--orange); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 13px; border-radius: var(--r-full);
  color: #fff; font-weight: 500; font-size: 0.92rem;
  position: relative; transition: color 0.25s ease, background 0.25s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 0; height: 2.5px; border-radius: 2px; background: var(--orange);
  transform: translateX(-50%); transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 55%; }
.nav-link:hover { background: rgba(255, 255, 255, 0.08); }
.navbar.scrolled .nav-link:hover { background: var(--surface-2); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--text); font-size: 0.9rem; transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-link:hover { background: var(--surface-2); color: var(--ocean); padding-left: 20px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.navbar.scrolled .theme-toggle { background: var(--surface-2); border-color: var(--border); }
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1400; color: #fff; }
.hamburger span { width: 26px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(7, 22, 48, 0.6);
  backdrop-filter: blur(4px); z-index: 1250;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ---------- 6. HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -12% 0;
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  will-change: transform;
}
.hero-overlay { position: absolute; inset: 0; background: var(--grad-overlay); }
.hero-content { position: relative; z-index: 2; color: var(--hero-text); padding: 140px 0 120px; max-width: 780px; }

.hero-tagline {
  display: inline-block; padding: 8px 18px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: var(--sp-3);
}
.hero-title { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: var(--sp-3); text-shadow: 0 4px 30px rgba(0,0,0,0.35); }
.hero-rotator { display: inline-block; min-height: 1.2em; }
.rotating-text {
  background: linear-gradient(90deg, #fdba74, #f97316, #38bdf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
.rotating-text.out { opacity: 0; transform: translateY(18px); }

.hero-desc { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255, 255, 255, 0.88); max-width: 580px; margin-bottom: var(--sp-4); }
.hero-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }

.hero-stats { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-stat {
  padding: 14px 22px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: floatY 5s ease-in-out infinite;
}
.hero-stat:nth-child(2) { animation-delay: 1s; }
.hero-stat:nth-child(3) { animation-delay: 2s; }
.hero-stat strong { display: block; font-size: 1.4rem; font-family: var(--font-display); }
.hero-stat span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floating { animation: floatY 5s ease-in-out infinite; }

.scroll-down {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.85); z-index: 2; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.wheel { width: 4px; height: 9px; border-radius: 3px; background: #fff; animation: wheel 1.8s ease infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- 7. SEARCH BOX ---------- */
.search-section { position: relative; z-index: 10; margin-top: -70px; padding-bottom: var(--sp-2); }
.search-box {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.7fr 1fr auto;
  gap: var(--sp-2); align-items: end;
  padding: var(--sp-3); border-radius: var(--r-lg);
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-soft); }
.search-field input, .search-field select {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.12); }
.search-btn { padding: 13px 24px; }

/* ---------- 8. SECTIONS ---------- */
.section { padding: var(--sp-6) 0; }
.section-alt { background: var(--bg-alt); transition: background var(--dur) ease; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-5); }
.section-tag {
  display: inline-block; padding: 6px 16px; margin-bottom: 12px;
  border-radius: var(--r-full); background: rgba(3, 105, 161, 0.1);
  color: var(--ocean); font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
[data-theme="dark"] .section-tag { background: rgba(56, 189, 248, 0.12); color: var(--sky); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 12px; }
.section-title em { font-style: italic; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--text-soft); font-size: 1rem; }

/* ---------- 9. FILTER BAR ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: var(--sp-4); }
.filter-btn {
  padding: 9px 22px; border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text-soft); font-weight: 500; font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }
.filter-btn.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

/* ---------- 10. DESTINATION CARDS ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.dest-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); cursor: pointer;
  transform: translateY(0); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dest-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dest-card:hover img { transform: scale(1.12); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 22, 48, 0.9));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-3); color: #fff;
}
.dest-country { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: #fdba74; font-weight: 600; }
.dest-name { font-family: var(--font-display); font-size: 1.5rem; margin: 2px 0 6px; }
.dest-meta { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.dest-rating { color: #fbbf24; }
.dest-explore {
  align-self: flex-start; padding: 9px 20px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 0.83rem; font-weight: 600; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.dest-card:hover .dest-explore, .dest-card:focus-within .dest-explore { opacity: 1; transform: translateY(0); }
.dest-explore:hover { background: var(--orange); border-color: var(--orange); }

.fav-btn {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.fav-btn:hover { transform: scale(1.15); }
.fav-btn.active { background: #ef4444; border-color: #ef4444; animation: heartbeat 0.5s var(--ease); }
@keyframes heartbeat { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- 11. PACKAGE CARDS ---------- */
.package-controls {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: var(--sp-3); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-3);
}
.pkg-filter { display: flex; flex-direction: column; gap: 6px; }
.pkg-filter label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-soft); }
.pkg-filter select {
  padding: 11px 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer;
}
.pkg-filter select:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.12); }
.pkg-count { text-align: center; color: var(--text-soft); font-size: 0.9rem; margin-bottom: var(--sp-3); min-height: 1.5em; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.pkg-card { overflow: hidden; display: flex; flex-direction: column; }
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pkg-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pkg-card:hover .pkg-media img { transform: scale(1.1); }
.pkg-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--grad-accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.pkg-wa {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease);
}
.pkg-wa:hover { transform: scale(1.15) rotate(8deg); }
.pkg-body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.pkg-dest { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--turquoise); margin-bottom: 4px; }
.pkg-title { font-family: var(--font-display); font-size: 1.28rem; margin-bottom: 10px; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 0.8rem; color: var(--text-soft); margin-bottom: 12px; }
.pkg-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pkg-desc { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 14px; flex: 1; }
.pkg-rating { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 14px; }
.stars { color: #fbbf24; letter-spacing: 2px; }
.pkg-reviews { color: var(--text-faint); font-size: 0.8rem; }
.pkg-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pkg-price .old { font-size: 0.82rem; color: var(--text-faint); text-decoration: line-through; display: block; }
.pkg-price .new { font-size: 1.35rem; font-weight: 700; color: var(--ocean); font-family: var(--font-display); }
[data-theme="dark"] .pkg-price .new { color: var(--sky); }
.pkg-price .per { font-size: 0.72rem; color: var(--text-faint); }
.pkg-actions { display: flex; gap: 8px; }

/* ---------- 12. MODALS ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 22, 48, 0.65); backdrop-filter: blur(6px);
  padding: var(--sp-2);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal[hidden] { display: none; }
.modal-dialog {
  background: var(--surface); border-radius: var(--r-lg);
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(36px) scale(0.96); transition: transform 0.4s var(--ease);
}
.modal.open .modal-dialog { transform: translateY(0) scale(1); }
.modal-lg { width: min(860px, 100%); }
.modal-close {
  position: sticky; top: 12px; margin-left: calc(100% - 56px); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), background 0.3s ease;
}
.modal-close:hover { transform: rotate(90deg); background: var(--surface-2); }
.modal-body { padding: 0 var(--sp-4) var(--sp-4); margin-top: -30px; }

/* Tour modal content */
.tm-hero { border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-3); }
.tm-hero img { width: 100%; height: 320px; object-fit: cover; }
.tm-dest { color: var(--turquoise); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.tm-title { font-family: var(--font-display); font-size: 1.8rem; margin: 4px 0 10px; }
.tm-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.88rem; color: var(--text-soft); margin-bottom: var(--sp-3); }
.tm-section { margin-bottom: var(--sp-3); }
.tm-section h4 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text); font-family: var(--font-body); font-weight: 600; }
.tm-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-highlights span { padding: 6px 14px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border); font-size: 0.82rem; }
.tm-itinerary li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.tm-itinerary li:last-child { border-bottom: none; }
.tm-day {
  flex-shrink: 0; width: 58px; height: 34px; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; border-radius: var(--r-sm);
  font-size: 0.72rem; font-weight: 700;
}
.tm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.tm-list li { padding: 6px 0; font-size: 0.88rem; color: var(--text-soft); }
.tm-list .inc::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.tm-list .exc::before { content: "✕ "; color: #ef4444; font-weight: 700; }
.tm-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-dates span { padding: 7px 15px; border-radius: var(--r-sm); background: rgba(3, 105, 161, 0.08); color: var(--ocean); font-size: 0.82rem; font-weight: 500; border: 1px solid rgba(3,105,161,0.2); }
[data-theme="dark"] .tm-dates span { background: rgba(56,189,248,0.1); color: var(--sky); border-color: rgba(56,189,248,0.25); }
.tm-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-3); border-radius: var(--r-md); background: var(--surface-2); margin-top: var(--sp-2);
}
.tm-price strong { font-size: 1.7rem; font-family: var(--font-display); color: var(--ocean); }
[data-theme="dark"] .tm-price strong { color: var(--sky); }
.tm-price span { font-size: 0.8rem; color: var(--text-soft); display: block; }

/* Confirmation modal */
.confirm-body { text-align: center; padding-top: var(--sp-3); }
.confirm-check {
  width: 84px; height: 84px; margin: 0 auto var(--sp-3); border-radius: 50%;
  background: var(--grad-primary); display: grid; place-items: center; color: #fff;
  animation: pop 0.6s var(--ease);
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.confirm-body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.confirm-body > p { color: var(--text-soft); margin-bottom: var(--sp-3); }
.confirm-details { text-align: left; border: 1px dashed var(--border); border-radius: var(--r-md); padding: var(--sp-3); margin-bottom: var(--sp-3); }
.confirm-details li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.9rem; }
.confirm-details li span { color: var(--text-soft); }
.confirm-details li.ref strong { color: var(--orange); font-family: monospace; font-size: 1rem; letter-spacing: 1px; }
.confirm-details li.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }
.confirm-details li.total strong { font-size: 1.15rem; color: var(--ocean); }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 13. BOOKING & FORMS ---------- */
.booking-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--sp-3); align-items: start; }
.booking-form { padding: var(--sp-4); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-2); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-2); }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--text-soft); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-group textarea { resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.12);
}
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #ef4444; }
.error-msg { font-size: 0.76rem; color: #ef4444; min-height: 1em; }

.price-summary { padding: var(--sp-4); border-radius: var(--r-lg); position: sticky; top: 100px; }
.price-summary h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-pkg-name { font-size: 0.85rem; color: var(--text-soft); margin-bottom: var(--sp-3); }
.price-lines li { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.9rem; border-bottom: 1px dashed var(--border); }
.price-lines li span { color: var(--text-soft); }
.price-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-2) 0; margin-top: var(--sp-1); font-size: 1.05rem; font-weight: 600;
}
.price-total strong { font-size: 1.6rem; font-family: var(--font-display); color: var(--ocean); }
[data-theme="dark"] .price-total strong { color: var(--sky); }
.price-note { font-size: 0.78rem; color: var(--text-faint); line-height: 1.8; }

/* ---------- 14. CALCULATOR ---------- */
.calc-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-4); padding: var(--sp-4); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); align-content: start; }
.calc-results { padding: var(--sp-3); border-radius: var(--r-md); }
.calc-results h3 { margin-bottom: var(--sp-2); font-size: 1.25rem; }
.calc-per {
  display: flex; justify-content: space-between; padding: 12px 16px; margin-top: var(--sp-2);
  border-radius: var(--r-sm); background: rgba(249, 115, 22, 0.1); color: var(--orange-dark);
  font-weight: 600; font-size: 0.95rem;
}
[data-theme="dark"] .calc-per { color: #fdba74; }

/* ---------- 15. SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.service-card { padding: var(--sp-4) var(--sp-3); text-align: center; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 72px; height: 72px; margin: 0 auto var(--sp-2); border-radius: 20px;
  display: grid; place-items: center; font-size: 2rem;
  background: var(--surface-2); transition: transform 0.5s var(--ease), background 0.4s ease;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.12); background: var(--grad-primary); }
.service-card h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 0.86rem; color: var(--text-soft); }

/* ---------- 16. ABOUT ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-5); align-items: center; }
.about-images { position: relative; padding-bottom: var(--sp-4); }
.about-img-1 { width: 78%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-img-2 {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border-radius: var(--r-lg); border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
}
.section-alt .about-img-2 { border-color: var(--bg-alt); }
.about-badge {
  position: absolute; top: 18px; right: 6%;
  background: var(--grad-accent); color: #fff; text-align: center;
  padding: 18px 22px; border-radius: var(--r-md); box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
}
.about-badge strong { display: block; font-size: 1.9rem; font-family: var(--font-display); }
.about-badge span { font-size: 0.75rem; line-height: 1.3; display: block; }
.about-text .section-title { margin-bottom: var(--sp-2); }
.about-text p { color: var(--text-soft); margin-bottom: var(--sp-2); }

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); margin-top: var(--sp-3); }
.counter-box { text-align: center; padding: var(--sp-2) 8px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.counter-box strong { display: block; font-size: 1.7rem; font-family: var(--font-display); color: var(--ocean); }
[data-theme="dark"] .counter-box strong { color: var(--sky); }
.counter-box span { font-size: 0.72rem; color: var(--text-soft); }

/* ---------- 17. WHY US ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.why-card {
  display: flex; gap: var(--sp-2); padding: var(--sp-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(20, 184, 166, 0.12); transition: transform 0.5s var(--ease);
}
.why-card:hover .why-icon { transform: rotate(10deg) scale(1.12); }
.why-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 5px; }
.why-card p { font-size: 0.85rem; color: var(--text-soft); }

/* ---------- 18. GALLERY ---------- */
.gallery-grid { columns: 4 240px; column-gap: var(--sp-2); }
.gallery-item {
  position: relative; margin-bottom: var(--sp-2); border-radius: var(--r-md);
  overflow: hidden; cursor: zoom-in; break-inside: avoid;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-2); color: #fff;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 22, 48, 0.85));
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay strong { font-size: 0.95rem; }
.gallery-overlay span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #7dd3fc; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1700;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 12, 26, 0.94); padding: var(--sp-2);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(1000px, 88vw); text-align: center; }
.lightbox-figure img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: lbIn 0.4s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.lightbox-figure figcaption { color: rgba(255,255,255,0.85); margin-top: 14px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2.4rem; line-height: 1;
  transition: transform 0.3s var(--ease);
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}
.lightbox-nav:hover { background: var(--orange); transform: translateY(-50%) scale(1.1); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.9rem; letter-spacing: 2px; }

/* ---------- 19. TESTIMONIALS SLIDER ---------- */
.slider { position: relative; max-width: 820px; margin: 0 auto; padding: 0 60px; }
.slider-track-window { overflow: hidden; }
.slider-track { display: flex; transition: transform 0.55s var(--ease); }
.testimonial {
  flex: 0 0 100%; padding: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-align: center;
}
.testimonial-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--sp-2); border: 4px solid var(--sky); box-shadow: var(--shadow-md);
}
.testimonial .stars { font-size: 1.05rem; margin-bottom: 12px; display: block; }
.testimonial-text { font-size: 1rem; color: var(--text-soft); font-style: italic; max-width: 560px; margin: 0 auto var(--sp-2); }
.testimonial-name { font-weight: 600; font-size: 1.05rem; }
.testimonial-country { font-size: 0.82rem; color: var(--text-faint); }
.testimonial-tour { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: var(--r-full); background: rgba(20, 184, 166, 0.12); color: var(--turquoise); font-size: 0.78rem; font-weight: 600; }

.slider-btn {
  position: absolute; top: 45%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); z-index: 2;
}
.slider-btn:hover { background: var(--grad-primary); color: #fff; transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: var(--sp-3); }
.dot { width: 10px; height: 10px; border-radius: var(--r-full); background: var(--border); transition: all 0.35s var(--ease); }
.dot.active { width: 30px; background: var(--grad-primary); }

/* ---------- 20. BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.1); }
.blog-cat {
  position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: var(--r-full);
  background: rgba(12, 35, 64, 0.7); backdrop-filter: blur(6px); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px;
}
.blog-body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 8px; }
.blog-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; transition: color 0.3s ease; }
.blog-card:hover .blog-title { color: var(--ocean); }
[data-theme="dark"] .blog-card:hover .blog-title { color: var(--sky); }
.blog-excerpt { font-size: 0.87rem; color: var(--text-soft); margin-bottom: 14px; flex: 1; }
.blog-read {
  align-self: flex-start; font-weight: 600; font-size: 0.88rem; color: var(--ocean);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s var(--ease);
}
[data-theme="dark"] .blog-read { color: var(--sky); }
.blog-read:hover { gap: 12px; }

/* Blog modal article */
.article-hero { border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-3); }
.article-hero img { width: 100%; height: 300px; object-fit: cover; }
.article-body h2 { font-size: 1.7rem; margin-bottom: 8px; }
.article-body .blog-meta { margin-bottom: var(--sp-3); }
.article-body h3 { font-size: 1.15rem; margin: var(--sp-3) 0 10px; font-family: var(--font-body); font-weight: 600; }
.article-body p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 14px; }

/* ---------- 21. FAQ ---------- */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.open { border-color: var(--ocean); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  padding: 20px 24px; font-size: 1rem; font-weight: 600; text-align: left; color: var(--text);
}
.faq-icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--ocean); border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after { width: 2.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-answer p { padding: 0 24px 20px; color: var(--text-soft); font-size: 0.92rem; }

/* ---------- 22. NEWSLETTER ---------- */
.newsletter-section { padding: var(--sp-5) 0; }
.newsletter-box {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4); border-radius: var(--r-lg);
  background-image: linear-gradient(120deg, rgba(3, 105, 161, 0.92), rgba(20, 184, 166, 0.88)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1400&q=80");
  background-size: cover; background-position: center; color: #fff; border: none;
}
.newsletter-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.newsletter-text p { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; max-width: 460px; }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 20px; min-width: 270px; border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.15);
  color: #fff; backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.75); }
.newsletter-form input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.2); }

/* ---------- 23. CONTACT ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-3); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-2); }
.contact-card { display: flex; gap: var(--sp-2); padding: var(--sp-3); align-items: flex-start; }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 1.5rem; width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); }
.contact-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.86rem; color: var(--text-soft); }
.contact-card a:hover { color: var(--ocean); }
.contact-form { padding: var(--sp-4); }

/* ---------- 24. FOOTER ---------- */
.footer { background: var(--navy); color: #cddcec; margin-top: var(--sp-4); }
[data-theme="dark"] .footer { background: #071120; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: var(--sp-4); padding: var(--sp-6) 0 var(--sp-4); }
.footer .logo { color: #fff; margin-bottom: var(--sp-2); }
.footer-brand p { font-size: 0.87rem; color: #9fb4ca; margin-bottom: var(--sp-2); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #cddcec;
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--grad-accent); color: #fff; transform: translateY(-4px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-2); font-family: var(--font-body); font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.88rem; color: #9fb4ca; position: relative; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col ul a::before { content: "→ "; opacity: 0; transition: opacity 0.25s ease; position: absolute; left: -18px; }
.footer-col ul a:hover { color: #fff; padding-left: 18px; }
.footer-col ul a:hover::before { opacity: 1; left: 0; }
.footer-contact li { font-size: 0.86rem; color: #9fb4ca; }
.footer-contact a { color: #9fb4ca; }
.footer-contact a:hover { color: #fff; }
.footer-newsletter { display: flex; gap: 8px; margin-top: var(--sp-2); }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: 11px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07); color: #fff;
}
.footer-newsletter input::placeholder { color: #7d92a6; }
.footer-newsletter input:focus { outline: none; border-color: var(--sky); }
.footer-newsletter .btn { padding: 11px 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: var(--sp-2) 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: #7d92a6; }

/* ---------- 25. FLOATING BUTTONS ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 1100;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease infinite;
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.12); animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  55% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 1100;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: all 0.4s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); }

/* ---------- 26. TOASTS ---------- */
.toast-container {
  position: fixed; top: 92px; right: 20px; z-index: 1800;
  display: flex; flex-direction: column; gap: 12px; max-width: min(380px, calc(100vw - 40px));
}
.toast {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 42px 15px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: toastIn 0.45s var(--ease);
}
.toast.closing { animation: toastOut 0.35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px); } }
.toast-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 0.95rem; font-weight: 700;
}
.toast.success .toast-icon { background: #16a34a; }
.toast.error .toast-icon { background: #ef4444; }
.toast.warning .toast-icon { background: #f59e0b; }
.toast.info .toast-icon { background: var(--ocean); }
.toast-msg { font-size: 0.88rem; padding-top: 5px; }
.toast-close { position: absolute; top: 8px; right: 10px; font-size: 1.15rem; color: var(--text-faint); }
.toast-close:hover { color: var(--text); }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; transform-origin: left; }
.toast.success .toast-progress { background: #16a34a; }
.toast.error .toast-progress { background: #ef4444; }
.toast.warning .toast-progress { background: #f59e0b; }
.toast.info .toast-progress { background: var(--ocean); }
@keyframes toastProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- 27. COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1900; width: min(640px, calc(100vw - 32px));
  display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap;
  padding: var(--sp-3); border-radius: var(--r-lg);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  animation: cookieIn 0.6s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner p { flex: 1; min-width: 240px; font-size: 0.86rem; color: var(--text-soft); }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- 28. SCROLL ANIMATIONS ---------- */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.fade-up { transform: translateY(44px); }
.fade-left { transform: translateX(-52px); }
.fade-right { transform: translateX(52px); }
.scale-in { transform: scale(0.86); }
.in-view { opacity: 1; transform: none; }

/* Hero entrance (plays on load) */
.hero .fade-up { animation: heroIn 0.9s var(--ease) forwards; opacity: 0; transform: none; }
.hero .fade-up:nth-child(1) { animation-delay: 0.15s; }
.hero .fade-up:nth-child(2) { animation-delay: 0.3s; }
.hero .fade-up:nth-child(3) { animation-delay: 0.45s; }
.hero .fade-up:nth-child(4) { animation-delay: 0.6s; }
.hero .fade-up:nth-child(5) { animation-delay: 0.75s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 29. PRINT (booking confirmation) ---------- */
@media print {
  body * { visibility: hidden; }
  #printArea, #printArea * { visibility: visible; }
  #printArea { position: absolute; inset: 0; width: 100%; box-shadow: none; max-height: none; }
  .modal-close, .confirm-actions { display: none !important; }
}

/* ---------- 30. RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .search-box { grid-template-columns: repeat(3, 1fr); }
  .search-btn { grid-column: span 3; }
  .package-controls { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .pkg-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-wrap, .calc-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .price-summary { position: static; }
  .about-wrap { grid-template-columns: 1fr; gap: var(--sp-4); }
  .newsletter-box { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
  /* Mobile navigation */
  .hamburger { display: flex; }
  .navbar .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--surface); z-index: 1300;
    padding: 96px var(--sp-3) var(--sp-3); overflow-y: auto;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .navbar .nav-menu.active { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { color: var(--text); width: 100%; padding: 13px 16px; border-radius: var(--r-sm); justify-content: space-between; }
  .nav-link::after { display: none; }
  .nav-link.active { background: var(--surface-2); color: var(--ocean); }
  .nav-link:hover { background: var(--surface-2); }
  .nav-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    max-height: 0; overflow: hidden; padding: 0 0 0 14px; transition: max-height 0.4s var(--ease);
  }
  .nav-dropdown.open .dropdown-menu { max-height: 320px; }
  .btn-nav { display: none; }
  .hamburger.active { color: var(--text); position: relative; }

  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .tm-cols { grid-template-columns: 1fr; }
  .slider { padding: 0 8px; }
  .slider-btn.prev { left: -4px; }
  .slider-btn.next { right: -4px; }
}

@media (max-width: 640px) {
  :root { --sp-6: 3.5rem; --sp-5: 2.4rem; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-field:first-child { grid-column: span 2; }
  .search-btn { grid-column: span 2; }
  .package-controls { grid-template-columns: 1fr 1fr; }
  .pkg-grid, .blog-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
  .hero-stat { padding: 10px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .newsletter-form input { min-width: 0; flex: 1; }
  .newsletter-form { width: 100%; }
  .modal-body { padding: 0 var(--sp-2) var(--sp-3); }
  .tm-hero img { height: 200px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; left: 18px; }
  .back-to-top { width: 46px; height: 46px; bottom: 18px; right: 18px; }
  .scroll-down { display: none; }
}

@media (max-width: 425px) {
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 4 / 4.5; }
  .services-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .search-box { grid-template-columns: 1fr; }
  .search-field:first-child, .search-btn { grid-column: span 1; }
  .package-controls { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .pkg-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .pkg-actions { justify-content: center; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
