/* =========================================================
   Elyra - Travel Agency single-page template
   ========================================================= */

:root {
  --teal: #44bbc1;
  --teal-600: #2a9ea5;
  --teal-50: #eaf7f8;
  --ink: #0c3236;
  --ink-2: #1f4b50;
  --ink-soft: #557276;
  --deep: #072a2e;
  --sand: #f6f2eb;
  --white: #ffffff;
  --star: #f5c518;
  --line: rgba(12, 50, 54, 0.12);

  --font-head: "Raleway", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 30px 60px -24px rgba(7, 42, 46, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
main, .footer { overflow-x: clip; } /* keeps slide-in animations from creating sideways scroll */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 18px;
}
.eyebrow--light { color: #bff0f2; }

.section-title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.section-head { max-width: 620px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--light .section-title { color: var(--white); }
.section-head--light p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  border-radius: 6px; border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}
.btn i { font-size: 0.85em; transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover i { transform: translateX(4px); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35); }
.btn-glass { color: var(--white); border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); }
.btn-outline { height: 46px; padding: 0 22px; font-size: 14px; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: #0d2a2d; color: var(--white); box-shadow: 0 18px 40px -16px rgba(7, 42, 46, 0.7); }
.btn-dark:hover { background: var(--ink-2); }
.btn-teal { background: var(--teal); color: var(--deep); }
.btn-teal:hover { background: #5fd0d5; }
.btn-block { width: 100%; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  font-size: 15px; transition: background 0.3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.18); }

.arrow {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: #0d2a2d; color: var(--white); border-radius: 4px; font-size: 13px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.arrow:hover { transform: translateY(-2px); }
.arrow--next { background: var(--white); color: var(--ink); }
.arrow--light { background: var(--white); color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 26px 0;
  color: var(--white);
  transition: padding 0.5s var(--ease), background 0.4s, box-shadow 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.nav.is-scrolled {
  padding: 12px 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 40px -20px rgba(7, 42, 46, 0.35);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav-inner { display: flex; align-items: center; gap: 40px; }

.logo { font-family: var(--font-head); font-size: 25px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo span { font-weight: 300; }

.nav-links { margin-left: auto; display: flex; gap: clamp(20px, 3vw, 44px); }
.nav:not(.is-scrolled) .nav-links a, .nav:not(.is-scrolled) .logo { text-shadow: 0 1px 12px rgba(0, 35, 45, 0.45); }
.nav-links a { position: relative; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; padding: 6px 0; opacity: 0.92; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav.is-scrolled .icon-btn:hover { background: rgba(12, 50, 54, 0.08); }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.nav.is-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  background: var(--teal);
  isolation: isolate;
}
/* Shrinks into a rounded card as the hero scrolls away (driven by --exit) */
.hero-frame {
  position: absolute; inset: 0; overflow: hidden;
  background: #1789b4;
  transform-origin: 50% 100%;
  scale: calc(1 - var(--exit) * 0.1);
  clip-path: inset(0 round calc(var(--exit) * 44px));
}
.hero-parallax { position: absolute; inset: 0; will-change: transform; }

/* The stage keeps the photo's exact aspect ratio, so the title and water mask always line up with the beach */
.hero-stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 213.6vh, 1197px);
  width: max(100vw, 213.6svh, 1197px);
  aspect-ratio: 2400 / 1348;
  translate: -50% -50%;
  container-type: inline-size;
}
.hero-bg, .hero-water {
  position: absolute; inset: 0;
  background: url("../img/hero-aerial.jpg") center / 100% 100% no-repeat;
}
.hero-water {
  /* mask image lives in hero-mask.css (inlined so it works from file://) */
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  pointer-events: none;
}
.hero-title-wrap { position: absolute; inset: 0; will-change: transform; }
.hero-parallax--top { z-index: 3; pointer-events: none; } /* above the birds (z-index 3, earlier in the DOM) */
.hero-title-top { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.hero-title {
  position: absolute; left: 64%; top: 26.5%;
  translate: -50% 0;
  display: flex;
  font-family: var(--font-head); font-weight: 800;
  font-size: 14.6cqw; line-height: 0.82; letter-spacing: -0.035em;
  color: #fdfdfb;
  text-shadow: 0 0.025em 0.05em rgba(10, 70, 80, 0.28), 0 0.01em 0 rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.hero-title span { display: inline-block; }
.js .hero-title span { opacity: 0; transform: translateY(55%); transition: transform 1.6s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.09s); }
.is-loaded .hero-title span { opacity: 1; transform: none; }

.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 38, 46, 0.62) 0%, rgba(4, 38, 46, 0.2) 12%, rgba(4, 38, 46, 0) 24%),
    radial-gradient(120% 70% at 0% 100%, rgba(3, 48, 70, 0.62) 0%, rgba(3, 48, 70, 0) 60%);
}

/* Birds */
.birds { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bird {
  position: absolute; top: 0; left: 0;
  width: clamp(120px, 13vw, 210px); height: auto;
  filter: drop-shadow(46px 64px 7px rgba(0, 32, 44, 0.32));
  opacity: 0;
}
.is-loaded .bird { opacity: 1; }
/* Blue parrot: main.js moves the wrapper along its route (translate only, so the shadow keeps pointing
   down-right) and turns the bird inside to face its heading */
.bird-orbit {
  position: absolute; top: 0; left: 0;
  width: clamp(120px, 13vw, 210px);
  filter: drop-shadow(46px 64px 7px rgba(0, 32, 44, 0.32));
  transform: translate3d(-400px, -400px, 0);
  visibility: hidden; will-change: transform;
}
.bird-orbit .bird--blue { position: static; display: block; width: 100%; filter: none; will-change: transform; }
.bird--green { width: clamp(84px, 9vw, 145px); animation: fly-b 19s linear 3s infinite both; }
.bird .wing { transform-box: fill-box; transform-origin: 50% 100%; animation: flap 0.52s ease-in-out infinite; }
.bird--green .wing { animation-duration: 0.44s; animation-delay: -0.2s; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.22); } }

/* Plane: rises in from the bottom-right corner on the same 20s loop as the blue parrot and crosses its loop around the title.
   The shadow offset is pre-rotated against the plane's heading so it still lands down-right like the parrots'. */
.plane {
  position: absolute; top: 0; left: 0;
  width: clamp(220px, 23vw, 360px); height: auto;
  filter: drop-shadow(-147px -75px 5px rgba(0, 32, 44, 0.2)); /* = 95px 135px after the 208deg turn; far shadow = higher altitude */
  opacity: 0;
  animation: fly-plane 20s linear 0.8s infinite both;
}
.is-loaded .plane { opacity: 1; }
@keyframes fly-plane {
  0%, 12% { transform: translate(120vw, 100vh) rotate(208deg); }
  42%     { transform: translate(-45vw, -42vh) rotate(208deg); }
  100%     { transform: translate(-45vw, -42vh) rotate(208deg); }
}
.plane-trails { animation: trail-shimmer 2.4s ease-in-out infinite; }
@keyframes trail-shimmer { 50% { opacity: 0.7; } }
.plane-light { animation: nav-blink 1.4s steps(1, end) infinite; }
.plane-light--green { animation-delay: 0.7s; }
.plane-light--strobe { animation-duration: 1s; }
@keyframes nav-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.15; } }
@keyframes fly-b {
  0%   { transform: translate(-20vw, 46vh) rotate(-14deg); }
  50%  { transform: translate(55vw, 30vh) rotate(-8deg); }
  100% { transform: translate(125vw, 2vh) rotate(-18deg); }
}

/* Hero copy */
.hero-ui { position: absolute; left: 0; right: 0; bottom: clamp(36px, 9vh, 100px); z-index: 4; color: var(--white); }
.hero-ui-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-copy { max-width: 470px; }
.hero-heading { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; color: var(--white); margin-bottom: 18px; }
.hero-lead { color: rgba(255, 255, 255, 0.86); font-weight: 300; font-size: 16.5px; margin-bottom: 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero-anim { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(0.6s + var(--d) * 0.12s); }
.is-loaded .hero-anim { opacity: 1; transform: none; }

.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue span:last-child { writing-mode: vertical-rl; }
.scroll-cue-mouse { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue-mouse i { width: 3px; height: 8px; border-radius: 2px; background: var(--white); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   EXPLORE (slider)
   ========================================================= */
.explore {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 170px;
  background: #5cc6c9;
}
.explore-bg { position: absolute; inset: -22% 0; will-change: transform; }
.explore-bg img { object-position: 50% 50%; filter: saturate(0.78) brightness(1.03); }
.explore-bg img, .exp-bg img, .quote-bg img, .t-bg img, .contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.explore-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(236, 250, 250, 0.7) 0%, rgba(236, 250, 250, 0.35) 38%, rgba(236, 250, 250, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 30%, rgba(5, 60, 66, 0) 70%, rgba(5, 60, 66, 0.25) 100%);
}
.explore-inner { position: relative; z-index: 2; }
.explore-copy { max-width: 470px; }
.explore-copy p { color: var(--ink-2); font-size: 15.5px; max-width: 400px; margin-bottom: 30px; }
.explore-title { margin-bottom: 26px; }
.explore-title .big { display: block; font-weight: 800; font-size: clamp(64px, 8.8vw, 136px); line-height: 0.95; letter-spacing: -0.04em; color: var(--ink); }
.explore-title .light { display: block; font-weight: 400; font-size: clamp(30px, 3.9vw, 60px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin: 0.32em 0 0 clamp(70px, 10vw, 160px); } /* clears the descender of the p */

.social-rail { position: absolute; z-index: 3; left: clamp(14px, 2.2vw, 34px); bottom: 150px; display: flex; flex-direction: column; gap: 16px; }
.social-rail a { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink); font-size: 14px; transition: color 0.3s, transform 0.3s var(--ease); }
.social-rail a:hover { color: var(--white); transform: translateX(3px); }

.slider {
  position: absolute; z-index: 3; right: 0; top: 50%;
  width: min(56vw, 820px); height: clamp(440px, 62vh, 500px);
  translate: 0 -46%;
}
.slides { position: relative; width: 100%; height: 100%; }
/* card corners: flush with the right edge on desktop, fully rounded when it sits inside the screen */
.slider { --card-r: 16px 0 0 16px; }
/* Wipe: the slide is a window that slides in while the card inside slides the opposite way, so the card
   looks still while its edge is revealed. Transforms only, so the GPU runs it without stutter on phones. */
.slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; border-radius: var(--card-r); transform: translateX(100%); }
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide-card {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--card-r); overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateX(-100%);
}
.slider.is-reverse .slide:not(.is-active):not(.is-leaving) { transform: translateX(-100%); }
.slider.is-reverse .slide:not(.is-active):not(.is-leaving) .slide-card { transform: translateX(100%); }
/* only the incoming slide animates; hidden slides snap straight back to their start state */
.slide.is-active, .slide.is-active .slide-card { transform: none; transition: transform 1.1s var(--ease-in-out); }
.slide.is-leaving, .slide.is-leaving .slide-card { transform: none; transition: none; }
.slide.is-active { z-index: 2; }
.slide.is-leaving { z-index: 1; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--ease); }
.slide.is-active .slide-media img { transform: scale(1); }
/* the outgoing slide holds still underneath while the new one wipes over it */
.slide.is-leaving .slide-media img { transform: scale(1); transition: none; }
.slide.is-leaving .slide-glass > * { opacity: 1; transform: none; transition: none; }
.slide-glass {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: clamp(260px, 40%, 340px);
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2vw, 28px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.58));
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.slide-glass > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.slide.is-active .slide-glass > * { opacity: 1; transform: none; }
.slide.is-active .slide-glass > *:nth-child(1) { transition-delay: 0.35s; }
.slide.is-active .slide-glass > *:nth-child(2) { transition-delay: 0.42s; }
.slide.is-active .slide-glass > *:nth-child(3) { transition-delay: 0.5s; }
.slide.is-active .slide-glass > *:nth-child(4) { transition-delay: 0.58s; }
.slide.is-active .slide-glass > *:nth-child(5) { transition-delay: 0.66s; }
.slide.is-active .slide-glass > *:nth-child(6) { transition-delay: 0.74s; }

.slide-country { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 8px; }
.slide-title { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.slide-title span { font-weight: 300; }
.slide-title b { font-weight: 800; }
.slide-text { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }
.slide-tags { display: grid; gap: 9px; margin-bottom: auto; padding-bottom: 16px; }
.slide-tags li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink); }
.slide-tags i { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border: 1.4px solid var(--ink); border-radius: 50%; font-size: 12px; }
.slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; margin-bottom: 14px; border-top: 1px solid var(--line); }
.slide-rating { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.slide-rating i { color: var(--star); }
.slide-price { margin: 0; text-align: right; font-size: 12px; line-height: 1.25; color: var(--ink-2); }
.slide-price b { font-family: var(--font-head); font-size: 19px; color: var(--ink); margin-left: 4px; }
.slide-price small { display: block; font-size: 11.5px; }
.slide-book {
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 20px; border-radius: 6px;
  background: #0d2a2d; color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  transition: background 0.3s;
}
.slide-book i { transition: transform 0.4s var(--ease); }
.slide-book:hover { background: var(--ink-2); }
.slide-book:hover i { transform: translateX(4px); }

.slider-bar { position: absolute; left: 0; right: clamp(16px, 4vw, 60px); top: calc(100% + 24px); display: flex; align-items: center; gap: 22px; }
.slider-pager {
  display: flex; align-items: center; gap: 16px;
  padding: 11px 18px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -18px rgba(7, 42, 46, 0.5);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgba(12, 50, 54, 0.25); transition: width 0.5s var(--ease), background 0.3s; }
.slider-dots button[aria-selected="true"] { width: 26px; background: var(--ink); }
.slider-count { font-family: var(--font-head); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; }
.slider-count b { color: var(--ink); font-weight: 800; }
.slider-arrows { margin-left: auto; display: flex; box-shadow: 0 12px 30px -16px rgba(7, 42, 46, 0.55); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.collage { position: relative; height: clamp(480px, 48vw, 640px); }
.collage-item { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); will-change: transform; }
.collage-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage-item:hover img { transform: scale(1.06); }
.c-main { left: 0; top: 6%; width: 66%; height: 60%; }
.c-tall { right: 0; top: 24%; width: 42%; height: 64%; border: 8px solid var(--white); }
.c-small { left: 10%; bottom: 0; width: 40%; height: 30%; border: 8px solid var(--white); }
.badge { position: absolute; left: 55%; top: -2%; width: 128px; height: 128px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: var(--deep); box-shadow: 0 20px 40px -18px rgba(42, 158, 165, 0.8); z-index: 2; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: 0.22em; fill: var(--deep); }
.badge i { font-size: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card { position: absolute; left: -2%; top: 62%; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: var(--white); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(7, 42, 46, 0.45); }
.float-card b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.float-card small { font-size: 12.5px; }
.float-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); font-size: 18px; }

.about-copy > p { font-size: 16.5px; }
.checklist { display: grid; gap: 12px; margin: 26px 0 40px; }
.checklist li { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-weight: 500; }
.checklist i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); font-size: 11px; flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 8px; }
.stat span { font-size: 13px; line-height: 1.35; display: block; }

/* =========================================================
   EXPERIENCES
   ========================================================= */
.experiences { overflow: hidden; color: var(--white); background: var(--deep); }
.exp-bg { position: absolute; inset: -25% 0; will-change: transform; }
.exp-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 34, 40, 0.92) 0%, rgba(6, 60, 72, 0.72) 50%, rgba(5, 34, 40, 0.94) 100%); }
.experiences .container { position: relative; z-index: 2; }
.marquee {
  position: absolute; z-index: 1; top: clamp(30px, 6vw, 70px); left: 50%; translate: -50% 0;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 15vw, 230px); line-height: 1;
  white-space: nowrap; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.13);
  pointer-events: none; will-change: transform;
}
.experiences .section-head { position: relative; padding-top: clamp(40px, 7vw, 90px); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.exp-card {
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), translate 0.6s var(--ease), background 0.4s, border-color 0.4s;
}
.exp-card:hover { translate: 0 -8px; background: rgba(255, 255, 255, 0.13); border-color: rgba(68, 187, 193, 0.6); }
.exp-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; border: 1.6px solid var(--teal); color: var(--teal); font-size: 22px; margin-bottom: 22px; transition: background 0.4s, color 0.4s; }
.exp-card:hover .exp-icon { background: var(--teal); color: var(--deep); }
.exp-card h3 { color: var(--white); font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.exp-card p { color: rgba(255, 255, 255, 0.72); font-size: 15px; margin: 0; }

/* =========================================================
   PACKAGES
   ========================================================= */
.packages { background: var(--sand); }
.packages-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 60px); }
.packages-head .section-head { margin-bottom: 0; }
.filters { display: flex; gap: 6px; padding: 6px; border-radius: 50px; background: var(--white); box-shadow: 0 10px 30px -18px rgba(7, 42, 46, 0.35); }
.filter { padding: 10px 20px; border-radius: 40px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-soft); transition: background 0.3s, color 0.3s; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--white); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pkg-card {
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(7, 42, 46, 0.4);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), translate 0.6s var(--ease), box-shadow 0.5s;
}
.pkg-card:hover { translate: 0 -10px; box-shadow: 0 34px 60px -30px rgba(7, 42, 46, 0.55); }
.js .pkg-card.is-filtered { opacity: 0; transform: scale(0.94); transition-delay: 0s; }
.pkg-card[hidden] { display: none; }
.pkg-media { position: relative; height: 260px; overflow: hidden; }
.pkg-media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.pkg-tag { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 30px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--ink); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pkg-fav { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--ink); transition: transform 0.3s var(--ease), color 0.3s; }
.pkg-fav:hover { transform: scale(1.1); }
.pkg-fav.is-saved { color: #e5484d; }
.pkg-body { padding: 24px 26px 26px; }
.pkg-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--teal-600); font-weight: 500; }
.pkg-body h3 { font-size: 21px; margin: 6px 0 14px; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pkg-meta i { color: var(--teal-600); margin-right: 6px; }
.pkg-meta .fa-star { color: var(--star); }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.pkg-foot p { margin: 0; font-size: 13px; }
.pkg-foot b { font-family: var(--font-head); font-size: 22px; color: var(--ink); margin: 0 4px; }
.round-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); transition: background 0.3s, transform 0.4s var(--ease); }
.round-btn:hover { background: var(--teal); color: var(--deep); transform: rotate(-45deg); }

/* =========================================================
   QUOTE BANNER
   ========================================================= */
.quote-banner { position: relative; height: 85vh; min-height: 520px; overflow: hidden; display: grid; place-items: center; text-align: center; background: var(--deep); }
.quote-bg { position: absolute; inset: -30% 0; will-change: transform; }
.quote-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5, 40, 46, 0.25) 0%, rgba(5, 40, 46, 0.6) 100%); }
.quote { position: relative; z-index: 2; color: var(--white); }
.quote-mark { font-size: 44px; color: var(--teal); margin-bottom: 20px; }
.quote blockquote { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 6.6vw, 98px); line-height: 1; letter-spacing: -0.035em; text-shadow: 0 10px 40px rgba(0, 30, 40, 0.35); margin-bottom: 26px; }
.quote figcaption { font-size: 16px; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.04em; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 76px; left: 8%; right: 8%; border-top: 2px dashed rgba(68, 187, 193, 0.45); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; color: var(--teal-600); margin-bottom: 14px; }
.step-icon { position: relative; width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1.6px solid var(--ink); color: var(--ink); font-size: 26px; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.step:hover .step-icon { background: var(--ink); color: var(--white); transform: translateY(-6px); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { overflow: hidden; background: var(--teal); }
.t-bg { position: absolute; inset: -20% 0; will-change: transform; }
.t-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 250, 250, 0.94) 0%, rgba(240, 250, 250, 0.82) 45%, rgba(240, 250, 250, 0.3) 100%); }
.t-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.t-grid .section-head { margin-bottom: 0; }
.t-controls { display: flex; margin-top: 12px; }
.t-slider { position: relative; display: grid; }
.t-card {
  grid-area: 1 / 1;
  padding: clamp(30px, 4vw, 50px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(40px) rotate(1.5deg);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s 0.9s;
}
.t-card.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s; }
.t-stars { color: var(--star); display: flex; gap: 4px; margin-bottom: 20px; }
.t-card blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--ink); margin-bottom: 28px; }
.t-card figcaption { display: flex; align-items: center; gap: 16px; }
.t-card figcaption b { display: block; font-family: var(--font-head); color: var(--ink); }
.t-card figcaption small { font-size: 13px; }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 700; flex: none; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { overflow: hidden; color: var(--white); background: var(--deep); }
.contact-bg { position: absolute; inset: -20% 0; will-change: transform; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(5, 36, 42, 0.95) 0%, rgba(8, 66, 74, 0.86) 55%, rgba(42, 158, 165, 0.65) 100%); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact-copy .section-title { color: var(--white); }
.contact-copy > p { color: rgba(255, 255, 255, 0.78); max-width: 440px; }
.contact-list { display: grid; gap: 20px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list li > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); color: var(--teal); flex: none; }
.contact-list small { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.contact-list a, .contact-list p { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--white); margin: 0; }

.booking-form {
  padding: clamp(28px, 3.6vw, 46px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  color: var(--ink);
}
.booking-form h3 { font-size: 24px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #d9e6e7; background: #f7fbfb;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(68, 187, 193, 0.15); }
.field.is-invalid input { border-color: #e5484d; }
.field select.is-flash, .select-trigger.is-flash { animation: flash 1.2s var(--ease); }

/* Custom dropdown (built by main.js from each booking-form <select>) */
.select { position: relative; }
.select.is-open { z-index: 20; }
.select-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #d9e6e7; background: #f7fbfb;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.select-trigger:hover { border-color: #bcd6d8; }
.select-trigger:focus-visible, .select.is-open .select-trigger { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(68, 187, 193, 0.15); }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger i { flex: none; font-size: 12px; color: var(--ink-soft); transition: transform 0.35s var(--ease); }
.select.is-open .select-trigger i { transform: rotate(180deg); color: var(--teal-600); }

.select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  max-height: 268px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px;
  background: var(--white); border: 1px solid #e3eeef; border-radius: 12px;
  box-shadow: 0 24px 50px -18px rgba(7, 42, 46, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.98); transform-origin: 50% 0;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
.select.is-up .select-list { top: auto; bottom: calc(100% + 8px); transform: translateY(6px) scale(0.98); transform-origin: 50% 100%; }
.select.is-open .select-list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s; }
.select-list:focus { outline: none; }
.select-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 8px;
  font-size: 14.5px; line-height: 1.3; color: var(--ink); cursor: pointer;
  transition: background 0.15s;
}
.select-list li.is-active { background: var(--teal-50); }
.select-list li[aria-selected="true"] { font-weight: 500; color: var(--teal-600); }
.select-list li[aria-selected="true"]::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(68, 187, 193, 0); } 30% { box-shadow: 0 0 0 6px rgba(68, 187, 193, 0.35); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--deep); color: rgba(255, 255, 255, 0.7); padding: 90px 0 30px; }

/* ---- Animated footer background ---- */
.footer-waves {
  position: absolute; left: 0; bottom: calc(100% - 1px); z-index: 1;
  width: 100%; height: clamp(40px, 6vw, 84px);
  pointer-events: none;
}
.footer-waves use { animation: wave-roll 22s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite; }
.footer-waves use:nth-child(1) { animation-duration: 9s;  animation-delay: -2s; }
.footer-waves use:nth-child(2) { animation-duration: 13s; animation-delay: -3s; }
.footer-waves use:nth-child(3) { animation-duration: 17s; animation-delay: -4s; }
.footer-waves use:nth-child(4) { animation-duration: 24s; animation-delay: -5s; }
@keyframes wave-roll { from { transform: translate3d(-90px, 0, 0); } to { transform: translate3d(85px, 0, 0); } }

.footer-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  container-type: size;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 26px 26px,
    linear-gradient(180deg, #072a2e 0%, #082f34 55%, #061f23 100%);
}
/* fades the top so the bottom wave blends into the footer without a seam */
.footer-bg::after { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(180deg, #072a2e 0%, rgba(7, 42, 46, 0) 100%); }
.glow { position: absolute; border-radius: 50%; will-change: transform; }
.glow--1 { width: 640px; height: 640px; left: -12%; top: -18%; background: radial-gradient(circle, rgba(68, 187, 193, 0.28) 0%, rgba(68, 187, 193, 0) 68%); animation: glow-a 18s ease-in-out infinite alternate; }
.glow--2 { width: 560px; height: 560px; right: -10%; top: 20%; background: radial-gradient(circle, rgba(42, 158, 165, 0.24) 0%, rgba(42, 158, 165, 0) 68%); animation: glow-b 22s ease-in-out infinite alternate; }
.glow--3 { width: 480px; height: 480px; left: 38%; bottom: -30%; background: radial-gradient(circle, rgba(120, 222, 214, 0.16) 0%, rgba(120, 222, 214, 0) 68%); animation: glow-c 26s ease-in-out infinite alternate; }
@keyframes glow-a { to { transform: translate(28%, 22%) scale(1.15); } }
@keyframes glow-b { to { transform: translate(-30%, -16%) scale(0.9); } }
@keyframes glow-c { to { transform: translate(-24%, -28%) scale(1.2); } }

.bubble {
  position: absolute; left: var(--x); bottom: -24px;
  width: var(--s); height: var(--s); border-radius: 50%;
  border: 1px solid rgba(170, 238, 240, 0.35);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  animation: bubble-rise var(--t) linear var(--d) infinite;
}
@keyframes bubble-rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.85; }
  35%  { transform: translate(14px, -38cqh); }
  65%  { transform: translate(-10px, -70cqh); }
  90%  { opacity: 0.4; }
  100% { transform: translate(8px, calc(-100cqh - 30px)); opacity: 0; }
}
/* Giant wordmark centred behind the footer content, sized so the whole word always fits */
.footer-word {
  position: absolute; left: 50%; top: 62%; translate: -50% -50%;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(110px, 21vw, 330px); line-height: 1; letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.07); pointer-events: none; user-select: none; white-space: nowrap;
}
.footer .container { position: relative; }
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 36px 40px; border-radius: 22px; background: linear-gradient(110deg, rgba(68, 187, 193, 0.18), rgba(68, 187, 193, 0.05)); border: 1px solid rgba(68, 187, 193, 0.25); margin-bottom: 70px; }
.newsletter h3 { color: var(--white); font-size: 26px; margin-bottom: 6px; }
.newsletter p { margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 480px; min-width: min(100%, 300px); }
.newsletter-form input { flex: 1; min-width: 0; font: inherit; color: var(--white); padding: 0 18px; height: 54px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--teal); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { color: var(--white); display: inline-block; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { transition: color 0.3s, padding 0.3s var(--ease); }
.footer ul a:hover { color: var(--teal); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: center; }
.footer-contact i { color: var(--teal); width: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.footer-social a:hover { background: var(--teal); color: var(--deep); border-color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Ownership watermark ---------- */
.watermark {
  position: fixed; left: 16px; bottom: 16px; z-index: 45;
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 6px 12px;
  font-family: var(--font-head); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(7, 42, 46, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 30px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0.85; pointer-events: none; user-select: none;
}
.watermark b { font-weight: 800; font-size: 12px; letter-spacing: 0.03em; color: #fff; }
.watermark i { font-size: 10px; }

/* ---------- Toast & back to top ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 150;
  translate: -50% 0;
  padding: 14px 22px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-weight: 500;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.toast.is-visible { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: var(--deep);
  box-shadow: 0 14px 30px -12px rgba(42, 158, 165, 0.8);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* =========================================================
   SCROLL ANIMATIONS
   [data-scrub] elements get --p / --enter / --exit from main.js.
   The defaults below are the finished state (no JS or reduced motion).
   ========================================================= */
[data-scrub] { --p: 0.5; --enter: 1; --exit: 0; }

/* Word-by-word masked headings */
.w { display: inline-block; vertical-align: top; }
.w > span { display: inline-block; }
.split .w { overflow: hidden; padding: 0.1em 0.03em 0.25em; margin: -0.1em -0.03em -0.25em; }
.js .split.reveal { opacity: 1; transform: none; }
.js .split .w > span {
  transform: translateY(115%) rotate(7deg); transform-origin: 0 100%;
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i) * 0.06s);
}
.js .split.is-in .w > span { transform: none; }


/* Directional & 3D reveal variants */
.js .reveal--left:not(.is-in)  { transform: translateX(-70px); }
.js .reveal--right:not(.is-in) { transform: translateX(70px); }
.js .reveal--tilt:not(.is-in)  { transform: perspective(1000px) translateY(90px) rotateX(24deg) scale(0.95); transform-origin: 50% 100%; }

/* Explore: heading halves slide apart → together, slider glides in, background settles */
.explore-title .big   { translate: calc((1 - var(--enter)) * -110px) 0; }
.explore-title .light { translate: calc((1 - var(--enter)) * 160px) 0; }
.explore .slides { transform: translateX(calc((1 - var(--enter)) * 40%)) rotate(calc((1 - var(--enter)) * 3deg)); transform-origin: 100% 50%; }
.explore-bg img { scale: calc(1.18 - var(--p) * 0.18); }

/* About collage: photos wipe open one after another, badge spins in */
.collage-item {
  --r: clamp(0, calc(var(--enter) * 1.6 - var(--o, 0)), 1);
  clip-path: inset(calc((1 - var(--r)) * 100%) -60px -90px -60px);
}
.collage-item img { scale: calc(1.35 - var(--r) * 0.35); }
.badge { scale: clamp(0, calc(var(--enter) * 2.2 - 1.1), 1); rotate: calc((1 - var(--enter)) * -120deg); }
.float-card {
  --f: clamp(0, calc(var(--enter) * 2 - 0.9), 1);
  opacity: var(--f);
  translate: calc((1 - var(--f)) * -70px) 0;
}

/* Package photos wipe down after the card tilts up */
.js .pkg-card .pkg-media { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-in-out) calc(var(--d, 0s) + 0.2s); }
.js .pkg-card.is-in .pkg-media { clip-path: inset(0 0 0 0); }

/* Quote: words light up as you scroll, background slowly zooms out */
.scrub-words { --q: clamp(0, calc((var(--p) - 0.22) * 3), 1); }
.scrub-words .w > span {
  --lit: clamp(0, calc(var(--q) * (var(--n) + 1) - var(--i)), 1);
  opacity: calc(0.14 + var(--lit) * 0.86);
  transform: translateY(calc((1 - var(--lit)) * 0.18em));
}
.quote-bg img { scale: calc(1.25 - var(--p) * 0.25); }

/* Process: the dashed line draws itself between the steps */
.steps::before { transform: scaleX(var(--enter)); transform-origin: 0 50%; }

/* Footer: giant wordmark letters close in */
.footer-word { letter-spacing: calc(-0.05em + (1 - var(--enter)) * 0.3em); opacity: calc(0.3 + var(--enter) * 0.7); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399px) {
  .social-rail { display: none; } /* only shown when the side margin can fit it */
}

@media (max-width: 1100px) {
  .exp-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }

  /* Explore: stack copy above the slider (side-by-side needs > 1100px) */
  .explore { flex-direction: column; align-items: stretch; padding: 120px 0 130px; }
  .explore-overlay { background: linear-gradient(180deg, rgba(236, 250, 250, 0.7) 0%, rgba(236, 250, 250, 0.25) 45%, rgba(5, 60, 66, 0.25) 100%); }
  .explore-copy { max-width: 560px; }
  .social-rail { display: none; }
  .slider { --card-r: 16px; position: relative; top: auto; translate: none; width: auto; height: 480px; margin: 50px var(--gutter) 0; }
  .slider-bar { right: 0; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-actions .icon-btn { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 0 var(--gutter);
    background: var(--deep);
    clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path 0.8s var(--ease-in-out);
  }
  .nav-links a { font-size: clamp(32px, 8vw, 48px); font-weight: 800; color: var(--white); opacity: 1; letter-spacing: -0.02em; }
  .nav.is-open { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav-links { clip-path: circle(150% at calc(100% - 40px) 40px); }

  .about-grid, .t-grid, .contact-grid { grid-template-columns: 1fr; }
  .collage { max-width: 620px; width: 100%; margin: 0 auto; }
  .t-overlay { background: rgba(240, 250, 250, 0.88); }

}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Hero */
  .hero-ui { bottom: 64px; } /* clears the watermark label */
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .hero-ui-inner { flex-direction: column; align-items: center; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { min-width: 230px; }
  .hero-copy .eyebrow, .hero-heading, .hero-lead { text-shadow: 0 2px 14px rgba(0, 35, 50, 0.55); }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 38, 46, 0.55) 0%, rgba(4, 38, 46, 0) 18%),
      linear-gradient(0deg, rgba(3, 45, 64, 0.72) 0%, rgba(3, 45, 64, 0.35) 40%, rgba(3, 45, 64, 0) 62%);
  }
  .scroll-cue { display: none; }
  .hero-heading { font-size: 30px; margin-bottom: 12px; }
  .hero-lead { font-size: 15px; margin-bottom: 22px; }
  .btn { height: 50px; padding: 0 22px; }
  /* No parrots or plane on phones (the title copy above them is only needed when they fly) */
  .birds, .hero-parallax--top { display: none; }

  /* Explore slider: photo on top, details below */
  .explore { padding: 110px 0 110px; }
  .explore-title .light { margin-left: 64px; }
  .slider { height: 530px; margin-top: 40px; }
  .slide-card { display: flex; flex-direction: column; }
  .slide-media { position: relative; flex: 1; min-height: 0; }
  .slide-media img { object-position: 50% 70%; }
  .slide-glass {
    position: relative; width: 100%;
    padding: 20px 20px 20px;
    border-right: 0;
    background: #f7fbfb; /* solid, so the outgoing slide's text can't ghost through during the wipe */
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .slide-tags { display: none; }
  .slide-text { margin-bottom: 4px; }
  .slide-foot { padding: 12px 0; margin-bottom: 12px; }
  .slider-bar { top: calc(100% + 20px); gap: 12px; }
  .slider-pager { padding: 10px 14px; gap: 12px; }
  .arrow { width: 42px; height: 42px; }

  /* About collage: no parallax drift on phones (set in HTML), compact arrangement */
  .collage { height: 380px; }
  .c-main  { top: 4%; width: 70%; height: 60%; }
  .c-tall  { top: 26%; width: 46%; height: 70%; border-width: 5px; }
  .c-small { left: 4%; bottom: 0; width: 46%; height: 30%; border-width: 5px; }
  .badge { width: 92px; height: 92px; left: auto; right: 4%; top: -2%; }
  .badge text { font-size: 9px; }
  .badge i { font-size: 20px; }
  .float-card { display: none; }
  .about-grid { gap: 44px; }
  .stats { gap: 26px 18px; }

  /* Experiences: compact cards with the icon beside the text */
  .exp-grid { grid-template-columns: 1fr; gap: 14px; }
  .exp-card { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; align-items: start; padding: 22px 20px; }
  .exp-icon { grid-row: span 2; width: 50px; height: 50px; font-size: 19px; margin: 0; }
  .exp-card h3 { font-size: 18px; margin-bottom: 4px; }
  .exp-card p { font-size: 14px; }

  /* Packages: swipeable carousel */
  .packages-head { margin-bottom: 28px; }
  .filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { padding: 9px 16px; white-space: nowrap; }
  .pkg-grid {
    display: flex; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 30px;
    scrollbar-width: none;
  }
  .pkg-grid::-webkit-scrollbar { display: none; }
  .pkg-card { flex: 0 0 80%; scroll-snap-align: start; }
  .js .pkg-grid .pkg-card.reveal { opacity: 1; transform: none; } /* keep the next card peeking in; its photo still wipes in on arrival */
  .pkg-media { height: 220px; }
  .pkg-body { padding: 20px; }
  .pkg-meta { gap: 12px; }

  /* Quote */
  .quote-banner { height: 72vh; min-height: 440px; }
  .quote-mark { font-size: 34px; }

  /* Process: 2 × 2 grid */
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 14px; }
  .step { padding: 0; }
  .step-icon { width: 64px; height: 64px; font-size: 21px; margin-bottom: 16px; }
  .step h3 { font-size: 16.5px; }
  .step p { font-size: 13.5px; line-height: 1.5; }

  /* Testimonials & contact */
  .t-card { padding: 26px 22px; }
  .booking-form { padding: 26px 20px; border-radius: 20px; }
  .booking-form h3 { font-size: 21px; }
  .contact-list a, .contact-list p { font-size: 16px; }

  /* Footer */
  .footer { padding-top: 64px; }
  .newsletter { padding: 26px 20px; margin-bottom: 48px; }
  .newsletter h3 { font-size: 22px; }
  .newsletter-form { flex-direction: column; min-width: 0; }
  .newsletter-form input { flex: none; height: 52px; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-bottom: 36px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; font-size: 13px; }
  .footer-word { font-size: 34vw; top: 58%; }

  .to-top { width: 42px; height: 42px; right: 14px; bottom: 14px; }
  .watermark { left: 12px; bottom: 14px; font-size: 10px; padding: 5px 10px; }
  .toast { left: 16px; right: 16px; translate: none; text-align: center; }
}

@media (max-width: 380px) {
  .eyebrow-extra { display: none; }
}

/* Portrait screens: re-centre the giant title on the visible slice of the beach */
@media (max-aspect-ratio: 4/5) {
  .hero-title { left: 50%; top: 28%; font-size: 6.6cqw; }
  .plane { filter: drop-shadow(-94px 4px 4px rgba(0, 32, 44, 0.2)); animation-name: fly-plane-tall; }
  @keyframes fly-plane-tall {
    0%, 12% { transform: translate(130vw, 114vh) rotate(241deg); }
    42%     { transform: translate(-70vw, -50vh) rotate(241deg); }
    100%     { transform: translate(-70vw, -50vh) rotate(241deg); }
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .birds { display: none; }
  [data-speed] { transform: none !important; }
  .scrub-words .w > span { opacity: 1 !important; transform: none !important; }
}
