/* ============================================================
   Phangan Transfers — tropical, trustworthy, mobile-first
   ============================================================ */
:root {
  --sea-900: #063b47;
  --sea-800: #0a5666;
  --sea-700: #0b7a8c;
  --sea-500: #14a3b8;
  --sea-300: #7fd4dd;
  --sea-100: #e3f6f8;

  --sand-100: #fdf8ef;
  --sand-200: #f7edda;
  --sand-300: #efe0c4;

  --coral: #ff6b4a;
  --coral-dark: #e8542f;
  --sun: #ffb020;

  --ink: #143036;
  --ink-soft: #40595f;
  --white: #ffffff;

  --wa: #25d366;
  --wa-dark: #1da851;

  --shadow-sm: 0 2px 8px rgba(6, 59, 71, 0.08);
  --shadow-md: 0 12px 32px rgba(6, 59, 71, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 59, 71, 0.18);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Sora", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  padding: 0.72em 1.4em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.06rem; padding: 0.92em 1.7em; }

.btn-primary {
  background: var(--wa);
  color: #06331c;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
}
.btn-primary:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--sea-800);
  border: 1.5px solid var(--sea-300);
}
.btn-ghost-dark:hover { background: var(--sea-100); transform: translateY(-2px); }

.btn-header { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,74,0.35); padding: 0.6em 1.15em; font-size: 0.9rem; }
.btn-header:hover { background: var(--coral-dark); transform: translateY(-2px); }
.lbl-short { display: none; }

.btn-mini { background: var(--sea-100); color: var(--sea-800); padding: 0.4em 1.05em; font-size: 0.85rem; }
.btn-mini:hover { background: var(--sea-700); color: #fff; }

.wa-ico { font-size: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 239, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 122, 140, 0.1);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 84px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--sea-800); }
.brand-mark { font-size: 1.3rem; }
.brand-text span { color: var(--coral); }
.brand-logo { height: 68px; width: auto; display: block; }

.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; position: relative; transition: color 0.15s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--coral); transition: width 0.2s ease; }
.main-nav a:hover { color: var(--sea-800); }
.main-nav a:hover::after { width: 100%; }

.header-inner .btn-header { margin-left: 8px; }
.main-nav + .btn-header { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(64px, 12vw, 128px) 0 150px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(150deg, rgba(6,59,71,0.78) 0%, rgba(10,86,102,0.62) 42%, rgba(6,59,71,0.86) 100%),
    var(--sea-800);
  background-image:
    linear-gradient(150deg, rgba(6,59,71,0.78) 0%, rgba(10,86,102,0.62) 42%, rgba(6,59,71,0.86) 100%),
    url("../assets/hero.jpg");
  background-size: cover, cover;
  background-position: center, center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 480px at 80% -12%, rgba(255,176,32,0.28), transparent 62%);
}
/* Parties page hero uses the Full Moon Party image */
.hero-parties .hero-bg {
  background-image:
    linear-gradient(150deg, rgba(6,59,71,0.72) 0%, rgba(10,20,40,0.5) 45%, rgba(6,59,71,0.82) 100%),
    url("../assets/fullmoon-party.jpg");
}
/* Tours page hero uses the island beach viewpoint image */
.hero-daytours .hero-bg {
  background-image:
    linear-gradient(150deg, rgba(6,59,71,0.68) 0%, rgba(10,86,102,0.42) 45%, rgba(6,59,71,0.78) 100%),
    url("../assets/tours-hero.jpg");
}

.hero-scene { display: none; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene-sun {
  position: absolute; top: 6%; right: 8%; width: clamp(180px, 26vw, 340px); height: auto;
  opacity: 0.4; filter: blur(3px);
}
.scene-sun circle { fill: var(--sun); }
.scene-palms {
  position: absolute; bottom: 0; right: 0; width: min(560px, 60vw); height: auto;
  color: rgba(4, 34, 41, 0.4); opacity: 0.9;
}
@media (max-width: 700px) { .scene-palms { width: 75vw; opacity: 0.6; } }

.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--display);
  color: var(--sea-300);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--sea-700); }

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; }
.hero h1 span { color: var(--sun); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,0.92); max-width: 620px; margin: 22px 0 34px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust {
  list-style: none; padding: 0; margin: 46px 0 0;
  display: flex; flex-wrap: wrap; gap: 38px;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--sun); line-height: 1.1; }
.hero-trust span { font-size: 0.86rem; color: rgba(255,255,255,0.8); }

.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: -1; }
.wave-divider svg { width: 100%; height: clamp(70px, 9vw, 120px); }
.wave-divider path { fill: var(--sand-100); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 104px) 0; }
.section-alt { background: var(--sand-200); }
.section-head { max-width: 640px; margin: 0 auto clamp(38px, 5vw, 58px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: var(--ink); }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; margin: 16px 0 0; }

/* ---------- Guide pages ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.8; margin: 0 0 18px; }
.prose h3 { font-size: 1.35rem; color: var(--sea-800); margin: 32px 0 12px; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.prose ul li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--sea-100); color: var(--sea-700); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.prose a { color: var(--sea-700); font-weight: 600; }
.callout {
  background: var(--sea-100); border-left: 4px solid var(--sea-500);
  border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 24px 0; color: var(--ink);
}
.callout strong { color: var(--sea-800); }
.callout.warn { background: #fff4e6; border-left-color: var(--coral); }
.disclosure { margin-top: 10px; }
.disclosure small { color: var(--ink-soft); font-size: 0.85rem; line-height: 1.6; }
/* Reusable prose table (guides) */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid rgba(11,122,140,0.08); }
.prose table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.98rem; }
.prose thead th { background: var(--sea-800); color: #fff; text-align: left; font-family: var(--display); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 14px 18px; }
.prose tbody td { padding: 14px 18px; border-top: 1px solid var(--sand-200); color: var(--ink-soft); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--sand-100); }
.prose tbody td strong { color: var(--ink); }

/* clickable guide cards on the hub */
a.card { text-decoration: none; }
a.card h3 { transition: color 0.15s; }
a.card:hover h3 { color: var(--coral); }
.card-more { display: inline-block; margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--sea-700); }
a.card:hover .card-more { color: var(--coral); }

/* related guides chips */
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin-inline: auto; }
.related-links a {
  background: #fff; border: 1px solid rgba(11,122,140,0.15); border-radius: 100px;
  padding: 10px 18px; text-decoration: none; color: var(--sea-800);
  font-family: var(--display); font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.related-links a:hover { background: var(--sea-700); color: #fff; transform: translateY(-2px); }

/* ---------- About intro prose ---------- */
.about-intro .prose { max-width: 760px; margin-inline: auto; }
.about-intro .prose p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.8; margin: 0 0 20px; }
.about-intro .prose p:last-child { margin-bottom: 0; }
.about-intro .prose p:first-child { color: var(--ink); font-size: 1.16rem; }

/* ---------- Featured posters ---------- */
.posters { padding-top: clamp(44px, 6vw, 72px); }
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 940px; margin-inline: auto; }
.poster {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 500 / 1024; background: var(--sea-800);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.poster:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.poster:hover img { transform: scale(1.05); }
.poster:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.poster-badge {
  position: absolute; bottom: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.poster:hover .poster-badge { opacity: 1; transform: none; }
/* text fallback shown only when the image fails to load */
.poster-label { display: none; }
.poster-missing { background: linear-gradient(160deg, var(--sea-700), var(--sea-900)); }
.poster-missing img { display: none; }
.poster-missing .poster-label {
  display: grid; place-items: center; position: absolute; inset: 0;
  color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center; line-height: 1.15; padding: 20px;
}
.poster-missing .poster-badge { opacity: 1; transform: none; }
@media (max-width: 760px) { .poster-grid { grid-template-columns: 1fr 1fr; max-width: 520px; } }
@media (max-width: 460px) { .poster-grid { grid-template-columns: 1fr; max-width: 320px; } }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid rgba(11,122,140,0.08);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(20,163,184,0.35); }
.card-ico {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(150deg, var(--sea-100), var(--sand-200));
  margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 8px; color: var(--sea-800); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Price table ---------- */
.price-table {
  max-width: 860px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(11,122,140,0.08);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--sand-200);
}
.price-row:last-child { border-bottom: none; }
.price-row span:first-child { color: var(--ink-soft); }
.price-row strong { color: var(--ink); font-weight: 600; }
.price-head {
  background: var(--sea-800); color: #fff;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-family: var(--display); font-weight: 600;
}
.price-head span { color: rgba(255,255,255,0.85) !important; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--coral); justify-self: end; }
.price-row:hover:not(.price-head) { background: var(--sand-100); }
.price-note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.fleet-visual { display: flex; justify-content: center; }
.van-card {
  background: linear-gradient(160deg, var(--sea-700), var(--sea-900));
  border-radius: var(--radius-lg);
  padding: 54px 34px 34px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.van-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,176,32,0.5), transparent 70%);
}
.van-emoji { font-size: 6rem; line-height: 1; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.3)); }
.van-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.van-badges span {
  background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px; border-radius: 100px; font-size: 0.86rem; font-weight: 500; backdrop-filter: blur(4px);
}
.fleet-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--ink); margin-bottom: 14px; }
.fleet-copy > p { color: var(--ink-soft); font-size: 1.05rem; }
.tick-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--wa); color: #06331c; font-size: 0.8rem; font-weight: 800;
  display: grid; place-items: center;
}

/* ---------- About ---------- */
.section-teal { background: linear-gradient(160deg, var(--sea-800), var(--sea-900)); color: #fff; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-photo { position: relative; display: flex; flex-direction: column; align-items: center; }
.avatar {
  width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sea-300), var(--sea-700));
  display: grid; place-items: center; font-size: 8rem;
  box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,0.15);
}
.about-tag {
  margin-top: -22px; background: var(--coral); color: #fff;
  padding: 9px 22px; border-radius: 100px; font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}
.about-copy h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.about-copy p { color: rgba(255,255,255,0.9); font-size: 1.06rem; margin: 0 0 16px; }
.about-copy blockquote {
  margin: 26px 0 0; padding: 18px 24px; border-left: 4px solid var(--sun);
  background: rgba(255,255,255,0.08); border-radius: 0 14px 14px 0;
  font-family: var(--display); font-size: 1.12rem; font-style: italic; color: #fff;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px; margin: 0;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(11,122,140,0.08);
}
.stars { color: var(--sun); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; color: var(--ink); font-size: 1.02rem; }
.review figcaption { color: var(--ink-soft); font-weight: 600; font-family: var(--display); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 780px; }
details {
  background: var(--white); border: 1px solid rgba(11,122,140,0.1); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
details summary {
  cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  color: var(--sea-800); padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); transition: transform 0.2s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- Booking form ---------- */
.booking { background: linear-gradient(150deg, var(--coral) 0%, var(--sun) 100%); color: #fff; }
.booking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.booking-grid > * { min-width: 0; }
.booking-intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: #fff; }
.booking-intro .eyebrow { color: rgba(255,255,255,0.85); }
.booking-lead { font-size: 1.12rem; margin: 16px 0 22px; color: rgba(255,255,255,0.96); }
.booking-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.booking-points li { font-weight: 500; font-size: 1rem; }
.booking-phone { margin: 0; font-size: 1rem; }
.booking-phone a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.booking-form {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); display: grid; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row > * { min-width: 0; }
.field-row:has(.field-narrow) { grid-template-columns: 1fr 1fr 0.7fr; }
.field label { font-family: var(--display); font-weight: 600; font-size: 0.86rem; color: var(--sea-800); }
.field label .opt { color: var(--ink-soft); font-weight: 400; }
.booking-form input, .booking-form select, .booking-form textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--sand-300); border-radius: 12px;
  background: var(--sand-100); transition: border-color 0.15s, box-shadow 0.15s; width: 100%;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--sea-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(20,163,184,0.15);
}
.booking-form textarea { resize: vertical; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.form-hint { margin: 2px 0 0; text-align: center; font-size: 0.82rem; color: var(--ink-soft); }

/* CTA-only booking (tours page) */
.booking-cta-only { max-width: 640px; margin-inline: auto; text-align: center; }
.booking-cta-only h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: #fff; }
.booking-cta-only > p { font-size: 1.15rem; margin: 16px 0 30px; color: rgba(255,255,255,0.96); }
.booking-cta-only .booking-cta { justify-content: center; }
.booking-cta-only .booking-phone { margin-top: 26px; }
.booking-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.booking .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,0.6); }
.booking .btn-ghost-dark:hover { background: rgba(255,255,255,0.16); }

/* ---------- Tours page ---------- */
.hero-tours { padding-bottom: 140px; }
.crumb { color: var(--sea-300); text-decoration: none; }
.crumb:hover { color: #fff; text-decoration: underline; }
.main-nav a[aria-current="page"] { color: var(--sea-800); }
.main-nav a[aria-current="page"]::after { width: 100%; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(11,122,140,0.1); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pkg-popular { border: 2px solid var(--coral); box-shadow: var(--shadow-md); }
.pkg-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; font-family: var(--display); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.pkg-head h3 { font-size: 1.28rem; font-weight: 700; color: var(--sea-800); }
.pkg-meta { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.pkg-price { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--coral); margin: 16px 0 4px; }
.pkg-price span { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.pkg-list { list-style: none; padding: 18px 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--sand-200); }
.pkg-list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.95rem; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--sea-500); font-weight: 800; }
.pkg .btn-block { margin-top: auto; }

.pkg-custom {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(150deg, var(--sea-700), var(--sea-900)); color: #fff;
  border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow-md);
}
.pkg-custom h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.pkg-custom p { margin: 0; color: rgba(255,255,255,0.9); max-width: 560px; }
.pkg-custom .btn { flex-shrink: 0; }

.included-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.included-note { background: var(--sand-200); border-radius: var(--radius); padding: 28px 26px; }
.included-note h3 { font-size: 1.2rem; color: var(--sea-800); margin-bottom: 14px; }
.cross-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.cross-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.cross-list li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 800; }
.included-tip { margin: 0; font-size: 0.95rem; color: var(--ink); background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.cross-list.plain li { color: var(--ink); }
.cross-list.plain li::before { content: none; }
.cross-list.plain { gap: 12px; }

/* ---------- Steps (how it works) ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  position: relative; background: #fff; border: 1px solid rgba(11,122,140,0.1);
  border-radius: var(--radius); padding: 34px 26px 28px; box-shadow: var(--shadow-sm); text-align: center;
}
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(255,107,74,0.4);
}
.step-ico { font-size: 2.6rem; margin: 6px 0 12px; }
.step h3 { font-size: 1.18rem; font-weight: 600; color: var(--sea-800); margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
/* connector arrows between steps */
.step:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -18px; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--sea-300); z-index: 2;
}

/* ---------- Boat capacity ---------- */
.boats { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin-inline: auto; }
.boat-cap {
  font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--sea-700);
  margin: 16px 0 4px; line-height: 1;
}
.boat-cap span { color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.boat-cap small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-900); color: rgba(255,255,255,0.75); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text span { color: var(--sun); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .brand-mark { display: none; }
.footer-logo { height: 96px; width: auto; display: block; margin-bottom: 4px; }
.footer-brand p { margin: 14px 0 0; font-size: 0.95rem; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sun); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 0.85rem; text-align: center; }
.footer-base a { color: rgba(255,255,255,0.72); text-decoration: underline; text-underline-offset: 2px; }
.footer-base a:hover { color: var(--sun); }
.legal-links { display: inline-block; margin-top: 6px; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; font-size: 1.7rem;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  transition: transform 0.2s ease;
  animation: fab-pulse 2.6s infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes fab-pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Party 2026 poster ---------- */
.party-2026 { padding-top: 0; }
.party-2026-img {
  display: block; margin-inline: auto; max-width: 440px; width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* ---------- Fare calculator ---------- */
.fare-calc {
  max-width: 560px; margin-inline: auto; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(22px, 4vw, 32px); border: 1px solid rgba(11,122,140,0.08);
}
.fare-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.fare-calc label { font-family: var(--display); font-weight: 600; font-size: 0.86rem; color: var(--sea-800); display: block; margin-bottom: 6px; }
.fare-calc select {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--sand-300); border-radius: 12px; background: var(--sand-100);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fare-calc select:focus { outline: none; border-color: var(--sea-500); background: #fff; box-shadow: 0 0 0 4px rgba(20,163,184,0.15); }
.fare-result { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--sand-200); text-align: center; }
.fare-amount { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fare-amount span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-family: var(--display); font-weight: 600; }
.fare-amount strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 3rem); color: var(--coral); line-height: 1; }
.fare-pax { margin-bottom: 16px; max-width: 200px; }
.fare-route { color: var(--ink); font-family: var(--display); font-weight: 600; margin: 8px 0 4px; }
.fare-perperson { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; }
.fare-note { margin: 12px 0 0; }
@media (max-width: 520px) { .fare-fields { grid-template-columns: 1fr; } }

/* ---------- Party list ---------- */
.party-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.party-card {
  display: grid; grid-template-columns: 128px 1fr auto; align-items: center; gap: 22px;
  background: #fff; border: 1px solid rgba(11,122,140,0.1); border-left: 5px solid var(--sea-500);
  border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.party-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.party-date { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.party-emoji { font-size: 1.9rem; line-height: 1; }
.party-date time { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.party-count { font-size: 0.76rem; color: var(--ink-soft); font-weight: 500; }
.party-body { min-width: 0; }
.party-tag {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--sea-700);
  background: var(--sea-100); padding: 3px 10px; border-radius: 100px; margin-bottom: 6px;
}
.party-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--sea-800); }
.party-venue { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.party-btn { flex-shrink: 0; white-space: nowrap; }
.party-empty { text-align: center; color: var(--ink-soft); padding: 20px; }
.party-empty a { color: var(--sea-700); font-weight: 600; }

/* accent colours per party type */
.party-card.accent-fm { border-left-color: var(--coral); }
.party-card.accent-fm .party-tag { color: var(--coral-dark); background: #ffe8e1; }
.party-card.accent-hm { border-left-color: var(--sea-500); }
.party-card.accent-jg { border-left-color: #d6479b; }
.party-card.accent-jg .party-tag { color: #b5307d; background: #fce3f1; }
.party-card.accent-wf { border-left-color: var(--sea-700); }

@media (max-width: 620px) {
  .party-card { grid-template-columns: 68px 1fr; grid-template-areas: "date body" "btn btn"; row-gap: 14px; padding: 16px 18px; }
  .party-date { grid-area: date; }
  .party-body { grid-area: body; }
  .party-btn { grid-area: btn; width: 100%; justify-content: center; }
  .party-emoji { font-size: 1.5rem; }
  .party-date time { font-size: 0.86rem; }
}

/* ============ Full Moon countdown ============ */
.fmp-countdown-section { background: linear-gradient(160deg, #0a1c30 0%, #06131f 100%); color: #fff; }
.fmp-countdown { text-align: center; max-width: 660px; margin-inline: auto; }
.fmp-countdown .eyebrow { color: var(--sun); }
.fmp-countdown h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.fmp-when { color: rgba(255,255,255,0.85); font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin: 8px 0 24px; }
.fmp-timer { display: flex; gap: 12px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.fmp-unit {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px;
  padding: 14px 6px; min-width: 78px;
}
.fmp-unit b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: var(--sun); line-height: 1; }
.fmp-unit span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }
@media (max-width: 460px) {
  .fmp-timer { gap: 8px; }
  .fmp-unit { min-width: 66px; padding: 12px 4px; }
  .fmp-unit b { font-size: 1.7rem; }
}

/* ============ Install banner (PWA) ============ */
.install-banner {
  position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 70;
  max-width: 460px; margin-inline: auto;
  background: #fff; border: 1px solid rgba(11,122,140,0.15); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  transform: translateY(160%); transition: transform 0.35s ease;
}
.install-banner.show { transform: none; }
.install-icon { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; }
.install-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.install-text strong { font-family: var(--display); font-size: 0.95rem; color: var(--sea-800); }
.install-text span { font-size: 0.82rem; color: var(--ink-soft); }
.install-add {
  background: var(--wa); color: #06331c; border: none; border-radius: 100px; padding: 9px 17px;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; cursor: pointer; flex-shrink: 0;
}
.install-add:hover { background: var(--wa-dark); color: #fff; }
.install-close { background: none; border: none; color: var(--ink-soft); font-size: 1rem; cursor: pointer; padding: 4px 6px; flex-shrink: 0; }
.install-open .fab-wa { bottom: 96px; }

/* ============ Share my location ============ */
.locate-box {
  margin: 22px 0; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(4px);
}
.locate-box .locate-lead { margin: 0 0 12px; font-size: 0.98rem; color: rgba(255,255,255,0.95); }
.btn-locate {
  background: #fff; color: var(--sea-800);
  box-shadow: 0 8px 22px rgba(6,59,71,0.25); width: 100%; justify-content: center;
}
.btn-locate:hover { background: var(--sea-100); transform: translateY(-2px); }
.locate-status { margin: 10px 0 0; font-size: 0.9rem; color: rgba(255,255,255,0.92); text-align: center; }
.locate-status.is-error { color: #ffe0d6; }
/* on light backgrounds (not the coral booking band) */
.section:not(.booking) .locate-box { background: var(--sea-100); border-color: rgba(11,122,140,0.15); }
.section:not(.booking) .locate-box .locate-lead { color: var(--ink); }
.section:not(.booking) .btn-locate { background: var(--sea-700); color: #fff; }
.section:not(.booking) .btn-locate:hover { background: var(--sea-800); }
.section:not(.booking) .locate-status { color: var(--ink-soft); }
.section:not(.booking) .locate-status.is-error { color: var(--coral-dark); }

/* ============ Restaurants directory ============ */
#rest-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
#rest-filters button {
  background: #fff; border: 1.5px solid rgba(11,122,140,0.15); border-radius: 100px; padding: 7px 14px;
  font-family: var(--display); font-weight: 600; font-size: 0.85rem; color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#rest-filters button:hover { border-color: var(--sea-300); }
#rest-filters button.on { background: var(--sea-700); color: #fff; border-color: var(--sea-700); }

.rest-area { margin-bottom: 40px; }
.rest-area:last-child { margin-bottom: 0; }
.rest-area-title { font-family: var(--display); font-size: 1.4rem; color: var(--sea-800); margin: 0 0 18px; }
.rest-area-title span { color: var(--ink-soft); font-weight: 500; font-size: 1rem; }
.rest-card { display: flex; flex-direction: column; align-items: flex-start; }
.rest-card h4 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--sea-800); margin: 0 0 6px; }
.rest-tag {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-dark); background: #ffe8e1;
  padding: 3px 9px; border-radius: 100px; margin-bottom: 10px;
}
.rest-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.rest-card .btn-mini { margin-top: auto; }

/* ============ Island map page ============ */
#map {
  height: min(70vh, 640px); width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid rgba(11,122,140,0.1); z-index: 1;
  background: var(--sea-100);
}
.map-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.map-legend button {
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
  border: 1.5px solid rgba(11,122,140,0.15); border-radius: 100px; padding: 8px 15px;
  font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow-sm); transition: opacity 0.15s ease, border-color 0.15s ease;
}
.map-legend button:hover { border-color: var(--sea-300); }
.map-legend button.off { opacity: 0.4; text-decoration: line-through; }
.map-legend .dot { font-size: 1.05rem; line-height: 1; }

.map-pin-wrap { background: none; border: none; }
.map-pin {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  border: 2.5px solid var(--pin, var(--sea-700)); box-shadow: 0 3px 8px rgba(6,59,71,0.3);
  display: grid; place-items: center; font-size: 1.05rem; line-height: 1;
}
.map-popup { min-width: 170px; }
.map-popup strong { font-family: var(--display); color: var(--sea-800); font-size: 1rem; }
.map-popup p { margin: 5px 0 9px; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; }
.map-popup a { color: var(--sea-700); font-weight: 600; font-family: var(--display); font-size: 0.88rem; text-decoration: none; }
.map-popup a:hover { color: var(--coral); }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper { border-radius: 14px; }

/* ============ Ferry timetable page ============ */
main { max-width: var(--maxw); margin: 0 auto; padding: 14px 22px 80px; }

.jump {
  position: sticky; top: 84px; z-index: 40;
  background: rgba(253,248,239,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,122,140,0.12);
  padding: 10px 22px; overflow-x: auto; white-space: nowrap;
}
.jump-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 8px; }
.jump a {
  font-family: var(--display); font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: 7px 13px; border-radius: 100px; border: 1px solid rgba(11,122,140,0.15);
  background: #fff; transition: all 0.15s ease; flex-shrink: 0;
}
.jump a:hover { color: var(--sea-800); border-color: var(--sea-300); background: var(--sea-100); }
.jump a.jump-cta { background: var(--coral); color: #fff; border-color: var(--coral); font-weight: 700; }
.jump a.jump-cta:hover { background: var(--coral-dark); }

.origin { margin-top: 46px; scroll-margin-top: 150px; }
.origin-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.origin-head .num { font-family: var(--display); color: var(--sea-500); font-size: 0.85rem; font-weight: 700; }
.origin-head h2 { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin: 0; font-weight: 700; }
.origin-th { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.origin-note { font-size: 0.9rem; color: var(--ink-soft); margin: -6px 0 18px; max-width: 680px; line-height: 1.7; }

.board {
  border: 1px solid rgba(11,122,140,0.1); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 18px; background: #fff; box-shadow: var(--shadow-sm);
}
.board-title {
  padding: 12px 16px; background: var(--sea-800); color: #fff; font-family: var(--display); font-weight: 600;
  font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.board-title .th-note { font-family: var(--font); font-weight: 400; font-size: 0.78rem; color: var(--sun); }
.board table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.board thead th {
  text-align: left; font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); padding: 10px 16px; border-bottom: 1px solid var(--sand-200); background: var(--sand-100);
}
.board tbody td { padding: 10px 16px; border-bottom: 1px solid var(--sand-200); vertical-align: middle; color: var(--ink-soft); }
.board tbody tr:last-child td { border-bottom: none; }
.board tbody tr:hover { background: var(--sand-100); }
td.to-cell { color: var(--ink); font-weight: 600; }
td.time { font-family: var(--display); color: var(--ink); white-space: nowrap; font-weight: 500; }
td.time .arrow { color: var(--sea-500); margin: 0 6px; }
td.price { font-family: var(--display); color: var(--coral); white-space: nowrap; font-weight: 700; }
td.price small { color: var(--ink-soft); font-weight: 400; font-size: 0.7rem; margin-left: 2px; }
.foot-star { font-size: 0.82rem; color: var(--ink-soft); padding: 10px 16px; border-top: 1px dashed var(--sand-300); }

.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge {
  font-family: var(--display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 8px; border-radius: 6px; border: 1px solid transparent; white-space: nowrap;
}
.b-bus { background: var(--sea-100); color: var(--sea-700); border-color: var(--sea-300); }
.b-vip { background: #ffe8e1; color: var(--coral-dark); border-color: #ffcdbf; }
.b-cat { background: #e3f6f8; color: var(--sea-700); border-color: var(--sea-300); }
.b-ferry { background: var(--sand-200); color: var(--ink-soft); border-color: var(--sand-300); }
.b-speed { background: #fff2d6; color: #b7791a; border-color: #ffe0a3; }
.b-van { background: var(--sand-200); color: var(--ink-soft); border-color: var(--sand-300); }
.b-long { background: var(--sand-200); color: var(--ink-soft); border-color: var(--sand-300); }
.b-hotel { background: #e2f7ec; color: var(--wa-dark); border-color: #b8ebd0; }
.b-direct { background: #fff2d6; color: #b7791a; border-color: #ffe0a3; }

.legend {
  display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px; border: 1px solid rgba(11,122,140,0.1);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); margin: 12px 0 8px;
  font-size: 0.85rem; color: var(--ink-soft); align-items: center; scroll-margin-top: 150px;
}
.legend .item { display: flex; align-items: center; gap: 6px; }

.transfer {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  border: 1px dashed var(--sand-300); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px;
  font-size: 0.88rem; color: var(--ink-soft); background: var(--sand-100);
}
.transfer b { color: var(--ink); font-family: var(--display); }

.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1px;
  background: var(--sand-200); border: 1px solid var(--sand-200); border-radius: var(--radius); overflow: hidden;
}
.contact-card { background: #fff; padding: 16px 18px; }
.contact-card h4 { margin: 0 0 6px; font-family: var(--display); color: var(--sea-800); font-size: 0.95rem; font-weight: 600; }
.contact-card div { font-family: var(--font); font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 640px) {
  main { padding: 8px 14px 70px; }
  .jump { top: 70px; padding: 10px 14px; }
  .board { overflow-x: auto; }
  .board table { font-size: 0.78rem; }
  .board thead th, .board tbody td { padding: 8px 8px; }
  .board td.time .arrow { margin: 0 3px; }
  .badge { font-size: 0.62rem; padding: 2.5px 6px; }
  .origin-head h2 { font-size: 1.35rem; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* hide the primary nav below 950px, where 7 items no longer fit on one line */
@media (max-width: 950px) { .main-nav { display: none; } }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .fleet-grid, .about-grid, .booking-grid, .included-grid { grid-template-columns: 1fr; }
  .pkg-custom { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step:not(:last-child)::after { content: "↓"; top: auto; bottom: -26px; right: 50%; transform: translateX(50%); }
  .about-photo { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .btn-header .wa-ico { display: none; }
  .btn-header .lbl-full { display: none; }
  .btn-header .lbl-short { display: inline; }
  .btn-header { padding: 0.6em 1.15em; font-size: 0.9rem; }
  .brand { font-size: 1.08rem; }
  .brand-logo { height: 54px; }
  .header-inner { gap: 10px; height: 70px; }
  .footer-logo { height: 84px; }
  .price-row { grid-template-columns: 1fr auto; row-gap: 6px; padding: 16px 18px; }
  .price-row span:last-child { grid-column: 1 / -1; }
  .price-row .btn-mini { width: 100%; justify-content: center; }
  .price-head { display: none; }
  .price { justify-self: start; }
  .hero-trust { gap: 26px; }
  .booking-form { padding: 22px; }
  .field-row, .field-row:has(.field-narrow) { grid-template-columns: 1fr 1fr; }
  .field-row .field-narrow { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
