/* ---------- 7. Navbar ---------- */
header { position: relative; }

.navbar-beach {
  align-items: center;
  min-height: calc(var(--nav-h) - 10px);
  background: var(--primary);
  /* Bootstrap's own .navbar-nav .nav-link.active rule outranks the brand classes
     and was painting the current page's link black on teal. Hand Bootstrap the
     colours instead of fighting it later in the cascade. */
  --bs-nav-link-color: rgba(255, 255, 255, .84);
  --bs-nav-link-hover-color: var(--white);
  --bs-nav-link-disabled-color: rgba(255, 255, 255, .45);
  --bs-navbar-brand-color: var(--white);
  --bs-navbar-brand-hover-color: var(--white); /* #0B6E69, flat — the one colour the navbar answers to */
  border-bottom: 1px solid rgba(184, 227, 213, .18);
  box-shadow: 0 10px 30px -18px rgba(4, 42, 47, .8);
  color: var(--white);
  display: flex;
  padding: 12px 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  transition: padding var(--t-med) var(--ease-depth), box-shadow var(--t-med) ease;
  z-index: 1030;
}
.navbar-beach.scrolled {
  background: var(--primary);
  box-shadow: 0 14px 34px -20px rgba(4, 42, 47, .95);
  padding: 7px 0;
}
.navbar-beach > .container { align-items: center; display: flex; flex-wrap: nowrap; }

.navbar-brand { align-items: center; color: var(--white); display: flex; gap: 12px; position: relative; }
.navbar-brand:hover { color: var(--white); }
/* the mark that navigates home from every page */
.brand-logo {
  border: 2px solid rgba(184, 227, 213, .6);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(116, 199, 211, .5), 0 6px 16px -8px rgba(4, 42, 47, .9);
  flex: 0 0 46px;
  height: 46px;
  object-fit: cover;
  transition: transform .5s var(--ease-depth), box-shadow .5s var(--ease-depth), border-color .3s ease;
  width: 46px;
}
.navbar-brand:hover .brand-logo {
  border-color: var(--mint);
  box-shadow: 0 0 0 5px rgba(116, 199, 211, .18), 0 10px 22px -10px rgba(4, 42, 47, .95);
  transform: rotate(-8deg) scale(1.07);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.of-word { color: var(--mint); font-size: .62em; font-style: italic; margin: 0 4px; }

/* brand waves: two animated strokes under the wordmark */
.navbar-waves { height: 15px; margin-top: 5px; overflow: visible; width: 126px; }
.navbar-waves .wave1 { animation: waveDrift 5.5s linear infinite; fill: var(--light-blue); opacity: .85; }
.navbar-waves .wave2 { animation: waveDrift 8s linear infinite reverse; fill: var(--mint); opacity: .7; }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.nav-link-beach {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .82);
  display: inline-block;
  font-family: var(--font-label);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 9px 14px;
  position: relative;
  transition: color var(--t-fast) ease, transform var(--t-fast) var(--ease-depth);
}
.nav-link-beach::after {
  background: linear-gradient(90deg, var(--light-blue), var(--mint));
  border-radius: 2px;
  bottom: 2px;
  content: "";
  height: 2px;
  left: 14px;
  right: 14px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-depth);
}
.nav-link-beach:hover { color: var(--white); }
.nav-link-beach:hover::after,
.nav-link-beach.active::after { transform: scaleX(1); }
.nav-link-beach.active,
.navbar-beach .navbar-nav .nav-link-beach.active { color: var(--white); }

.visitor-counter {
  align-items: center;
  border: 1px solid rgba(184, 227, 213, .32);
  border-radius: 50px;
  color: rgba(255, 255, 255, .78);
  display: inline-flex;
  font-family: var(--font-label);
  font-size: .74rem;
  gap: 7px;
  letter-spacing: .04em;
  padding: 7px 15px;
}
.visitor-counter strong { color: var(--mint); font-variant-numeric: tabular-nums; font-weight: 600; min-width: 1.4em; text-align: center; }

/* Zones dropdown (hover on desktop, click/tap everywhere, keyboard-safe) */
.zones-dropdown { position: relative; }
.zones-toggle .chev { display: inline-block; margin-left: 5px; transition: transform var(--t-fast) ease; }
.zones-dropdown.open .zones-toggle .chev { transform: rotate(180deg); }
.dropdown-menu-beach.zones-menu {
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--line-water);
  border-radius: var(--radius-md);
  box-shadow: var(--elev-3);
  display: grid;
  gap: 2px;
  left: 0;
  list-style: none;
  margin: 10px 0 0;
  min-width: 190px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(10px) rotateX(-6deg);
  transform-origin: top center;
  transition: opacity var(--t-med) var(--ease-depth), transform var(--t-med) var(--ease-depth);
  visibility: hidden;
  z-index: 1040;
}
.zones-dropdown.open > .zones-menu,
.zones-dropdown:hover > .zones-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotateX(0);
  visibility: visible;
}
.zones-menu a {
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--dark);
  display: flex;
  font-family: var(--font-label);
  font-size: .84rem;
  gap: 9px;
  justify-content: space-between;
  letter-spacing: .01em;
  padding: 10px 12px;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, padding var(--t-fast) ease;
}
.zones-menu a::after { color: var(--secondary); content: "\2192"; opacity: 0; transform: translateX(-4px);
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease; }
.zones-menu a:hover { background: var(--bg); color: var(--primary); }
.zones-menu a:hover::after { opacity: 1; transform: translateX(0); }

/* hamburger */
.navbar-toggler-beach {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(184, 227, 213, .34);
  border-radius: 12px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background-color var(--t-fast) ease;
  width: 44px;
}
.navbar-toggler-beach:hover { background: rgba(255, 255, 255, .2); }
.navbar-toggler-beach span {
  background: var(--white);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform var(--t-med) var(--ease-depth), opacity var(--t-fast) ease;
  width: 20px;
}
.navbar-toggler-beach.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler-beach.open span:nth-child(2) { opacity: 0; }
.navbar-toggler-beach.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile collapse panel */
.navbar-collapse-beach { flex-grow: 1; }
.navbar-beach .navbar-nav { list-style: none; margin: 0; padding: 0; }

@media (max-width: 991.98px) {
  .navbar-toggler-beach { display: inline-flex; }
  .navbar-beach > .container { flex-wrap: wrap; }
  .navbar-collapse-beach {
    background: var(--primary);
    border: 1px solid rgba(184, 227, 213, .14);
    border-radius: var(--radius-md);
    box-shadow: var(--elev-3);
    flex-basis: 100%;
    margin-top: 12px;
    max-height: calc(100vh - var(--nav-h) - 24px);
    overflow-y: auto;
    padding: 12px;
    width: 100%;
  }
  .navbar-collapse-beach:not(.show):not(.collapsing) { display: none; }
  .navbar-collapse-beach .nav-link-beach { display: block; padding: 12px 14px; width: 100%; }
  .navbar-collapse-beach .nav-link-beach::after { display: none; }
  .navbar-collapse-beach .nav-link-beach.active { background: rgba(116, 199, 211, .16); border-radius: var(--radius-sm); color: var(--mint); }
  .dropdown-menu-beach.zones-menu {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(184, 227, 213, .18);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
  }
  .zones-menu a { color: rgba(255, 255, 255, .86); }
  .zones-menu a:hover { background: rgba(184, 227, 213, .12); color: var(--mint); }
  .zones-dropdown:not(.open) .zones-menu { display: none; }
}

/* ---------- 8. Hero (home) ---------- */
.hero {
  align-items: center;
  background-color: var(--dark-deep);
  background-image: url("../images/beach-hero.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  height: min(calc(100vh - var(--nav-h)), 860px);
  justify-content: center;
  min-height: 560px;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.02);
  transition: transform .6s var(--ease-depth);
  width: 100%;
  z-index: 0;
}
.hero.hero-poster::before {
  animation: kenBurns 26s ease-in-out infinite alternate;
  background-image: url("../images/beach-hero.jpg");
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}
.hero-overlay {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(116, 199, 211, .28), transparent 55%),
    linear-gradient(180deg, rgba(8, 32, 36, .82) 0%, rgba(18, 60, 69, .58) 45%, rgba(11, 110, 105, .72) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}
.hero-overlay::after {
  animation: causticDrift 22s ease-in-out infinite alternate;
  background:
    repeating-linear-gradient(74deg, rgba(184, 227, 213, .12) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(-68deg, rgba(116, 199, 211, .1) 0 2px, transparent 2px 62px);
  content: "";
  filter: blur(14px);
  inset: -20%;
  mix-blend-mode: soft-light;
  opacity: .85;
  position: absolute;
}
@keyframes causticDrift {
  from { transform: translate3d(-3%, -2%, 0) rotate(.6deg) scale(1.06); }
  to { transform: translate3d(4%, 3%, 0) rotate(-1deg) scale(1.14); }
}
.hero-content { max-width: 860px; padding: 0 20px; position: relative; z-index: 3; }

.hero-badge {
  animation: heroReveal 1s var(--ease-depth) forwards .15s;
  height: 92px;
  margin: 0 auto 22px;
  opacity: 0;
  position: relative;
  width: 92px;
}
.hero-badge img {
  border: 3px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(116, 199, 211, .55);
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-badge::before {
  animation: spin 14s linear infinite;
  border: 1.5px dashed rgba(184, 227, 213, .7);
  border-radius: 50%;
  content: "";
  inset: -8px;
  position: absolute;
}
@keyframes heroReveal { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.wave-text {
  animation: waveMove 7s linear infinite;
  background: linear-gradient(90deg, var(--light-blue), var(--white) 25%, var(--mint) 50%, var(--white) 75%, var(--light-blue));
  background-clip: text;
  background-size: 300% 100%;
  color: transparent;
  cursor: default;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  margin: 0 auto 10px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wave-text:hover { animation-duration: 2.2s; }
@keyframes waveMove { to { background-position: -300% 0; } }

.hero-heading {
  animation: heroUp .95s var(--ease-depth) forwards .32s;
  color: rgba(255, 255, 255, .95);
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 300;
  margin: 0 0 18px;
  opacity: 0;
}
.hero-heading strong { color: var(--mint); font-family: var(--font-heading); font-weight: 700; }
.hero-desc {
  animation: heroUp .95s var(--ease-depth) forwards .45s;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto 34px;
  max-width: 620px;
  opacity: 0;
}
.hero-ctas {
  animation: heroUp 1s var(--ease-depth) forwards .58s;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  perspective: 700px;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* waves at the foot of the hero */
.hero-bottom-wave {
  bottom: -2px;
  pointer-events: none;
  left: 0;
  line-height: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}
.hero-bottom-wave svg {
  display: block;
  height: clamp(62px, 10vh, 118px); /* the band must stay shorter than the gap under the buttons */
  shape-rendering: geometricPrecision;
  width: 200%;
}
.hero-bottom-wave .wave-back { animation: waveShift 18s linear infinite; }
.hero-bottom-wave .wave-front { animation: waveShift 11s linear infinite reverse; }
@keyframes waveShift { to { transform: translateX(-50%); } }
.scroll-indicator {
  align-items: center;
  bottom: 30px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .94);
  display: flex;
  flex-direction: column;
  font-family: var(--font-label);
  font-size: .7rem;
  gap: 10px;
  left: 50%;
  letter-spacing: .22em;
  pointer-events: none;
  position: absolute;
  text-align: center;
  white-space: nowrap;
  z-index: 4;
}
.scroll-indicator span {
  background: rgba(8, 32, 36, .46);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 227, 213, .32);
  border-radius: 50px;
  padding: 7px 14px 7px 19px; /* extra left pad cancels the trailing letter-space */
}
.scroll-line {
  background: rgba(8, 32, 36, .3); /* dark track: on the pale wave a white one vanished */
  border-radius: 2px;
  height: 36px;
  overflow: hidden;
  position: relative;
  width: 2px;
}
.scroll-line::after {
  animation: scrollDrop 1.9s ease-in-out infinite;
  background: var(--light-blue);
  content: "";
  height: 60%;
  left: 0;
  position: absolute;
  top: -60%;
  width: 100%;
}
@keyframes scrollDrop { 0% { top: -60%; } 100% { top: 100%; } }

/* ---------- 9. Sub-page banner ---------- */
.page-banner {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--white);
  display: flex;
  height: clamp(280px, 42vh, 420px);
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.page-banner > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  transform: scale(1.05);
  width: 100%;
  z-index: 0;
}
.page-banner::after {
  background: linear-gradient(180deg, rgba(8, 32, 36, .10), rgba(11, 110, 105, .20));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.page-banner-content { padding: 0 20px; position: relative; z-index: 3; }
.page-banner .crumb { color: var(--mint); margin-bottom: 10px; }
.page-banner h1 {
  animation: heroUp .8s var(--ease-depth) both;
  color: var(--white);
  margin-bottom: 8px;
}
.page-banner p:not(.crumb) { animation: heroUp .8s var(--ease-depth) .1s both; color: rgba(255, 255, 255, .84); }

/* section-to-section wave strip */
.wave-divider { line-height: 0; position: relative; }
.wave-divider svg { display: block; height: 72px; shape-rendering: geometricPrecision; width: 100%; }
.page-banner .wave-divider { bottom: -1px; left: 0; position: absolute; right: 0; z-index: 4; }
/* an emptied-out section must never reserve a slab of the page */
section:empty, .section:not(:has(> *:not([aria-hidden="true"]))) { display: none; }

/* ---------- 10. Cards: 3D depth with a lit top edge ---------- */
.zone-card, .beach-card, .video-card, .travel-card, .gallery-item, .map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--dur) var(--ease-depth), box-shadow var(--dur) var(--ease-depth),
              border-color var(--t-med) ease;
}
/* every card sits on a plinth: the shadow under it is a real surface, not a smudge */
.zone-card::after, .travel-card::after, .video-card::after, .gallery-item::after {
  background: radial-gradient(60% 100% at 50% 0%, rgba(11, 60, 69, .26), transparent 70%);
  bottom: -26px;
  content: "";
  filter: blur(14px);
  height: 30px;
  left: 10%;
  opacity: .55;
  position: absolute;
  right: 10%;
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-depth);
  z-index: -1;
}
.zone-card:hover, .beach-card:hover, .video-card:hover, .travel-card:hover,
.gallery-item:hover, .map-card:hover {
  border-color: var(--line-water);
  box-shadow: var(--elev-3);
  transform: translateY(-10px) rotateX(3deg) rotateY(-2deg);
}
.zone-card:hover::after, .travel-card:hover::after, .video-card:hover::after,
.gallery-item:hover::after { opacity: .9; transform: translateY(8px) scaleX(1.08); }

/* zone cards (home + zone index) */

/* beach directory cards (rendered by js/beaches.js) */
.beach-card { display: flex; flex-direction: column; min-height: 100%; }
.beach-card-img { position: relative; overflow: hidden; }
.beach-card-img img {
  aspect-ratio: 4 / 3.1;
  height: auto;
  object-fit: cover;
  transition: transform .9s var(--ease-depth);
  width: 100%;
}
.beach-card:hover .beach-card-img img { transform: scale(1.07); }
.beach-card-tag {
  background: rgba(255, 255, 255, .92);
  border-radius: 50px;
  box-shadow: var(--elev-1);
  color: var(--primary);
  font-family: var(--font-label);
  font-size: .68rem;
  font-weight: 600;
  left: 14px;
  letter-spacing: .12em;
  padding: 5px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
  z-index: 2;
}
.beach-card-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 20px 20px 22px; }
.beach-card-body h3 { font-size: 1.28rem; margin: 0 0 3px; }
.beach-card-body .country {
  align-items: center;
  color: var(--secondary);
  display: flex;
  font-family: var(--font-label);
  font-size: .74rem;
  gap: 6px;
  letter-spacing: .1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.beach-card-body .country::before { background: var(--light-blue); content: ""; height: 1px; width: 16px; }
.beach-card-description {
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  font-size: .86rem;
  line-height: 1.7;
  margin: 0;
  overflow: hidden;
}
.beach-card-hover-overlay {
  background: linear-gradient(160deg, rgba(11, 110, 105, .97), rgba(10, 43, 50, .98));
  border-top: 1px solid rgba(184, 227, 213, .3);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 22px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease-depth), transform var(--dur) var(--ease-depth);
  z-index: 3;
}
.beach-card-hover-overlay > * { transform: translateY(10px); transition: transform var(--dur) var(--ease-depth); }
.beach-card:hover .beach-card-hover-overlay, .beach-card:focus-within .beach-card-hover-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.beach-card:hover .beach-card-hover-overlay > *, .beach-card:focus-within .beach-card-hover-overlay > * { transform: translateY(0); }
.beach-card-overlay-kicker {
  color: var(--mint);
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.beach-card-hover-overlay h3 { color: var(--white); font-size: 1.32rem; margin: 2px 0 0; }
.beach-card-hover-overlay > p { color: rgba(255, 255, 255, .82); font-size: .84rem; line-height: 1.65; margin: 0; }
.beach-card-details { color: var(--white); display: grid; font-size: 0; gap: 7px; list-style: none; margin: 6px 0 10px; padding: 0; }
.beach-card-details li {
  align-items: baseline;
  border-bottom: 1px dashed rgba(184, 227, 213, .26);
  display: flex;
  font-size: .78rem;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 5px;
}
.beach-card-details li span {
  color: var(--mint);
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.beach-card-details li strong { color: var(--white); font-size: .8rem; font-weight: 500; text-align: right; }
.beach-card-hover-overlay .btn-outline-brand { align-self: flex-start; border-color: var(--mint); color: var(--mint); }
.beach-card-hover-overlay .btn-outline-brand:hover { background: var(--mint); border-color: var(--mint); color: var(--dark); }
.beach-card-link {
  align-self: flex-start;
  color: var(--mint);
  font-family: var(--font-label);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (hover: none) and (pointer: coarse) {
  .beach-card-hover-overlay {
    opacity: 1;
    padding: 20px 18px 22px;
    position: relative;
    transform: none;
  }
  .zone-beach-card .beach-card-img img { aspect-ratio: 16 / 9; }
}

/* video cards */
.video-card { cursor: pointer; height: 100%; min-height: 240px; }
.video-card > img {
  filter: saturate(.96) brightness(.94);
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-depth);
  width: 100%;
}
.video-card:hover > img { transform: scale(1.06); }
.video-card-overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 32, 36, .14), rgba(8, 32, 36, .72));
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: background var(--dur) ease;
  z-index: 2;
}
.video-card:hover .video-card-overlay { background: linear-gradient(180deg, rgba(11, 110, 105, .12), rgba(8, 32, 36, .78)); }
.video-play-btn {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  height: 62px;
  justify-content: center;
  position: relative;
  transition: transform var(--dur) var(--ease-depth), background var(--t-med) ease;
  width: 62px;
}
.video-play-btn::before {
  animation: pulseRing 2.6s var(--ease-smooth) infinite;
  border: 1px solid rgba(184, 227, 213, .6);
  border-radius: 50%;
  content: "";
  inset: -6px;
  position: absolute;
}
.video-play-btn svg { fill: currentColor; height: 22px; margin-left: 3px; width: 22px; }
.video-card:hover .video-play-btn { background: var(--secondary); border-color: var(--secondary); transform: scale(1.12); }
@keyframes pulseRing {
  0% { opacity: .9; transform: scale(.9); }
  70% { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}
.video-card-caption {
  bottom: 0;
  left: 0;
  padding: 18px 20px;
  position: absolute;
  right: 0;
  z-index: 3;
}
.video-card-caption h4 { color: var(--white); font-family: var(--font-heading); font-size: 1.08rem; margin: 0 0 2px; }
.video-card-caption p { color: rgba(255, 255, 255, .84); font-size: .8rem; margin: 0; }

.travel-card {
  text-align: center;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(24, 169, 153, .40), transparent 56%),
    radial-gradient(110% 90% at 100% 100%, rgba(116, 199, 211, .22), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='54' viewBox='0 0 600 54' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 75 8 150 30 T 300 30 T 450 30 T 600 30 V54 H0 Z' fill='rgba(184,227,213,0.10)'/%3E%3C/svg%3E") center bottom / 100% 44px no-repeat,
    linear-gradient(165deg, #0F7D77, var(--primary) 42%, var(--dark-deep) 100%);
  border: 1px solid rgba(184, 227, 213, .30);
  box-shadow: 0 18px 42px -18px rgba(4, 42, 47, .74), 0 0 30px -10px rgba(116, 199, 211, .38),
              inset 0 1px 0 rgba(255, 255, 255, .16);
  height: 100%;
  padding: 30px 26px 30px;
  text-align: center;
}/* travel / info cards */
.travel-icon {
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--mint), var(--light-blue));
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 26px -4px rgba(116, 199, 211, .75), var(--elev-1);
  color: var(--dark-deep);
  display: flex;
  height: 54px;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-depth);
  width: 54px;
}
.travel-icon svg { fill: currentColor; height: 26px; width: 26px; }
.travel-card:hover .travel-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.travel-card .travel-icon { margin-left: auto; margin-left: 0; margin-inline: auto; }
.travel-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.travel-card p { color: rgba(255, 255, 255, .84); font-size: .88rem; margin-bottom: 18px; }
.travel-card .btn-outline-brand { align-self: center; background: rgba(255, 255, 255, .06); border-color: rgba(184, 227, 213, .55); color: var(--mint); }
.travel-card { display: flex; flex-direction: column; }
.travel-card .btn-outline-brand:hover, .travel-card .btn-outline-brand:focus-visible {
  background: var(--mint); border-color: var(--mint); box-shadow: 0 12px 26px -10px rgba(184, 227, 213, .8); color: var(--dark);
}
.travel-card::after {
  background: linear-gradient(90deg, transparent, rgba(184, 227, 213, .55), transparent);
  bottom: auto;
  content: "";
  filter: none;
  height: 1px;
  left: 8%;
  opacity: .6;
  position: absolute;
  right: 8%;
  top: 0;
  transition: opacity var(--dur) ease;
}
.travel-card:hover::after { opacity: 1; }
.travel-card:hover {
  border-color: rgba(184, 227, 213, .55);
  box-shadow: 0 28px 54px -20px rgba(4, 42, 47, .8), 0 0 44px -6px rgba(116, 199, 211, .5),
              inset 0 1px 0 rgba(255, 255, 255, .22);
}
.travel-card::before { z-index: 1; }

/* shared column heights: a column that holds one card lets the card fill the row */
@supports selector(:has(*)) {
  .row > [class*="col-"]:has(> .beach-card:only-child),
  .row > [class*="col-"]:has(> .video-card:only-child),
  .row > [class*="col-"]:has(> .travel-card:only-child),
  .row > [class*="col-"]:has(> .gallery-item:only-child),
  .row > [class*="col-"]:has(> .map-card:only-child) { display: flex; }
  .row > [class*="col-"] > .beach-card:only-child,
  .row > [class*="col-"] > .video-card:only-child,
  .row > [class*="col-"] > .travel-card:only-child,
  .row > [class*="col-"] > .gallery-item:only-child,
  .row > [class*="col-"] > .map-card:only-child { flex: 1 1 auto; width: 100%; }
}

/* photo tiles on zone pages */
.gallery-item { cursor: pointer; height: 250px; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .9s var(--ease-depth); width: 100%; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  align-items: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 43, 50, .86));
  color: var(--white);
  display: flex;
  font-family: var(--font-label);
  font-size: .8rem;
  letter-spacing: .14em;
  opacity: 0;
  padding: 18px 20px;
  position: absolute;
  inset: 0;
  text-transform: uppercase;
  transition: opacity var(--dur) ease;
}
.gallery-item:hover .gallery-item-overlay, .gallery-item:focus-within .gallery-item-overlay { opacity: 1; }

/* ---------- 11. Download band (sky over water) ---------- */
.sky-band {
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(116, 199, 211, .35), transparent 58%),
    linear-gradient(180deg, var(--white) 0%, var(--mint) 100%);
  overflow: hidden;
  position: relative;
}
.ocean-sky { inset: 0; pointer-events: none; position: absolute; z-index: 0; }
.os-globe {
  animation: globeFloat 17s ease-in-out infinite alternate;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95), rgba(116, 199, 211, .5) 46%, rgba(11, 110, 105, .18) 72%, transparent 74%);
  border-radius: 50%;
  height: 420px;
  left: -130px;
  position: absolute;
  top: -150px;
  width: 420px;
}
.os-orbit {
  animation: orbitSpin 26s linear infinite;
  border: 1px dashed rgba(11, 110, 105, .28);
  border-radius: 50%;
  height: 340px;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
}
.os-orbit::before {
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(24, 169, 153, .7);
  content: "";
  height: 12px;
  left: 50%;
  margin-left: -6px;
  position: absolute;
  top: -6px;
  width: 12px;
}
@keyframes globeFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 26px, 0) scale(1.08); } }
@keyframes orbitSpin { to { transform: translateY(-50%) rotate(360deg); } }

.download-panel {
  background: linear-gradient(140deg, rgba(11, 110, 105, .98), rgba(10, 43, 50, .98));
  border: 1px solid rgba(184, 227, 213, .26);
  border-radius: var(--radius-xl);
  box-shadow: var(--elev-3);
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  transform-style: preserve-3d;
  z-index: 1;
}
.download-panel { overflow: hidden; z-index: 0; }
.download-panel h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.download-panel p { color: rgba(255, 255, 255, .82); font-size: .95rem; margin: 0; }
.download-panel .btn-glass svg {
  background: rgba(184, 227, 213, .18);
  border-radius: 9px;
  height: 26px;
  padding: 4px;
  width: 26px;
}
.download-panel .btn-glass { font-weight: 600; letter-spacing: .01em; padding: 12px 22px; }
.download-panel .btn-glass:hover svg { background: rgba(11, 110, 105, .14); }
.download-panel .section-eyebrow { color: var(--mint); }
.download-panel .section-eyebrow::before { background: linear-gradient(90deg, var(--mint), transparent); }

/* ---------- 12. Zone pages ---------- */
.zone-number {
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.zone-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.zone-link {
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  justify-content: space-between;
  min-height: 142px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--dur) var(--ease-depth), box-shadow var(--dur) var(--ease-depth);
}
.zone-link:hover { color: var(--white); transform: translateY(-7px) rotateX(4deg); box-shadow: var(--elev-3); }
.zone-link > span { position: relative; z-index: 1; }
.zone-link strong { color: var(--white); display: block; font-family: var(--font-heading); font-size: 1.3rem; }
.zone-link small { color: rgba(255, 255, 255, .8); display: block; font-size: .78rem; margin-top: 3px; }
.zone-link.east { background: linear-gradient(140deg, var(--secondary), var(--primary)); }
.zone-link.west { background: linear-gradient(140deg, var(--light-blue), var(--primary)); }
.zone-link.north { background: linear-gradient(140deg, var(--light-blue), var(--dark)); }
.zone-link.south { background: linear-gradient(140deg, var(--secondary), #23616D); }
.zone-arrow { bottom: 18px; font-size: 1.2rem; position: absolute; right: 20px;
  transition: transform var(--t-med) var(--ease-depth); }
.zone-link:hover .zone-arrow { transform: translate(5px, -5px); }

/* ---------- 13. Footer ---------- */
.footer-beach {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-deep) 100%);
  color: rgba(255, 255, 255, .84);
  margin-top: 0;
  padding-bottom: var(--ticker-h);
  position: relative;
}
.footer-beach .wave-divider { position: relative; transform: scaleY(-1); }
.footer-top { padding: clamp(46px, 6vw, 72px) 0 34px; }
.footer-beach h5 {
  color: var(--white);
  font-family: var(--font-label);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
  text-transform: uppercase;
}
.footer-beach h5::after {
  background: linear-gradient(90deg, var(--secondary), transparent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 34px;
}
.footer-brand-row { align-items: center; display: flex; gap: 12px; margin-bottom: 16px; }
.footer-brand-row img { border-radius: 50%; height: 44px; object-fit: cover; width: 44px; }
.footer-brand-row .brand-name { font-size: 1.25rem; }
.footer-beach p { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.footer-link {
  color: rgba(255, 255, 255, .84);
  display: block;
  font-size: .86rem;
  margin-bottom: 9px;
  padding-left: 0;
  position: relative;
  transition: color var(--t-fast) ease, padding var(--t-fast) var(--ease-depth);
}
.footer-link::before {
  color: var(--light-blue);
  content: "\203A";
  left: 0;
  opacity: 0;
  position: absolute;
  top: -1px;
  transition: opacity var(--t-fast) ease;
}
.footer-link:hover { color: var(--mint); padding-left: 15px; }
.footer-link:hover::before { opacity: 1; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  align-items: center;
  border: 1px solid rgba(184, 227, 213, .28);
  border-radius: 50%;
  color: rgba(255, 255, 255, .86);
  display: flex;
  height: 40px;
  justify-content: center;
  transition: transform var(--t-med) var(--ease-depth), background var(--t-med) ease,
              color var(--t-med) ease, border-color var(--t-med) ease;
  width: 40px;
}
.social-icon svg { fill: currentColor; height: 17px; width: 17px; }
.social-icon:hover, .social-icon:focus-visible {
  animation: none;
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateZ(34px) translateY(-4px) rotate(6deg);
}
.footer-contact-item {
  align-items: flex-start;
  color: rgba(255, 255, 255, .84);
  display: flex;
  font-size: .86rem;
  gap: 11px;
  margin-bottom: 13px;
  line-height: 1.6;
}
.footer-contact-item svg { fill: var(--light-blue); flex: 0 0 18px; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .74);
  font-size: .8rem;
  padding: 18px 0;
  text-align: center;
}

/* ---------- 14. Ticker, floating logo, back to top ---------- */
.ticker-wrap {
  /* a designed bar, not a raw data strip: glass + wave-topped edge */
  background: linear-gradient(90deg, rgba(11, 110, 105, .95), rgba(18, 60, 69, .97));
  backdrop-filter: blur(8px);
  border-radius: 16px 16px 0 0;
  clip-path: polygon(0 10px, 6% 3px, 13% 10px, 20% 3px, 27% 10px, 34% 3px, 41% 10px, 48% 3px, 55% 10px, 62% 3px, 69% 10px, 76% 3px, 83% 10px, 90% 3px, 100% 10px, 100% 100%, 0 100%);
  border-top: 1px solid rgba(184, 227, 213, .22);
  bottom: 0;
  color: var(--white);
  height: var(--ticker-h);
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  white-space: nowrap;
  z-index: 1025;
}
/* edge fades so the marquee dissolves instead of stopping at the viewport */
.ticker-wrap::before, .ticker-wrap::after {
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  width: 96px;
  z-index: 2;
}
.ticker-wrap::before { background: linear-gradient(90deg, #0B6E69 22%, rgba(11, 110, 105, 0)); left: 0; }
.ticker-wrap::after { background: linear-gradient(-90deg, #123C45 22%, rgba(18, 60, 69, 0)); right: 0; }
.ticker-track {
  animation: tickerScroll 34s linear infinite;
  display: inline-flex;
  font-family: var(--font-label);
  font-size: .76rem;
  letter-spacing: .06em;
  line-height: var(--ticker-h);
  will-change: transform;
}
.ticker-track span { padding: 0 26px; position: relative; }
.ticker-track span::after {
  background: rgba(184, 227, 213, .55);
  content: "";
  height: 1px;
  margin-top: 17px;
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
}
.ticker-track .tk-date, .ticker-track .tk-time { color: var(--mint); }
.ticker-wrap::before { filter: saturate(1.1); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.back-to-top {
  align-items: center;
  background: var(--secondary);
  border: 0;
  border-radius: 50%;
  bottom: calc(var(--ticker-h) + 18px);
  box-shadow: 0 14px 26px -12px rgba(11, 110, 105, .8);
  color: var(--white);
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  position: fixed;
  right: 18px;
  transform: translateY(14px);
  transition: opacity var(--t-med) var(--ease-depth), transform var(--t-med) var(--ease-depth),
              background var(--t-fast) ease;
  visibility: hidden;
  width: 46px;
  z-index: 1026;
}
.back-to-top.show { opacity: 1; transform: translateY(0); visibility: visible; }
.back-to-top:hover { background: var(--primary); transform: translateY(-4px); }
.back-to-top svg { fill: currentColor; height: 20px; width: 20px; }

/* ---------- 15. Custom ocean cursor ---------- */
.custom-cursor {
  background: var(--light-blue);
  border-radius: 50%;
  height: 8px;
  left: 0;
  mix-blend-mode: normal;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%);
  transition: width var(--t-med) var(--ease-depth), height var(--t-med) var(--ease-depth), background var(--t-med) ease;
  width: 8px;
  z-index: 9999;
}
.cursor-ring {
  border: 1.5px solid rgba(116, 199, 211, .9);
  border-radius: 50%;
  height: 36px;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%);
  transition: width var(--dur) var(--ease-depth), height var(--dur) var(--ease-depth),
              border-color var(--t-med) ease, background var(--t-med) ease;
  width: 36px;
  z-index: 9998;
}
.cursor-ripple {
  border: 1.5px solid var(--light-blue);
  border-radius: 50%;
  height: 12px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%);
  width: 12px;
  z-index: 9997;
}
.cursor-ripple.active { animation: rippleEffect .62s var(--ease-depth) forwards; }
@keyframes rippleEffect { to { height: 74px; opacity: 0; width: 74px; } }
.custom-cursor.hover-link { background: var(--mint); height: 10px; width: 10px; }
.cursor-ring.hover-link { border-color: var(--mint); height: 52px; width: 52px; background: rgba(184, 227, 213, .12); }
.custom-cursor.hover-button { background: var(--secondary); height: 16px; width: 16px; }
.cursor-ring.hover-button { border-color: var(--secondary); height: 58px; width: 58px; }
.custom-cursor.hover-image { background: var(--light-blue); height: 30px; opacity: .7; width: 30px; }
.cursor-ring.hover-image { border-color: var(--mint); border-style: dashed; height: 64px; width: 64px; }
/* only hide the real pointer while the JS cursor is actually alive */
html.cursor-active, html.cursor-active * { cursor: none !important; }

/* ---------- 16. Modals / lightbox ---------- */
#videoModal .modal-content { background: var(--dark-deep); border: 0; border-radius: var(--radius-lg); overflow: hidden; }
#videoModal .modal-header { background: rgba(255, 255, 255, .06); padding: 10px 14px; }
#videoModal .btn-close { filter: invert(1); opacity: .8; padding: 10px; }
#lightboxModal .modal-content { background: transparent; border: 0; }
#lightboxImg { border-radius: var(--radius-lg); box-shadow: 0 30px 70px -26px rgba(4, 42, 47, .95); }
#lightboxCaption { color: rgba(255, 255, 255, .86); font-family: var(--font-label); font-size: .84rem; letter-spacing: .1em; }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.97); transition: transform .34s var(--ease-depth); }
.modal.show .modal-dialog { transform: none; }

.zone-col { perspective: 1400px; }
.zone-card {
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  height: 344px;
  position: relative;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.zone-card::after { display: none; }
.zone-face {
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  inset: 0;
  overflow: hidden;
  position: absolute;
  transition: box-shadow .5s var(--ease-depth);
}
.zone-face-front { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateY(0deg); }
.zone-card .zone-card-overlay { backface-visibility: visible; -webkit-backface-visibility: visible; }
.zone-face-front > img { height: 100%; object-fit: cover; width: 100%; }
.zone-card-badge {
  background: linear-gradient(0deg, rgba(8, 32, 36, .94) 8%, rgba(8, 32, 36, .6) 54%, rgba(8, 32, 36, 0) 100%);
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  left: 0;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 3;
}
.zone-card-badge .zone-tag {
  background: var(--mint);
  border-radius: 50px;
  color: var(--dark);
  display: inline-block;
  font-family: var(--font-label);
  font-size: .66rem;
  letter-spacing: .16em;
  margin-bottom: 9px;
  padding: 4px 11px;
  text-transform: uppercase;
  width: max-content;
}
.zone-card-badge h3 { color: var(--white); font-size: 1.45rem; margin: 0; text-shadow: 0 2px 12px rgba(4, 42, 47, .7); }
.flip-hint {
  align-items: center;
  color: rgba(255, 255, 255, .82);
  display: inline-flex;
  font-family: var(--font-label);
  font-size: .62rem;
  gap: 6px;
  letter-spacing: .18em;
  margin-top: 12px;
  text-transform: uppercase;
}
.flip-hint::after { content: "\21BB"; font-size: .95rem; }
/* the back: deep teal panel, printed wave, full detail (kicker, copy, facts, action) */
.zone-card .zone-card-overlay {
  align-items: flex-start;
  background-color: var(--primary);
  background-image:
    linear-gradient(160deg, rgba(11, 110, 105, .96), rgba(18, 60, 69, .98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='120' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q 150 20 300 60 T 600 60 T 900 60 T 1200 60 V120 H0 Z' fill='rgba(184,227,213,0.16)'/%3E%3Cpath d='M0 84 Q 150 52 300 84 T 600 84 T 900 84 T 1200 84 V120 H0 Z' fill='rgba(116,199,211,0.16)'/%3E%3C/svg%3E");
  background-position: center, center bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 100% 62%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  text-align: left;
  transform: rotateY(180deg);
}
.zone-card-overlay h3 { color: var(--white); font-family: var(--font-heading); font-size: 1.55rem; margin: 0 0 8px; }
.zone-card-overlay p { color: rgba(255, 255, 255, .9); font-size: .95rem; line-height: 1.65; margin: 0 0 16px; }
.zone-card-overlay .zone-facts {
  border-top: 1px solid rgba(184, 227, 213, .28);
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding-top: 14px;
}
.zone-card-overlay .zone-facts li {
  align-items: baseline;
  color: var(--mint);
  display: flex;
  font-family: var(--font-label);
  font-size: .66rem;
  gap: 10px;
  justify-content: space-between;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.zone-card-overlay .zone-facts li strong { color: var(--white); font-size: .82rem; font-weight: 500; letter-spacing: .01em; text-transform: none; }
.zone-card .zone-card-overlay .btn-outline-brand { align-self: flex-start; border-color: var(--mint); color: var(--mint); transform: none; }
.zone-card .zone-card-overlay .btn-outline-brand:hover,
.zone-card .zone-card-overlay .btn-outline-brand:focus-visible { background: var(--mint); border-color: var(--mint); color: var(--dark); }
.zone-col.is-turned .zone-card { transform: rotateY(180deg); }
.zone-col .zone-card-overlay { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .12s linear, visibility 0s linear .12s; }
.zone-col.is-turned .zone-card-overlay { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .12s linear .68s, visibility 0s; }
.zone-col .zone-face-front { opacity: 1; visibility: visible; transition: opacity .12s linear .68s, visibility 0s; }
.zone-col.is-turned .zone-face-front { opacity: 0; visibility: hidden; transition: opacity .12s linear, visibility 0s linear .12s; }
.zone-col:hover .zone-face { box-shadow: var(--elev-3); }

/* Touch: photo, then its own panel underneath - nothing to turn. */
@media (hover: none) and (pointer: coarse) {
  .zone-col { perspective: none; }
  .zone-card { height: auto; transform: none !important; transform-style: flat; transition: none; }
  .zone-face, .zone-card .zone-card-overlay {
    inset: auto;
    opacity: 1 !important;
    position: relative;
    transform: none !important;
    transition: none;
    visibility: visible !important;
  }
  .zone-face-front { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .zone-face-front > img { aspect-ratio: 4 / 3; height: auto; }
  .zone-card .zone-card-overlay { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 22px 24px 26px; pointer-events: auto; }
  .zone-card-badge { padding-bottom: 18px; }
  .zone-card-badge h3, .flip-hint { display: none; }
}

/* ---------- 17b. Animated sea behind a section (photo that keeps drifting) ---------- */
.section-sea { position: relative; }
.section-sea::after {
  background:
    var(--sea-veil, linear-gradient(180deg, rgba(242, 250, 248, .74), rgba(242, 250, 248, .58) 55%, rgba(242, 250, 248, .82))),
    var(--sea-img, url("../images/sea6.avif")) center / cover no-repeat;
  bottom: -5%;
  content: "";
  left: -5%;
  pointer-events: none; 
  position: absolute;
  right: -5%;
  top: -5%;
  will-change: transform;
  z-index: -1;
  animation: seaDrift 42s ease-in-out infinite alternate;
}
.section-sea > .container { position: relative; z-index: 2; }
/* the seam highlight on ::before is a 1px tide line - it must not size the sea layer */
.section-sea.section-white { background: rgba(255, 255, 255, .34); }
.section-sea.section-mint { background: rgba(184, 227, 213, .28); }
@keyframes seaDrift {
  from { transform: scale(1.05) translate3d(-1.8%, -1.2%, 0); }
  to   { transform: scale(1.16) translate3d(2%, 1.4%, 0); }
}
/* bands must not drift in lockstep or they read as one flat wash */
.section-sea:nth-of-type(even)::after { animation-direction: alternate-reverse; animation-duration: 48s; }
.section-sea:nth-of-type(3n)::after { animation-duration: 54s; animation-delay: -14s; }
@media (max-width: 991.98px) { .section-sea::after { animation-duration: 56s; } }

/* ---------- 18. Animated wave band (gallery + section joins) ---------- */
.wave-band {
  height: 92px;
  line-height: 0;
  overflow: hidden;
  position: relative;
}
.wave-band svg { height: 100%; left: 0; position: absolute; top: 0; width: 200%; }
.wave-band .wb-back { animation: waveShift 26s linear infinite; }
.wave-band .wb-back path { fill: var(--light-blue); opacity: .42; }
.wave-band .wb-front { animation: waveShift 17s linear infinite reverse; }
.wave-band .wb-front path { fill: var(--mint); opacity: .72; }

/* ---------- 19. Animated page banners ---------- */
.page-banner > img { animation: kenBurns 24s ease-in-out infinite alternate; }
.page-banner::before { /* light sweep crossing the banner */
  animation: bannerSweep 9s var(--ease-smooth) infinite;
  background: linear-gradient(115deg, transparent 42%, rgba(184, 227, 213, .22) 50%, transparent 58%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}
@keyframes kenBurns {
  from { transform: scale(1.06) translate3d(-1.6%, 1%, 0); }
  to { transform: scale(1.16) translate3d(1.8%, -1.4%, 0); }
}
@keyframes bannerSweep {
  0%, 62% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

/* ---------- 20. Download band: the buttons never cross the panel wall ---------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .download-panel > .row { align-items: center; flex-direction: column; gap: 24px; }
  .download-panel > .row > [class*="col-"] { flex: 0 0 auto; max-width: 100%; width: 100%; }
  .download-panel .justify-content-lg-end { justify-content: flex-start; }
  .download-panel .btn-glass { background: rgba(255, 255, 255, .12); flex: 1 1 0; min-width: 0; }
}
.download-panel .btn-glass, .download-panel .btn-wave { white-space: normal; word-break: normal; }

/* ---------- 21. About page cards: same deep-water family ---------- */
.about-card {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='48' viewBox='0 0 600 48' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q 75 6 150 26 T 300 26 T 450 26 T 600 26 V48 H0 Z' fill='rgba(184,227,213,0.12)'/%3E%3C/svg%3E") center bottom / 100% 40px no-repeat,
    radial-gradient(120% 100% at 100% 0%, rgba(116, 199, 211, .30), transparent 58%),
    linear-gradient(165deg, #0F7D77, var(--primary) 44%, var(--dark-deep) 100%);
  border-color: rgba(184, 227, 213, .3);
  box-shadow: 0 18px 42px -18px rgba(4, 42, 47, .74), 0 0 34px -8px rgba(116, 199, 211, .42),
              inset 0 2px 0 rgba(184, 227, 213, .42);
  min-height: 100%;
  overflow: hidden;
  padding: 34px 28px 50px;
}
.about-card .divider-mint {
  background: linear-gradient(90deg, var(--mint), rgba(116, 199, 211, .5) 55%, rgba(116, 199, 211, 0));
  border-radius: 3px;
  height: 4px;
  margin: 14px 0 16px;
  max-width: 86px;
}
.about-card.text-center .divider-mint { margin-inline: auto; }
.about-card::after { /* tide ornament: three drops over a printed wave */
  background:
    radial-gradient(circle at 22% 40%, var(--mint) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 40%, rgba(116, 199, 211, .9) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 40%, rgba(184, 227, 213, .6) 0 3px, transparent 4px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='30' viewBox='0 0 600 30' preserveAspectRatio='none'%3E%3Cpath d='M0 16 Q 75 2 150 16 T 300 16 T 450 16 T 600 16 V30 H0 Z' fill='rgba(184,227,213,0.16)'/%3E%3C/svg%3E") center bottom / 100% 22px no-repeat;
  bottom: 0;
  content: "";
  height: 46px;
  left: 0;
  opacity: .85;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: opacity var(--dur) ease;
}
.about-card:hover::after { opacity: 1; }
.about-card:hover { border-color: rgba(184, 227, 213, .55);
  box-shadow: 0 26px 52px -20px rgba(4, 42, 47, .8), 0 0 42px -6px rgba(116, 199, 211, .46), inset 0 1px 0 rgba(255, 255, 255, .2); }
.about-card .travel-icon { color: var(--dark-deep); }

.about-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0; position: relative; z-index: 1; }
.about-card .eyebrow { color: var(--mint); }
.about-card p { color: rgba(255, 255, 255, .84); font-size: .95rem; line-height: 1.8; }
.about-card.text-center { padding: 38px 26px 52px; text-align: center; }
.about-card.text-center h3 { font-size: 1.12rem; margin-top: 14px; }
.about-card .travel-icon { margin-bottom: 0; }
.about-card.text-center .travel-icon { margin-inline: auto; }
.about-card a { position: relative; z-index: 1; }

/* ---------- 22. Footer: glowing water, 3D depth ---------- */
.footer-beach {
  overflow: hidden;
  perspective: 1600px;
}
.footer-beach::before { /* two drifting light pools on the dark water */
  animation: footerGlow 16s ease-in-out infinite alternate;
  background:
    radial-gradient(38% 60% at 12% 6%, rgba(24, 169, 153, .34), transparent 62%),
    radial-gradient(46% 56% at 88% 92%, rgba(116, 199, 211, .22), transparent 64%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.footer-beach::after { /* hairline of moving surf at the very top edge */
  animation: tickerScroll 26s linear infinite;
  background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(184, 227, 213, .5) 26px 52px);
  content: "";
  height: 1px;
  left: 0;
  opacity: .55;
  position: absolute;
  top: 0;
  width: 200%;
}
@keyframes footerGlow {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.footer-top > .row { position: relative; z-index: 1; }
.footer-top [class*="col-"] > * { transition: transform .5s var(--ease-depth); }
.footer-top [class*="col-"] > *:hover { transform: translateZ(24px) rotateX(2deg); }
.footer-contact-item, .footer-link { position: relative; z-index: 1; }
.footer-bottom { position: relative; z-index: 1; }
.footer-brand-row img { box-shadow: 0 0 0 4px rgba(184, 227, 213, .12), 0 10px 24px -12px rgba(0, 0, 0, .8); }

/* ---------- 23. Footer water: one quiet, natural swell (lightning retired) ---------- */
.footer-beach { position: relative; }
.footer-waves {
  height: 196px;
  inset: -2px 0 auto;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}
.fw { height: 100%; left: 0; position: absolute; top: 0; width: 200%; will-change: transform; }
.fw-1 { animation: footerLap 58s linear infinite; opacity: .11; }
.fw-1 path { fill: var(--primary); }
.fw-2 { animation: footerLap 40s linear infinite reverse; opacity: .13; }
.fw-2 path { fill: var(--light-blue); }
.fw-3 { animation: footerLap 30s linear infinite; opacity: .07; }
.fw-3 path { fill: var(--mint); }
.footer-beach::before { /* one soft glow at the waterline - still, no flicker */
  animation: none;
  background:
    radial-gradient(42% 46% at 14% 0%, rgba(24, 169, 153, .20), transparent 66%),
    radial-gradient(44% 44% at 88% 0%, rgba(116, 199, 211, .14), transparent 64%);
}
.footer-beach::after { animation-duration: 64s; opacity: .35; } /* surf hairline, slower */
/* type keeps a still glow; a flare on every wave reads busy, not premium */
.footer-beach h5, .footer-link, .footer-beach p, .footer-contact-item, .footer-bottom,
.footer-brand-row .brand-name, .navbar-brand .brand-name,
.footer-top > .row > [class*="col-"]::before { animation: none; }
.footer-beach h5 { text-shadow: 0 0 7px rgba(184, 227, 213, .3), 0 0 16px rgba(116, 199, 211, .14); }
.footer-link:hover { text-shadow: 0 0 9px rgba(184, 227, 213, .45); }
.footer-top > .row > [class*="col-"] { animation: ledgeFloat 12s ease-in-out infinite alternate; }
.footer-top > .row > [class*="col-"]:nth-child(2) { animation-duration: 14s; animation-delay: -3.5s; }
.footer-top > .row > [class*="col-"]:nth-child(3) { animation-duration: 13s; animation-delay: -7s; }
.footer-top > .row > [class*="col-"]:nth-child(4) { animation-duration: 15s; animation-delay: -10s; }
.social-icon { animation: tileFloat 6.6s ease-in-out infinite alternate; }
.social-icon:nth-child(2) { animation-duration: 7.4s; animation-delay: -1.8s; }
.social-icon:nth-child(3) { animation-duration: 6s; animation-delay: -3.4s; }
.social-icon:nth-child(4) { animation-duration: 7.2s; animation-delay: -5s; }
.zone-card-badge h3 { transform: none; }
@media (max-width: 767.98px) {
  .footer-waves { height: 132px; }
  .fw-3 { display: none; }
}

/* ---------- 24. Full-page wave field  ------- */
.page-waves {
  bottom: 0;
  contain: paint;
  inset: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
}
.pw { height: 100%; left: 0; position: absolute; top: 0; width: 200%; will-change: transform; }
.pw path { fill: var(--light-blue); }
.pw path { stroke: var(--primary); stroke-opacity: .13; stroke-width: 6; }
/* words sit on a soft plate so they stay crisp over moving water */
.section-heading, .section-sub, .section-eyebrow, .travel-card h3, .about-card p { position: relative; }
.pw-a { opacity: .5; }
.pw-a path { fill: var(--mint); }
.pw-b { opacity: .4; }
.pw-b path:last-child { fill: var(--mint); }
.pw-c { opacity: .5; }
.pw-c path { fill: var(--light-blue); }
.pw-c path:last-child { fill: var(--secondary); opacity: .6; }
/* the wash has to let the field through, or the waves stay invisible */
body::before { z-index: -3; }
body::after {
  background:
    linear-gradient(180deg, rgba(242, 250, 248, .34), rgba(242, 250, 248, .48) 55%, rgba(242, 250, 248, .4)),
    radial-gradient(70% 50% at 85% 0%, rgba(116, 199, 211, .1), transparent 60%);
  z-index: -2;
}
.section-white { background: rgba(255, 255, 255, .40); }
.section-mint {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 22%),
    rgba(184, 227, 213, .34);
}
.sky-band { background: radial-gradient(90% 120% at 12% 0%, rgba(116, 199, 211, .26), transparent 58%), linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(184, 227, 213, .7)); }
/* surfaces the words sit on stay solid enough to read */
.form-beach, .query-form, .form-panel, .map-card, .about-card, .gallery-card,
.beach-card, .travel-card, .video-card { background-color: var(--white); }
/* the flipped panel keeps its own deep teal - it must not be flattened to white */
.zone-card .zone-card-overlay { background-color: var(--primary); }

.about-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  display: block;
  overflow: hidden;
  position: relative;
  transition: transform .6s var(--ease-depth), box-shadow .6s var(--ease-depth);
}
.about-frame::after { /* rim light along the top edge */
  background: linear-gradient(90deg, transparent, rgba(184, 227, 213, .75), transparent);
  content: "";
  height: 2px;
  left: 12%;
  opacity: .55;
  position: absolute;
  right: 12%;
  top: 0;
  transition: opacity var(--dur) ease;
  z-index: 2;
}
.about-photo {
  display: block;
  filter: saturate(.97);
  height: 320px;
  width: 100%;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-depth), filter .6s ease;
  
}
.about-frame__glint {
  background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, .34) 46%, rgba(184, 227, 213, .3) 54%, transparent 78%);
  height: 100%;
  left: -55%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: skewX(-14deg);
  transition: opacity .2s ease;
  width: 48%;
  z-index: 1;
}
.about-frame:hover, .about-frame:focus-within { box-shadow: var(--elev-3); transform: translateY(-8px); }
.about-frame:hover .about-photo, .about-frame:focus-within .about-photo { filter: saturate(1.1); transform: scale(1.09); }
.about-frame:hover::after { opacity: 1; }
.about-frame:hover .about-frame__glint { animation: frameGlint 1.15s var(--ease-smooth); }
@media (hover: none) and (pointer: coarse) {
  .about-frame, .about-frame .about-photo { transform: none !important; }
  .about-frame .about-photo { filter: none; }
}

.section-white, .comments-section, .beach-faq-section, .gallery-section, .beach-contact-section { overflow-x: clip; position: relative; }
/* sections that already carry their own chosen water (.section-sea) are left alone */
.section-white:not(.section-sea)::after, .comments-section::after, .beach-faq-section::after {
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  inset: -5%;
  pointer-events: none; 
  position: absolute;
  will-change: transform;
  z-index: -1;
}
.section-white:not(.section-sea)::after {
  background-image:
    linear-gradient(180deg, rgba(242, 250, 248, .62), rgba(242, 250, 248, .46) 55%, rgba(242, 250, 248, .68)),
    url("../images/sea4.jpg");
  background-position: center, center;
}
.section-white:nth-of-type(even):not(.section-sea)::after {
  background-image:
    linear-gradient(180deg, rgba(242, 250, 248, .62), rgba(242, 250, 248, .46) 55%, rgba(242, 250, 248, .68)),
    url("../images/sea5.jpg");
}
.section-white:nth-of-type(odd):not(.section-sea)::after { animation: seaDrift 44s ease-in-out infinite alternate; }
.section-white:nth-of-type(even)::after { animation: seaDrift 50s ease-in-out infinite alternate-reverse; }
.comments-section::after {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(242, 250, 248, .5)),
    url("../images/sea11.jpg");
  animation: seaDrift 46s ease-in-out infinite alternate;
}
.beach-faq-section::after {
  background-image:
    linear-gradient(180deg, rgba(231, 247, 243, .64), rgba(248, 252, 251, .48)),
    url("../images/beaches-6.jpg");
  animation: seaDrift 52s ease-in-out infinite alternate-reverse;
}
.gallery-section::after {
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(242, 250, 248, .58), rgba(242, 250, 248, .78)),
    url("../images/sea12.jpg");
  animation: seaDrift 48s ease-in-out infinite alternate;
}

.page-contact .beach-contact-section {
  animation: contactSea 46s ease-in-out infinite alternate-reverse !important;
  background-image:
    linear-gradient(135deg, rgba(242, 250, 248, .74) 0%, rgba(116, 199, 211, .42) 35%,
                    rgba(184, 227, 213, .48) 65%, rgba(242, 250, 248, .74) 100%),
    url("../images/sea7.avif") !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: cover, cover !important;
}
.section-white > .container, .comments-section > .container,
.beach-faq-section > .faq-container, .gallery-grid, .contact-container,
.contact-info-list, .contact-bottom-waves { position: relative; z-index: 1; }
.gallery-grid { z-index: 2; }
/* the bands were solid; let the water through and keep panels opaque */
.section-white:not(.section-sea) { background: rgba(255, 255, 255, .38); }
.comments-section { background: rgba(255, 255, 255, .46); }
.beach-faq-section { background: transparent; }
@media (max-width: 991.98px) {
  .section-white:not(.section-sea)::after, .comments-section::after, .beach-faq-section::after,
    .gallery-section::after { animation-duration: 64s; }
}

.bob-dialog { inset: 0; position: fixed; z-index: 1060; }
.bob-dialog[hidden] { display: none; }
.bob-dialog__backdrop {
  background: rgba(8, 32, 36, .62);
  backdrop-filter: blur(4px);
  inset: 0;
  position: absolute;
}
.bob-dialog__card {
  animation: dialogIn .42s var(--ease-depth);
  background: linear-gradient(165deg, var(--white), var(--bg));
  border: 1px solid rgba(184, 227, 213, .8);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -30px rgba(4, 42, 47, .8), 0 0 60px -18px rgba(116, 199, 211, .55),
              inset 0 1px 0 var(--white);
  left: 50%;
  max-width: min(520px, calc(100% - 36px));
  padding: 34px 30px 28px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.bob-dialog__crest {
  fill: var(--mint);
  height: 34px;
  left: 0;
  opacity: .8;
  position: absolute;
  top: 0;
  width: 100%;
}
.bob-dialog__mark {
  align-items: center;
  background: linear-gradient(150deg, var(--mint), var(--light-blue));
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(184, 227, 213, .3), 0 12px 26px -10px rgba(11, 110, 105, .6);
  color: var(--dark);
  display: flex;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  height: 62px;
  justify-content: center;
  margin: 6px auto 16px;
  width: 62px;
}
.bob-dialog[data-state="fix"] .bob-dialog__mark { background: linear-gradient(150deg, var(--light-blue), var(--secondary)); color: var(--white); }
.bob-dialog__card h3 { font-size: 1.45rem; margin: 0 0 6px; }
.bob-dialog__card p { color: var(--muted); font-size: .95rem; margin: 0 auto 14px; max-width: 40ch; }
.bob-dialog__card ul { list-style: none; margin: 0 auto 20px; max-width: 38ch; padding: 0; text-align: left; }
.bob-dialog__card li {
  border-left: 3px solid var(--light-blue);
  color: var(--dark);
  font-size: .88rem;
  margin-bottom: 7px;
  padding: 2px 0 2px 12px;
}
.bob-dialog__card .btn-wave { min-width: 150px; }
@keyframes dialogIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.bob-dialog__card:focus-within { outline: none; }
@media (prefers-reduced-motion: reduce) { .bob-dialog__card { animation: none; } }

body {
    overflow-x: hidden;
}
/* Make animations smoother */
.bubble,
.contact-bg-shape,
.contact-wave-back,
.contact-wave-front {
    will-change: transform;
}

/* Reduce GPU load from heavy blur */
.beach-contact-section::before,
.beach-contact-section::after {
    will-change: transform;
}

/* Keep glass effect but lighter */
.contact-glass-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    will-change: auto;
}
/* SMOOTH PERFORMANCE*/
.contact-glass-card,
.query-form {
transform: translateZ(0);
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

.bubble,
.contact-bg-shape,
.faq-bubble,
.faq-shape {
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

.contact-bottom-waves svg {
transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference) {
.bubble,
.faq-bubble,
.contact-bg-shape {
    will-change: transform, opacity;
}
}
/* Reduce video card height */
.video-card {
  height: 350px;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}