:root {
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", "Georgia", serif;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 20px 50px -20px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 12px 40px -8px rgba(14, 165, 233, 0.45);

  --bg-body: #f4f7fb;
  --bg-elevated: #ffffff;
  --bg-alt: #e8eef6;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-muted: rgba(14, 165, 233, 0.12);
  --hero-gradient: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0ea5e9 100%);
  --navbar-bg: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.65);
  --tile-bg: #ffffff;
  --cta-gradient: linear-gradient(120deg, #0c4a6e, #0ea5e9, #38bdf8);
}

[data-theme="dark"] {
  --bg-body: #0b1220;
  --bg-elevated: #111a2e;
  --bg-alt: #151f35;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-subtle: rgba(148, 163, 184, 0.12);
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-muted: rgba(56, 189, 248, 0.15);
  --hero-gradient: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e3a5f 100%);
  --navbar-bg: rgba(11, 18, 32, 0.75);
  --glass: rgba(17, 26, 46, 0.75);
  --tile-bg: #151f35;
  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 12px 40px -8px rgba(56, 189, 248, 0.35);
  --cta-gradient: linear-gradient(120deg, #0f172a, #1e3a5f, #0ea5e9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 5.5rem;
}

.smooth-scrollbar {
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.smooth-scroll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10800;
  opacity: 0;
  will-change: transform;
}

body.is-loaded.has-custom-cursor .cursor-dot,
body.is-loaded.has-custom-cursor .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

[data-theme="dark"] .cursor-dot {
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.45);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.42;
  transition: opacity 0.25s ease, border-color 0.25s ease, width 0.25s var(--ease-out-expo),
    height 0.25s var(--ease-out-expo), margin 0.25s var(--ease-out-expo);
}

body.has-custom-cursor.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  opacity: 0.75;
  border-color: var(--accent);
}

body.cursor-out .cursor-dot,
body.cursor-out .cursor-ring {
  opacity: 0 !important;
}

@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

@media (pointer: coarse), (max-width: 991.98px) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color 0.45s var(--transition-smooth), color 0.45s var(--transition-smooth);
}

body.is-loaded .navbar-glass {
  animation: nav-slide-down 0.85s var(--ease-out-expo) both;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-secondary-custom {
  color: var(--text-secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.link-accent {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-accent:hover {
  color: var(--accent-hover);
}

.link-secondary-custom {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-secondary-custom:hover {
  color: var(--accent);
}

.navbar-glass {
  background: var(--navbar-bg) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.navbar-glass.scrolled {
  box-shadow: var(--shadow-soft);
}

.navbar-brand {
  color: var(--text-primary) !important;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.brand-mark.sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

.navbar .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  position: relative;
  transition: color 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo), transform 0.25s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: translateX(-50%);
  transition: width 0.35s var(--ease-out-expo);
  opacity: 0.9;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--text-primary) !important;
  background: var(--accent-muted);
  transform: translateY(-1px);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  width: 55%;
}

.navbar-toggler {
  border-color: var(--border-subtle) !important;
}

.navbar-toggler-icon {
  filter: brightness(0) saturate(100%);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: brightness(0) saturate(100%) invert(1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border: none;
  color: #fff !important;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}

.btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #fff !important;
}

.btn-accent:hover::after {
  transform: translateX(100%);
}

.btn-soft:active {
  transform: scale(0.98);
}

.btn-outline-hero {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.35s var(--ease-out-expo), border-color 0.35s ease, transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s ease;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.35);
}

.btn-outline-custom {
  border: 2px solid var(--border-subtle);
  color: var(--text-primary);
  background: transparent;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.btn-theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-theme-toggle:hover {
  transform: scale(1.05);
  background: var(--accent-muted);
  color: var(--accent);
}

[data-theme="light"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: none;
}

.lang-dropdown .btn-lang {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-dropdown .dropdown-menu {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  min-width: 11rem;
}

.lang-dropdown .dropdown-item {
  border-radius: 10px;
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  transition: background 0.2s ease;
}

.lang-dropdown .dropdown-item:hover {
  background: var(--accent-muted);
  color: var(--accent-hover);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 5.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  background-size: 140% 140%;
  background-position: 30% 45%;
  z-index: 0;
  animation: hero-gradient-drift 22s ease-in-out infinite alternate;
  will-change: background-position;
}

@keyframes hero-gradient-drift {
  0% {
    background-position: 20% 40%;
  }
  100% {
    background-position: 75% 60%;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-orbs::before,
.hero-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 18s ease-in-out infinite;
}

.hero-orbs::before {
  width: 380px;
  height: 380px;
  background: #38bdf8;
  top: -80px;
  right: -60px;
}

.hero-orbs::after {
  width: 280px;
  height: 280px;
  background: #fbbf24;
  bottom: 10%;
  left: -40px;
  animation-delay: -6s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-26px, 32px) scale(1.08);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(1.75rem);
  animation: reveal-up-anim 1.05s var(--ease-out-expo) forwards;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes reveal-up-anim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .container {
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 700;
}

.hero-lead {
  color: rgba(241, 245, 249, 0.88) !important;
  max-width: 34rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-soft);
}

.hero-card.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.35s var(--ease-out-expo);
  animation: hero-card-float 7s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-card.tilt-card.is-tilting {
  animation: none;
}

[data-theme="dark"] .glass-card {
  border-color: rgba(148, 163, 184, 0.15);
}

.icon-bubble {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.hero-card strong {
  color: var(--text-primary);
}

.hero-card .text-secondary-custom {
  color: var(--text-secondary) !important;
}

.stat-mini {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: var(--bg-body);
  line-height: 0;
  transition: color 0.45s var(--transition-smooth);
}

.hero-wave-svg {
  width: 100%;
  height: clamp(48px, 8vw, 100px);
  display: block;
  animation: wave-drift 14s ease-in-out infinite;
}

@keyframes wave-drift {
  0%,
  100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-2.5%) scaleY(1.03);
  }
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  transition: background 0.45s var(--transition-smooth);
}

.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  max-width: 36rem;
  color: var(--text-secondary);
}

.stat-card {
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), border-color 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.2);
}

.feature-tile {
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s var(--ease-out-expo);
}

.feature-tile:hover {
  transform: translateY(-10px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-soft);
}

.feature-tile:hover .tile-icon {
  transform: scale(1.08) rotate(-4deg);
}

.tile-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.45s var(--ease-out-expo);
}

.info-block {
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s ease;
}

.info-block:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow: var(--shadow-soft);
}

.cta-inner {
  background: var(--cta-gradient);
  background-size: 200% 200%;
  animation: gradient-shift 14s ease infinite;
  box-shadow: var(--shadow-glow);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease;
}

.cta-inner:hover {
  transform: scale(1.008);
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.pilgrim-visual {
  position: relative;
}

.pilgrim-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), rgba(251, 191, 36, 0.65), var(--accent-hover));
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.pilgrim-photo-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -24px rgba(14, 165, 233, 0.35);
}

.pilgrim-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-xl) + 6px);
  border: 1px solid var(--border-subtle);
  opacity: 0.6;
  pointer-events: none;
  animation: pilgrim-ring-pulse 5s ease-in-out infinite;
}

@keyframes pilgrim-ring-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.01);
  }
}

.pilgrim-photo-inner {
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
  background: var(--bg-alt);
}

.pilgrim-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1s var(--ease-out-expo);
}

.pilgrim-photo-wrap:hover .pilgrim-photo-img {
  transform: scale(1.08);
}

.about-panel {
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.tour-card {
  position: relative;
  isolation: isolate;
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.35s ease;
}

.tour-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(14, 165, 233, 0.28);
}

.tour-card-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.75s var(--ease-out-expo);
}

.tour-card:hover .tour-card-media {
  transform: scale(1.06);
}

.tour-1 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.25), rgba(14, 165, 233, 0.35)),
    url("https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?w=800&q=80");
}

.tour-2 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(251, 191, 36, 0.25)),
    url("https://images.unsplash.com/photo-1467269204594-9661b134dd2b?w=800&q=80");
}

.tour-3 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(56, 189, 248, 0.3)),
    url("../images/brooke-cagle-uhvrvdr7pg-unsplashtiif_1720034884_56623.jpg");
}

.tour-4 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(234, 179, 8, 0.25)),
    url("https://images.unsplash.com/photo-1539768942893-daf53e448371?w=800&q=80");
}

.tour-5 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(244, 114, 182, 0.2)),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=800&q=80");
}

.tour-6 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(34, 211, 238, 0.3)),
    url("https://images.unsplash.com/photo-1514282401047-d79a71a590e8?w=800&q=80");
}

.contact-card {
  background: var(--tile-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 16px 40px -28px rgba(14, 165, 233, 0.25);
}

.letter-spacing {
  letter-spacing: 0.12em;
}

.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .smooth-scroll {
    position: static !important;
    transform: none !important;
    will-change: auto !important;
  }

  .smooth-scrollbar {
    display: none !important;
    height: 0 !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-bg {
    animation: none;
  }
  .hero-wave-svg {
    animation: none;
  }
  .hero-card.tilt-card {
    animation: none;
  }
  .pilgrim-photo-ring {
    animation: none;
  }
  .tour-card:hover .tour-card-media {
    transform: none;
  }
  body.is-loaded .navbar-glass {
    animation: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
  }
}
