:root {
  --ocean: #0097b2;
  --ocean-deep: #006d8f;
  --sunset: #ff7a3d;
  --sunset-soft: #fff0e8;
  --navy: #071b33;
  --navy-2: #0d2a45;
  --sand: #f8f4ee;
  --white: #ffffff;
  --muted: #607083;
  --line: rgba(7, 27, 51, 0.11);
  --shadow: 0 24px 70px rgba(7, 27, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* prevents horizontal scroll without breaking position:fixed on iOS Safari */
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 18px;
  align-content: center;
  background: var(--navy);
  color: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 58px;
  height: 58px;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--sunset);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.navbar {
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 27, 51, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.footer-brand i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--sunset));
  color: var(--white);
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sunset);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  padding: 0.78rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sunset {
  background: linear-gradient(135deg, var(--sunset), #ffb347);
  color: var(--white);
  box-shadow: 0 15px 28px rgba(255, 122, 61, 0.27);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-outline-navy {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero-slider,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.88), rgba(7, 27, 51, 0.42), rgba(7, 27, 51, 0.2)),
    linear-gradient(180deg, rgba(7, 27, 51, 0.28), rgba(0, 151, 178, 0.22));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ocean-deep);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.eyebrow.light {
  color: #9ee8f2;
}

.hero-section h1,
.section-title,
.booking-panel h2,
.dashboard-panel h2,
.booking-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-section h1 {
  max-width: 560px;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  margin-bottom: 20px;
}

.booking-card h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.booking-card,
.booking-panel,
.dashboard-panel,
.contact-card,
.contact-form-card,
.filter-panel,
.map-card,
.tool-card {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.booking-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.card-kicker {
  margin-bottom: 6px;
  color: var(--sunset);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 11px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 0.2rem rgba(0, 151, 178, 0.15);
}

.section {
  padding: 105px 0;
  position: relative;
}

.section-soft {
  background:
    radial-gradient(circle at top left, rgba(0, 151, 178, 0.13), transparent 34%),
    linear-gradient(180deg, #fbfdff, var(--sand));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.section-heading p,
.section p {
  color: var(--muted);
}

.image-stack {
  position: relative;
}

.main-img {
  height: 560px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.mini-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.91);
  border-radius: 22px;
  font-weight: 800;
}

.mini-card i {
  color: var(--sunset);
  font-size: 1.7rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.stats-grid div {
  padding: 18px;
  border-radius: 20px;
  background: var(--sand);
}

.stats-grid strong {
  display: block;
  font-size: 1.8rem;
  color: var(--ocean-deep);
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card,
.package-card,
.fleet-card,
.blog-card,
.offer-card,
.feature-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(7, 27, 51, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.package-card:hover,
.fleet-card:hover,
.blog-card:hover,
.offer-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card img,
.package-card img,
.fleet-card img,
.blog-card img {
  height: 210px;
  object-fit: cover;
}

.service-body,
.package-body {
  padding: 22px;
}

.service-body i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -50px;
  margin-bottom: 14px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--ocean), var(--sunset));
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 15px 30px rgba(0, 151, 178, 0.22);
}

.service-body h3,
.package-body h3,
.fleet-card h3,
.feature-card h3,
.offer-card h3,
.blog-card h3,
.tool-card h3 {
  font-size: 1.18rem;
  font-weight: 900;
}

.service-body a,
.offer-card a,
.blog-card a {
  color: var(--ocean-deep);
  font-weight: 900;
}

.filter-panel {
  padding: 22px;
  margin-bottom: 30px;
  background: var(--white);
}

.price {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sunset-soft);
  color: var(--sunset);
  font-weight: 900;
}

.package-body ul {
  padding-left: 20px;
  color: var(--muted);
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.package-actions .btn {
  flex: 1 1 150px;
}

.pricing-note {
  margin: 28px auto 0;
  max-width: 900px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--sunset-soft);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.96), rgba(13, 42, 69, 0.93)),
    url("/assets/images/flic-en-flac-sunset.webp") center/cover;
  color: var(--white);
}

.dark-section .section-title,
.dark-section h3 {
  color: var(--white);
}

.feature-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.feature-card i,
.offer-card i {
  color: var(--sunset);
  font-size: 2rem;
  margin-bottom: 18px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.fleet-card,
.blog-card {
  padding-bottom: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card div {
  padding: 22px;
}

.article-card h3,
.article-card p {
  margin-left: 0;
  margin-right: 0;
}

.guide-link-card {
  display: block;
  color: var(--navy);
  text-align: center;
}

.guide-link-card:hover {
  color: var(--navy);
}

.guide-link-card h3 {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.guide-link-card span {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
  color: var(--ocean-deep);
  font-weight: 900;
}

.article-image {
  width: 100%;
  height: 190px;
  margin: -4px 0 18px;
  border-radius: 18px;
  object-fit: cover;
}

.fleet-card h3,
.fleet-card p,
.fleet-card strong,
.blog-card h3,
.blog-card a {
  margin-left: 22px;
  margin-right: 22px;
}

.fleet-card strong {
  display: block;
  color: var(--ocean-deep);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.map-card,
.tool-card {
  padding: 24px;
  background: var(--white);
}

.mauritius-map {
  position: relative;
  min-height: 440px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0 28%, rgba(0, 151, 178, 0.28) 29% 31%, transparent 32%),
    linear-gradient(145deg, #b7f3f0, #eaf9ff);
  overflow: hidden;
}

.mauritius-map::before {
  content: "";
  position: absolute;
  inset: 12% 28% 9% 28%;
  border-radius: 48% 52% 46% 54% / 32% 42% 58% 68%;
  background: linear-gradient(135deg, #48c78e, #f6d365);
  transform: rotate(10deg);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.18);
}

.mauritius-map button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 27, 51, 0.2);
}

.tool-result {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--sand);
}

.destination-card-mini {
  display: block;
  color: var(--navy);
}

.destination-card-mini:hover {
  color: var(--navy);
}

.language-row {
  display: flex;
  gap: 8px;
}

.language-row button,
.dashboard-tabs button {
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--white);
  font-weight: 900;
}

.language-row .active,
.dashboard-tabs .active {
  background: var(--navy);
  color: var(--white);
}

.pkg-hidden {
  display: none;
}

@keyframes pkg-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-hidden {
  display: none;
}

.gallery-grid {
  display: none;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--navy);
  cursor: pointer;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 27, 51, 0.78);
  color: var(--white);
  font-weight: 900;
  text-align: left;
}

.gallery-item::after {
  content: "\f00e";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--white);
  font-size: 1.8rem;
  opacity: 0;
  background: rgba(7, 27, 51, 0.34);
  transition: opacity 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.88;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

@media (min-width: 992px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
  }

  .gallery-carousel {
    display: none;
  }
}

/* ── Gallery Carousel ─────────────────────────────────────────────────────
   Height strategy:
   1. .gallery-carousel uses padding-top:56.25% as a universal fallback (16:9)
   2. @supports resets that and uses aspect-ratio for modern browsers
   3. .gallery-track fills the carousel with position:absolute, then uses
      display:grid so that all .gallery-slide items share grid-area:1/1 —
      they stack on top of each other inside the grid cell.
   4. .gallery-slide img uses width/height:100% whose percentage resolves
      against the grid cell (explicit, never falls back to auto).
──────────────────────────────────────────────────────────────────────────── */
.gallery-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 fallback for browsers without aspect-ratio */
  background: var(--navy);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

@supports (aspect-ratio: 16 / 9) {
  .gallery-carousel {
    aspect-ratio: 16 / 9;
    padding-top: 0;
  }
}

.gallery-track {
  /* Fills the carousel however tall it is (padding-top OR aspect-ratio) */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Grid stacking: all children placed in cell 1/1 overlap each other */
  display: grid;
}

.gallery-slide {
  /* All slides occupy the same grid cell — they layer on top of each other */
  grid-area: 1 / 1;
  position: relative; /* containing block for the bottom label */
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-slide span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 27, 51, 0.78);
  color: var(--white);
  font-weight: 900;
  text-align: left;
  pointer-events: none;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(7, 27, 51, 0.65);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(7, 27, 51, 0.95);
}

.gallery-dots {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  min-width: 10px;
}

.gallery-dot.active {
  background: var(--white);
  border-color: var(--white);
}

.video-band {
  min-height: 260px;
  margin-top: 24px;
  padding: 34px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.86), rgba(7, 27, 51, 0.24)),
    url("/assets/images/le-morne-beach.webp") center/cover;
}

.video-band h3 {
  max-width: 680px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-family: "Playfair Display", Georgia, serif;
}

.play-button {
  flex: 0 0 auto;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--sunset);
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-card {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 34px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
}

.stars {
  color: #ffc107;
  letter-spacing: 0.12em;
}

.flag {
  font-size: 1.8rem;
}

.offer-card {
  padding: 28px;
}

.luxury-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}

.luxury-accordion .accordion-button {
  font-weight: 900;
}

.luxury-accordion .accordion-button:not(.collapsed) {
  background: var(--sunset-soft);
  color: var(--navy);
  box-shadow: none;
}

.booking-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 151, 178, 0.88), rgba(7, 27, 51, 0.94)),
    url("/assets/images/flic-en-flac-sunset.webp") center/cover;
}

.booking-panel,
.dashboard-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.booking-panel .form-label {
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.booking-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.status {
  min-width: 92px;
  text-align: center;
  border-radius: 999px;
  padding: 4px 10px;
}

.status.paid,
.status.confirmed {
  background: rgba(72, 199, 142, 0.18);
  color: #adffd8;
}

.status.pending {
  background: rgba(255, 193, 7, 0.18);
  color: #ffe69c;
}

.history-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card,
.contact-form-card {
  padding: 30px;
  background: var(--white);
}

.contact-card p i {
  width: 26px;
  color: var(--sunset);
}

.contact-card p a {
  color: var(--navy);
  text-decoration: none;
}

.contact-card p a:hover {
  color: var(--ocean-deep);
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}

.map-embed {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.footer {
  padding: 70px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer a:not(.btn):not(.footer-brand) {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 8px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 50;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  8%        { transform: translateY(-10px); }
  16%       { transform: translateY(-2px); }
  26%       { transform: translateY(-7px); }
  34%       { transform: translateY(0); }
}

.whatsapp-float {
  right: 20px;
  bottom: 88px;
  width: 58px;
  height: 58px;
  background: #25d366;
  font-size: 1.8rem;
  animation: wa-bounce 4.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation-play-state: paused;
}

.back-to-top {
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 27, 51, 0.9);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  width: min(100%, 980px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
}

.lightbox button {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.luxury-modal {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
}

.confirmation-code {
  padding: 14px;
  border-radius: 16px;
  background: var(--sand);
  font-weight: 900;
}

.chat-box {
  position: fixed;
  right: 20px;
  bottom: 154px;
  z-index: 60;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-box.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  border: 0;
  background: transparent;
  color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.14s;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  display: flex;
  align-items: end;
  padding: 130px 0 80px;
  color: var(--white);
}

.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 51, 0.86), rgba(7, 27, 51, 0.28));
  z-index: 1;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.detail-hero .container {
  position: relative;
  z-index: 2;
}

.detail-hero h1 {
  max-width: 820px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.05;
}

.detail-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.detail-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(7, 27, 51, 0.08);
}

.detail-card i {
  color: var(--sunset);
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.detail-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--sand);
  color: var(--muted);
}

@media (max-width: 1199px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 12px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(7, 27, 51, 0.97);
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .main-img {
    height: 400px;
  }

  .detail-hero {
    padding: 100px 0 60px;
    min-height: 52vh;
  }
}


@media (max-width: 767px) {
  .section {
    padding: 52px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-content {
    padding-top: 72px;
  }

  .trust-row {
    gap: 8px;
    margin-top: 20px;
  }

  .trust-row span {
    width: auto;
    font-size: 0.82rem;
    padding: 7px 11px;
    min-height: 38px;
  }

  .booking-card,
  .booking-panel,
  .dashboard-panel,
  .contact-card,
  .contact-form-card {
    padding: 20px;
    border-radius: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stats-grid strong {
    font-size: 1.5rem;
  }

  .main-img {
    height: 260px;
  }

  .guide-link-card h3 {
    min-height: auto;
    padding: 12px 14px;
  }

  .detail-hero {
    padding: 86px 0 48px;
    min-height: 42vh;
  }

  .detail-hero h1 {
    font-size: clamp(1.9rem, 7vw, 3.2rem);
  }

  .video-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    min-height: auto;
    gap: 16px;
  }

  .review-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    text-align: left;
    gap: 14px;
  }

  .review-card img {
    width: 72px;
    height: 72px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mauritius-map {
    min-height: 300px;
  }

  .package-actions .btn {
    flex: 1 1 100%;
  }

  .pricing-note {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .luxury-accordion .accordion-button {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .offer-card {
    padding: 20px;
  }

  .feature-card {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-actions .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.1rem;
  }

  .trust-row span {
    width: 100%;
    justify-content: flex-start;
  }

  .stats-grid strong {
    font-size: 1.3rem;
  }

  .stats-grid span {
    font-size: 0.82rem;
  }

  .main-img {
    height: 210px;
  }

  .booking-card,
  .booking-panel,
  .dashboard-panel,
  .contact-card,
  .contact-form-card {
    padding: 16px;
    border-radius: 18px;
  }

  .review-card {
    padding: 18px;
  }

  .detail-card {
    padding: 18px;
  }

  .gallery-carousel {
    border-radius: 16px;
  }

  .gallery-prev,
  .gallery-next {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .video-band {
    padding: 20px;
    border-radius: 22px;
  }

  .video-band h3 {
    font-size: 1.5rem;
  }

  .play-button {
    width: 58px;
    height: 58px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 78px;
    right: 14px;
    animation-duration: 6s;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 14px;
  }

  .pricing-note {
    font-size: 0.86rem;
  }

  .detail-hero {
    padding: 76px 0 40px;
    min-height: 38vh;
  }

  .detail-hero h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.8rem);
  }

  .detail-hero p {
    font-size: 1rem;
  }
}

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