@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --emerald: #10b981;
  --teal: #14b8a6;
  --cyan: #38bdf8;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  --hero-background-image: url('https://images.unsplash.com/photo-1576262517149-86507c5d419c?w=1200&auto=format&fit=crop&q=80');
  --contact-background-image: url('https://images.unsplash.com/photo-1646894232861-a0ad84f1ad5d?w=1200&auto=format&fit=crop&q=80');
  --planner-background-image: url('https://plus.unsplash.com/premium_photo-1661832611972-b6ee1aba3581?w=1200&auto=format&fit=crop&q=80');
}

@layer base {
  html { scroll-behavior: smooth; }
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.18), transparent 28%),
                radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.16), transparent 24%),
                radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.14), transparent 30%),
                linear-gradient(135deg, #eef6fb 0%, #f7fbff 45%, #edf7f3 100%);
    color: var(--slate-900);
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
  }
}
.font-serif { font-family: 'Playfair Display', serif; }
.liquid-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.orb-a {
  width: 18rem;
  height: 18rem;
  top: 7rem;
  left: -4rem;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(20,184,166,0.28) 45%, rgba(20,184,166,0) 72%);
}
.orb-b {
  width: 26rem;
  height: 26rem;
  top: 22rem;
  right: -8rem;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.92), rgba(56,189,248,0.24) 45%, rgba(56,189,248,0) 70%);
}
.orb-c {
  width: 20rem;
  height: 20rem;
  bottom: -4rem;
  left: 32%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.88), rgba(16,185,129,0.2) 42%, rgba(16,185,129,0) 72%);
}


.page-view.active { display: block; opacity: 1; transform: translateY(0); }

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.liquid-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.55), rgba(255,255,255,0.18));
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: var(--glass-shadow);
}
.liquid-button {
  background-color: rgba(255, 255, 255, 0.45);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}
.liquid-button:hover {
  background-color: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.2);
}
.floating-actions {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
#planner-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 15.5rem;
  padding: 0.9rem 1rem;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
#planner-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(183,247,222,0.2) 48%, rgba(56,189,248,0.22));
  z-index: -2;
}
#planner-toggle::after {
  content: "";
  position: absolute;
  width: 7rem;
  height: 7rem;
  right: -1.8rem;
  bottom: -3.4rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16,185,129,0.3), rgba(16,185,129,0));
  z-index: -1;
}
.planner-toggle-icon-shell {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(15,23,42,0.94), rgba(15,23,42,0.72));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 14px 24px rgba(15, 23, 42, 0.22);
  flex-shrink: 0;
}
.planner-toggle-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 0;
  flex: 1;
}
.planner-toggle-kicker {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
  white-space: nowrap;
}
.planner-toggle-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.54);
  color: #0f172a;
  flex-shrink: 0;
}
#planner-count-badge {
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: white;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.34);
  border: 1px solid rgba(255,255,255,0.36);
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
#whatsapp-float {
  box-shadow: 0 24px 60px rgba(37, 211, 102, 0.28);
}
#mobile-toggle {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

#mobile-menu {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mobile-nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entry for mobile menu items */
#mobile-menu.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.active .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.active .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }
#mobile-menu.active .mobile-nav-item:nth-child(7) { transition-delay: 0.4s; }
#dest-open-planner-btn,
#planner-send-btn {
  background: linear-gradient(135deg, rgba(16,185,129,0.96), rgba(14,165,233,0.92));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 20px 38px rgba(16, 185, 129, 0.24);
}
#dest-open-planner-btn:hover,
#planner-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(16, 185, 129, 0.28);
}
#planner-clear-btn {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}
.nav-scrolled {
  background: rgba(255, 255, 255, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  padding-block: 0.75rem !important;
}

body.dark-theme .nav-scrolled {
  background: rgba(15, 23, 42, 0.75) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link-premium {
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 4px;
}

.nav-link-premium::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s ease;
  opacity: 0.7;
}

.nav-link-premium:hover::after {
  width: 100%;
}
.hero-bg { 
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.18)),
    radial-gradient(circle at top left, rgba(235, 255, 250, 0.25), transparent 35%),
    var(--hero-background-image); 
  background-size: cover; background-position: center; 
}
.contact-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62)),
    var(--contact-background-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 32px 120px rgba(15, 23, 42, 0.16);
}
.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.8), rgba(255,255,255,0.38));
  pointer-events: none;
}
.contact-shell > * {
  position: relative;
  z-index: 1;
}
#hero-badge {
  letter-spacing: 0.36em;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.16);
}
#hero-title {
  font-size: clamp(4.15rem, 11vw, 8.6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
  max-width: 10.5ch;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
  text-shadow: 0 14px 42px rgba(15, 23, 42, 0.34);
}
#hero-title .italic,
#hero-title .hero-title-accent {
  display: block;
  margin-top: 0.06em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #b7f7de !important;
  text-shadow:
    0 0 28px rgba(16, 185, 129, 0.14),
    0 14px 38px rgba(15, 23, 42, 0.28);
}
#hero-subtitle {
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.75;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 8px 28px rgba(15, 23, 42, 0.2);
}

.nav-theme-control,
.language-select-shell,
#nav-contact-btn {
  text-shadow: 0 1px 16px rgba(15, 23, 42, 0.28);
}
.language-select-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 10.5rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: inherit;
}
.language-select-shell.mobile {
  min-width: 16rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1.5rem;
  color: #0f172a;
}
.language-select-icon,
.language-select-caret {
  color: inherit;
  opacity: 0.78;
  flex-shrink: 0;
  pointer-events: none;
}
.language-select-copy {
  flex: 1;
  min-width: 0;
}
.language-select-input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  width: 100%;
  outline: none;
  cursor: pointer;
  padding: 0;
}
.language-select-shell.mobile .language-select-input {
  font-size: 1rem;
}
.language-select-input option {
  color: #0f172a;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link:hover {
  transform: translateY(-3px);
  background: white;
  color: #0f172a;
  border-color: white;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3);
}
.social-link i {
  width: 1.25rem;
  height: 1.25rem;
}

.admin-only { display: none !important; }
body.is-admin .admin-only { display: flex !important; }
body.is-admin .admin-block { display: block !important; }
.admin-tab {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #475569;
  padding: 0.95rem 1.2rem;
  border-radius: 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.admin-tab:hover,
.admin-tab.active {
  background: linear-gradient(135deg, rgba(16,185,129,0.92), rgba(14,165,233,0.9));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.24);
}
.admin-panel-section { display: none; }
.admin-panel-section.active { display: block; }
.background-preset {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 7rem;
  border: 1px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-size: cover;
  background-position: center;
}
.background-preset::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.08), rgba(15,23,42,0.48));
}
.background-preset:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}
.background-preset span {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  z-index: 1;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.planner-surface {
  overflow: hidden;
  border-radius: 2.5rem 0 0 2.5rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72)),
    var(--planner-background-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 36px 120px rgba(15, 23, 42, 0.24);
}
.planner-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.92));
  pointer-events: none;
}
.planner-surface > * {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  gap: 1.5rem;
}
.grid-wide { grid-column: span 2; }
.grid-tall { grid-row: span 2; }
.filter-chip {
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.4);
  color: #475569;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.filter-chip:hover,
.filter-chip.active {
  background: linear-gradient(135deg, rgba(15,23,42,0.86), rgba(15,23,42,0.7));
  color: white;
  border-color: rgba(15,23,42,0.45);
  transform: translateY(-1px);
}
.toast-enter {
  animation: toast-in 0.25s ease-out;
}
.section-shell {
  position: relative;
  z-index: 1;
}
.metric-card {
  position: relative;
  overflow: hidden;
}
.metric-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
  pointer-events: none;
}
.glow-ring {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 20px 70px rgba(20, 184, 166, 0.14),
    0 20px 70px rgba(56, 189, 248, 0.08);
}
.shine-border {
  position: relative;
}
.shine-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.15), rgba(255,255,255,0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask-composite: exclude;
  mask-composite: exclude;
  pointer-events: none;
}
.float-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.float-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.16);
}
.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 4px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #10b981, #14b8a6, #38bdf8);
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.55);
}
.spotlight-image {
  min-height: 22rem;
}
.testimonial-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.testimonial-dot.active {
  background: linear-gradient(135deg, #10b981, #38bdf8);
  transform: scale(1.15);
}
.review-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.4), rgba(255,255,255,0.12));
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 2rem;
  padding: 1.35rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.review-stars {
  letter-spacing: 0.2em;
  color: #10b981;
}
.faq-item[data-open="true"] .faq-answer {
  display: block;
}
.faq-item[data-open="true"] .faq-plus {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
}
input:not([type="file"]),
textarea,
select {
  background: linear-gradient(135deg, rgba(255,255,255,0.52), rgba(255,255,255,0.22)) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 30px rgba(15, 23, 42, 0.05);
}
input::placeholder,
textarea::placeholder {
  color: #64748b;
}
select option {
  color: #0f172a;
  background: #f8fafc;
}
body.dark-theme {
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.16), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.12), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.12), transparent 24%),
    linear-gradient(145deg, #020617 0%, #071422 45%, #0b1728 100%);
  color: #e5eefc;
}
body.dark-theme .liquid-orb {
  opacity: 0.55;
  mix-blend-mode: lighten;
}
body.dark-theme .glass,
body.dark-theme .liquid-panel,
body.dark-theme .liquid-button {
  background: linear-gradient(145deg, rgba(15,23,42,0.72), rgba(15,23,42,0.38));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
}
body.dark-theme .metric-card::after {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
}
body.dark-theme .shine-border::before {
  background: linear-gradient(135deg, rgba(148,163,184,0.42), rgba(255,255,255,0.08), rgba(45,212,191,0.2));
}
body.dark-theme .nav-scrolled {
  background: rgba(2,6,23,0.7) !important;
  border-bottom: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
}
body.dark-theme #hero-title {
  text-shadow: 0 18px 54px rgba(2, 6, 23, 0.54);
}
body.dark-theme #hero-title .italic,
body.dark-theme #hero-title .hero-title-accent {
  color: #99f6e4 !important;
  text-shadow:
    0 0 32px rgba(45, 212, 191, 0.14),
    0 16px 42px rgba(2, 6, 23, 0.44);
}
body.dark-theme #hero-subtitle {
  color: rgba(226, 232, 240, 0.9) !important;
}
body.dark-theme #mobile-menu {
  background: rgba(2, 6, 23, 0.78);
  color: #f8fafc;
}
body.dark-theme .filter-chip {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}
body.dark-theme .filter-chip:hover,
body.dark-theme .filter-chip.active {
  background: linear-gradient(135deg, rgba(16,185,129,0.82), rgba(14,165,233,0.7));
  border-color: rgba(45, 212, 191, 0.3);
  color: #f8fafc;
}
body.dark-theme input:not([type="file"]),
body.dark-theme textarea,
body.dark-theme select {
  background: linear-gradient(135deg, rgba(15,23,42,0.82), rgba(30,41,59,0.58)) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #f8fafc !important;
  caret-color: #f8fafc;
}
body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
  color: #94a3b8;
}
body.dark-theme select option {
  color: #f8fafc;
  background: #0f172a;
}
body.dark-theme [class*="text-slate-900"],
body.dark-theme [class*="text-slate-800"],
body.dark-theme [class*="text-slate-700"] {
  color: #f8fafc !important;
}
body.dark-theme [class*="text-slate-600"],
body.dark-theme [class*="text-slate-500"],
body.dark-theme [class*="text-gray-500"],
body.dark-theme [class*="text-gray-400"] {
  color: #cbd5e1 !important;
}
body.dark-theme [class*="bg-slate-50"],
body.dark-theme [class*="bg-slate-100"],
body.dark-theme [class*="bg-gray-50"],
body.dark-theme [class*="bg-gray-100"],
body.dark-theme [class*="bg-white/10"] {
  background-color: rgba(15, 23, 42, 0.58) !important;
}
body.dark-theme .review-card {
  background: linear-gradient(145deg, rgba(15,23,42,0.74), rgba(15,23,42,0.38));
  border-color: rgba(148, 163, 184, 0.16);
}
body.dark-theme #planner-panel,
body.dark-theme #page-gallery,
body.dark-theme #page-admin {
  color: #e5eefc;
}
body.dark-theme #close-menu,
body.dark-theme #planner-panel button,
body.dark-theme .nav-theme-control,
body.dark-theme #language-select {
  color: #f8fafc;
}
body.dark-theme #planner-toggle {
  color: #f8fafc;
}
body.dark-theme .admin-tab {
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.22);
}
body.dark-theme .admin-tab:hover,
body.dark-theme .admin-tab.active {
  color: white;
}
body.dark-theme .contact-shell::before {
  background: linear-gradient(120deg, rgba(2,6,23,0.82), rgba(15,23,42,0.52));
}
body.dark-theme .planner-surface::before {
  background: linear-gradient(180deg, rgba(2,6,23,0.84), rgba(15,23,42,0.9));
}
body.dark-theme #planner-toggle::before {
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(20,184,166,0.3), rgba(14,165,233,0.28));
}
body.dark-theme .planner-toggle-kicker {
  color: rgba(226, 232, 240, 0.68);
}
body.dark-theme .planner-toggle-arrow {
  background: rgba(15,23,42,0.56);
  color: #f8fafc;
}
body.dark-theme .planner-toggle-icon-shell {
  background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(15,23,42,0.75));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 24px rgba(2, 6, 23, 0.36);
}
body.dark-theme #mobile-toggle {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(148, 163, 184, 0.18);
}
body.dark-theme #planner-clear-btn {
  background: rgba(15,23,42,0.66);
  border-color: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}
body.dark-theme footer {
  background: #020617;
}
.package-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 42px 100px rgba(15, 23, 42, 0.22);
}
.package-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  background: rgba(255,255,255,0.1);
}
.package-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.6s ease;
}
.package-card:hover .package-image-grid img {
  transform: scale(1.08);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  body {
    overflow-x: clip;
  }
  .orb-a {
    width: 12rem;
    height: 12rem;
    top: 6rem;
    left: -5rem;
  }
  .orb-b {
    width: 15rem;
    height: 15rem;
    top: 20rem;
    right: -5rem;
  }
  .orb-c {
    width: 13rem;
    height: 13rem;
    left: 48%;
    bottom: 1rem;
  }
  #navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #navbar .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #site-logo-nav {
    width: 2.8rem;
    height: 2.8rem;
  }
  .logo-text {
    font-size: 1rem;
    line-height: 1.05;
  }
  #mobile-toggle {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #mobile-menu {
    justify-content: flex-start;
    gap: 0.9rem;
    padding: calc(env(safe-area-inset-top) + 6rem) 1.2rem calc(env(safe-area-inset-bottom) + 1.6rem);
    overflow-y: auto;
  }
  #mobile-menu > button:not(#close-menu),
  #mobile-menu .language-select-shell.mobile {
    width: min(100%, 24rem);
  }
  #mobile-menu > button:not(#close-menu) {
    padding: 1rem 1.15rem;
    border-radius: 1.45rem;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    line-height: 1.2;
  }
  .language-select-shell.mobile {
    min-width: 0;
  }
  #close-menu {
    margin-top: 0.45rem;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  }
  .hero-bg {
    min-height: 100svh;
    align-items: flex-end;
    padding-top: 7.5rem;
    padding-bottom: 5.75rem;
    background-position: center top;
  }
  .hero-bg > div {
    width: 100%;
  }
  #hero-badge {
    margin-bottom: 1rem;
    letter-spacing: 0.28em;
  }
  #hero-title {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
    max-width: 8.5ch;
    margin-bottom: 1rem;
  }
  #hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 22rem;
    margin-bottom: 1.75rem;
  }
  #hero-explore-btn,
  #hero-gallery-btn {
    width: 100%;
    padding: 1rem 1.2rem;
  }
  .section-shell,
  #page-destinations,
  #page-gallery,
  #page-admin,
  #page-contact {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .section-shell {
    padding-bottom: 5rem;
  }
  .section-shell > .max-w-7xl {
    margin-top: -1.75rem;
  }
  #page-destinations,
  #page-packages,
  #page-gallery,
  #page-admin,
  #page-contact {
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
  }
  #spotlight-title,
  #experiences-title,
  #stories-title,
  #faq-title,
  #destinations-title,
  #packages-title,
  #gallery-title,
  #contact-title {
    font-size: clamp(2.35rem, 10vw, 3.2rem) !important;
    line-height: 0.98;
  }
  #spotlight-stage > div,
  #experience-grid,
  #dest-grid,
  #gallery-grid {
    gap: 1rem !important;
  }
  #spotlight-stage .glass,
  #experience-grid > div,
  #dest-grid > div,
  #review-list > div,
  #faq-list > div,
  #admin-view-overview .liquid-panel,
  #admin-view-content .liquid-panel,
  #admin-view-destinations .liquid-panel,
  #admin-view-gallery .liquid-panel,
  #admin-view-requests .liquid-panel,
  #admin-view-reviews .liquid-panel,
  #admin-view-backgrounds .liquid-panel {
    border-radius: 2rem !important;
  }
  #spotlight-stage .glass,
  #experience-grid > div,
  #dest-grid > div > div:last-child,
  #contact-shell,
  #planner-panel > div {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  #dest-grid > div > div:last-child {
    padding-top: 1.4rem !important;
    padding-bottom: 1.4rem !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(250px, 74vw);
    gap: 1rem;
  }
  .grid-wide { grid-column: span 1; }
  .grid-tall { grid-row: span 1; }
  .spotlight-image { min-height: 20rem; }
  #contact-shell {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    gap: 2rem;
    border-radius: 2.2rem !important;
  }
  #contact-form {
    gap: 0.9rem;
  }
  #contact-form input,
  #contact-form select,
  #contact-form textarea,
  #review-form input,
  #review-form select,
  #review-form textarea,
  #dest-search,
  #dest-sort {
    font-size: 16px;
  }
  #planner-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: min(84svh, 760px);
    border-radius: 2rem 2rem 0 0;
  }
  #planner-panel.translate-x-full {
    transform: translateY(calc(100% + 1rem));
  }
  #planner-panel:not(.translate-x-full) {
    transform: translateY(0);
  }
  #planner-overlay {
    background: rgba(2, 6, 23, 0.58);
  }
  #planner-title {
    font-size: 2rem !important;
  }
  #planner-list > div {
    border-radius: 1.7rem !important;
  }
  .floating-actions {
    left: 1rem;
    right: 1rem;
    bottom: calc(env(safe-area-inset-bottom) + 1rem);
    align-items: stretch;
  }
  #planner-toggle {
    width: 100%;
    min-width: 0;
    padding: 0.95rem 1rem;
  }
  .planner-toggle-kicker {
    font-size: 0.54rem;
    letter-spacing: 0.22em;
  }
  .planner-toggle-arrow {
    width: 1.85rem;
    height: 1.85rem;
  }
  #whatsapp-float {
    right: 1rem;
    bottom: calc(env(safe-area-inset-bottom) + 6.3rem);
    padding: 0.95rem;
  }
  #admin-indicator {
    align-self: flex-start;
  }
  .admin-tab {
    white-space: nowrap;
  }
}
