:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --sea: #1d6fa5;
  --sea-light: #eaf4fb;
  --coral: #ff6b5e;
  --coral-dark: #e55447;
  --sand: #faf7f2;
  --ink: #1f2a3d;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --ok: #1a9b6c;
  --radius: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.logo span { color: #7ec8ff; }
.nav a.cta { text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 55%, var(--sea) 100%);
  color: #fff;
  padding: 72px 0 96px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 18px;
}
.hero p.sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #c9dcf0;
  max-width: 620px;
  margin: 0 auto 30px;
}
.trust {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
  color: #a7c7e7;
  font-size: 0.95rem;
}
.wave { display: block; width: 100%; margin-bottom: -1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn.secondary { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4); }
.btn.secondary:hover { background: rgba(255,255,255,0.22); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 10px;
}
section p.lede { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }

/* ---------- picker ---------- */
#picker { background: #fff; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.itin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.itin-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  background: #fff;
  text-align: left;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.itin-card:hover { border-color: var(--sea); }
.itin-card.active { border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-light); }
.itin-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.itin-card .nights { color: var(--muted); font-size: 0.85rem; }
.itin-card .blurb { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }

.coverage {
  margin-top: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--sea-light);
  padding: 26px;
  display: none;
}
.coverage.open { display: block; }
.coverage h3 { margin-bottom: 4px; }
.coverage .countries { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.ports-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.ports-table th, .ports-table td { padding: 10px 14px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.ports-table th { background: var(--navy); color: #fff; font-weight: 600; }
.ports-table tr:last-child td { border-bottom: none; }
.covered { color: var(--ok); font-weight: 700; white-space: nowrap; }
.rec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  background: #fff;
  border: 2px solid var(--sea);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.rec .price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.rec .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ---------- packs ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pack {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pack .emoji { font-size: 1.8rem; }
.pack h3 { font-size: 1.15rem; }
.pack .spec { color: var(--muted); font-size: 0.92rem; }
.pack .price { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-top: 6px; }
.pack .btn { margin-top: 14px; text-align: center; }

/* ---------- compare ---------- */
#compare { background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp th { font-weight: 700; }
.cmp .hl { background: var(--sea-light); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- faq ---------- */
#faq { background: #fff; }
.faq-item { border-bottom: 1px solid var(--line); max-width: 720px; margin: 0 auto; }
.faq-item summary { padding: 16px 4px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: "+"; color: var(--sea); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 4px 16px; color: var(--muted); }

/* ---------- waitlist modal ---------- */
.modal-bg {
  position: fixed; inset: 0; background: rgba(11,37,69,0.55);
  display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.modal-bg.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius); padding: 32px; max-width: 420px; width: 100%;
  text-align: center;
}
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.modal input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; margin-bottom: 12px;
}
.modal .btn { width: 100%; }
.modal .close { background: none; border: none; color: var(--muted); margin-top: 12px; cursor: pointer; font-size: 0.9rem; }
.modal .done { color: var(--ok); font-weight: 700; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #a7c7e7; padding: 40px 0; font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #c9dcf0; }

@media (max-width: 640px) {
  .hero { padding: 52px 0 72px; }
  section { padding: 48px 0; }
  .rec { flex-direction: column; align-items: stretch; text-align: center; }
}
