:root {
  --navy: #0b3a4f; --teal: #12a1a6; --teal-dark: #0d7f86; --coral: #cf4219; --coral-dark: #b13611;
  --sand: #fbf3e8; --mist: #e4f4f3; --ink: #17313c; --muted: #4a6571;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

/* ---- header ---- */
.site-header { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(11,58,79,.08); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mark { width: 40px; height: 40px; }
.word { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.site-header { flex-wrap: wrap; }
.tagline { display: none; font-style: italic; color: var(--navy); }
.cta-top { margin-left: auto; }
/* Phones: the links get their own row under the logo and button. */
.nav { order: 3; flex-basis: 100%; display: flex; gap: 12px; font-weight: 600; font-size: .85rem; overflow-x: auto; padding: 2px 2px 4px; white-space: nowrap; }
.nav a { text-decoration: none; color: var(--navy); } .nav a:hover { text-decoration: underline; }
@media (min-width: 720px) { .tagline { display: inline; } .nav { order: 0; flex-basis: auto; margin-left: auto; overflow: visible; } .cta-top { margin-left: 8px; } }

/* ---- buttons ---- */
.btn { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 12px 22px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--coral-dark); }
.btn.small { padding: 9px 16px; font-size: .9rem; white-space: nowrap; }
.btn.big { padding: 16px 28px; font-size: 1.1rem; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

/* ---- hero (matches the mockup): copy on the photo over a soft white fade; the price card is the focus ---- */
.hero { position: relative; display: flex; align-items: center; min-height: 620px; overflow: hidden; background: #cfeaf3; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 30%, rgba(255,255,255,.35) 48%, rgba(255,255,255,0) 62%); }
.hero-copy { position: relative; z-index: 2; padding: 40px 20px 44px; max-width: 720px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.02; color: var(--navy); letter-spacing: -.03em; }
.sub { margin-top: 16px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.35; color: var(--ink); max-width: 34ch; }
.together { margin-top: 12px; font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--coral-dark); font-weight: 600; }
.pricecard { display: block; width: min(100%, 440px); margin: 14px 0 18px; text-align: center; background: rgba(228,244,243,.95);
  border: 1px solid rgba(18,161,166,.22); border-radius: 24px; padding: 16px 22px 14px; box-shadow: 0 8px 26px rgba(11,58,79,.14); }
.pc-top { font-weight: 700; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--navy); }
.pc-price { font-weight: 800; color: var(--navy); line-height: 1.05; margin: 2px 0; font-size: clamp(2.3rem, 10vw, 3.6rem); letter-spacing: -.02em; white-space: nowrap; }
.pc-price strong { font-weight: 800; }
.pc-note { font-size: clamp(.95rem, 1.8vw, 1.1rem); color: var(--ink); }
.hero-copy .btn.big { display: block; width: min(100%, 440px); text-align: center; font-size: clamp(1.05rem, 2vw, 1.25rem); padding: 16px 24px; }
@media (min-width: 820px) {
  .hero { min-height: 600px; }
  .hero-copy { padding: 56px 40px 60px max(40px, calc((100vw - 1180px) / 2)); }
}
/* Phones: same overlay, faded from the top so the copy reads; the beach shows through below. */
@media (max-width: 819px) {
  .hero { align-items: flex-start; min-height: 760px; }
  .hero-img { object-position: 40% 60%; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.85) 42%, rgba(255,255,255,.45) 62%, rgba(255,255,255,0) 80%); }
}

/* ---- includes ---- */
.includes { padding: 44px 18px 52px; max-width: 1180px; margin: 0 auto; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); color: var(--navy); line-height: 1.15; }
.includes h2 { text-align: center; margin-bottom: 26px; }
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tile { position: relative; background: var(--sand); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(11,58,79,.1); padding-bottom: 14px; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--teal-dark); border: 3px solid #fff; margin: -27px auto 6px; position: relative; }
.ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lbl { display: block; text-align: center; font-weight: 700; color: var(--navy); padding: 0 8px; }

/* ---- promise band ---- */
.promise { background: var(--mist); margin-top: 24px; padding: 44px 20px 80px; display: grid; gap: 28px; position: relative; }
.promise-copy { max-width: 560px; }
.promise p { margin-top: 10px; color: var(--ink); font-size: 1.1rem; }
.big-logo { margin-top: 22px; }
.big-logo .mark { width: 62px; height: 62px; }
.big-logo .word { font-size: 2.6rem; }
.tag2 { font-style: italic; color: var(--navy); margin-top: 2px !important; }
.checks { display: grid; gap: 12px; align-content: center; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--navy); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (min-width: 820px) { .promise { grid-template-columns: 1.1fr 1fr; padding: 56px max(40px, calc((100vw - 1180px) / 2)) 90px; } }

/* ---- waves + beach ---- */
.promise::before { content: ""; position: absolute; left: 0; right: 0; top: -58px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50C200 5 380 5 620 40s470 40 820-15V90H0z' fill='%23c9ebea'/%3E%3Cpath d='M0 62C240 22 420 30 700 58s480 24 740-18V90H0z' fill='%23e4f4f3'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none; }
.beach { position: relative; background: #8fd0e6; margin-top: -1px; }
.beach::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 64px; z-index: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50C200 5 380 5 620 40s470 40 820-15V90H0z' fill='%23c9ebea'/%3E%3Cpath d='M0 62C240 22 420 30 700 58s480 24 740-18V90H0z' fill='%23e4f4f3'/%3E%3C/svg%3E") top / 100% 100% no-repeat; transform: scaleY(-1); transform-origin: center; pointer-events: none; }
.beach img { width: 100%; height: 260px; object-fit: cover; object-position: left bottom; }
.beach .btn { position: absolute; right: 16px; bottom: 18px; z-index: 2; border: 3px solid rgba(255,255,255,.85); }
@media (min-width: 820px) { .beach img { height: 360px; } .beach .btn { right: max(40px, calc((100vw - 1180px) / 2)); bottom: 36px; } }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #dcebf0; padding: 22px 20px; text-align: center; font-size: .92rem; display: grid; gap: 6px; }
.site-footer a { color: #fff; }

/* The hidden attribute must win over display rules above (e.g. the price card stays hidden until a real price loads). */
[hidden] { display: none !important; }

/* Shared header bits (booking page and content pages) */
.nav a.current { color: var(--teal-dark); border-bottom: 3px solid var(--teal); padding-bottom: 2px; }
.acct { display: inline-flex; align-items: center; gap: 6px; }
.acct svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.btn.ghost { background: #fff; color: var(--teal-dark); border: 2px solid #bfe3e5; }
.btn.ghost:hover { background: var(--mist); }

/* Small phones: keep the link row on one line. */

/* ---- shared header: Build your vacation + My account menu ---- */
.site-header .cta-top { margin-left: auto; }
.acct-menu { position: relative; }
.acct-btn { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 2px solid var(--teal); color: var(--teal-dark); background: #fff;
  border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.acct-btn::-webkit-details-marker { display: none; }
.acct-btn:hover, .acct-menu[open] .acct-btn { background: #eef8f8; }
.acct-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.acct-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 240px; background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: 0 12px 30px rgba(11,58,79,.18); list-style: none; }
.acct-menu li a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
.acct-menu li a:hover, .acct-menu li a:focus-visible { background: #eef8f8; }
@media (max-width: 520px) { .acct-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .acct-btn { padding: 7px 9px; } .site-header .cta-top { padding: 8px 12px; font-size: .85rem; } .site-header .tagline { display: none; } }
@media (min-width: 720px) { .site-header .nav { margin-left: auto; } .site-header .cta-top { margin-left: 10px; } }

/* ---- sample vacation ---- */
.sample { max-width: 1100px; margin: 34px auto 10px; padding: 0 16px; display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 860px) { .sample { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.sample-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 22px 22px 0 0; }
@media (min-width: 860px) { .sample-img { border-radius: 22px 0 0 22px; } }
.sample-body { background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 10px 30px rgba(11,58,79,.12); padding: 22px 24px 24px; }
@media (min-width: 860px) { .sample-body { border-radius: 0 22px 22px 0; } }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
.sample h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); line-height: 1.1; margin: 4px 0; }
.sample-meta { color: var(--muted); margin-bottom: 10px; }
.sample-list { display: grid; gap: 6px; margin-bottom: 14px; }
.sample-list li { padding-left: 28px; position: relative; }
.sample-list li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 7px; border-left: 3px solid var(--teal-dark); border-bottom: 3px solid var(--teal-dark); transform: rotate(-45deg); }
.sample-price { font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; }
.sample-price strong { font-size: 2rem; color: var(--navy); margin: 0 4px; }
.sample-price span { display: block; font-size: .9rem; color: var(--muted); }
.sample-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
/* ---- package strip ---- */
.hpk { max-width: 1100px; margin: 40px auto 0; padding: 0 16px; text-align: center; }
.hpk h2, .why h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); }
.hpk-sub { color: var(--muted); margin: 4px 0 16px; }
.hpk-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; text-align: left; }
@media (min-width: 860px) { .hpk-grid { grid-template-columns: repeat(3, 1fr); } }
.hpk-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 6px 18px rgba(11,58,79,.1); transition: transform .15s; }
@media (prefers-reduced-motion: no-preference) { .hpk-card:hover { transform: translateY(-2px); } }
.hpk-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hpk-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 14px; }
.hpk-body strong { color: var(--navy); font-size: 1.1rem; }
.hpk-body span { color: var(--teal-dark); font-style: italic; font-weight: 600; font-size: .95rem; }
.hpk-more { margin-top: 14px; font-weight: 700; } .hpk-more a { color: var(--teal-dark); }
/* ---- benefits ---- */
.why { max-width: 1100px; margin: 40px auto 0; padding: 26px 18px; background: var(--mist); border-radius: 24px; text-align: center; }
.why-grid { display: grid; gap: 12px 22px; grid-template-columns: 1fr; text-align: left; margin-top: 14px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr 1fr; } }
.why-grid li { background: #fff; border-radius: 14px; padding: 12px 16px; }
.why-grid strong { display: block; color: var(--navy); font-size: 1.05rem; }
/* small phones: logo, Build your vacation and the account button on one row; the menu wraps instead of scrolling */
@media (max-width: 520px) {
  .site-header { gap: 10px 8px; }
  .site-header .cta-top { padding: 8px 10px; font-size: .8rem; }
  .site-header .cta-top span { display: none; }
  .site-header .logo svg { width: 34px; height: 34px; }
  .site-header .logo .word { font-size: 1.4rem; }
  .site-header .nav { gap: 4px 18px; font-size: .85rem; justify-content: flex-start; flex-wrap: wrap; }
  .site-header .nav a { padding-left: 0; padding-right: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pc-ref { margin-top: 6px; font-weight: 700; color: var(--coral-dark); }

/* referral savings banner (any page reached with ?ref=CODE) */
.refbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 10px 16px; background: #e6f6ec; color: #14532d; text-align: center; font-size: .98rem; }
.refbar.bad { background: #fff4d6; color: #6b4a00; }
.refbar p { margin: 0; }
.refbar button { background: none; border: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }
