/* ==========================================================
   Bajovibes — main stylesheet
   ========================================================== */

:root {
  --navy: #0f2536;
  --navy-deep: #091a27;
  --teal: #1f8ea8;
  --teal-dark: #18768c;
  --logo-blue: #2ba3c0;
  --gold: #d4b98c;
  --gold-dark: #c6a774;
  --sand: #faf6f0;
  --mint: #eaf2f1;
  --white: #ffffff;
  --ink: #13293d;
  --muted: #66727a;
  --line: rgba(15, 37, 54, 0.1);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 54, 0.04);
  --shadow: 0 16px 36px -24px rgba(15, 37, 54, 0.22);
  --shadow-lg: 0 28px 56px -34px rgba(15, 37, 54, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 em, h2 em { font-style: italic; color: var(--teal); }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(88px, 11vw, 144px) 0; position: relative; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light { color: #a0d6e3; }
.eyebrow .dot { opacity: 0.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 10px 24px -10px rgba(31, 142, 168, 0.6); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 12px 28px -12px rgba(212, 185, 140, 0.8); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); padding: 16px 36px; }
.btn-navy:hover { background: var(--teal); box-shadow: 0 14px 30px -12px rgba(31, 142, 168, 0.6); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--teal);
  border-bottom: 1px solid rgba(31, 142, 168, 0.3);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
button.link-arrow {
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.link-arrow::after { content: "→"; transition: transform 0.35s var(--ease); }
.link-arrow[aria-expanded="true"]::after { transform: rotate(90deg); }
.link-arrow:hover { gap: 14px; border-color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow 0.3s, height 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15, 37, 54, 0.25); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 148px; height: auto; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 0.93rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta-mobile { display: none; }

.header-cta { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 100px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 39, 0.82) 0%, rgba(9, 26, 39, 0.45) 50%, rgba(9, 26, 39, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 26, 39, 0.55) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-content { max-width: 1200px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 14ch;
  margin-bottom: 0.4em;
}
.hero h1 em { color: var(--gold); }
.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--white);
  animation: scrollCue 2s infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.about-text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 50ch; }
.about-logo {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
}
.about-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 46% 54% / 60% 52% 48% 40%;
  background: radial-gradient(circle at 50% 50%, var(--mint) 0%, rgba(234, 242, 241, 0) 70%);
  z-index: -1;
}
.about-logo img { width: 100%; max-width: 480px; margin: 0 auto; mix-blend-mode: multiply; }

/* ---------- Tours ---------- */
.tours { background: var(--sand); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head h2 { margin-bottom: 0; }
.section-head-note { max-width: 36ch; color: var(--muted); margin: 0; }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tour-card:hover .tour-media img { transform: scale(1.07); }
.tour-num { display: none;

  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.tour-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.tour-body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.4rem; }
.tour-body p:not(.tour-from) { flex: 1; }
.tour-body h3 a { color: inherit; transition: color 0.25s; }
.tour-body h3 a:hover { color: var(--teal); }
.tour-from {
  margin: -0.4rem 0 1.2rem;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
}
.tour-from strong { color: var(--navy); font-size: 1.02rem; font-weight: 600; margin-left: 4px; }
.tour-body .link-arrow { align-self: flex-start; }

/* ---------- Package dropdown ---------- */
.btn { font-family: inherit; cursor: pointer; }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.pkg-drop {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.4s;
  opacity: 0;
}
.pkg-drop.is-open { grid-template-rows: 1fr; opacity: 1; }
.pkg-drop-inner { overflow: hidden; min-height: 0; }

.tour-grid > .pkg-drop { grid-column: 1 / -1; order: 10; }
.tour-grid > .pkg-drop:not(.is-open) { margin-top: -28px; }

.pkg-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
}
.pkg-panel > h3 { font-size: 1.5rem; }
.pkg-lead { color: var(--muted); font-size: 1.02rem; max-width: 70ch; margin-bottom: 1.6rem; }
.pkg-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.pkg-panel .pkg-drop.is-open { margin-top: 36px; }
.pkg-options {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pkg-options > h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 0.4em; }
.pkg-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 2rem;
}
.pkg-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31, 142, 168, 0.35); }
.pkg-card h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal);
}
.pkg-price span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pkg-courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pkg-courses li { display: grid; gap: 2px; }
.pkg-course-name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.pkg-more {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px dashed rgba(31, 142, 168, 0.5);
}
.pkg-more:hover { border-bottom-style: solid; }

.pkg-specs {
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  flex: 1;
  align-content: start;
}
.pkg-specs dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2px;
}
.pkg-specs dd { margin: 0; color: var(--ink); font-size: 0.93rem; line-height: 1.55; }
.pkg-card { min-width: 0; }
.pkg-card > .btn { align-self: flex-start; white-space: normal; text-align: center; }
.pkg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pkg-card h4 + .pkg-specs { border-top: 0; padding-top: 0; margin-top: 10px; }
.pkg-card > .btn-block { align-self: stretch; }

/* Fun Dive Bundling */
.bundle {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 2rem;
  padding: clamp(28px, 3.5vw, 40px);
  background: linear-gradient(135deg, var(--navy) 0%, #144458 100%);
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}
.bundle::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 163, 192, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.bundle:hover { border-color: transparent; }
.bundle.is-selected { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.bundle-info, .bundle-pricing { position: relative; }
.bundle-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.bundle h4 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.bundle-duration { margin: 0 0 20px; font-weight: 500; color: #a0d6e3; letter-spacing: 0.04em; }
.bundle-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.bundle-list li { position: relative; padding-left: 30px; color: var(--white); }
.bundle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 185, 140, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.8 9 1.2' fill='none' stroke='%23d4b98c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.bundle-tagline { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--gold); }

.tiers { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.tier {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font: inherit;
  text-align: left;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.tier:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); transform: translateX(3px); }
.tier.is-featured { background: rgba(212, 185, 140, 0.12); border-color: var(--gold); }
.tier-name { font-size: 0.92rem; font-weight: 500; }
.tier-price { font-weight: 600; font-size: 1.05rem; color: var(--gold); white-space: nowrap; }
.tier-price small { font-size: 0.72rem; font-weight: 400; color: rgba(255, 255, 255, 0.6); margin-left: 3px; }
.bundle-note { margin: 0 0 20px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }
.bundle .btn-block { width: 100%; }

/* Day-by-day itinerary */
.pkg-days {
  list-style: none;
  margin: 22px 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.day { position: relative; padding: 0 0 24px 26px; }
.day::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(31, 142, 168, 0.45) 0 4px, transparent 4px 8px);
}
.day:last-child { padding-bottom: 0; }
.day:last-child::before { display: none; }
.day::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--white);
}
.day-title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  line-height: 1.4;
}
.day-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2px;
}
.day-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.day-items li { position: relative; padding-left: 14px; font-size: 0.92rem; color: var(--ink); line-height: 1.5; }
.day-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 1px;
  background: var(--teal);
}
.day-meta {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--mint);
  border-radius: 12px;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}
.day-meta div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; }
.day-meta dt { font-weight: 600; color: var(--teal-dark); }
.day-meta dd { margin: 0; color: var(--ink); }
.pkg-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.pkg-steps li { position: relative; padding-left: 20px; }
.pkg-steps li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}

/* ---------- Booking form ---------- */
.pkg-panel .pkg-options > .pkg-drop.is-open { margin: 0 0 2rem; }
.booking {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 44px);
}
.booking > h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.35em; }
.booking .pkg-note { margin-bottom: 1.6rem; }
.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 1.8rem;
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cee6ec;
  border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231f8ea8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.field input:hover,
.field select:hover { border-color: #a5d2dc; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 142, 168, 0.14);
}
.field.is-invalid input,
.field.is-invalid select { border-color: #c4553d; box-shadow: 0 0 0 4px rgba(196, 85, 61, 0.12); }

.pkg-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 142, 168, 0.16), var(--shadow);
}

/* ---------- Values ---------- */
.values { background: var(--navy); color: rgba(255, 255, 255, 0.75); overflow: hidden; }
.values::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 163, 192, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.values h2 { color: var(--white); margin-bottom: 64px; }
.values h2 em { color: var(--gold); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 32px;
  position: relative;
}
.value::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.value:hover::before { width: 100%; }
.value-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(43, 163, 192, 0.15);
  margin-bottom: 24px;
}
.value-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #a0d6e3;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value h3 { color: var(--white); font-size: 1.2rem; }
.value p { font-size: 0.95rem; margin: 0; }

/* ---------- Flores road ---------- */
.road { overflow: hidden; }
.road-watermark {
  position: absolute;
  top: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--navy);
  opacity: 0.045;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.road-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  position: relative;
}
.road-text > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; max-width: 48ch; }

.route {
  list-style: none;
  padding: 28px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.route li {
  position: relative;
  padding-top: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}
.route li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--white);
  z-index: 1;
}
.route li:last-child::before { background: var(--teal); box-shadow: 0 0 0 5px rgba(31, 142, 168, 0.15); }
.route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 15px;
  right: 4px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px);
}

.road-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.road-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stories ---------- */
.stories { background: var(--sand); }
.stories-note { color: var(--muted); font-size: 0.92rem; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.stories-single { grid-template-columns: minmax(0, 820px); }
.stories-single .story { padding: clamp(32px, 5vw, 56px); }
.story {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 40px 36px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-quote {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--logo-blue);
  opacity: 0.35;
  display: block;
  height: 30px;
}
.story blockquote {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--navy);
}
.story figcaption {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.story blockquote p { margin: 0 0 12px; }
.story blockquote .story-lead { font-size: 1.3rem; line-height: 1.35; }
.story blockquote p:not(.story-lead) { font-family: var(--font-sans); font-size: 0.98rem; line-height: 1.65; color: var(--muted); }
.story-tags { list-style: none; margin: 4px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-tags li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 5px 12px;
}
.story figcaption a { color: var(--teal); }
.story figcaption a:hover { text-decoration: underline; }
.story-meta { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 400; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--mint); text-align: center; overflow: hidden; }
.cta-wave {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 100%;
  height: 120px;
  fill: none;
  stroke: var(--logo-blue);
  stroke-width: 2;
  opacity: 0.2;
}
.cta-inner { max-width: 680px; position: relative; }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-inner > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 88px 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.8fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p:last-child { max-width: 34ch; }
.site-footer h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer li span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a0d6e3;
  margin-bottom: 2px;
}
.site-footer a { transition: color 0.25s; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .scroll-cue span { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .tour-grid { gap: 20px; }
  .tour-body { padding: 24px; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 28px;
    background: var(--white);
    box-shadow: 0 20px 30px -20px rgba(15, 37, 54, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }

  .about-grid,
  .road-grid { grid-template-columns: 1fr; }
  .about-logo { order: -1; max-width: 420px; }
  .road-media { order: -1; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .tour-grid { grid-template-columns: 1fr; max-width: 520px; }
  .tour-grid > .pkg-drop { order: 0; }
  .tour-grid > .pkg-drop:not(.is-open) { margin-top: -20px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: minmax(0, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .brand img { width: 128px; }
  .hero { min-height: min(88vh, 760px); padding-bottom: 90px; }
  .hero-media img { object-position: 65% 70%; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(9, 26, 39, 0.88) 0%, rgba(9, 26, 39, 0.55) 55%, rgba(9, 26, 39, 0.35) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .pkg-actions .btn { flex: 1 1 100%; }
  .pkg-panel { padding: 24px 18px; }
  .pkg-options { margin-top: 22px; padding-top: 22px; }
  .booking { padding: 22px 16px; }
  .pkg-card { padding: 24px 20px; }
  .day-meta div { grid-template-columns: 1fr; gap: 0; }
  .bundle { padding: 26px 18px; }
  .tier { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
  .booking > .btn { width: 100%; }
  .values-grid { grid-template-columns: 1fr; }
  .story { padding: 32px 26px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: flex-start; }
  .route li { font-size: 0.8rem; padding-right: 4px; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 14px 30px -14px rgba(9, 26, 39, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background 0.25s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--teal); }
.wa-float svg { width: 26px; height: 26px; fill: #25d366; flex: none; }
.nav-open .wa-float { opacity: 0; visibility: hidden; }
.no-js .wa-float { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
}

/* ---------- Tour pages ---------- */
.page-hero {
  position: relative;
  min-height: min(68vh, 600px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 64px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 26, 39, 0.9) 0%, rgba(9, 26, 39, 0.55) 55%, rgba(9, 26, 39, 0.25) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 0.35em; }
.page-hero .hero-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 58ch; color: rgba(255, 255, 255, 0.85); margin-bottom: 1.8rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }
.page-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.page-hero-from { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.page-hero-from strong { color: var(--gold); font-size: 1.25rem; font-weight: 600; margin-left: 6px; }

.tour-packages { background: var(--sand); }
.tour-packages .pkg-options { margin-top: 0; padding-top: 0; border-top: 0; }

.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.other-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.other-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.other-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.other-body { display: grid; gap: 4px; }
.other-name { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); }
.other-from { font-size: 0.85rem; color: var(--muted); }
.other-from strong { color: var(--navy); font-weight: 600; }

@media (max-width: 880px) {
  .other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero { min-height: min(72vh, 620px); padding-bottom: 48px; }
  .other-card { grid-template-columns: 110px 1fr; gap: 14px; }
}

/* ==========================================================
   Theme: Pearl Lagoon (active since 2026-12-01)
   Shared UI upgrade + Pearl Lagoon palette. Archived alternatives
   live in design/palettes/ (see README there).
   ========================================================== */


:root {
  --radius: 20px;
  --radius-lg: 28px;
  --frame: 12px;
}

/* --- Floating glass header (desktop) --- */
@media (min-width: 881px) {
  .site-header {
    top: 14px;
    left: 50%;
    right: auto;
    width: min(1200px, calc(100% - 32px));
    transform: translateX(-50%);
    height: 66px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -18px rgba(var(--deep-rgb), 0.45);
  }
  .site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 14px 34px -18px rgba(var(--deep-rgb), 0.5); }
  .site-header .container { padding: 0 10px 0 26px; }
  .brand img { width: 132px; }
  .header-cta { padding: 12px 24px; }
}

/* --- Eyebrow as soft pill --- */
.eyebrow {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.08);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
}
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }
.cta .eyebrow::after { display: none; }
.eyebrow-light { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); }

h2 { letter-spacing: -0.025em; }

/* --- Framed hero --- */
.hero {
  margin: var(--frame) var(--frame) 0;
  border-radius: var(--radius-lg);
  min-height: min(calc(100vh - var(--frame)), 880px);
}
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.2rem); letter-spacing: -0.03em; line-height: 1.04; }
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(var(--deep-rgb), 0.85) 0%, rgba(var(--deep-rgb), 0.45) 52%, rgba(var(--deep-rgb), 0.05) 100%),
    linear-gradient(0deg, rgba(var(--deep-rgb), 0.6) 0%, transparent 42%);
}
.page-hero { margin: var(--frame) var(--frame) 0; border-radius: var(--radius-lg); overflow: hidden; }

/* --- Buttons --- */
.btn { font-weight: 600; letter-spacing: 0.01em; }
.btn-gold, .btn-navy, .btn-teal { box-shadow: 0 10px 24px -14px rgba(var(--deep-rgb), 0.55); }
.btn-gold::after, .btn-navy::after { content: "→"; transition: transform 0.35s var(--ease); }
.btn-gold:hover::after, .btn-navy:hover::after { transform: translateX(4px); }
.btn-gold:hover { box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.7); }
.btn-navy:hover, .btn-teal:hover { box-shadow: 0 14px 30px -12px rgba(var(--primary-rgb), 0.6); }

/* --- Tour cards: framed photo, price chip --- */
.tour-card { padding: 10px; border-radius: var(--radius-lg); box-shadow: 0 1px 0 rgba(var(--deep-rgb), 0.03); }
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -32px rgba(var(--deep-rgb), 0.45); }
.tour-media { border-radius: calc(var(--radius-lg) - 8px); aspect-ratio: 5 / 4; }
.tour-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(var(--deep-rgb), 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.tour-card:hover .tour-media::after { opacity: 1; }
.tour-body { padding: 22px 16px 18px; }
.tour-body h3 { font-size: 1.45rem; }
.tour-from {
  border-top: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.06);
  margin: -0.2rem 0 1.2rem;
}
.link-arrow { border-bottom-color: transparent; }

.pkg-card { border-radius: var(--radius); }
.pkg-card:hover { border-color: rgba(var(--primary-rgb), 0.35); }
.link-arrow, .pkg-card .link-arrow { color: var(--teal); }

/* --- Values: glass cards --- */
.values {
  margin: 0 var(--frame);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--primary-rgb), 0.28) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(var(--accent-rgb), 0.14) 0%, transparent 60%),
    var(--navy);
}
.values::before { display: none; }
.values-grid { gap: 18px; }
.value {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 26px 30px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.value::before { display: none; }
.value:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-4px); }
.value-icon { background: rgba(var(--accent-rgb), 0.16); border-radius: 50%; }
.value-icon svg { stroke: var(--gold); }

/* --- Road & stories --- */
.road-media { border-radius: var(--radius-lg); }
.route li::before { border-color: var(--teal); }
.story { border-radius: var(--radius-lg); }
.story-quote { color: var(--gold); opacity: 0.8; }
.stories-single { grid-template-columns: minmax(0, 900px); justify-content: center; }
.stories .reveal:first-child { text-align: center; }
.stories .eyebrow { margin-inline: auto; }

/* --- CTA as a framed dark block --- */
.cta {
  margin: 0 var(--frame) var(--frame);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(var(--primary-rgb), 0.45) 0%, transparent 60%),
    var(--navy-deep);
}
.cta h2 { color: var(--white); }
.cta h2 em { color: var(--gold); }
.cta .eyebrow { color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.cta-inner > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); }
.cta-wave { stroke: var(--gold); opacity: 0.25; }
.cta .btn-navy { background: var(--gold); color: var(--navy-deep); }
.cta .btn-navy:hover { background: var(--gold-dark); }

/* --- Footer --- */
.site-footer { background: var(--white); color: var(--muted); padding-top: 72px; }
.footer-logo, .site-footer h4 { color: var(--navy); }
.site-footer li span { color: var(--teal); }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top-color: var(--line); }

/* --- WhatsApp --- */
.wa-float { background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, 0.12); }

@media (max-width: 880px) {
  :root { --frame: 8px; }
  .site-header { background: rgba(255, 255, 255, 0.94); }
}
@media (max-width: 560px) {
  .hero-media::after { background: linear-gradient(0deg, rgba(var(--deep-rgb), 0.9) 0%, rgba(var(--deep-rgb), 0.55) 55%, rgba(var(--deep-rgb), 0.3) 100%); }
  .tour-body { padding: 20px 12px 14px; }
}

/* ---------- Pearl Lagoon palette ---------- */
:root {
  --navy: #0d3b47;
  --navy-deep: #082a33;
  --teal: #12909c;
  --teal-dark: #0d7782;
  --logo-blue: #2fb3c4;
  --gold: #8ee0d4;
  --gold-dark: #6fd1c3;
  --sand: #f1f7f6;
  --mint: #e2f2f0;
  --ink: #12333d;
  --muted: #5f7579;
  --line: rgba(13, 59, 71, 0.1);
  --deep-rgb: 8, 42, 51;
  --primary-rgb: 18, 144, 156;
  --accent-rgb: 142, 224, 212;
}
body { background: #fbfdfc; }
.tour-card, .story, .pkg-panel { background: #fff; }
.eyebrow-light { color: #b5efe7; }
h1 em, h2 em { color: var(--teal); }
.hero h1 em, .values h2 em, .cta h2 em { color: var(--gold); }
.btn-gold, .cta .btn-navy { color: var(--navy-deep); }
.story-quote { color: var(--teal); opacity: .5; }
