/* ============================================================
   UNCOVER JAMAICA — BASE STYLES
   Editorial / Lush / Boutique Tourism
   ============================================================ */

:root {
  /* Brand colors */
  --forest: #1B3B2F;
  --forest-deep: #0F2620;
  --forest-soft: #2A5043;
  --sand: #F5EFE0;
  --sand-warm: #EDE3CC;
  --cream: #FBF8F0;
  --gold: #C9A04E;
  --gold-soft: #D9B870;
  --coral: #E8765C;
  --coral-deep: #C85A42;
  --ink: #0E1F2E;
  --ink-soft: #2A3B4A;
  --muted: #6B7A6E;
  --line: rgba(27, 59, 47, 0.12);
  --line-soft: rgba(27, 59, 47, 0.06);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(14, 31, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 31, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 31, 46, 0.18);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;

  /* Layout */
  --max-w: 1400px;
  --content-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-variation-settings: "opsz" 60";
  font-weight: 500;
}

h4 { font-size: 1.375rem; font-weight: 500; }

p { line-height: 1.7; }

.script {
  font-family: var(--font-script);
  font-weight: 500;
  font-style: normal;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.italic { font-style: italic; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 118, 92, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  padding: 0.5rem 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--forest);
}
.btn-ghost:hover {
  letter-spacing: 0.05em;
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-light:hover {
  background: #fff;
  color: var(--forest);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-tight { padding: var(--space-lg) 0; }

.section-head {
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1.25rem; color: var(--muted); font-size: 1.0625rem; }

/* Decorative divider */
.divider-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--t-med) var(--ease);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(251, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0.875rem 0;
  box-shadow: 0 2px 20px rgba(14, 31, 46, 0.04);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--gold-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 600;
}

.site-header:not(.scrolled) .brand {
  color: var(--cream);
}
.site-header:not(.scrolled) .brand-mark {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--cream);
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--forest-deep);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--t-fast) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--t-med) var(--ease);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.site-header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-book {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
  background: var(--gold);
  color: var(--forest-deep);
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--t-fast) var(--ease);
}
.nav-book:hover {
  background: var(--forest-deep);
  color: var(--cream);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 59, 47, 0.08);
  color: var(--forest-deep);
}

.site-header:not(.scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.18);
  color: var(--cream);
  backdrop-filter: blur(12px);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-book { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--forest-deep);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 2rem 1.5rem;
}
.mobile-nav.open { display: flex; }

.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-nav-head .brand { color: var(--cream); }
.mobile-nav-head .brand-mark {
  background: rgba(255,255,255,0.1);
  color: var(--gold-soft);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-links a {
  display: block;
  padding: 1.25rem 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.mobile-nav-footer .btn { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .brand-mark { background: var(--gold); color: var(--forest-deep); }
.footer-brand p { color: rgba(245, 239, 224, 0.7); max-width: 320px; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--forest-deep);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  color: rgba(245, 239, 224, 0.75);
  font-size: 0.9375rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(245, 239, 224, 0.5); font-size: 0.85rem; }
.footer-bottom .powered {
  font-size: 0.8rem;
  color: rgba(245, 239, 224, 0.4);
}
.footer-bottom .powered a { color: var(--gold-soft); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all var(--t-med) var(--ease);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ============================================================
   COMMON UTILITIES
   ============================================================ */

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.tag-gold { background: var(--gold); color: var(--forest-deep); }
.tag-forest { background: var(--forest); color: var(--cream); }
.tag-coral { background: var(--coral); color: #fff; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
}
.price-tag .currency {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
}
.price-tag .amount {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--forest-deep);
}
.price-tag .per {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--muted);
  margin-left: 0.25rem;
}

.duration {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Stroke decoration */
.stroke-marker {
  position: relative;
  display: inline-block;
}
.stroke-marker::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  background: var(--gold);
  opacity: 0.25;
  border-radius: 50%;
  transform: rotate(-2deg);
  z-index: -1;
}

/* Page intro pattern */
.page-intro {
  padding: 11rem 0 4rem;
  background:
    linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-intro::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  opacity: 0.15;
}

.page-intro h1 { color: var(--cream); }
.page-intro .eyebrow { color: var(--gold-soft); }
.page-intro p {
  font-size: 1.125rem;
  color: rgba(245, 239, 224, 0.8);
  max-width: 640px;
  margin-top: 1.5rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================================
   GRAIN / NOISE TEXTURE OVERLAY
   ============================================================ */

.has-grain {
  position: relative;
}
.has-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}

/* ============================================================
   COOKIE / ANGELA SIGNATURE
   ============================================================ */
.signature {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.5rem;
  display: inline-block;
  transform: rotate(-2deg);
  line-height: 1;
}
