/* ==========================================================================
   Jackson Travel — Design system premium tropical (bleu océan / blanc / doré)
   ========================================================================== */

:root {
  --ocean-deep: #0a3d62;
  --ocean: #146c94;
  --ocean-light: #4a90a4;
  --ocean-pale: #e8f3f6;
  --gold: #c9a227;
  --gold-light: #e4c97a;
  --white: #ffffff;
  --off-white: #faf8f3;
  --ink: #12242e;
  --gray: #5b6b73;
  --gray-light: #e4e7e9;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebc59;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(10, 61, 98, 0.08);
  --shadow-m: 0 12px 30px rgba(10, 61, 98, 0.14);
  --shadow-l: 0 24px 60px rgba(10, 61, 98, 0.22);
  --transition: 220ms ease;
  --container: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--ocean-deep); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--pale { background: var(--ocean-pale); }
.section--dark { background: var(--ocean-deep); color: var(--off-white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(250, 248, 243, 0.78); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ocean-deep); box-shadow: var(--shadow-s); }
.btn--gold:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.btn--outline { border: 2px solid rgba(255, 255, 255, 0.85); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline-dark { border: 2px solid var(--ocean); color: var(--ocean-deep); }
.btn--outline-dark:hover { background: var(--ocean-pale); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); width: 100%; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); border-color: var(--gray-light); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: var(--container); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--ocean-deep); }
.logo .logo-icon { color: var(--gold); }
.logo span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 30px;
  position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh;
  background: var(--white); flex-direction: column; justify-content: center;
  transform: translateX(100%); transition: transform var(--transition);
  box-shadow: var(--shadow-l); padding: 40px;
}
.nav-links.is-open { transform: translateX(0); }
.nav-links a {
  font-weight: 600; color: var(--ocean-deep); font-size: 1.1rem; padding: 6px 0; position: relative;
}
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 6px; z-index: 1100;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ocean-deep); transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(10, 61, 98, 0.4); opacity: 0; pointer-events: none;
  transition: opacity var(--transition); z-index: 999;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
  .nav-links {
    position: static; width: auto; height: auto; flex-direction: row; transform: none;
    box-shadow: none; padding: 0; background: transparent;
  }
  .nav-cta { display: inline-flex; }
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 32, 46, 0.15) 0%, rgba(9, 27, 39, 0.55) 70%, rgba(6, 18, 26, 0.78) 100%);
}
.hero-content { padding: 64px 0 84px; max-width: 720px; }
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--gold-light); font-weight: 700;
}
.hero h1 {
  color: var(--white); font-size: clamp(2.1rem, 6vw, 3.6rem); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.hero p.lead {
  margin-top: 18px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.92); max-width: 560px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero--page { min-height: 56vh; }
.hero--page .hero-content { padding: 56px 0 64px; }

/* ---- Destination cards ---- */
.grid-3 { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.dest-card {
  position: relative; border-radius: var(--radius-m); overflow: hidden; height: 420px;
  box-shadow: var(--shadow-s); transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; }
.dest-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 32, 46, 0) 40%, rgba(6, 18, 26, 0.85) 100%);
}
.dest-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: var(--white); }
.dest-card__tag { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.dest-card__body h3 { color: var(--white); font-size: 1.5rem; margin-top: 6px; }
.dest-card__body p { color: rgba(255, 255, 255, 0.85); margin-top: 6px; font-size: 0.95rem; }
.dest-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--gold-light); }

/* ---- Why us ---- */
.features { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(5, 1fr); } }
.feature { text-align: center; padding: 8px; }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--ocean-pale); color: var(--ocean-deep);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--gray); font-size: 0.92rem; margin-top: 8px; }

/* ---- Offers ---- */
.offers-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .offers-grid { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  background: var(--white); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.offer-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.offer-card__image img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__price {
  position: absolute; left: 14px; top: 14px; background: var(--gold); color: var(--ocean-deep);
  font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-s);
}
.offer-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offer-card__body h3 { font-size: 1.15rem; }
.offer-card__body p { color: var(--gray); font-size: 0.95rem; flex: 1; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--white); border-radius: var(--radius-m); padding: 30px; box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; }
.testimonial p.quote { font-style: italic; color: var(--ink); }
.testimonial .author { display: flex; flex-direction: column; margin-top: auto; }
.testimonial .author strong { color: var(--ocean-deep); }
.testimonial .author span { color: var(--gray); font-size: 0.85rem; }
.testimonials-note { text-align: center; color: var(--gray); font-size: 0.85rem; margin-top: 28px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--ocean-deep), var(--ocean));
  border-radius: var(--radius-l); padding: 56px 40px; text-align: center; color: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 520px; }

/* ---- Activities list (destination pages) ---- */
.activities { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .activities { grid-template-columns: repeat(2, 1fr); } }
.activity {
  display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius-m);
  padding: 20px; box-shadow: var(--shadow-s);
}
.activity-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ocean-pale); color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
}
.activity-icon svg { width: 22px; height: 22px; }
.activity h3 { font-size: 1.02rem; }
.activity p { color: var(--gray); font-size: 0.92rem; margin-top: 4px; }

/* ---- Intro split ---- */
.intro-split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .intro-split { grid-template-columns: 1.1fr 0.9fr; } }
.intro-split img { border-radius: var(--radius-m); box-shadow: var(--shadow-m); }
.intro-split .content p { color: var(--gray); margin-top: 16px; }
.intro-split .content ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.intro-split .content li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 500; }
.intro-split .content li svg { color: var(--gold); width: 18px; height: 18px; flex: none; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; } }
.contact-form { background: var(--white); border-radius: var(--radius-m); padding: 32px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ocean-deep); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--gray-light); border-radius: var(--radius-s); padding: 12px 14px; background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--gray); }

.contact-card { background: var(--ocean-deep); color: var(--white); border-radius: var(--radius-m); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-card h3 { color: var(--white); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item a, .contact-item p { color: rgba(255, 255, 255, 0.88); }
.contact-item strong { display: block; color: var(--white); margin-bottom: 2px; }

/* ---- Footer ---- */
.site-footer { background: #062430; color: rgba(250, 248, 243, 0.75); padding: 64px 0 24px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .logo { color: var(--white); }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.92rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem;
}

/* ---- Floating WhatsApp button ---- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1200;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-m);
  animation: wa-pulse 2.6s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--whatsapp-dark); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), var(--shadow-m); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), var(--shadow-m); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-m); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
