/* ==========================================================================
   Bluefin Travel — design system
   Palette: deep-sea navy + fin gradient (azure → cyan → aqua) + amber accent
   ========================================================================== */

:root {
  --ink:        #06182B;
  --ink-2:      #0B2A4A;
  --ink-3:      #12395E;
  --brand:      #0F76D6;
  --brand-dark: #0B5CAB;
  --cyan:       #22CCEE;
  --aqua:       #2FD9BE;
  --amber:      #FFB020;
  --amber-ink:  #6B4300;

  --paper:  #FFFFFF;
  --mist:   #F3F8FC;
  --mist-2: #E9F2F9;
  --line:   #E1ECF5;
  --line-2: #CFE0EE;

  --text:   #12212F;
  --muted:  #56718A;
  --on-ink: #DCEBF7;
  --on-ink-muted: #93B2CC;

  --fin: linear-gradient(120deg, var(--brand) 0%, var(--cyan) 55%, var(--aqua) 100%);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --sh-1: 0 1px 2px rgba(6, 24, 43, .06), 0 2px 8px rgba(6, 24, 43, .05);
  --sh-2: 0 2px 6px rgba(6, 24, 43, .06), 0 14px 34px rgba(6, 24, 43, .09);
  --sh-3: 0 6px 16px rgba(6, 24, 43, .10), 0 30px 60px rgba(6, 24, 43, .16);

  --wrap: 1160px;
  --gut: clamp(18px, 4vw, 32px);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--on-ink-muted); }

.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.24rem); color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: var(--on-ink-muted); }

.head-block { max-width: 68ch; margin-bottom: clamp(30px, 4vw, 52px); }
.head-block--center { margin-inline: auto; text-align: center; }
.head-block--center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-dark); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--fin); }
.section--ink .eyebrow { color: var(--aqua); }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--fin);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--fin); color: #04121F;
  box-shadow: 0 8px 20px rgba(15, 118, 214, .28);
}
.btn-primary:hover { color: #04121F; box-shadow: 0 12px 28px rgba(15, 118, 214, .38); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-2);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-dark); }
.section--ink .btn-ghost,
.hero .btn-ghost,
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28); }
.section--ink .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--aqua); color: var(--aqua); }

.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-size: 1.28rem;
}
.brand-text span { font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--mist-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--mist-2); }

.head-cta { margin-left: 8px; }
.site-nav > .btn { display: none; }   /* the in-nav CTA is for the mobile menu only */

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor;
  margin-inline: auto; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .head-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; order: 3; }
  .head-cta { display: none; }
  .site-nav {
    order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    padding-bottom: 14px;
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav a { padding: 13px 14px; border-radius: 12px; font-size: 1.02rem; }
  .site-nav > .btn { display: inline-flex; margin-top: 8px; }
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 620px at 78% 12%, #14477A 0%, transparent 62%),
              linear-gradient(158deg, #0B2A4A 0%, #06182B 62%, #04121F 100%);
  color: var(--on-ink);
  padding: clamp(46px, 6vw, 84px) 0 clamp(58px, 7vw, 96px);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -42% 40%;
  height: 78%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 217, 190, .22), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; position: relative; z-index: 1; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: var(--fin); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #B7D2E8; font-size: clamp(1.05rem, 1rem + .45vw, 1.25rem); max-width: 54ch; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: .86rem; font-weight: 600; color: #CFE6F6;
}
.pill b { color: #04121F; background: var(--aqua); border-radius: 999px; padding: 2px 9px; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }

.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; color: #C6DDEE; }
.hero-points svg { flex: none; margin-top: 4px; }

/* --------------------------------------------------------- quote / form */
.quote-card {
  background: #fff; color: var(--text);
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--sh-3);
}
.quote-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.quote-card .form-note { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

.form-grid { display: grid; gap: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--text);
  padding: 12px 14px; width: 100%;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 214, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #93A9BC; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2356718A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }

.form-legal { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 14px 0 0; font-size: .95rem; font-weight: 600; }
.form-status[data-state="ok"]  { color: #0B7A5B; }
.form-status[data-state="err"] { color: #B4231C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

.card-icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(15, 118, 214, .12), rgba(47, 217, 190, .18));
  color: var(--brand-dark);
}
.card-icon svg { width: 23px; height: 23px; }

.card-num {
  width: 42px; height: 42px; border-radius: 999px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--fin); color: #04121F; font-weight: 800; font-size: 1.05rem;
}

/* ----------------------------------------------------------- route grid */
.route {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.route:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.route-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route-city { font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.route-iata { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.route-path { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.route-path svg { flex: none; width: 22px; height: 22px; }
.route-path .dash { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.route-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.route-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.route-price small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route-cabin { font-size: .82rem; font-weight: 700; color: var(--amber-ink); background: rgba(255, 176, 32, .18); padding: 5px 11px; border-radius: 999px; }

.note { font-size: .86rem; color: var(--muted); margin-top: 22px; }
.section--ink .note { color: var(--on-ink-muted); }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; gap: clamp(18px, 3vw, 34px); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat b { display: block; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; background: var(--fin); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; font-size: .95rem; color: var(--on-ink-muted); }

/* ---------------------------------------------------------------- split */
.split { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(150deg, #0B2A4A, #06182B); color: #fff;
  padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--sh-2);
}
.split-media::after {
  content: ""; position: absolute; right: -80px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 217, 190, .3), transparent 65%);
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; color: var(--aqua); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 20px; box-shadow: var(--sh-1);
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 34px 16px 0; position: relative;
  font-weight: 700; font-size: 1.03rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 18px; color: var(--muted); font-size: .99rem; }

/* ------------------------------------------------------------------ cta */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(30px, 4vw, 58px);
  background: radial-gradient(700px 340px at 82% 8%, #16507F 0%, transparent 60%), linear-gradient(140deg, #0B2A4A, #06182B);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-ink-muted); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* -------------------------------------------------------------- contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card-icon { margin-bottom: 0; width: 42px; height: 42px; flex: none; }
.contact-list b { display: block; color: var(--ink); }
.contact-list a { font-weight: 600; }
.contact-list span { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: var(--on-ink-muted); padding: clamp(48px, 6vw, 76px) 0 30px; font-size: .96rem; }
.foot-grid { display: grid; gap: clamp(26px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.foot-grid > div:first-child { grid-column: span 2; min-width: 250px; }
@media (max-width: 620px) { .foot-grid > div:first-child { grid-column: span 1; } }
.site-foot .brand-text { color: #fff; }
.site-foot p { max-width: 38ch; margin-top: 16px; }
.foot-title { color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { color: var(--on-ink-muted); text-decoration: none; }
.foot-links a:hover { color: var(--aqua); }
.foot-bottom {
  margin-top: clamp(34px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  font-size: .88rem;
}
.foot-bottom a { color: var(--on-ink-muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--aqua); }

/* --------------------------------------------------------------- prose */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------ utilities */
.center { text-align: center; }
.mt-lg { margin-top: clamp(26px, 3vw, 42px); }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--mist-2); color: var(--ink-3);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
/* Content is hidden only where scripting can bring it back, so a blocked or
   broken script can never leave the page blank. */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(16px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.8,.3,1); }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------------------ 404 */
.err { display: grid; place-items: center; text-align: center; padding: clamp(60px, 10vw, 130px) 0; }
.err img { width: 84px; margin: 0 auto 26px; }

/* ------------------------------------------------- layout modifiers */
.head-block--center .eyebrow { justify-content: center; }
.section--pt-sm { padding-top: clamp(30px, 4vw, 52px); }
.section--mist .stat span { color: var(--muted); }
.hero--short { padding-bottom: clamp(46px, 5vw, 72px); }
.split--top { align-items: start; }
.faq--center { margin-inline: auto; }
.btn-row--center { justify-content: center; }
.ta-r { text-align: right; }
.card--mist { background: var(--mist); }
.section--ink .checklist a { color: var(--aqua); }
.err .lede { margin-inline: auto; }
