/* 1. CSS Variables */
:root {
  --bg: #f5efe6;
  --ink: #1f2328;
  --muted: #5a6672;
  --card: #faf8f4;
  --line: rgba(31, 35, 40, .10);
  --shadow: 0 8px 20px rgba(31, 35, 40, .06);
  --radius: 18px;

  --accent: #223b5a;
  --accent2: #2f6b7a;
  --coral: #c96c44;
  --coral-hover: #b05e3a;
  --soft: #e9f2f3;
  --sand: #f3efe6;

  --hero-ocean: #223b5a;
  --hero-ocean-light: #2f6b7a;
  --hero-coral: #c96c44;
  --hero-coral-hover: #b35a36;
  --hero-sand: #f5efe6;
  --hero-soft: #faf8f4;
  --hero-ink: #1a2633;

  --font-display: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-brand: "Birthstone Bounce", "Brush Script MT", "Segoe Script", cursive;

  /* Type scale */
  --text-base: 16px;
  --text-sm: 14px;
  --text-xs: 12px;
  --leading: 1.65;

  /* Heading scale */
  --text-h1: clamp(30px, 3.6vw, 44px);
  --text-h2: 28px;
  --text-h3: 22px;

  /* optional tuning */
  --tracking-tight: -0.015em;
  --tracking-display: -0.02em;

  /* Default hero/story images */
  --hero-photo: url("/assets/hero.webp");
  --story-photo: url("/assets/story.webp");

  /* Unified visual system */
  --surface-page: #f5efe6;
  --surface-card: #faf8f4;
  --surface-bridge: #ede6da;
  --surface-header: rgba(245, 239, 230, .88);
  --surface-header-scrolled: rgba(245, 239, 230, .94);
  --surface-footer-start: #223b5a;
  --surface-footer-end: #17283c;
  --text-primary: #1a2633;
  --text-secondary: #5a6672;
  --text-inverse: #faf8f4;
  --text-inverse-muted: rgba(250, 248, 244, .76);
  --border-soft: rgba(26, 38, 51, .12);
  --border-inverse: rgba(250, 248, 244, .20);
}

/* 2. Reset & Base Styles */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--ink);
  line-height: var(--leading);
  letter-spacing: var(--tracking-tight);
}

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

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

h1,
h2,
h3,
.display,
.hero h1 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
}

h1 {
  line-height: 1.05;
}

h2 {
  line-height: 1.15;
}

p,
li {
  font-size: var(--text-base);
  line-height: var(--leading);
}

/* 3. Layout & Structure */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  background: var(--surface-header-scrolled);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 12px 28px rgba(31, 35, 40, .08);
}

main {
  padding-top: 98px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: .6px;
  font-size: clamp(22px, 2.2vw, 32px);
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: url("./logo.png") center/contain no-repeat;
  box-shadow: 0 8px 18px rgba(34, 59, 90, .18);
  position: relative;
  overflow: hidden;
}

.logo:after {
  content: none;
}

.brand small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .1px;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 13px;
}

.nav-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35.2px;
  height: 35.2px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-social a:hover {
  background: rgba(34, 59, 90, .08);
  color: #000;
}

.nav-social svg {
  width: 17.6px;
  height: 17.6px;
  display: block;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.hamburger span:before,
.hamburger span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}

.hamburger span:before {
  top: -6px;
}

.hamburger span:after {
  top: 6px;
}


.mobile {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.mobile.open {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding: 0 0 14px;
}

.mobile a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
}

.mobile a:hover {
  background: rgba(34, 59, 90, .06);
  color: var(--ink);
}

.mobile a[aria-current="page"] {
  background: rgba(34, 59, 90, .08);
  color: var(--accent);
  font-weight: 700;
}

section {
  --section-bg: transparent;
  position: relative;
  background: var(--section-bg);
  overflow: clip;
  padding: 72px 0;
  scroll-margin-top: 96px;
}

.section-tone-page {
  --section-bg: transparent;
}

.section-tone-card {
  --section-bg: transparent;
}

.section-tone-bg {
  --section-bg: transparent;
}

.section-title {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 46px);
  letter-spacing: -.3px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: var(--text-sm);
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 92px) 0 34px;
  color: var(--text-inverse-muted);
  font-size: var(--text-sm);
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(47, 107, 122, .34), transparent 58%),
    linear-gradient(180deg, var(--surface-footer-start) 0%, var(--surface-footer-end) 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(250, 248, 244, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .18;
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(140px, .7fr) minmax(240px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.footer-grid > div:first-child {
  position: relative;
  min-height: 86px;
  padding-left: clamp(76px, 8vw, 104px);
}

.footer-grid > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: clamp(56px, 6vw, 74px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(250, 248, 244, .92) url("./logo.png") center/contain no-repeat;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .20);
}

.footer .social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-social a,
.footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35.2px;
  height: 35.2px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-social a {
  color: var(--ink);
}

.footer .social a {
  color: rgba(250, 248, 244, .82);
  border-color: var(--border-inverse);
  background: rgba(250, 248, 244, .08);
}

.nav-social a:hover,
.footer .social a:hover {
  color: var(--hero-soft);
  border-color: rgba(250, 248, 244, .40);
  background: rgba(250, 248, 244, .14);
}

.nav-social svg,
.footer .social svg {
  width: 17.6px;
  height: 17.6px;
  display: block;
}

/* 4. UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 35, 40, .05);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(31, 35, 40, .08);
}

.btn[aria-current="page"]:not(.primary) {
  border-color: rgba(34, 59, 90, .28);
  background: rgba(34, 59, 90, .08);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(34, 59, 90, .08);
}

.btn.primary {
  border-color: rgba(34, 59, 90, .25);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(34, 59, 90, .22);
}

.btn.primary:hover {
  background: #1a2e47;
  box-shadow: 0 16px 40px rgba(34, 59, 90, .30);
}

.btn.primary[aria-current="page"] {
  box-shadow: 0 12px 30px rgba(34, 59, 90, .22), inset 0 0 0 2px rgba(255, 255, 255, .28);
}

.btn.ghost {
  background: rgba(9, 18, 30, .56);
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.btn.ghost:hover {
  background: rgba(9, 18, 30, .70);
  transform: translateY(-1px);
}

/* Ghost button on light backgrounds (story section) */
.story .btn.ghost {
  background: rgba(34, 59, 90, .06);
  border: 1px solid rgba(34, 59, 90, .18);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 35, 40, .05);
}

.story .btn.ghost:hover {
  background: rgba(34, 59, 90, .10);
  transform: translateY(-1px);
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: var(--text-base);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Lists inside cards should match card body text */
.card ul,
.card ol {
  margin: 0;
  padding-left: 1.1rem;
  /* alinea con tu list-clean */
}

.card li {
  font-size: var(--text-sm);
  line-height: var(--leading);
  color: var(--muted);
}

/* Si usas <b> dentro de bullets, que vuelva a ink */
.card li b,
.card li strong {
  color: var(--ink);
}

.banner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233, 242, 243, .55), rgba(255, 255, 255, .6));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.label {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading);
  box-shadow: 0 6px 14px rgba(31, 35, 40, .06);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field textarea {
  resize: vertical;
}

.pill-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.sr-only,
.pill-toggle input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Hide radio inputs without creating horizontal overflow */
.pill-toggle input[type="radio"] {
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .12s ease;
}

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

.pill-toggle input:checked+.pill-btn {
  border-color: rgba(201, 108, 68, .25);
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 30px rgba(201, 108, 68, .22);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 38, 51, .34);
  border: 1px solid rgba(250, 248, 244, .28);
  padding: 8px 14px;
  border-radius: 999px;
  max-width: 100%;
  backdrop-filter: blur(8px);
}

.pill span {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--hero-soft);
  opacity: .88;
  white-space: normal;
}

/* Lightbox (native dialog) */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 92vw);
  width: fit-content;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .66);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 12, 14, .92);
  border: 1px solid rgba(255, 255, 255, .10);
  animation: slideUp 0.3s ease;
  width: fit-content;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lightbox-card img {
  display: block;
  width: auto;
  max-width: min(1100px, 92vw);
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .38);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, .62);
  transform: scale(1.05);
}

/* Navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .38);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, .62);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Hide navigation on mobile to avoid clutter */
@media (max-width: 768px) {
  .lightbox {
    max-width: 96vw;
  }

  .lightbox-card {
    max-width: 96vw;
    max-height: 84vh;
  }

  .lightbox-card img {
    max-width: 96vw;
    max-height: 84vh;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .28);
  }

  .lightbox-nav svg {
    width: 20px;
    height: 20px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

/* WhatsApp floating button — mobile only, Blue Moon style */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  display: none;
  /* hidden by default; shown on mobile */
  align-items: center;
  gap: .55rem;

  padding: .7rem .85rem;
  border-radius: 999px;

  background: rgba(2, 10, 24, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  text-decoration: none;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.wa-float__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .95;
}

.wa-float__icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, .92);
}

.wa-float__text {
  font-size: var(--text-sm);
  letter-spacing: .2px;
}

.wa-float:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .26);
}

/* 5. Page-Specific Styles */
@keyframes heroKenburns {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  padding: 0;
  color: var(--hero-soft);
  text-align: left;
}

.hero > .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.hero-card {
  border: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: grid;
  place-items: center start;
}

.hero-image {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(26, 38, 51, .04) 0%, rgba(26, 38, 51, .18) 100%),
    radial-gradient(54% 48% at 34% 55%, rgba(34, 59, 90, .18), transparent 72%);
  background-size: cover;
  animation: heroKenburns 20s ease-out forwards;
  transform-origin: center;
}

@media (max-width: 480px) {
  .hero-card {
    min-height: 85vh;
  }

  .hero-image {
    background-position: center bottom;
  }
}

/* BOOKING HERO */
body.page-booking {
  --hero-photo: url("/assets/photos/blue-moon/booking.webp");
}

.hero-booking {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 96px 0 48px;
  overflow: hidden;
}

.hero-booking .hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(9, 18, 30, .75) 0%,
      rgba(9, 18, 30, .45) 45%,
      rgba(9, 18, 30, .18) 75%,
      rgba(9, 18, 30, 0) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, .25) 0%,
      rgba(0, 0, 0, .55) 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.02);
}

.hero-booking .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-booking h1 {
  color: #fff;
}

.hero-booking p {
  color: rgba(255, 255, 255, .9);
}

/* Page-specific images (use variables to preserve gradients) */
body.page-home {
  --hero-photo: url("/assets/hero.webp");
  --story-photo: url("/assets/story.webp");
}

body.page-bluemoon {
  --hero-photo: url("/assets/photos/blue-moon/hero.webp");
}

body.page-moondrop {
  --hero-photo: url("/assets/photos/moon-drop/hero.webp");
}



.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 38, 51, .04) 0%, rgba(26, 38, 51, .18) 100%),
    radial-gradient(54% 48% at 34% 55%, rgba(34, 59, 90, .30), rgba(34, 59, 90, .10) 55%, transparent 78%);
  pointer-events: none;
}

body.page-home .hero-overlay {
  background:
    linear-gradient(180deg, rgba(26, 38, 51, .03) 0%, rgba(26, 38, 51, .16) 100%),
    radial-gradient(54% 48% at 34% 55%, rgba(34, 59, 90, .26), rgba(34, 59, 90, .08) 55%, transparent 78%);
}

body.page-bluemoon .hero-overlay,
body.page-moondrop .hero-overlay {
  background:
    linear-gradient(180deg, rgba(26, 38, 51, .04) 0%, rgba(26, 38, 51, .18) 100%),
    radial-gradient(54% 48% at 34% 55%, rgba(34, 59, 90, .28), rgba(34, 59, 90, .08) 55%, transparent 78%);
}

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

body.page-home .hero-bg-img {
  object-position: center 68%;
}

body.page-home .hero-image {
  background:
    url("/assets/hero.webp");
  background-size: cover;
  background-position: center 68%;
}

/* Subpages: background image replaced by <img> tag — keep gradients only */
body.page-bluemoon .hero-image,
body.page-moondrop .hero-image {
  background: none;
}

body.page-booking .hero-image {
  background: none;
}

body.page-booking .hero-overlay {
  background:
    linear-gradient(180deg, rgba(26, 38, 51, .05) 0%, rgba(26, 38, 51, .22) 100%),
    radial-gradient(54% 48% at 34% 55%, rgba(34, 59, 90, .32), rgba(34, 59, 90, .10) 55%, transparent 78%);
}

/* Hero image object-position per subpage */
body.page-bluemoon .hero-bg-img {
  object-position: center 42%;
}

body.page-moondrop .hero-bg-img {
  object-position: center 42%;
}

body.page-booking .hero-bg-img {
  object-position: center 60%;
  filter: none;
}

body.page-booking .hero h1 {
  text-shadow: 0 12px 36px rgba(0, 0, 0, .55);
}

body.page-booking .hero p,
body.page-booking .hero .text-white-soft {
  text-shadow: 0 10px 28px rgba(0, 0, 0, .60);
}

body.page-guide .hero-bg-img {
  object-position: center 50%;
  filter: brightness(1.10) saturate(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: none;
  padding: clamp(112px, 14vh, 180px) 5vw 72px;
  max-width: min(760px, 86vw);
  margin: 0 auto 0 clamp(28px, 8vw, 132px);
  animation: heroFadeUp .9s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: clamp(4px, 1vw, 14px) clamp(-22px, -3vw, -10px) clamp(-14px, -2vw, -8px);
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(closest-side, rgba(26, 38, 51, .34), rgba(26, 38, 51, .16) 58%, transparent 100%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hero-soft);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .30),
    0 10px 34px rgba(26, 38, 51, .32);
}

.hero p {
  margin: 0 auto 2rem;
  color: rgba(250, 248, 244, .92);
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .32),
    0 10px 28px rgba(26, 38, 51, .30);
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.hero .hero-cta .btn.primary {
  border-color: transparent;
  border-radius: 4px;
  background: var(--hero-coral);
  color: var(--hero-soft);
  box-shadow: 0 6px 20px -8px rgba(201, 108, 68, .6);
  letter-spacing: .04em;
}

.hero .hero-cta .btn.primary:hover {
  background: var(--hero-coral-hover);
  box-shadow: 0 10px 24px -8px rgba(201, 108, 68, .7);
  transform: translateY(-2px);
}

.fine {
  color: var(--muted);
  font-size: var(--text-xs);
  margin-top: 6px;
}

.hero-micro {
  display: inline-block;
  margin-top: 10px;
  color: var(--hero-soft);
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .30);
}

.hero-micro:hover {
  text-decoration: underline;
}

/* -----------------------------
   PHOTO GALLERY (simple, fast)
------------------------------ */
.gallery {
  /* inherits global section padding */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, 18vw);
  gap: clamp(12px, 1.6vw, 18px);
}

.gallery-item {
  grid-column: span 6;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

@media (min-width: 821px) {
  .gallery .gallery-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }

  .gallery .gallery-item:nth-child(2),
  .gallery .gallery-item:nth-child(3) {
    grid-column: span 5;
  }

  .gallery .gallery-item:nth-child(4) {
    grid-column: 4 / span 6;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .35s ease, filter .35s ease;
}

.gallery-item:focus-within img,
.gallery-item:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.055);
}

.gallery-item a {
  display: block;
  position: relative;
  height: 100%;
  min-height: 100%;
  outline-offset: 4px;
}

.gallery-item a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(26, 38, 51, .44) 100%);
  opacity: .86;
  pointer-events: none;
  transition: opacity .35s ease;
}

.gallery-item:focus-within a::after,
.gallery-item:hover a::after {
  opacity: 1;
}

.gallery-item .tag {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hero-soft);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .38);
  transform: translateY(0);
  transition: transform .35s ease, letter-spacing .35s ease, opacity .35s ease;
}

.gallery-item .tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(250, 248, 244, .72);
}

.gallery-item:focus-within .tag,
.gallery-item:hover .tag {
  letter-spacing: .28em;
  transform: translateY(-4px);
}

.story {
  background: transparent;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.story-text h2 {
  margin: 0 0 12px;
  font-size: var(--text-h2);
  letter-spacing: -.3px;
}

.story-text p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 58ch;
}

.story-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.story-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.story-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--coral);
}

.story-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.story-image {
  position: relative;
  display: block;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--story-photo);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
  pointer-events: none;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bedrooms {
  padding: clamp(64px, 8vw, 110px) 0;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(190px, 15vw);
  gap: clamp(12px, 1.6vw, 18px);
}

.photo-card {
  position: relative;
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hero-ocean);
  min-height: 240px;
}

@media (min-width: 821px) {
  .bedrooms .suite-grid {
    grid-auto-rows: minmax(240px, 15vw);
  }

  .bedrooms .suite-grid .photo-card:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }

  .bedrooms .suite-grid .photo-card:nth-child(2) {
    grid-column: span 5;
    grid-row: span 2;
  }

  .bedrooms .suite-grid .photo-card:nth-child(3) {
    grid-column: span 7;
    grid-row: span 2;
  }

  .bedrooms .suite-grid .photo-card:nth-child(4),
  .bedrooms .suite-grid .photo-card:nth-child(5) {
    grid-column: span 5;
  }
}

.photo-card a {
  position: relative;
  display: block;
  height: 100%;
  outline-offset: 4px;
}

.photo-card a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(26, 38, 51, .44) 100%);
  opacity: .86;
  pointer-events: none;
  transition: opacity .35s ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.photo-card:focus-within img,
.photo-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.055);
}

.photo-card:focus-within a::after,
.photo-card:hover a::after {
  opacity: 1;
}

.photo-card-label {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hero-soft);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .38);
  transform: translateY(0);
  transition: transform .35s ease, letter-spacing .35s ease;
}

.photo-card-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(250, 248, 244, .72);
}

.photo-card:focus-within .photo-card-label,
.photo-card:hover .photo-card-label {
  letter-spacing: .28em;
  transform: translateY(-4px);
}

/* Suites spacing (remove inline margin-top) */
.suite+.suite {
  margin-top: clamp(16px, 2.6vw, 34px);
}

/* Caretaker card: make the photo bigger and avoid the 2-thumb layout */
.caretaker-feature .luna-photos {
  display: flex;
  align-items: flex-start;
}

.caretaker-feature .luna-photos a,
.caretaker-feature .luna-photos img {
  width: 140px;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

/* 6. Utilities */
.text-white-soft {
  color: rgba(255, 255, 255, .96);
}

.text-ink {
  color: var(--ink);
}

.text-sm {
  font-size: var(--text-sm);
}

.mt-14 {
  margin-top: 14px;
}

.mt-10 {
  margin-top: 10px;
}

.m0 {
  margin: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

.btn-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.embed {
  min-width: 320px;
  height: 820px;
}

.flex-between {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-row-wrap {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.logo-mark-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark-right {
  justify-content: flex-end;
}

.logo-mark {
  width: 400px;
  max-width: 100%;
  height: auto;
}

.booking-narrow {
  width: min(720px, 92vw);
  margin: 0 auto;
}

.booking-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booking-intro .fine {
  margin-top: 6px;
  max-width: 62ch;
}

.booking-open {
  flex: 0 0 auto;
  white-space: nowrap;
}

.booking-embed-card {
  padding: 0;
  overflow: hidden;
}

.booking-embed-frame {
  display: block;
  width: 100%;
  min-height: 1500px;
  height: 1500px;
  border: 0;
  background: transparent;
}

.booking-embed-fallback {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .booking-intro {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-open {
    width: 100%;
    justify-content: center;
  }

  .booking-embed-frame {
    min-height: 1800px;
    height: 1800px;
  }
}

.sr-only {
  margin: -1px;
}

.soft-note {
  margin: 28px 0 34px;
  color: var(--muted);
  line-height: 1.7;
}

.soft-note em {
  font-style: italic;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 59, 90, .35);
  padding-bottom: 2px;
}

.text-link:hover {
  opacity: .85;
}

/* 404 page */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.page-404 .wrap {
  width: min(760px, 92vw);
}

.page-404 .center {
  text-align: center;
}

.page-404 h1 {
  margin: 0 0 8px;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -1px;
}

.page-404 p {
  margin: 0 auto 18px;
  max-width: 48ch;
  color: var(--muted);
}

.page-404 .actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-404 .logo-only {
  display: flex;
  justify-content: center;
  padding: 16px 0 6px;
}

.page-404 .logo-only img {
  width: 156px;
  height: auto;
  display: block;
}

/* Guide page helpers */
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.45rem;
}

.guide-nav a {
  text-decoration: none;
}

.hero .guide-nav {
  max-width: 680px;
}

.hero .guide-nav .btn {
  position: relative;
  overflow: hidden;
  border-color: rgba(250, 248, 244, .34);
  border-radius: 999px;
  background: rgba(26, 38, 51, .18);
  color: var(--hero-soft);
  box-shadow: none;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .32);
  backdrop-filter: blur(8px);
}

.hero .guide-nav .btn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  background: rgba(250, 248, 244, .62);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.hero .guide-nav .btn:hover {
  border-color: rgba(250, 248, 244, .58);
  background: rgba(26, 38, 51, .28);
  transform: translateY(-1px);
}

.hero .guide-nav .btn:hover::after,
.hero .guide-nav .btn:focus-visible::after {
  transform: scaleX(1);
}

/* Guide: mobile density + collapses */
.guide-collapse {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .5);
}

.guide-collapse summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guide-collapse summary::-webkit-details-marker {
  display: none;
}

.guide-collapse summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.guide-collapse[open] summary::after {
  content: "−";
}

.guide-collapse summary:focus-visible,
.guide-nav .btn:focus-visible {
  outline: 2px solid rgba(34, 59, 90, .35);
  outline-offset: 2px;
}

.guide-collapse[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .35);
}

.guide-collapse .rentals-note-grid {
  margin: 0;
  padding: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

.icon {
  display: inline-flex;
  margin-right: .35rem;
  line-height: 1;
}

.contact-info {
  margin-top: .3rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .6rem;
  border-radius: 999px;
}

.badge.soft {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
}

.map-wrap {
  margin: 0;
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
}

.map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(2, 10, 24, .42) 0%, rgba(2, 10, 24, .10) 55%, rgba(2, 10, 24, .30) 100%);
  mix-blend-mode: soft-light;
}

.map-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .7rem;
  border-radius: 999px;
  background: rgba(2, 10, 24, .42);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  letter-spacing: .2px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-badge .moon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 55%, rgba(255, 255, 255, .08) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 24px rgba(0, 0, 0, .18);
  opacity: .95;
}

.fine {
  opacity: .85;
}

.hero-image.guide-hero + .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 100%),
    radial-gradient(800px 400px at 20% 20%, rgba(255, 255, 255, .10), transparent 60%);
}

.hero-image.guide-hero {
  background:
    url("/assets/photos/guide-hero-lighthouse-1200.webp");
  background-size: cover;
  background-position: center 35%;
}

.section-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  width: 100%;
}

.photo-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 160px at 20% 20%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(34, 59, 90, .22), rgba(2, 10, 24, .22));
  pointer-events: none;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-gallery figcaption {
  margin-top: .35rem;
}

.travel-flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
  display: grid;
  gap: 18px;
}

.travel-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.travel-step:last-child {
  border-bottom: 1px solid var(--line);
}

.travel-step-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  color: rgba(34, 59, 90, .32);
}

.travel-step h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.2vw, 26px);
}

.travel-step p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.travel-flow-note {
  max-width: 860px;
  margin: 14px auto 0;
  color: var(--muted);
}

@media (min-width: 860px) {
  .travel-flow {
    gap: 22px;
  }

  .travel-step {
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 20px 0;
  }
}

.getting-around-grid {
  margin-top: 6px;
}

.transport-card {
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  box-shadow: none;
}

.transport-card h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
}

.transport-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.transport-card-primary {
  background: rgba(34, 59, 90, .03);
  border-color: rgba(34, 59, 90, .12);
}

.transport-tips {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.transport-tips-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 700;
}

.transport-tips .list-clean {
  margin: 0;
}

.transport-tips li {
  margin-bottom: 6px;
  color: var(--muted);
}

/* Guide: Rentals section */
.rentals-disclaimer {
  margin-top: 10px;
}

.rentals-grid,
.rentals-note-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rentals-grid {
  margin-top: 8px;
}

.rentals-note-grid {
  margin-top: 18px;
}

.rentals-panel,
.rentals-note {
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  box-shadow: none;
}

.rentals-panel h3,
.rentals-note h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
}

.rentals-panel > p {
  margin: 0 0 12px;
  color: var(--muted);
}

.provider-list {
  display: grid;
  gap: 10px;
}

.provider-mini-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
}

.provider-mini-card h4 {
  margin: 0 0 8px;
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
}

.provider-links {
  display: grid;
  gap: 4px;
}

.provider-links a {
  color: var(--muted);
  text-decoration: none;
  word-break: break-word;
}

.provider-links a:hover {
  text-decoration: underline;
  color: var(--ink);
}

.rentals-note .list-clean {
  margin: 0;
}

.rentals-note li {
  margin-bottom: 6px;
  color: var(--muted);
}

.rentals-note p {
  margin: 0 0 10px;
  color: var(--muted);
}

.rentals-note p:last-child {
  margin-bottom: 0;
}

@media (min-width: 860px) {
  .rentals-grid,
  .rentals-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Guide: Beaches + Things To Do + Good To Know */
.guide-beaches-grid,
.guide-know-grid {
  margin-top: 6px;
}

.guide-beach-card,
.guide-know-card,
.guide-note-panel {
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  box-shadow: none;
}

.guide-beach-card h3,
.guide-know-card h3,
.guide-note-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
}

.guide-beach-card p,
.guide-know-card p,
.guide-note-panel p {
  margin: 0 0 8px;
  color: var(--muted);
}

.guide-beach-card p:last-child,
.guide-know-card p:last-child,
.guide-note-panel p:last-child {
  margin-bottom: 0;
}

.guide-note-panel {
  padding: 18px;
}

.guide-note-panel .list-clean {
  margin: 0;
}

.guide-note-panel li {
  margin-bottom: 8px;
  color: var(--muted);
}

.guide-note-panel li:last-child {
  margin-bottom: 0;
}

.guide-know-card {
  min-height: 100%;
}

/* Guide: Enjoy Abaco Responsibly */
.responsible-section .section-title {
  margin-bottom: 18px;
}

.responsible-card {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  box-shadow: none;
}

.responsible-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.responsible-figure img {
  width: 100%;
  height: auto;
}

.responsible-summary {
  display: grid;
  gap: 14px;
}

.responsible-summary h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
}

.responsible-summary .list-clean {
  display: grid;
  gap: 8px;
  margin: 0;
}

.responsible-summary li {
  color: var(--muted);
}

.responsible-link {
  justify-self: start;
  margin-top: 4px;
}

@media (min-width: 900px) {
  .responsible-card {
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1fr);
  }
}

/* Guide: FAQ accordion */
.faq-shell {
  max-width: 860px;
  margin: 0 auto;
}

.faq-shell h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.8vw, 46px);
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 2px solid rgba(34, 59, 90, .35);
  outline-offset: 2px;
  border-radius: 12px;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .35);
}

.faq-answer {
  padding: 12px 16px 16px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .section-gallery {
    width: min(560px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section-gallery {
    grid-template-columns: 1fr;
  }
}

/* 7. Media Queries */
@media (max-width: 900px) {
  .actions .btn {
    display: none;
  }

  .actions .nav-social {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

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

  .story-image {
    height: 300px;
  }

  .suite-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


@media (max-width: 860px) {
  .wa-float {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  .gallery-grid {
    grid-auto-rows: auto;
  }

  .gallery-item {
    grid-column: span 12;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .suite-grid {
    grid-auto-rows: auto;
  }

  .photo-card {
    grid-column: span 12;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 640px) {
  .hero-booking {
    min-height: 70vh;
    padding: 72px 0 40px;
  }

  .hero-booking .hero-image {
    background-position: center 72%;
  }

  .hero-booking .hero-inner {
    max-width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 520px) {
  .hero-image {
    background-position: center 60%;
  }

  body.page-home .hero-bg-img {
    object-position: center 74%;
  }

  .hero-content {
    padding: clamp(80px, 12vh, 140px) 4vw 50px;
  }

  .hero p {
    font-size: var(--text-base);
  }

  /* Improve button wrapping on small screens */
  .hero-cta {
    gap: 8px;
  }

  .btn-row {
    flex-direction: column;
    gap: 8px;
  }

  .btn-row .btn {
    width: 100%;
  }

  /* Better spacing for cards */
  .card {
    padding: 14px;
  }

}

/* Extra small devices (<375px) - iPhone SE, small Android phones */
@media (max-width: 374px) {

  /* Typography adjustments */
  :root {
    --text-base: 15px;
    --text-sm: 13px;
    --text-xs: 11px;
    --text-h1: clamp(26px, 8vw, 36px);
    --text-h2: 24px;
    --text-h3: 18px;
  }

  /* Hero optimizations */
  .hero-card {
    min-height: 85vh;
  }

  .hero-content {
    padding: clamp(70px, 10vh, 120px) 4vw 40px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.15;
  }

  .hero-cta .btn {
    padding: 9px 12px;
    font-size: 13px;
  }

  /* Navigation */
  .brand-name {
    font-size: clamp(20px, 5vw, 28px);
  }

  .brand small {
    font-size: 12px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  /* Pill adjustments */
  .pill {
    padding: 6px 10px;
  }

  .pill span {
    font-size: 11px;
  }

  /* Card improvements */
  .card {
    padding: 12px;
  }

  .card h3 {
    font-size: 16px;
  }

  /* Button improvements */
  .btn {
    padding: 9px 12px;
    font-size: 13px;
  }

  /* Gallery adjustments */
  .gallery-grid {
    gap: 10px;
  }

  /* Container adjustments */
  .container {
    width: min(1120px, 94vw);
  }

  /* Lightbox navigation - smaller on tiny screens */
  .lightbox-nav {
    width: 36px;
    height: 36px;
  }

  .lightbox-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-close {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
  }

  /* WhatsApp float button */
  .wa-float {
    padding: 0.6rem 0.75rem;
    font-size: 13px;
  }

  .wa-float__icon {
    width: 16px;
    height: 16px;
  }

  .wa-float__icon svg {
    width: 16px;
    height: 16px;
  }

  /* Guide page specific */
  .guide-nav {
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    white-space:nowrap;
    padding-bottom:4px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .guide-nav::-webkit-scrollbar { display:none; }

  .guide-nav .btn {
    flex:0 0 auto;
    font-size: 12px;
    padding: 8px 10px;
  }

  /* Grid adjustments */
  .grid-2,
  .grid-3 {
    gap: 10px;
  }
}

/* Safe area (iPhone) */
@supports (padding: max(0px)) {
  .wa-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  body.page-home {
    --hero-photo: url("/assets/hero-1200.webp");
  }

  body.page-bluemoon {
    --hero-photo: url("/assets/photos/blue-moon/hero-1200.webp");
  }

  body.page-moondrop {
    --hero-photo: url("/assets/photos/moon-drop/hero-1200.webp");
  }

  body.page-booking {
    --hero-photo: url("/assets/photos/blue-moon/booking-1200.webp");
  }

}

/* ===================================================
   NEW COMPONENT STYLES — moonbeam-design-refresh sync
   =================================================== */

/* --- Eyebrow label (small uppercase above headings) --- */
.label-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

/* --- Property card with image (home page "Book your adventure") --- */
.card-property {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .4s ease, transform .4s ease;
}

.card-property:hover {
  box-shadow: 0 24px 56px rgba(31, 35, 40, .14);
  transform: translateY(-2px);
}

.card-property-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--sand);
}

.card-property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.card-property:hover .card-property-img img {
  transform: scale(1.05);
}

.card-property-img .card-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .95);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-property-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
  pointer-events: none;
}

.card-property-body {
  padding: 22px;
}

.card-property-body h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
}

.card-property-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading);
}

/* --- Feature tags --- */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.feature-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 59, 90, .06);
  border: 1px solid rgba(34, 59, 90, .10);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .04em;
}

/* --- Team grid (3-col → 1-col on mobile) --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 14px 36px rgba(31, 35, 40, .14);
  border: 3px solid var(--card);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin: 0 0 4px;
  font-size: clamp(20px, 2vw, 26px);
  font-family: var(--font-display);
}

.team-member .team-role {
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin: 0 0 12px;
}

.team-member p:not(.team-role) {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading);
  margin: 0;
}

/* --- Guestbook teaser section --- */
.guestbook-teaser {
  background: transparent;
  border-top: none;
  border-bottom: none;
  padding: 60px 0;
  text-align: center;
}

.guestbook-teaser .quote-mark {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  color: var(--ink);
  max-width: 62ch;
  margin: 0 auto 10px;
  line-height: 1.3;
}

.guestbook-teaser .quote-sub {
  color: var(--muted);
  margin-bottom: 20px;
}

.guestbook-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 24px;
  text-align: left;
}

.guestbook-review {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(31, 35, 40, .04);
}

.guestbook-review h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
  font-family: var(--font-display);
}

.guestbook-review-meta {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.guestbook-review-rating {
  margin: 0 0 10px;
  color: #c89b2b;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1;
}

.guestbook-review-body {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.guestbook-teaser .text-link {
  font-weight: 600;
  color: var(--coral);
  border-color: rgba(201, 108, 68, .35);
}

.guestbook-teaser .text-link:hover {
  color: var(--coral-hover);
}

/* --- Home "A Little More" gallery --- */
.property-glimpse {
  padding-top: 28px;
}

.property-glimpse-shell {
  border: 1px solid var(--line);
  background:
    radial-gradient(1200px 420px at 0% 0%, rgba(47, 107, 122, .08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72));
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3.8vw, 40px);
}

.property-glimpse-copy {
  max-width: 58ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.property-glimpse-grid {
  margin-top: 30px;
  grid-auto-rows: auto;
}

.property-glimpse-item {
  grid-column: span 4;
  grid-row: auto;
  border-color: var(--line);
  background: rgba(255, 255, 255, .74);
  aspect-ratio: 3 / 4;
}

@media (min-width: 821px) {
  .property-glimpse-item:nth-child(n) {
    grid-column: span 4;
    grid-row: auto;
  }
}

.property-glimpse-item a {
  position: relative;
  height: 100%;
}

.property-glimpse-item a::after {
  display: none;
}

.property-glimpse-item img {
  height: 100%;
  aspect-ratio: 3 / 4;
  object-position: center;
}

.property-glimpse-actions {
  margin-top: 24px;
  text-align: center;
}

.text-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* --- Dark CTA section (Ocean background) --- */
.cta-dark {
  background: var(--accent);
  color: #fff;
  padding: 72px 0;
}

.cta-dark .cta-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-dark h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 50px);
  margin: 0 0 16px;
}

.cta-dark p {
  color: rgba(255, 255, 255, .72);
  font-size: var(--text-base);
  margin: 0 0 24px;
  line-height: var(--leading);
}

.cta-dark .cta-detail-label {
  font-size: var(--text-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 4px;
}

.cta-dark .cta-detail-value {
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  transition: color .2s;
}

.cta-dark .cta-detail-value:hover {
  color: var(--coral);
}

.cta-dark .cta-detail-block {
  margin-bottom: 18px;
}

/* Keep CTA button highlighted in dark strips */
.cta-dark .btn.primary {
  background: #1a2e47;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 16px 40px rgba(34, 59, 90, .30);
}

.cta-dark .btn.primary:hover {
  background: #1a2e47;
}

.guide-cta .btn.primary {
  background: #1a2e47;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 16px 40px rgba(34, 59, 90, .30);
}

.guide-cta .btn.primary:hover {
  background: #1a2e47;
}

/* --- Section with large h2 --- */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.8vw, 54px);
  margin: 0;
}

/* --- Guide CTA final --- */
.guide-cta {
  padding: 60px 0;
  background: var(--accent);
  text-align: center;
}

.guide-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 46px);
  margin: 0 0 14px;
}

.guide-cta p {
  color: rgba(255, 255, 255, .72);
  margin: 0 0 24px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== MOBILE RESPONSIVE — new components ===== */

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
    margin: 0 auto;
  }

  .cta-dark .cta-dark-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .property-glimpse-item {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .card-property-img {
    height: 220px;
  }

  .card-property-body {
    padding: 16px;
  }

  .team-photo {
    width: 130px;
    height: 130px;
  }

  .guestbook-teaser {
    padding: 48px 0;
  }

  .guestbook-review-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .property-glimpse-shell {
    padding: 22px 18px;
  }

  .property-glimpse {
    padding-top: 18px;
  }

  .property-glimpse-copy {
    font-size: var(--text-sm);
  }

  .property-glimpse-item {
    grid-column: span 12;
    aspect-ratio: 4 / 5;
  }

  .cta-dark {
    padding: 52px 0;
  }
}

@media (max-width: 374px) {
  .card-property-img {
    height: 190px;
  }

  .team-photo {
    width: 110px;
    height: 110px;
  }

  .guestbook-teaser .quote-mark {
    font-size: 22px;
  }
}

/* ============================================================
   Scroll-triggered Fade-Up Animations
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of .stagger */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Section padding — mobile responsive
   ============================================================ */
@media (max-width: 900px) {
  section {
    padding: 56px 0;
  }
}

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

@media (max-width: 480px) {
  section {
    padding: 36px 0;
  }
}

@media (max-width: 600px) {
  .hero {
    text-align: center;
  }

  .hero-card {
    min-height: calc(100svh - 98px);
    place-items: start center;
  }

  .hero-content {
    padding: clamp(18px, 5vh, 44px) 6vw 112px;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-content::before {
    inset: 18px 4vw 72px;
    filter: blur(16px);
    background:
      radial-gradient(closest-side, rgba(26, 38, 51, .30), rgba(26, 38, 51, .13) 58%, transparent 100%);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  .hero p {
    margin-bottom: 1.25rem;
    font-size: .95rem;
    line-height: 1.45;
  }

  .hero-cta {
    gap: 8px;
    justify-content: center;
  }

  .hero .guide-nav {
    gap: 8px;
    margin-top: 1rem;
  }

  .hero .guide-nav .btn {
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: .10em;
  }

  .hero-micro {
    margin-top: 8px;
    max-width: calc(100% - 150px);
    text-align: left;
    font-size: .9rem;
  }
}

/* ============================================================
   Footer 3-column styles
   ============================================================ */
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, .52);
  margin: 0 0 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active {
  position: relative;
  display: inline-flex;
  color: rgba(250, 248, 244, .82) !important;
  transition: color 0.18s ease;
  font-size: var(--text-sm);
}

.footer-links a::after,
.footer-contact-item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--hero-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.footer-links a:hover {
  color: var(--text-inverse);
}

.footer-links a:hover::after,
.footer-contact-item a:hover::after {
  transform: scaleX(1);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--hero-coral);
}

.footer-contact-item a,
.footer-contact-item a:link,
.footer-contact-item a:visited,
.footer-contact-item a:active {
  position: relative;
  color: rgba(250, 248, 244, .82) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--text-inverse);
  text-decoration: none;
}

.footer-bottom {
  margin-top: clamp(42px, 6vw, 68px);
  padding-top: 18px;
  border-top: 1px solid rgba(250, 248, 244, .16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--text-xs);
  color: rgba(250, 248, 244, .58);
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    padding-left: 0;
    padding-top: 76px;
  }

  .footer-grid > div:first-child::before {
    top: 0;
    width: 58px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Prevent CSS hero background image requests when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
  body.page-home,
  body.page-bluemoon,
  body.page-moondrop,
  body.page-booking {
    --hero-photo: none;
  }

  .hero .hero-image,
  .hero .hero-content {
    animation: none;
  }
}


/* ============================================================
   Guestbook Flipbook
   ============================================================ */

    /* --- Guestbook Flipbook (lightweight) --- */
    .bookWrap {
      max-width: 980px;
      margin: 0 auto;
      padding: 28px 16px 60px;
    }

    .bookHeader {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .bookHeader h1 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      letter-spacing: .2px;
      font-size: clamp(28px, 3.8vw, 44px);
    }

    .bookHeader p {
      margin: 0;
      color: var(--muted);
      max-width: 55ch;
    }

    .bookShell {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .bookStage {
      position: relative;
      min-height: 460px;
      padding: 0;
    }

    .page {
      position: absolute;
      inset: 0;
      padding: 34px 26px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 18px;
      opacity: 0;
      transform: translateX(18px);
      transition: opacity .35s ease, transform .35s ease;
      pointer-events: none;
      background:
        radial-gradient(1400px 500px at 10% -10%, rgba(34, 59, 90, .06), transparent 60%),
        radial-gradient(900px 500px at 110% 110%, rgba(47, 107, 122, .06), transparent 55%),
        #fff;
    }

    .page.active {
      opacity: 1;
      transform: translateX(0);
      pointer-events: auto;
    }

    .cover {
      text-align: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(18, 24, 31, .52) 0%, rgba(18, 24, 31, .62) 100%),
        url("/assets/photos/guestbook-note.webp") center/cover no-repeat;
    }

    .cover .badge {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .24);
      color: #fff;
      font-size: 13px;
      border: 1px solid rgba(255, 255, 255, .45);
      margin: 0 auto 6px;
    }

    .cover h2 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(32px, 4.2vw, 54px);
      letter-spacing: .2px;
      color: #fff;
      text-shadow: 0 3px 16px rgba(0, 0, 0, .38);
    }

    .cover .sub {
      color: rgba(255, 255, 255, .92);
      max-width: 58ch;
      margin: 0 auto;
      line-height: 1.6;
      text-shadow: 0 2px 10px rgba(0, 0, 0, .34);
    }

    blockquote {
      margin: 0;
      padding: 18px 18px;
      border-left: 3px solid rgba(34, 59, 90, .22);
      background: rgba(243, 239, 230, .55);
      border-radius: 12px;
    }

    blockquote p {
      margin: 0;
      font-size: 18px;
      line-height: 1.7;
      color: var(--ink);
    }

    .sig {
      margin-top: 10px;
      color: var(--muted);
      font-size: 14px;
      letter-spacing: .2px;
    }

    .bookNav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-top: 1px solid var(--line);
      background: rgba(251, 250, 248, .65);
      backdrop-filter: blur(6px);
    }

    .bookNav .meta {
      color: var(--muted);
      font-size: 14px;
    }

    .bookNav .btnRow {
      display: flex;
      gap: 10px;
    }

    .bookNav .btn {
      appearance: none;
      border: 1px solid rgba(31, 35, 40, .16);
      background: #fff;
      border-radius: 12px;
      padding: 10px 12px;
      cursor: pointer;
      font: inherit;
      color: var(--ink);
      box-shadow: 0 6px 16px rgba(31, 35, 40, .06);
    }

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

    .bookNav .btn:disabled {
      opacity: .45;
      cursor: not-allowed;
      transform: none;
    }

    .bookNav .btn.primary {
      background: var(--coral);
      color: #fff;
      border-color: rgba(201, 108, 68, .25);
    }

    @media (min-width: 740px) {
      .page {
        padding: 44px 54px;
      }

      blockquote p {
        font-size: 19px;
      }
    }

/* ============================================================
   REDESIGN: Thanks Page
   ============================================================ */

.thanks-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.thanks-confirmation {
  max-width: 480px;
  width: 100%;
}

.thanks-cursive {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 8px;
}

.thanks-confirmation h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 20px;
  line-height: 1.15;
}

.thanks-divider {
  width: 48px;
  height: 1px;
  background: var(--coral);
  margin: 0 auto 20px;
}

.thanks-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--accent2);
  margin: 0 0 28px;
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thanks-btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-sm);
}

.thanks-btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.thanks-btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.thanks-btn-outline svg {
  width: 16px;
  height: 16px;
}

.thanks-explore {
  background: var(--sand);
  padding: 64px 0;
}

.thanks-explore-header {
  text-align: center;
  margin-bottom: 28px;
}

.thanks-explore-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  margin: 0 0 6px;
}

.thanks-property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .thanks-property-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.thanks-property-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: block;
  text-decoration: none;
}

.thanks-property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.thanks-property-card:hover img {
  transform: scale(1.05);
}

.thanks-property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.thanks-property-overlay h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 4px;
}

.thanks-property-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  margin: 0 0 10px;
}

.thanks-property-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ============================================================
   REDESIGN: Guide Page Enhancements
   ============================================================ */

/* Timeline for Getting Here */
.travel-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.travel-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(34, 59, 90, 0.2);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.travel-timeline .travel-step {
  position: relative;
}

.travel-timeline .travel-step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(34, 59, 90, 0.12);
}

.travel-timeline .travel-step:first-child::before { top: 50%; }
.travel-timeline .travel-step:last-child::before { bottom: 50%; }

/* Horizontal scrolling beach cards */
.guide-beaches-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.guide-beaches-scroll::-webkit-scrollbar { display: none; }

.guide-beach-scroll-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

@media (min-width: 960px) {
  .guide-beach-scroll-card {
    flex: 1 1 0;
  }
}

.guide-beach-scroll-img {
  position: relative;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--hero-ocean);
}

.guide-beach-scroll-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.guide-beach-scroll-card:hover .guide-beach-scroll-img img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.055);
}

.guide-beach-scroll-overlay {
  position: absolute;
  inset: auto 0 0;
  left: 0;
  right: 0;
  z-index: 1;
  min-height: 48%;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, transparent 0%, rgba(26, 38, 51, .44) 100%);
  transition: background .35s ease;
  pointer-events: none;
}

.guide-beach-scroll-card:hover .guide-beach-scroll-overlay {
  background:
    linear-gradient(180deg, transparent 0%, rgba(26, 38, 51, .52) 100%);
}

.guide-beach-scroll-overlay h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hero-soft);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .38);
  margin: 0;
  transform: translateY(0);
  transition: transform .35s ease, letter-spacing .35s ease;
}

.guide-beach-scroll-overlay h4::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(250, 248, 244, .72);
}

.guide-beach-scroll-card:hover .guide-beach-scroll-overlay h4 {
  letter-spacing: .28em;
  transform: translateY(-4px);
}

/* Tip cards with emoji icons */
.guide-tip-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guide-tip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(47, 107, 122, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.guide-tip-card h3 { margin: 0 0 4px; }
.guide-tip-card > div > p { margin: 0; }

/* Text-only card inside horizontal scroll */
.guide-todo-text-card {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.guide-todo-text-inner {
  padding: 28px 20px;
}

.guide-todo-text-inner h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 8px;
}

.guide-todo-text-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  margin: 0;
  line-height: 1.55;
}

/* Aerial photo card beside map */
.guide-aerial-card {
  height: 100%;
}

.guide-aerial-photo {
  margin-top: 10px;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(31, 35, 40, .10);
}

.footer-brand-name {
  display: block;
  max-width: 10ch;
  color: var(--text-inverse);
  font-family: var(--font-brand);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: .78;
  letter-spacing: 0;
}

.footer-brand-copy {
  margin-top: clamp(18px, 2.4vw, 28px);
  color: var(--text-inverse-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  letter-spacing: .04em;
}

.footer-social-row {
  margin-top: 24px;
}

.guestbook-open-book {
  margin-top: 16px;
}

.booking-fields-grid {
  gap: .75rem;
}

.form-note {
  margin-top: .6rem;
}

.detail-static {
  cursor: default;
}

.feature-tags-spaced {
  margin-bottom: 20px;
}

.section-cta-center {
  text-align: center;
}

.section-cta-overline {
  color: rgba(255, 255, 255, .5);
}

.section-cta-title {
  margin-bottom: 14px;
}

.section-cta-copy {
  max-width: 52ch;
  margin: 0 auto 28px;
}

.section-cta-actions {
  justify-content: center;
}

.btn-soft-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
}

.cta-dark.cta-bridge {
  background: var(--surface-bridge);
  color: var(--text-primary);
  padding: 58px 0 54px;
  border-top: 1px solid var(--border-soft);
}

.cta-dark.cta-bridge .section-cta-overline {
  color: rgba(26, 38, 51, .56);
}

.cta-dark.cta-bridge .section-cta-title {
  color: var(--text-primary);
}

.cta-dark.cta-bridge h2 {
  color: var(--text-primary);
}

.cta-dark.cta-bridge .section-cta-copy {
  color: rgba(26, 38, 51, .82);
  margin-bottom: 18px;
}

.cta-dark.cta-bridge .cta-dark-grid {
  gap: clamp(28px, 4vw, 48px);
}

.cta-dark.cta-bridge p {
  color: rgba(26, 38, 51, .82);
}

.cta-dark.cta-bridge .cta-detail-label {
  color: rgba(26, 38, 51, .56);
}

.cta-dark.cta-bridge .cta-detail-value {
  color: rgba(26, 38, 51, .92);
}

.cta-dark.cta-bridge .cta-detail-value:hover {
  color: var(--hero-coral);
}

.cta-dark.cta-bridge .section-cta-actions {
  gap: 12px;
}

.cta-dark.cta-bridge .btn.primary {
  background: var(--hero-coral);
  border-color: transparent;
  box-shadow: 0 6px 20px -8px rgba(201, 108, 68, .52);
}

.cta-dark.cta-bridge .btn.primary:hover {
  background: var(--hero-coral-hover);
}

.cta-dark.cta-bridge .section-cta-actions .btn.primary {
  background: var(--hero-coral);
  border-color: transparent;
  box-shadow: 0 6px 20px -8px rgba(201, 108, 68, .52);
}

.cta-dark.cta-bridge .section-cta-actions .btn.primary:hover {
  background: var(--hero-coral-hover);
}

.cta-dark.cta-bridge .section-cta-actions .btn-soft-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cta-dark.cta-bridge .section-cta-actions .btn-soft-light::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--hero-coral);
  transition: width .22s ease;
}

.cta-dark.cta-bridge .section-cta-actions .btn-soft-light:hover {
  transform: none;
  color: var(--text-primary);
  text-decoration: none;
}

.cta-dark.cta-bridge .section-cta-actions .btn-soft-light:hover::after {
  width: 30px;
}

@media (max-width: 700px) {
  .cta-dark.cta-bridge {
    padding: 50px 0 46px;
  }

  .cta-dark.cta-bridge .section-cta-actions {
    justify-content: center;
  }

  .cta-dark.cta-bridge .section-cta-actions .btn-soft-light {
    margin-top: 2px;
  }
}
  
