/* ==========================================================================
   Halleys Tour and Travels — main stylesheet
   Order: fonts → tokens → base → layout → components → pages → utilities
   ========================================================================== */

/* ---------- Fonts (Outfit, variable, self-hosted) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy-900: #001a4a;
  --navy-800: #002361;
  --navy-700: #0b3478;
  --navy-100: #e8eef8;
  --gold-500: #d99605;
  --gold-600: #b87e04;
  --gold-700: #8a5e00;
  --gold-100: #fdf3dc;
  --ink: #000000;
  --ink-soft: #000000;
  --ink-muted: #000000;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;
  --success: #1e7b3c;
  --danger: #b42318;
  --whatsapp: #1fa855;

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.2rem;
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3.2vw, 4.2rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.06), 0 1px 3px rgb(16 24 40 / 0.08);
  --shadow: 0 8px 24px -6px rgb(16 24 40 / 0.12);
  --shadow-lg: 0 24px 48px -12px rgb(0 26 74 / 0.25);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 86px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--gold-700); }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-100); color: var(--navy-900); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 2000;
  background: var(--navy-800); color: #fff; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy-800); color: #dfe7f5; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto var(--sp-7); text-align: center; }
.section-head h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
.section-head p { margin-top: var(--sp-4); color: var(--ink-soft); font-size: var(--fs-lg); }
.section--navy .section-head p { color: #c8d4ea; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: var(--sp-3);
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-500); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0.7rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { --btn-bg: var(--navy-700); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--gold:hover { --btn-bg: #e8a514; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: #178a45; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-border: var(--navy-800); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--ghost-light { --btn-bg: rgb(255 255 255 / 0.08); --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-border: #fff; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c8d4ea; font-size: var(--fs-sm); }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-5); padding-block: 2px; }
.topbar a { display: inline-block; padding-block: 6px; color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-500); }
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.topbar__list li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar .icon { color: var(--gold-500); width: 1em; height: 1em; }
@media (max-width: 720px) { .topbar__reg { display: none; } }
@media (max-width: 560px) { .topbar__mail { display: none !important; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--ink); }
.brand img { width: 72px; height: 72px; object-fit: contain; }

.nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); list-style: none; padding: 0; }
.nav__link {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: var(--radius-pill);
  color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.nav__link:hover { background: var(--navy-100); color: var(--ink); }
.nav__link[aria-current='page'] { color: var(--ink); background: var(--navy-100); }
.nav__cta { margin-left: var(--sp-2); }
.nav-toggle { display: none; }

/* Packages dropdown: opens on hover/focus without JS; the chevron button toggles it for touch and keyboard. */
.nav__item--sub { position: relative; display: flex; align-items: center; }
.nav__item--sub > .nav__link { padding-right: 0.35rem; }
.nav__subtoggle {
  display: grid; place-items: center; width: 32px; height: 40px; padding: 0; border: 0; border-radius: 8px;
  background: none; color: var(--ink);
}
.nav__subtoggle .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.nav__subtoggle[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 0; z-index: 10; min-width: 230px;
  list-style: none; padding: var(--sp-2); margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
}
.nav__sub::before { content: ''; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub,
.nav__subtoggle[aria-expanded='true'] + .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s var(--ease); }
.nav__sub a { display: block; padding: 0.65rem 0.9rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__sub a:hover { background: var(--navy-100); color: var(--ink); }

@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800);
  }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded='true'] .icon-open { display: none; }
  .nav-toggle[aria-expanded='true'] .icon-close { display: block; }

  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .js .nav__link { display: block; padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-size: 1.1rem; }
  .js .nav__item--sub { flex-wrap: wrap; }
  .js .nav__item--sub > .nav__link { flex: 1; }
  .js .nav__subtoggle { display: none; }
  .js .nav__sub { position: static; flex-basis: 100%; min-width: 0; margin: 0 0 var(--sp-2) var(--sp-4); padding: 0; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: inherit; transform: none; }
  .js .nav__sub::before { display: none; }
  .js .nav__cta { margin: var(--sp-3) 0 0; }
  .js .nav__cta .btn { width: 100%; }
  .site-header__inner { min-height: 76px; }
  .brand img { width: 62px; height: 62px; }
  :root { --header-h: 77px; }
}

/* ---------- Hero + slider (all pages) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; color: #fff; background: var(--navy-900);
}
.hero--home { min-height: min(90vh, 800px); align-items: center; padding-block: var(--sp-9) var(--sp-9); }
.hero--pkg { min-height: clamp(380px, 68vh, 640px); align-items: end; padding-block: var(--sp-9) var(--sp-8); }
.hero--plain { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem); }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgb(0 20 58 / 0.92) 0%, rgb(0 26 74 / 0.45) 55%, rgb(0 26 74 / 0.35) 100%);
}
.hero--home::after {
  background:
    linear-gradient(90deg, rgb(0 20 58 / 0.88) 0%, rgb(0 26 74 / 0.55) 50%, rgb(0 26 74 / 0.15) 100%),
    linear-gradient(0deg, rgb(0 20 58 / 0.6), transparent 40%);
}
.hero--plain::after { display: none; }
@media (max-width: 700px) {
  .hero--home::after { background: linear-gradient(0deg, rgb(0 20 58 / 0.88) 0%, rgb(0 26 74 / 0.62) 100%); }
}
.hero__inner { position: relative; }
.hero__content { max-width: 680px; }
.hero--pkg h1, .hero--plain h1 { font-size: clamp(2rem, 1.5rem + 2.6vw, 3.5rem); letter-spacing: -0.02em; max-width: 900px; }

.slider { position: absolute; inset: 0; z-index: -2; }
.slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .slider__slide.is-active img { animation: kenburns 2.8s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
}
.hero h1 { color: #fff; font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero__lead { margin-top: var(--sp-5); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: #e2e9f6; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-7); padding: 0; list-style: none; color: #dbe4f3; font-size: 0.95rem; }
.hero__trust li { display: flex; align-items: center; gap: var(--sp-2); }
.hero__trust .icon { color: var(--gold-500); }

@media (prefers-reduced-motion: no-preference) {
  .reveal-up { animation: reveal-up 0.8s var(--ease) both; }
  .reveal-up.d1 { animation-delay: 0.1s; } .reveal-up.d2 { animation-delay: 0.2s; } .reveal-up.d3 { animation-delay: 0.3s; }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } }
}

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); list-style: none; padding: 0; margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: #c8d4ea; }
.breadcrumb li + li::before { content: '/'; margin-right: var(--sp-2); opacity: 0.6; }
.breadcrumb a { display: inline-block; padding-block: 3px; color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-500); text-decoration: underline; }

/* ---------- Cards: tour / destination ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; left: var(--sp-3); top: var(--sp-3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.95); color: var(--ink); font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.card__badge .icon { width: 1em; height: 1em; color: var(--gold-600); }
.card__tag {
  position: absolute; right: var(--sp-3); top: var(--sp-3);
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
  background: var(--gold-500); color: var(--navy-900); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.card__body { display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; padding: var(--sp-5); }
.card__title { font-size: var(--fs-h3); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.card__meta { display: flex; align-items: flex-start; gap: var(--sp-2); color: var(--ink-muted); font-size: 0.95rem; }
.card__meta .icon { margin-top: 0.2em; width: 1em; height: 1em; color: var(--gold-600); }
.card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); }
.card__foot .link-arrow { font-size: 0.95rem; }

.dest-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); text-decoration: none; }
@media (max-width: 600px) { .dest-card { aspect-ratio: 16 / 11; } }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.dest-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(0 20 58 / 0.9) 0%, rgb(0 20 58 / 0.15) 55%, transparent 100%); transition: background-color 0.3s; }
.dest-card__body { position: absolute; inset: auto 0 0 0; padding: var(--sp-5); }
.dest-card h3 { color: #fff; font-size: 1.45rem; }
.dest-card p { color: #d6e0f0; font-size: 0.95rem; margin-top: 4px; }
.dest-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-3); font-weight: 600; font-size: 0.92rem; color: var(--gold-500); }
.dest-card:hover { color: #fff; }
.dest-card:hover img { transform: scale(1.07); }
.dest-card:hover .dest-card__cta .icon { transform: translateX(4px); }
.dest-card__cta .icon { transition: transform 0.2s var(--ease); width: 1em; height: 1em; }

/* ---------- Feature / service cards ---------- */
.feature {
  padding: var(--sp-6); border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--sp-5);
  border-radius: 16px; background: var(--gold-100); color: var(--gold-700);
}
.feature__icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.feature p { color: var(--ink-soft); }
.section--navy .feature { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.1); box-shadow: none; }
.section--navy .feature p { color: #c8d4ea; }
.section--navy .feature__icon { background: rgb(217 150 5 / 0.16); color: var(--gold-500); }

/* ---------- Prose ---------- */
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--sp-2); }
.prose li::marker { color: var(--gold-600); }

.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist .icon { margin-top: 0.2em; color: var(--success); }
.checklist--x .icon { color: var(--danger); }
.checklist--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }


/* ---------- Contact tiles ---------- */
.contact-tiles { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 900px; margin-inline: auto; }
.contact-tile {
  display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5);
  border-radius: var(--radius); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
}
.contact-tile .feature__icon { margin: 0; width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgb(217 150 5 / 0.16); color: var(--gold-500); }
.contact-tile .feature__icon .icon { width: 22px; height: 22px; }
.contact-tile h3 { font-size: 1rem; color: #fff; font-weight: 600; }
.contact-tile a, .contact-tile p { color: #dbe4f3; text-decoration: none; overflow-wrap: anywhere; }
.contact-tile a:hover { color: var(--gold-500); text-decoration: underline; }

/* ---------- Package page ---------- */


.facts {
  position: relative; z-index: 5; margin-top: calc(-1 * var(--sp-5));
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.fact { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-5); }
.fact + .fact { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .fact + .fact { border-left: 0; border-top: 1px solid var(--line); } }
.fact .feature__icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.fact .feature__icon .icon { width: 22px; height: 22px; }
.fact dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); font-weight: 600; }
.fact dd { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.3; }

.pkg-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 1000px) { .pkg-layout { grid-template-columns: minmax(0, 1fr) 390px; } }
.pkg-main > section + section { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pkg-main h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: var(--sp-5); letter-spacing: -0.01em; }
.pkg-main .prose p { font-size: 1.08rem; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.panel h3 { display: flex; align-items: center; gap: var(--sp-2); font-size: 1.2rem; margin-bottom: var(--sp-4); }
.panel--in h3 .icon { color: var(--success); }
.panel--out h3 .icon { color: var(--danger); }
.inex { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.chips li { padding: 0.35rem 0.85rem; border-radius: var(--radius-pill); background: var(--navy-100); color: var(--ink); font-weight: 600; font-size: 0.9rem; }

/* Itinerary timeline */
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding-left: 64px; }
.timeline > li + li { margin-top: var(--sp-3); }
.timeline__day {
  position: absolute; left: 0; top: 10px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: #fff;
  font-weight: 700; font-size: 0.72rem; line-height: 1; text-align: center; box-shadow: 0 0 0 5px #fff;
}
.timeline__day b { display: block; font-size: 1.05rem; }

.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow 0.25s, border-color 0.25s; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); min-height: 64px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.35;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { flex: none; color: var(--gold-600); transition: transform 0.3s var(--ease); }
.acc[open] summary .icon { transform: rotate(180deg); }
.acc summary:hover { color: var(--ink); }
.acc__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft); }
.acc__body > * + * { margin-top: var(--sp-3); }
.acc__body ul { padding-left: 1.2rem; }
.acc__body li + li { margin-top: 4px; }
.acc__body li::marker { color: var(--gold-600); }
.acc__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0 !important; }
.acc__meta li { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); background: var(--gold-100); color: var(--ink); font-size: 0.88rem; font-weight: 600; margin: 0 !important; }
.acc__meta .icon { width: 1em; height: 1em; }
.faq-list { display: grid; gap: var(--sp-3); }

/* Sidebar booking card */
.pkg-aside { display: grid; gap: var(--sp-5); }
.form-card--compact { padding: var(--sp-6) var(--sp-5); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-card--compact h2 { font-size: 1.4rem; }
.form-card--compact .form { gap: var(--sp-4); margin-top: var(--sp-5); }
.form-card--compact .form__row { grid-template-columns: 1fr; gap: var(--sp-4); }
.form-card--compact .field textarea { min-height: 96px; }
.form-card--compact .form__actions { flex-direction: column; align-items: stretch; }
.book-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.book-card__head { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; padding: var(--sp-5) var(--sp-6); }
.book-card__head h2 { color: #fff; font-size: 1.35rem; margin: 0; }
.book-card__head p { color: #c8d4ea; margin-top: 4px; font-size: 0.95rem; }
.book-card__body { padding: var(--sp-6); display: grid; gap: var(--sp-3); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.form-card > p { margin-top: var(--sp-2); color: var(--ink-soft); }
.form { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.form__row { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 1rem;
  border: 1.5px solid #cfd7e3; border-radius: 10px; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa8bd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgb(11 52 120 / 0.14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.88rem; min-height: 0; }
.field__error:empty { display: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.form__status { padding: var(--sp-4); border-radius: 10px; background: #e9f7ef; color: #14532d; border: 1px solid #b7e4c7; }
.form__status:empty { display: none; }
.form__status[data-kind='error'] { background: #fdecea; color: #7a1a12; border-color: #f5c2bd; }
[data-submit]:disabled { opacity: 0.7; cursor: progress; }

/* ---------- Contact page ---------- */
/* Quick actions: big thumb-friendly buttons shown first on phones. */
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.quick-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 84px; padding: var(--sp-3) var(--sp-2); border-radius: var(--radius);
  background: var(--navy-800); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), background-color 0.2s;
}
.quick-action .icon { width: 26px; height: 26px; }
.quick-action:hover { color: #fff; background: var(--navy-700); transform: translateY(-2px); }
.quick-action--wa { background: var(--whatsapp); }
.quick-action--wa:hover { background: #178a45; }
@media (min-width: 700px) {
  .quick-action { flex-direction: row; min-height: 64px; gap: var(--sp-3); font-size: 1.05rem; }
}

.contact-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 400px minmax(0, 1fr); }
  .contact-layout .contact-card { order: -1; }
}
.contact-card { background: var(--navy-800); color: #dbe4f3; border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; gap: var(--sp-5); }
.contact-card h2 { color: #fff; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem); }
.contact-list { display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgb(217 150 5 / 0.16); color: var(--gold-500); }
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list div { min-width: 0; display: grid; }
.contact-list h3 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: #dbe4f3; text-decoration: none; padding-block: 3px; overflow-wrap: anywhere; line-height: 1.45; }
.contact-list a:hover { color: var(--gold-500); text-decoration: underline; }

.contact .form-card { padding: clamp(1.25rem, 4vw, 2.75rem); }
.contact .map { margin-top: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact .map iframe { height: clamp(260px, 40vh, 420px); }
@media (max-width: 600px) {
  .contact .form__actions { flex-direction: column; align-items: stretch; }
  .contact .form__row { gap: var(--sp-4); }
  .contact .form { gap: var(--sp-4); margin-top: var(--sp-5); }
}
.social { display: flex; gap: var(--sp-3); list-style: none; padding: 0; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgb(255 255 255 / 0.1); color: #fff; transition: background-color 0.2s, color 0.2s;
}
.social a:hover { background: var(--gold-500); color: var(--navy-900); }
.social .icon { width: 20px; height: 20px; }

/* ---------- Destination page ---------- */
.info-cards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: var(--sp-7); }
.info-card { padding: var(--sp-5); border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--line); }
.info-card h2 { display: flex; gap: var(--sp-2); align-items: center; font-size: 1.05rem; margin-bottom: var(--sp-2); }
.info-card h2 .icon { color: var(--gold-600); }
.info-card p { color: var(--ink-soft); }
.dest-photo { margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); }
.dest-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 600px) { .dest-photo img { aspect-ratio: 4 / 3; border-radius: var(--radius); } }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); color: var(--ink) !important; }

/* ---------- Policy pages ---------- */
.policy .prose h2 { font-size: 1.35rem; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.policy .prose h2:first-of-type { border-top: 0; padding-top: 0; }
.policy-contact { margin-top: var(--sp-7); padding: var(--sp-6); border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--line); }
.policy-contact h2 { font-size: 1.3rem; margin-bottom: var(--sp-3); }
.policy-contact ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.policy-contact li { display: flex; gap: var(--sp-2); align-items: flex-start; color: var(--ink-soft); }
.policy-contact .icon { margin-top: 0.25em; color: var(--gold-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6dd; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; gap: var(--sp-7) var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: var(--sp-4); letter-spacing: 0.02em; }
.site-footer a { color: #dbe4f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.footer-contact { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact .icon { margin-top: 0.25em; color: var(--gold-500); }
.footer-bottom { margin-top: clamp(3rem, 6vw, 4rem); border-top: 1px solid rgb(255 255 255 / 0.1); padding-block: var(--sp-5); font-size: var(--fs-sm); }
@media (max-width: 720px) { .footer-bottom { padding-bottom: 160px; } }
@media (max-width: 999px) { .footer-grid > :last-child { grid-column: 1 / -1; } }
.footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.footer-bottom .container { display: grid; gap: var(--sp-1); }
.footer-credit a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-credit a:hover { color: var(--gold-500); }
.site-footer .social a { color: #fff; }
.social { flex-wrap: wrap; }

/* ---------- Floating action buttons ---------- */
.fab { position: fixed; left: 18px; bottom: 18px; z-index: 900; display: grid; gap: 12px; }

/* Back to top (bottom-right). Works without JS via the "#top" fragment; JS only hides it near the top. */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--navy-800); border: 1px solid var(--line);
  box-shadow: 0 10px 24px -6px rgb(0 0 0 / 0.3);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s;
}
.to-top:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); }
.to-top .icon { width: 24px; height: 24px; }
.js .to-top:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s; }
.fab a {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; box-shadow: 0 10px 24px -6px rgb(0 0 0 / 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.fab a:hover { transform: scale(1.08); color: #fff; }
.fab .icon { width: 28px; height: 28px; }
.fab__wa { background: var(--whatsapp); }
.fab__call { background: var(--navy-800); }
@media (prefers-reduced-motion: no-preference) {
  .fab__wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgb(31 168 85 / 0.55); animation: pulse 2.4s infinite; }
  .fab__wa { position: relative; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 16px rgb(31 168 85 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 168 85 / 0); } }
}

/* ---------- Scroll reveal (enabled by JS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found__code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; color: var(--navy-100); letter-spacing: -0.05em; }

/* ---------- Section divider, tabs, misc ---------- */
.hero__lead { max-width: 720px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-bottom: var(--sp-7); }
.tab {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill); border: 1.5px solid #cfd7e3; background: #fff;
  color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tab:hover { border-color: var(--navy-700); color: var(--ink); }
.tab[aria-current='page'] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

a.contact-tile { text-decoration: none; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
a.contact-tile:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(217 150 5 / 0.6); transform: translateY(-3px); }
a.contact-tile:hover p { color: var(--gold-500); }
.stack-actions .social { justify-content: center; }

.checklist--star .icon { color: var(--gold-600); }

.map iframe { display: block; width: 100%; height: clamp(300px, 45vh, 440px); border: 0; filter: saturate(0.9); }

/* About page */
.about__grid { display: grid; gap: var(--sp-6); align-items: center; }
.about__text h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; margin-bottom: var(--sp-4); }
.about__text p { font-size: 1.05rem; line-height: 1.75; }
.about__text p + p { margin-top: var(--sp-4); }
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .about__text p { font-size: 1.12rem; }
  .about__media img { aspect-ratio: 4 / 3.4; }
}
.creds { display: grid; gap: var(--sp-3); margin-top: clamp(2rem, 5vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cred { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--line); }
.cred__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: #fff; }
.cred__icon .icon { width: 22px; height: 22px; }
.cred strong { display: block; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.cred small { display: block; font-size: 0.88rem; margin-top: 2px; }
.about-cta { padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.about-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.about-cta h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (max-width: 600px) {
  .about-cta__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .about-cta__actions { flex-direction: column; }
  .feature { padding: var(--sp-5); }
  .feature__icon { width: 52px; height: 52px; margin-bottom: var(--sp-4); }
  .section-head { margin-bottom: var(--sp-6); }
}

.about-intro { text-align: center; }
.about-intro h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }

/* ---------- Utilities ---------- */
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.stack-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

@media print {
  .acc > :not(summary) { display: block !important; }
}
