/* ============================================================
   PAXOS LINES — Design System
   Palette: navy / blue / white (from brand logo)
   Type: Lexend (headings) + Source Sans 3 (body)
   ============================================================ */

:root {
  --navy-950: #061A33;
  --navy-900: #0A2647;
  --navy-800: #123B6D;
  --blue-700: #1B4F9C;
  --blue-600: #2469C4;
  --blue-500: #2E86DE;
  --blue-400: #4DA3FF;
  --blue-300: #85C1FF;
  --sky-100: #EAF4FF;
  --sky-50:  #F5FAFF;
  --white:   #FFFFFF;
  --ink:     #10243E;
  --ink-soft:#3D5975;

  --font-head: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 38, 71, 0.08);
  --shadow-md: 0 8px 28px rgba(10, 38, 71, 0.14);
  --shadow-lg: 0 20px 50px rgba(10, 38, 71, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 250ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; }
img, svg { display: block; max-width: 100%; }
/* Wave layers deliberately overhang their container so drifting never
   reveals their ends — the global svg max-width clamp must not apply. */
.hero-waves, .intro-sea, .why-waves, .page-hero-waves, .loader-swash { max-width: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
select, input { font-family: inherit; font-size: 16px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 12px 26px; border-radius: 999px; border: none;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
  cursor: pointer; white-space: nowrap;
}
/* Press: quick dip in, springy bounce back out (transition above) */
.btn:active { transform: scale(0.94); transition-duration: 90ms; }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(46, 134, 222, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(46, 134, 222, 0.5); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--blue-700); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

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

/* ============================================================
   CINEMATIC INTRO
   ============================================================ */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(120% 100% at 50% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 900ms cubic-bezier(0.7, 0, 0.3, 1), opacity 900ms ease;
}
#intro.leaving { transform: translateY(-100%); opacity: 0.4; }
#intro.hidden { display: none; }

.intro-inner { position: relative; z-index: 2; text-align: center; }

.intro-mark {
  margin: 0 auto 26px;
  opacity: 0;
  transform: translateY(70px) scale(0.7);
  animation: markRise 1300ms var(--ease-out) 300ms forwards;
  filter: drop-shadow(0 0 40px rgba(77, 163, 255, 0.45));
}
@keyframes markRise {
  0%   { opacity: 0; transform: translateY(70px) scale(0.7); }
  60%  { opacity: 1; transform: translateY(-10px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.pl-letters {
  font-family: var(--font-head); font-weight: 800; font-size: 46px;
  fill: var(--navy-950); letter-spacing: 1px;
}

.mark-wave { animation: markWaveDrift 4s linear infinite; }
.mark-wave-2 { animation-duration: 6s; animation-direction: reverse; }
@keyframes markWaveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(120px); }
}

.intro-word { opacity: 0; animation: wordFade 800ms ease 1100ms forwards; }
@keyframes wordFade { to { opacity: 1; } }

.intro-paxos {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(44px, 8vw, 76px);
  letter-spacing: 0.14em;
  color: var(--white);
}
.intro-lines {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(16px, 2.6vw, 24px);
  letter-spacing: 0.52em; text-indent: 0.52em;
  color: var(--blue-400); margin-top: 6px;
}
.intro-lines i {
  display: block; width: clamp(40px, 8vw, 90px); height: 5px;
  border-top: 1.5px solid var(--blue-400);
  border-bottom: 1.5px solid var(--blue-400);
}

.intro-sea {
  position: absolute; bottom: 0; left: -260px; width: calc(100% + 520px); height: 28vh;
  min-height: 160px;
}
.sea-w { animation: seaSwell 7s ease-in-out infinite alternate; transform-origin: center bottom; }
.sea-w2 { animation-duration: 5.5s; animation-delay: -2s; }
.sea-w3 { animation-duration: 4.5s; animation-delay: -1s; }
@keyframes seaSwell {
  from { transform: translateX(-40px) scaleY(1); }
  to   { transform: translateX(40px) scaleY(1.12); }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background 300ms ease, box-shadow 300ms ease, padding 300ms ease;
}
#site-header.scrolled {
  background: rgba(10, 38, 71, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(6, 26, 51, 0.35);
  padding: 9px 0;
}
/* The header spans wider than the page container so the enlarged
   IBW × PAXOS LINES lockup and the nav both fit at full size */
#site-header .container { max-width: 1420px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* Never let the row squeeze these into each other — overflow is measured
   by JS (fitHeader) which then tightens or collapses the nav */
.header-row > .brand, .header-row > .main-nav, .header-row > .header-actions { flex-shrink: 0; }

.brand { display: flex; align-items: center; gap: 15px; }
.brand-mark { flex-shrink: 0; }
/* Ionian Blue Wave × Paxos Lines collab lockup */
.brand-ibw-wrap {
  position: relative;
  flex-shrink: 0;
}
.brand-ibw {
  width: 62px; height: 62px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 2px 10px rgba(6, 26, 51, 0.45);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}
/* Caption hangs below the emblem without affecting the row's
   vertical centring — so the × sits dead-centre of both logos */
.brand-ibw-name {
  position: absolute; top: calc(100% + 3px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 600; font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: var(--blue-300);
  transition: color 300ms ease, text-shadow 300ms ease, opacity 250ms ease, transform 250ms ease;
}
/* The caption overhangs the header bar — once the navy bar appears
   (scroll / subpages) it would poke below it, so it fades away. */
#site-header.scrolled .brand-ibw-name,
body.subpage #site-header .brand-ibw-name {
  opacity: 0;
  transform: translate(-50%, -5px);
  pointer-events: none;
}
.brand-x {
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  color: var(--blue-300);
  flex-shrink: 0;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), color 300ms ease;
}
.brand-word { transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); }
/* Collab hover: the emblem rolls in like a wave, the × spins, the wordmark lifts */
.brand:hover .brand-ibw {
  transform: rotate(-12deg) scale(1.12);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65), 0 0 22px rgba(77, 163, 255, 0.7);
}
.brand:hover .brand-ibw-name {
  color: var(--white);
  text-shadow: 0 0 12px rgba(77, 163, 255, 0.8);
}
.brand:hover .brand-x {
  transform: rotate(180deg) scale(1.3);
  color: var(--white);
}
.brand:hover .brand-word { transform: translateY(-2px); }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-paxos {
  position: relative;
  font-family: var(--font-head); font-weight: 800; font-size: 31px;
  letter-spacing: 0.12em; color: var(--white);
}
.brand-wave { position: absolute; left: 0; bottom: -3px; width: 100%; height: 7px; }
.brand-lines {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: 11.5px;
  letter-spacing: 0.42em; text-indent: 0.42em;
  color: var(--blue-400); margin-top: 7px;
}
.brand-lines i { display: block; flex: 1; height: 3px; border-top: 1px solid var(--blue-400); border-bottom: 1px solid var(--blue-400); }

.brand-word.big .brand-paxos { font-size: 30px; }
.brand-word.big .brand-lines { font-size: 13px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 2px; position: relative;
  white-space: nowrap;
  transition: color var(--dur), transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow var(--dur);
}

/* ---- Language-aware header fitting ----
   Long labels (Greek, Russian…) overflow the row. JS measures the
   header and applies these classes step by step until it fits. */
#site-header.header-tight .main-nav { gap: 15px; }
#site-header.header-tight .main-nav a { font-size: 13.5px; }
#site-header.header-tight .btn-albania { display: none; }
#site-header.header-tight .brand-ibw { width: 46px; height: 46px; }
#site-header.header-tight .brand-paxos { font-size: 22px; }
#site-header.header-tight .brand-x { font-size: 16px; }
/* Small phones: the enlarged lockup steps back down so it never
   crowds the language pill / account / burger cluster */
@media (max-width: 560px) {
  .brand { gap: 11px; }
  .brand-ibw { width: 48px; height: 48px; }
  .brand-ibw-name { font-size: 8.5px; }
  .brand-paxos { font-size: 24px; }
  .brand-x { font-size: 17px; }
  .brand-lines { font-size: 10px; }
}
#site-header.nav-collapsed .main-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 84vw);
  background: var(--navy-950);
  flex-direction: column; gap: 8px;
  padding: 96px 32px 32px;
  transform: translateX(100%);
  transition: transform 350ms var(--ease-out);
  box-shadow: var(--shadow-lg);
  /* Above the header bar + brand so the panel is one clean solid navy;
     .header-actions sits higher still so the ✕ stays clickable */
  z-index: 1;
}
#site-header.nav-collapsed .main-nav.open { transform: translateX(0); }
#site-header.nav-collapsed .main-nav a { font-size: 19px; padding: 12px 0; }
#site-header.nav-collapsed .main-nav a::after { display: none; }
#site-header.nav-collapsed .main-nav a:hover { transform: none; text-shadow: none; }
#site-header.nav-collapsed #nav-toggle { display: flex; }
/* Flowing wave underline */
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 5 Q 6 1 12 5 T 24 5' fill='none' stroke='%234DA3FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 8px;
  opacity: 0;
  transform: translateY(5px) scaleX(0.55); transform-origin: left;
  transition: opacity 220ms ease, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.main-nav a:hover {
  color: var(--white);
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(77, 163, 255, 0.65);
}
.main-nav a:hover::after {
  opacity: 1;
  transform: none;
  animation: navWaveFlow 1.1s linear infinite;
}
@keyframes navWaveFlow { to { background-position-x: 24px; } }

.header-actions {
  display: flex; align-items: center; gap: 14px;
  /* Keeps the menu toggle and language button above the open nav drawer */
  position: relative; z-index: 2;
}

/* Small Albania cross-promo pill (Albania Luxury Ferries) */
.btn-albania {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: background var(--dur), border-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out);
}
.btn-albania::before {
  content: "";
  width: 18px; height: 12px; flex-shrink: 0;
  border-radius: 2.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23E41E20'/%3E%3Cpath d='M14 3.5l-1.4 2-2.6-1.8 1 2.8-3.6-.8 2.6 2.3-3 .7 3 .8-2.1 2.1 3.1-.8-.5 2.8 2.1-1.9 1.4 3.8 1.4-3.8 2.1 1.9-.5-2.8 3.1.8-2.1-2.1 3-.8-3-.7 2.6-2.3-3.6.8 1-2.8-2.6 1.8z' fill='%23141414'/%3E%3C/svg%3E") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn-albania:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  transform: translateY(-1px);
}
@media (max-width: 1100px) {
  .btn-albania { display: none; } /* drawer link covers small screens */
}

/* Albania pill inside the nav drawer — pinned to the very bottom.
   Hidden while the nav is a desktop row; shown in collapsed states. */
.main-nav .nav-albania {
  display: none;
  align-items: center; gap: 9px;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  white-space: nowrap;
}
.main-nav .nav-albania::before {
  content: "";
  width: 20px; height: 14px; flex-shrink: 0;
  border-radius: 2.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23E41E20'/%3E%3Cpath d='M14 3.5l-1.4 2-2.6-1.8 1 2.8-3.6-.8 2.6 2.3-3 .7 3 .8-2.1 2.1 3.1-.8-.5 2.8 2.1-1.9 1.4 3.8 1.4-3.8 2.1 1.9-.5-2.8 3.1.8-2.1-2.1 3-.8-3-.7 2.6-2.3-3.6.8 1-2.8-2.6 1.8z' fill='%23141414'/%3E%3C/svg%3E") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
#site-header.nav-collapsed .main-nav .nav-albania { display: inline-flex; font-size: 15px; }

/* ---- Language dropdown ---- */
.lang-dd { position: relative; }
#lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: background var(--dur), border-color var(--dur);
  backdrop-filter: blur(6px);
}
#lang-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.55); }
.lang-chev { transition: transform var(--dur) var(--ease-out); }
.lang-dd.open .lang-chev { transform: rotate(180deg); }

#lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 210px; list-style: none;
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 200ms ease, transform 220ms var(--ease-out), visibility 220ms;
  z-index: 200;
}
.lang-dd.open #lang-menu { opacity: 1; visibility: visible; transform: none; }

#lang-menu li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 15px; color: var(--ink);
  cursor: pointer;
  transition: background 150ms ease;
}
#lang-menu li:hover { background: var(--sky-100); }
#lang-menu li[aria-selected="true"] { background: var(--sky-100); }
#lang-menu li[aria-selected="true"] .lang-name { color: var(--blue-700); font-weight: 600; }

.lang-code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 26px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  color: var(--white); border-radius: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.06em;
}
.lang-name { flex: 1; }
.lang-check { color: var(--blue-500); opacity: 0; transform: scale(0.5); transition: opacity 180ms ease, transform 200ms var(--ease-out); }
#lang-menu li[aria-selected="true"] .lang-check { opacity: 1; transform: scale(1); }

#nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
#nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform var(--dur), opacity var(--dur); }
#nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--blue-700) 38%, var(--blue-500) 72%, var(--blue-400) 100%);
}
.hero-sky {
  position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 70% 8%, rgba(133, 193, 255, 0.35) 0%, transparent 60%);
}
.hero-sun {
  position: absolute; top: 10%; right: 12%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(133,193,255,0.15) 45%, transparent 70%);
  animation: sunPulse 9s ease-in-out infinite alternate;
}
@keyframes sunPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.15); opacity: 1; } }

/* ---- Clouds (subtle drifting layer) ---- */
.clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud {
  position: absolute; left: 0; height: auto;
  will-change: transform;
  filter: drop-shadow(0 8px 12px rgba(6, 26, 51, 0.08));
}
.cloud g ellipse { fill: rgba(255, 255, 255, 0.92); }
/* Staggered durations + negative delays keep them spread apart, never bunched */
.c1 { top: 15%; width: 165px; opacity: 0.7;  animation: cloudDrift 78s linear infinite; }
.c2 { top: 30%; width: 115px; opacity: 0.5;  animation: cloudDrift 104s linear -34s infinite; }
.c3 { top: 8%;  width: 205px; opacity: 0.58; animation: cloudDrift 132s linear -70s infinite; }
@keyframes cloudDrift {
  from { transform: translateX(-28vw); }
  to   { transform: translateX(122vw); }
}
/* Mobile: fewer, smaller, softer clouds so the hero doesn't feel cluttered */
@media (max-width: 768px) {
  .c2 { display: none; }
  .c1 { width: 115px; opacity: 0.5; top: 13%; }
  .c3 { width: 150px; opacity: 0.42; top: 6%; }
}

/* ---- Seagulls (wings flap via SMIL inside each svg) ---- */
.gull { position: absolute; z-index: 1; }
.gull-1 { top: 16%; left: -6%; animation: gullFly 34s linear infinite; }
.gull-2 { top: 24%; left: -6%; animation: gullFly 46s linear 8s infinite; }
.gull-3 { top: 20%; left: -6%; animation: gullFly 52s linear 19s infinite; }
@keyframes gullFly {
  0%   { transform: translateX(0) translateY(0); }
  25%  { transform: translateX(28vw) translateY(-34px); }
  50%  { transform: translateX(55vw) translateY(-12px); }
  75%  { transform: translateX(84vw) translateY(-40px); }
  100% { transform: translateX(112vw) translateY(8px); }
}

/* ---- Ferry sailing across the hero ---- */
/* Paused when the hero scrolls out of view (perf) — see main.js heroAnim */
.hero--idle,
.hero--idle *,
.hero--idle *::before,
.hero--idle *::after { animation-play-state: paused !important; }

.hero-ferry {
  position: absolute; z-index: 1;
  bottom: clamp(90px, 19vh, 210px);
  left: -260px;
  width: 215px;
  animation: ferryCross 40s linear infinite;
  /* Soft light halo keeps the navy hull readable against the sea */
  filter: drop-shadow(0 10px 18px rgba(6, 26, 51, 0.35)) drop-shadow(0 0 14px rgba(234, 244, 255, 0.5));
}
/* Hydrofoil flight: starts hull-borne and low, climbs onto the foils
   around a fifth of the way across, then porpoises over the chop. */
@keyframes ferryCross {
  0%   { transform: translate(0, 18px); }
  8%   { transform: translate(calc((100vw + 520px) * 0.08), 15px); }
  15%  { transform: translate(calc((100vw + 520px) * 0.15), 10px); }
  22%  { transform: translate(calc((100vw + 520px) * 0.22), -8px); }
  30%  { transform: translate(calc((100vw + 520px) * 0.30), -1px); }
  38%  { transform: translate(calc((100vw + 520px) * 0.38), -11px); }
  47%  { transform: translate(calc((100vw + 520px) * 0.47), -3px); }
  56%  { transform: translate(calc((100vw + 520px) * 0.56), -13px); }
  65%  { transform: translate(calc((100vw + 520px) * 0.65), -4px); }
  74%  { transform: translate(calc((100vw + 520px) * 0.74), -12px); }
  83%  { transform: translate(calc((100vw + 520px) * 0.83), -5px); }
  92%  { transform: translate(calc((100vw + 520px) * 0.92), -11px); }
  100% { transform: translate(calc(100vw + 520px), -7px); }
}
.hero-ferry img {
  display: block; width: 100%; height: auto;
  animation: ferryRock 5s ease-in-out infinite alternate;
  transform-origin: 50% 85%;
  /* Foils fade below the waterline — seen through the water */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.28) 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.28) 100%);
}
/* Flying trim: bow up / stern down, with a quick porpoising rhythm */
.hero-ferry img { animation-duration: 3.2s; }

/* Spinning propeller at the stern (vessel faces right, so stern = left).
   Nudge --prop-left / --prop-bottom if it needs to sit differently. */
.ferry-prop {
  --prop-left: 7%;
  --prop-bottom: 16%;
  position: absolute; left: var(--prop-left); bottom: var(--prop-bottom);
  z-index: 2; transform-origin: 50% 50%; opacity: 0.9;
  animation: ferryProp 0.6s linear infinite;
  filter: drop-shadow(0 1px 1px rgba(6, 26, 51, 0.35));
}
@keyframes ferryProp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ferry-prop { animation: none; } }
@keyframes ferryRock {
  from { transform: rotate(-4.6deg) translateY(0); }
  to   { transform: rotate(-2.6deg) translateY(-5px); }
}
/* Waterline foam riding across the foils */
.ferry-foam {
  position: absolute; left: -8%; top: 53%;
  width: 116%; height: 13px;
  max-width: none;
  animation: foamShift 2.4s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
@keyframes foamShift {
  from { transform: translate(-6px, 0); }
  to   { transform: translate(6px, -2px); }
}
/* Wake trailing behind the stern */
.ferry-wake {
  position: absolute;
  right: 76%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0.85));
  transform-origin: right center;
  filter: blur(0.6px);
}
.ferry-wake.w1 { top: 55%; height: 9px;  width: 230px; animation: wakePulse 2.6s ease-in-out infinite; }
.ferry-wake.w2 { top: 63%; height: 6px;  width: 170px; opacity: 0.7; animation: wakePulse 2.1s ease-in-out 0.4s infinite; }
.ferry-wake.w3 { top: 50%; height: 4px;  width: 130px; opacity: 0.5; animation: wakePulse 1.8s ease-in-out 0.8s infinite; }
@keyframes wakePulse {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50%      { transform: scaleX(1.25); opacity: 0.55; }
}
/* Spray kicked up off the foils — bursts flying back off the stern */
.ferry-spray {
  position: absolute;
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  pointer-events: none;
}
.ferry-spray.sp1 { left: 6%;  top: 48%; animation: sprayFly 1.3s ease-out infinite; }
.ferry-spray.sp2 { left: 12%; top: 54%; width: 7px; height: 7px; animation: sprayFly 1.1s ease-out 0.35s infinite; }
.ferry-spray.sp3 { left: 3%;  top: 56%; width: 12px; height: 12px; animation: sprayFly 1.55s ease-out 0.6s infinite; }
.ferry-spray.sp4 { left: 16%; top: 46%; width: 6px; height: 6px; animation: sprayFly 0.95s ease-out 0.85s infinite; }
@keyframes sprayFly {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.5); }
  18%  { opacity: 0.95; }
  100% { opacity: 0; transform: translate(-34px, -26px) scale(1.5); }
}
/* Splash bursting at the bow where the foil cuts the water */
.bow-splash {
  position: absolute; right: 4%; top: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(133,193,255,0.4) 45%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  animation: bowSplash 0.9s ease-out infinite;
}
@keyframes bowSplash {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4); }
  25%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(10px, -14px) scale(1.4); }
}
/* Trailing wake waves — crescent ripples the hull carves into the sea,
   spawning at the stern then spreading outward and back as they fade.
   Staggered starts make a continuous ripple train behind the vessel. */
.ferry-wakewave {
  position: absolute; left: -6%; top: 58%;
  width: 46px; height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.5);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 0 0 90% 90% / 0 0 100% 100%;
  transform-origin: center top;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.4px);
}
.ferry-wakewave.ww1 { animation: wakeWave 2.8s ease-out infinite; }
.ferry-wakewave.ww2 { top: 63%; animation: wakeWave 2.8s ease-out 0.7s infinite; }
.ferry-wakewave.ww3 { top: 55%; animation: wakeWave 2.8s ease-out 1.4s infinite; }
.ferry-wakewave.ww4 { top: 66%; animation: wakeWave 2.8s ease-out 2.1s infinite; }
@keyframes wakeWave {
  0%   { opacity: 0;   transform: translate(0, 0)       scaleX(0.35) scaleY(0.6); }
  18%  { opacity: 0.7; }
  100% { opacity: 0;   transform: translate(-70px, 7px) scaleX(1.7)  scaleY(1.15); }
}
@media (prefers-reduced-motion: reduce) { .ferry-wakewave { animation: none; opacity: 0; } }

/* ---- Lighthouse anchoring the (otherwise empty) left of the hero ---- */
.hero-lighthouse {
  position: absolute; z-index: 1;
  left: clamp(12px, 4.5vw, 90px);
  bottom: clamp(100px, 21vh, 230px);
  overflow: visible;
  filter: drop-shadow(0 12px 22px rgba(6, 26, 51, 0.4));
  animation: lighthouseBob 8s ease-in-out infinite alternate;
}
@keyframes lighthouseBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.lh-beam {
  transform-origin: 80px 30px;
  animation: beamSweep 7s ease-in-out infinite alternate;
}
.lh-beam-r { animation-delay: -3.5s; }
@keyframes beamSweep {
  0%   { opacity: 0.25; transform: rotate(-5deg); }
  50%  { opacity: 1; }
  100% { opacity: 0.35; transform: rotate(5deg); }
}
.lh-lamp { animation: lampGlow 2.4s ease-in-out infinite; }
@keyframes lampGlow {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

.hero-sea { position: absolute; bottom: -2px; left: 0; width: 100%; }
/* Waves overhang the viewport so their ends never show while drifting */
.hero-waves { width: calc(100% + 520px); margin-left: -260px; height: clamp(140px, 30vh, 320px); }
/* Layers drift sideways and swell vertically while the path itself
   morphs (SMIL <animate> in the SVG) — three motions layered up. */
.hw { animation: heroDrift 11s ease-in-out infinite alternate; transform-origin: center bottom; }
.hw2 { animation-duration: 8.5s; animation-delay: -3s; }
.hw3 { animation-duration: 13s; animation-delay: -6s; }
.hw4 { animation-duration: 7s; animation-delay: -2s; }
@keyframes heroDrift {
  from { transform: translateX(-55px) scaleY(1); }
  to   { transform: translateX(55px) scaleY(1.07); }
}
/* Breaking whitecaps flashing along the crests */
.wc { opacity: 0; animation: wcFlash 4.2s ease-in-out infinite; }
.wc2 { animation-delay: 0.9s; }
.wc3 { animation-delay: 1.7s; }
.wc4 { animation-delay: 2.6s; }
.wc5 { animation-delay: 3.3s; }
@keyframes wcFlash {
  0%, 100% { opacity: 0; transform: translate(0, 4px); }
  35%      { opacity: 0.9; transform: translate(-14px, 0); }
  70%      { opacity: 0; transform: translate(-30px, 3px); }
}

.hero-content {
  position: relative; z-index: 2;
  padding-top: 110px; padding-bottom: 200px;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(28px, 5vw, 70px);
}
.hero-text { flex: 1 1 auto; min-width: 0; }

/* Big PL emblem in its own column, beside the headline */
.hero-mark {
  flex: 0 0 auto;
  width: clamp(190px, 23vw, 310px);
  height: auto;
  filter: drop-shadow(0 26px 60px rgba(6, 26, 51, 0.4)) drop-shadow(0 0 55px rgba(77, 163, 255, 0.35));
  animation: heroMarkFloat 7s ease-in-out infinite alternate;
}
@keyframes heroMarkFloat {
  from { transform: translateY(-8px) rotate(-2.5deg); }
  to   { transform: translateY(8px) rotate(2.5deg); }
}
@media (max-width: 940px) {
  .hero-mark { display: none; }
}
.hero-kicker {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6.6vw, 78px);
  font-weight: 800; letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(6, 26, 51, 0.35);
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 560px; margin-top: 20px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ============================================================
   BOOKING WIDGET
   ============================================================ */
.booking-band { position: relative; z-index: 3; margin-top: -110px; padding-bottom: 20px; }

.booking-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 248, 255, 0.94) 100%);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(10, 38, 71, 0.28), 0 0 45px rgba(46, 134, 222, 0.16);
  padding: 30px 34px 22px;
  /* overflow stays visible so the date-picker calendar can pop out */
}
.booking-card > * { position: relative; z-index: 1; }
/* The date-picker calendar lives in the grid — it must layer above the
   Certus note below it, or the note's text shows through the calendar */
.booking-card .booking-grid { z-index: 4; }
/* Clipped layer that hosts the moving light sweep */
.booking-card .card-glass {
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.card-glass::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 38%; left: -45%;
  background: linear-gradient(105deg, transparent, rgba(133, 193, 255, 0.18), transparent);
  transform: skewX(-18deg);
  animation: bookingSheen 6s ease-in-out infinite;
}
/* Animated gradient frame */
.booking-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(120deg, var(--blue-400), var(--blue-600) 30%, rgba(133, 193, 255, 0.35) 55%, var(--blue-400) 85%, var(--blue-600));
  background-size: 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: bookingFrame 7s linear infinite;
  pointer-events: none;
}
@keyframes bookingFrame {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes bookingSheen {
  0%, 55%   { left: -45%; }
  90%, 100% { left: 125%; }
}
.booking-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 22px;
}
.booking-head h2 { font-size: 23px; font-weight: 700; }

.trip-type { display: flex; background: var(--sky-100); border-radius: 999px; padding: 4px; }
.trip-type label { position: relative; }
.trip-type input { position: absolute; opacity: 0; }
/* label > span only — a bare ".trip-type span" also catches the
   injected .pl-ripple span and blows the toggle up into a giant circle */
.trip-type label > span {
  display: block; padding: 7px 20px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--ink-soft); cursor: pointer;
  transition: background var(--dur), color var(--dur), box-shadow var(--dur);
}
.trip-type input:checked + span { background: var(--white); color: var(--blue-700); box-shadow: var(--shadow-sm); }
.trip-type input:focus-visible + span { outline: 3px solid var(--blue-400); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
  gap: 14px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.field select, .field input {
  height: 52px; padding: 0 14px;
  border: 1.5px solid #D4E4F5; border-radius: var(--radius);
  background: var(--sky-50); color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
}
.field select:hover, .field input:hover { border-color: var(--blue-400); }
.field select:focus, .field input:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 134, 222, 0.15);
}

.swap-btn {
  height: 52px; width: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-100); color: var(--blue-700);
  border: none; border-radius: var(--radius);
  transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.swap-btn:hover { background: var(--blue-400); color: var(--white); transform: rotate(180deg); }

.btn-search { height: 52px; padding: 0 30px; border-radius: var(--radius); }

.booking-note {
  margin-top: 16px; font-size: 14px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.booking-note::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-500); flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* One-way trips: the return field fades+shrinks out, then the grid
   reflows without its column (class flip handled in main.js) */
#return-field { transition: opacity 200ms ease, transform 220ms var(--ease-out); }
#return-field.hiding { opacity: 0; transform: scale(0.9); pointer-events: none; }
#return-field.gone { display: none; }
/* Desktop only — .booking-grid.oneway outranks the plain .booking-grid
   rules in the responsive media queries, so an unscoped 6-column layout
   here would squash the mobile single-column form into blank slivers */
@media (min-width: 1025px) {
  .booking-grid.oneway { grid-template-columns: 1fr auto 1fr 1.6fr auto; }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 96px 0; }
.section-tint { background: linear-gradient(180deg, var(--sky-100) 0%, var(--sky-50) 100%); }

.section-kicker {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 12px;
}
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 640px; }
.section-sub { color: var(--ink-soft); margin-top: 14px; max-width: 560px; }
.section-kicker.light { color: var(--blue-300); }
.section-title.light, .section-sub.light { color: var(--white); }
.section-sub.light { opacity: 0.85; }

/* ============ ROUTE ============ */
.route-map { margin: 40px 0 10px; }
.route-label { font-family: var(--font-head); font-weight: 700; font-size: 17px; fill: var(--navy-900); letter-spacing: 0.14em; }
.route-glow { filter: blur(3px); opacity: .16; }
.route-guide { text-align: center; margin-top: 30px; }
.route-guide-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid var(--blue-400); color: var(--blue-700);
  font-weight: 700; text-decoration: none;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.route-guide-link:hover {
  background: var(--sky-100); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 134, 222, .18);
}

/* The blue line "draws" itself across the sea when the section scrolls in,
   then the white current-dashes flow and the ferry sets off. */
.route-draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.route-line { opacity: 0; }
#route-boat { opacity: 0; }
.route-map.in .route-draw { animation: routeDraw 1.6s cubic-bezier(.4, 0, .2, 1) forwards; }
.route-map.in .route-line { animation: dashMove 30s linear infinite, routeFade .6s ease 1.15s forwards; }
.route-map.in #route-boat { animation: routeFade .7s ease 1.45s forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
@keyframes routeFade { to { opacity: .9; } }
@keyframes dashMove { to { stroke-dashoffset: -570; } }
@media (prefers-reduced-motion: reduce) {
  .route-draw { stroke-dashoffset: 0; }
  .route-line, #route-boat { opacity: .9; animation: none; }
}
/* Boat motion lives in the SVG itself (<animateMotion>) — CSS offset-path
   flipped the boat upside-down on the return leg and fails in some engines. */

.route-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.stat {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat svg { margin: 0 auto 12px; color: var(--blue-500); }
.stat strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy-900); }
.stat span { color: var(--ink-soft); font-size: 15px; }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid rgba(10, 38, 71, .06);
  border-bottom: 1px solid rgba(10, 38, 71, .06);
}
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sky-100); color: var(--blue-600);
}
.trust-tx b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--navy-900); line-height: 1.2; }
.trust-tx span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* Best-price item: golden icon that gently wiggles + sparkles, and a shimmering
   price — small but eye-catching, drawing the eye to the €20 offer. */
.trust-item--price { position: relative; }
.trust-item--price .trust-ic {
  background: linear-gradient(135deg, #ffe9a8, #eab84d);
  color: #6b4e00;
  box-shadow: 0 6px 16px rgba(234, 184, 77, .4);
  animation: trustWiggle 3.4s ease-in-out infinite;
}
.trust-item--price .trust-tx b {
  background: linear-gradient(100deg, var(--navy-900) 30%, #eab84d 45%, #ffd98a 50%, #eab84d 55%, var(--navy-900) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: trustShine 3.4s linear infinite;
}
.trust-sparkles { position: absolute; left: 0; top: 0; width: 44px; height: 44px; pointer-events: none; }
.trust-sparkles i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffd98a 60%, transparent 70%);
  opacity: 0; animation: trustSpark 3.4s ease-in-out infinite;
}
.trust-sparkles i:nth-child(1) { left: -4px;  top: 2px;   animation-delay: .0s; }
.trust-sparkles i:nth-child(2) { left: 40px;  top: -2px;  animation-delay: .5s; }
.trust-sparkles i:nth-child(3) { left: 44px;  top: 30px;  animation-delay: 1.1s; }
.trust-sparkles i:nth-child(4) { left: -6px;  top: 28px;  animation-delay: 1.7s; }
.trust-sparkles i:nth-child(5) { left: 20px;  top: -6px;  animation-delay: 2.3s; }
@keyframes trustWiggle {
  0%, 84%, 100% { transform: rotate(0) scale(1); }
  88% { transform: rotate(-8deg) scale(1.06); }
  92% { transform: rotate(7deg) scale(1.06); }
  96% { transform: rotate(-4deg) scale(1.03); }
}
@keyframes trustShine { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes trustSpark {
  0%, 70%, 100% { opacity: 0; transform: scale(.4); }
  78% { opacity: 1; transform: scale(1.15); }
  86% { opacity: 0; transform: scale(.6); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-item--price .trust-ic, .trust-item--price .trust-tx b, .trust-sparkles i { animation: none; }
  .trust-item--price .trust-tx b { color: var(--navy-900); -webkit-text-fill-color: currentColor; }
}

@media (max-width: 900px) { .trust-inner { grid-template-columns: 1fr 1fr; gap: 18px 22px; } }
@media (max-width: 480px) { .trust-inner { grid-template-columns: 1fr; } }

/* ============ SCHEDULE ============ */
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.schedule-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.schedule-card h3 {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  color: var(--white); font-size: 18px; padding: 18px 24px;
}
.schedule-card h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-400); }
.schedule-card table { width: 100%; border-collapse: collapse; }
.schedule-card th {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  text-align: left; padding: 14px 24px 8px;
}
.schedule-card td {
  padding: 12px 24px; border-top: 1px solid var(--sky-100);
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy-900);
}
.schedule-card td:last-child { color: var(--ink-soft); font-weight: 400; }
.schedule-card tbody tr { transition: background var(--dur); }
.schedule-card tbody tr:hover { background: var(--sky-50); }

/* ============ PRICES ============ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.price-card {
  position: relative;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 26px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-400); }
.price-card svg { margin: 0 auto 14px; color: var(--blue-500); }
.price-card h3 { font-size: 18px; margin-bottom: 10px; }
.price .amount { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--blue-700); }
.price .per { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.price-card.featured { border-color: var(--blue-500); box-shadow: var(--shadow-md); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: var(--white); font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 0.05em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}

/* ============ GALLERY — auto slideshow ============ */
.gallery-slider {
  position: relative;
  margin-top: 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.gs-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}
.gs-slide.is-active { opacity: 1; z-index: 1; }
.gs-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gs-slide.is-active img { animation: kenBurns 9s ease-out forwards; }
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.gs-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 52px 26px 36px;
  color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px;
  background: linear-gradient(transparent, rgba(6, 26, 51, 0.8));
}
.gs-arrow {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 26, 51, 0.45);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.gs-arrow:hover { background: rgba(46, 134, 222, 0.9); transform: translateY(-50%) scale(1.08); }
.gs-prev { left: 16px; }
.gs-next { right: 16px; }
.gs-dots {
  position: absolute; bottom: 14px; left: 50%; z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.gs-dot {
  width: 9px; height: 9px; padding: 0;
  border-radius: 999px; border: none;
  background: rgba(255, 255, 255, 0.45);
  transition: width 250ms var(--ease-out), background 250ms ease;
}
.gs-dot:hover { background: rgba(255, 255, 255, 0.75); }
.gs-dot.is-active { width: 26px; background: var(--blue-400); }

.gallery-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--ink-soft); font-style: italic; }

/* ============ WHY US ============ */
.why {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--blue-700) 100%);
  padding-bottom: 150px;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  transition: transform var(--dur) var(--ease-out), background var(--dur);
}
.why-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.11); }
.why-card svg { color: var(--blue-400); margin-bottom: 16px; }
.why-card h3 { color: var(--white); font-size: 17.5px; margin-bottom: 8px; }
.why-card p { color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.why-waves { position: absolute; bottom: -1px; left: -260px; width: calc(100% + 520px); height: 90px; }

/* ============ FAQ ============ */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: border-color var(--dur);
}
.faq-list details[open] { border-color: var(--blue-400); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px;
  color: var(--navy-900); padding: 20px 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex-shrink: 0; color: var(--blue-500); transition: transform var(--dur) var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 60%, var(--blue-400) 100%);
  padding: 90px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 85% 0%, rgba(255,255,255,0.18) 0%, transparent 55%);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,0.9); font-size: 19px; max-width: 540px; margin: 16px auto 32px; }

/* ============ FOOTER ============ */
footer { background: var(--sky-50); }
.footer-waves { width: 100%; height: 70px; margin-bottom: -1px; }
.footer-main { background: var(--navy-950); color: rgba(255,255,255,0.8); padding: 40px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,0.65); max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 {
  color: var(--white); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px;
}
.footer-col a { color: rgba(255,255,255,0.75); transition: color var(--dur); }
.footer-col a:hover { color: var(--blue-400); }
.footer-col span { color: rgba(255,255,255,0.55); }
.footer-powered {
  font-size: 12.5px; font-style: italic;
  color: rgba(133, 193, 255, 0.8) !important;
  letter-spacing: 0.03em;
}
.footer-albania {
  display: inline-block; align-self: flex-start;
  margin-top: 8px;
  padding: 7px 15px;
  border: 1px solid rgba(133, 193, 255, 0.4);
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 13px;
  color: var(--blue-300) !important;
  transition: background var(--dur), border-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out);
}
.footer-albania:hover {
  background: rgba(77, 163, 255, 0.15);
  border-color: var(--blue-400);
  color: var(--white) !important;
  transform: translateY(-2px);
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.45);
}

/* ============================================================
   SUBPAGES (conditions, contact)
   ============================================================ */
body.subpage #site-header {
  background: rgba(10, 38, 71, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(6, 26, 51, 0.35);
  padding: 9px 0;
}

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-700) 100%);
  padding: 150px 0 110px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}
.page-hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 18px; max-width: 540px; margin-top: 14px;
}
.page-hero-waves { position: absolute; bottom: -1px; left: -260px; width: calc(100% + 520px); height: 70px; }

/* ---- Legal / conditions ---- */
.legal { padding: 70px 0 90px; }
.legal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue-500);
  padding: 34px 38px;
  margin-bottom: 26px;
}
.legal-card h2 { font-size: 22px; margin-bottom: 20px; }
.legal-card p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ol, .legal-card ul {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 13px;
  counter-reset: item;
}
.legal-card ol:last-child, .legal-card ul:last-child { margin-bottom: 0; }
.legal-card li { position: relative; padding-left: 44px; color: var(--ink-soft); }
.legal-card ol li { counter-increment: item; }
.legal-card ol li::before {
  content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.legal-card ul li::before {
  content: "";
  position: absolute; left: 6px; top: 7px;
  width: 16px; height: 8px;
  background: center / contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 12"><path d="M1 8 Q 6 2 12 7 T 23 6" fill="none" stroke="%232E86DE" stroke-width="3" stroke-linecap="round"/></svg>');
}
.legal-note {
  background: var(--sky-100);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: var(--navy-900) !important;
  font-size: 15px; font-weight: 500;
}
.legal-cta { text-align: center; margin-top: 44px; }

/* ---- Contact page ---- */
.contact-section { padding: 70px 0 100px; }
.contact-wrap {
  display: grid; grid-template-columns: 0.85fr 1.45fr;
  gap: 30px; align-items: start;
}
.contact-info {
  background: linear-gradient(160deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 32px;
  color: var(--white);
  position: sticky; top: 100px;
}
.contact-info > svg { color: var(--blue-400); margin-bottom: 16px; }
.contact-info h3 { color: var(--white); font-size: 19px; margin-bottom: 8px; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur);
}
.contact-phone:hover { color: var(--blue-300); }
.contact-hours {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,0.85); font-size: 14.5px;
}
.contact-hours svg { flex-shrink: 0; color: var(--blue-400); }
.contact-note {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75); font-size: 15px;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue-500);
  padding: 34px 36px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-card .field-full { grid-column: 1 / -1; }
.contact-form-card textarea {
  min-height: 150px; resize: vertical;
  padding: 12px 14px;
  border: 1.5px solid #D4E4F5; border-radius: var(--radius);
  background: var(--sky-50); color: var(--ink);
  font-size: 16px; line-height: 1.5;
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
}
.contact-form-card textarea:hover { border-color: var(--blue-400); }
.contact-form-card textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 134, 222, 0.15);
}
.btn-send { grid-column: 1 / -1; justify-self: start; }
.btn-send.loading { pointer-events: none; opacity: 0.85; }
.btn-send.loading > svg { display: none; }
.btn-send.loading::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

/* ---- CTA band buttons ---- */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}
@media (max-width: 768px) {
  .legal-card { padding: 26px 22px; }
  .contact-form-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .btn-send { justify-self: stretch; }
  .page-hero { padding: 130px 0 90px; }
}

/* ============ TOAST ============ */
#toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-head); font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease, transform 300ms var(--ease-out);
  z-index: 500; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ LOADING OVERLAY ============ */
#loader {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 100% at 50% 0%, #123B6D 0%, #0A2647 45%, #061A33 100%);
  opacity: 0; visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms;
}
#loader.show { opacity: 1; visibility: visible; }

.loader-box { text-align: center; padding: 0 18px; }

/* Full PAXOS LINES wordmark with water sloshing inside the letters */
.loader-word {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.loader-paxos {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(54px, 11vw, 92px);
  letter-spacing: 0.14em; text-indent: 0.14em;
  line-height: 1.05;
  color: var(--blue-400);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 42%, #CFE8FF 50%, var(--blue-400) 62%, var(--blue-500) 100%);
  background-size: 100% 240%;
  background-position: 50% 0%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waterSlosh 2.4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 34px rgba(77, 163, 255, 0.35));
}
@keyframes waterSlosh {
  from { background-position: 50% 4%; }
  to   { background-position: 50% 58%; }
}
.loader-lines {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(15px, 2.4vw, 23px);
  letter-spacing: 0.52em; text-indent: 0.52em;
  color: var(--blue-400); margin-top: 8px;
}
.loader-lines i {
  display: block; width: clamp(36px, 7vw, 84px); height: 5px;
  border-top: 1.5px solid var(--blue-400);
  border-bottom: 1.5px solid var(--blue-400);
}

/* Waves crashing along the base of the wordmark — fixed height so they
   never stretch over the logo, full viewport width so they never end */
.loader-swash {
  position: absolute; left: 50%; bottom: -16px;
  transform: translateX(-50%);
  width: 130vw; height: 52px;
  pointer-events: none;
  overflow: visible;
  /* soften the strip's lower edge so it never ends in a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.swash-drift-1 { animation: swashRoll1 2.7s linear infinite; }
.swash-drift-2 { animation: swashRoll2 3.6s linear infinite; }
@keyframes swashRoll1 {
  0%   { transform: translate(0, 6px); }
  50%  { transform: translate(70px, -4px); }
  100% { transform: translate(140px, 6px); }
}
@keyframes swashRoll2 {
  0%   { transform: translate(0, 3px); }
  50%  { transform: translate(-70px, -6px); }
  100% { transform: translate(-140px, 3px); }
}
.spray .drop { opacity: 0; }
.spray .d1 { animation: dropPop 1.7s ease-out 0.2s infinite; }
.spray .d2 { animation: dropPop 1.4s ease-out 0.9s infinite; }
.spray .d3 { animation: dropPop 1.9s ease-out 0.5s infinite; }
.spray .d4 { animation: dropPop 1.5s ease-out 1.2s infinite; }
@keyframes dropPop {
  0%, 45% { transform: translateY(20px); opacity: 0; }
  62%     { opacity: 1; }
  100%    { transform: translateY(-30px); opacity: 0; }
}

.loader-text {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  animation: loaderTextPulse 1.8s ease-in-out infinite;
}
@keyframes loaderTextPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Search button loading state */
.btn-search.loading { pointer-events: none; opacity: 0.85; }
.btn-search.loading > svg { display: none; }
.btn-search.loading::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ BUTTON SHINE ============ */
.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn-primary:hover::after, .btn-light:hover::after {
  animation: shine 750ms ease;
}
@keyframes shine { to { left: 130%; } }

/* ============ BRAND HOVER ============ */
.brand .brand-mark { transition: transform var(--dur) var(--ease-out); }
.brand:hover .brand-mark { animation: brandBob 1.2s ease-in-out infinite; }
@keyframes brandBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-4px) rotate(3deg); }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Staggered children entrance for card grids */
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 600ms ease, transform 650ms var(--ease-out); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in > *:nth-child(2) { transition-delay: 90ms; }
.stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.stagger.in > *:nth-child(4) { transition-delay: 270ms; }
.stagger.in > *:nth-child(5) { transition-delay: 360ms; }
.stagger.in > *:nth-child(6) { transition-delay: 450ms; }
.stagger.in > *:nth-child(7) { transition-delay: 540ms; }
.stagger.in > *:nth-child(8) { transition-delay: 630ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .booking-grid { grid-template-columns: 1fr auto 1fr; }
  .btn-search { grid-column: 1 / -1; }
  .price-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .route-stats { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablets: collapse the nav earlier so the header never crowds */
@media (max-width: 940px) {
  /* The "Ionian Blue Wave" caption overhangs its emblem — nudge the
     whole lockup right so it never falls off the screen edge */
  .brand { margin-left: 14px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 84vw);
    background: var(--navy-950);
    flex-direction: column; gap: 8px;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 350ms var(--ease-out);
    box-shadow: var(--shadow-lg);
    z-index: 1;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 19px; padding: 12px 0; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { transform: none; text-shadow: none; }
  .main-nav .nav-albania { display: inline-flex; font-size: 15px; padding: 12px 18px; }
  #nav-toggle { display: flex; }
  .btn-book { display: none; }
}

@media (max-width: 768px) {
  .hero-content { padding-top: 130px; padding-bottom: 160px; }
  .booking-band { margin-top: -80px; }
  .booking-card { padding: 24px 20px 18px; }
  .booking-grid { grid-template-columns: 1fr; }
  .swap-btn { width: 100%; }
  .swap-btn svg { transform: rotate(90deg); }
  .swap-btn:hover { transform: none; }
  .schedule-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .price-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-slider { aspect-ratio: 4 / 3; }
  .gs-slide.is-active img { animation: none; }
  .gs-arrow { width: 42px; height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-ferry { width: 130px; bottom: clamp(70px, 15vh, 140px); }
  .hero-lighthouse { width: 92px; height: 115px; left: 3%; bottom: clamp(76px, 15vh, 130px); }
  #lang-menu { position: fixed; top: auto; bottom: 16px; left: 16px; right: 16px; min-width: 0; transform-origin: bottom center; }
  #lang-menu li { padding-top: 12px; padding-bottom: 12px; }

  /* ---- Mobile performance: same look, cheaper to render ----
     Expensive blurs and full-band repaints are swapped for
     static equivalents; small-scale animations stay. */
  .booking-card {
    backdrop-filter: none;
    background: var(--white);
  }
  .booking-card::before { animation: none; }
  .card-glass { display: none; }
  .btn-search { animation: none; background-position: 50% 0; }
  .promo-band { animation: none; background-size: 100% 100%; padding: 66px 0 96px; }
  .promo-ticket { display: none; }
  .promo-bubbles { display: none; }
  .why-card { backdrop-filter: none; background: rgba(255, 255, 255, 0.09); }
  #site-header.scrolled { backdrop-filter: none; background: rgba(10, 38, 71, 0.97); }
  body.subpage #site-header { backdrop-filter: none; background: rgba(10, 38, 71, 0.97); }
  .ck-backdrop { backdrop-filter: none; background: rgba(6, 26, 51, 0.88); }
  #lang-btn { backdrop-filter: none; }
  .promo-flag { backdrop-filter: none; }
}

/* ============================================================
   BOOKING EXTRAS — glowing search button + required markers
   ============================================================ */
.btn-search {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500) 45%, var(--blue-400) 70%, var(--blue-600));
  background-size: 220% 100%;
  animation: searchGlow 4.5s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(46, 134, 222, 0.45);
}
@keyframes searchGlow {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}
.booking-grid .field > label::after {
  content: " *";
  color: var(--blue-500);
}

/* ============================================================
   ROUND-TRIP PROMO BAND
   ============================================================ */
.promo-band {
  position: relative; overflow: hidden;
  margin-top: 46px;
  padding: 84px 0 130px;
  text-align: center;
  background: linear-gradient(115deg, var(--navy-950), var(--navy-800) 35%, var(--blue-700) 65%, var(--blue-500));
  background-size: 220% 220%;
  animation: promoShift 12s ease-in-out infinite alternate;
}
@keyframes promoShift {
  from { background-position: 0% 40%; }
  to   { background-position: 100% 60%; }
}
.promo-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 90% at 85% 10%, rgba(77, 163, 255, 0.28) 0%, transparent 60%),
    radial-gradient(45% 80% at 10% 90%, rgba(46, 134, 222, 0.22) 0%, transparent 55%);
  pointer-events: none;
}
/* Round-trip ticket floating beside the copy */
.promo-ticket {
  position: absolute; top: 62%; right: clamp(10px, 6vw, 110px);
  width: clamp(170px, 17vw, 240px); height: auto;
  transform: translateY(-50%) rotate(8deg);
  filter: drop-shadow(0 18px 40px rgba(6, 26, 51, 0.45));
  animation: ticketFloat 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ticketFloat {
  from { transform: translateY(-56%) rotate(6deg); }
  to   { transform: translateY(-44%) rotate(11deg); }
}
@media (max-width: 1180px) {
  .promo-ticket { opacity: 0.35; }
}
/* Sea foam bubbles drifting up through the band */
.promo-bubbles { position: absolute; inset: 0; pointer-events: none; }
.promo-bubbles i {
  position: absolute; bottom: -30px;
  border: 1.5px solid rgba(133, 193, 255, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.28), rgba(255,255,255,0.02));
  animation: bubbleRise 9s linear infinite;
}
.promo-bubbles i:nth-child(1) { left: 6%;  width: 14px; height: 14px; animation-duration: 8s; }
.promo-bubbles i:nth-child(2) { left: 16%; width: 8px;  height: 8px;  animation-duration: 11s; animation-delay: 2.5s; }
.promo-bubbles i:nth-child(3) { left: 30%; width: 18px; height: 18px; animation-duration: 9.5s; animation-delay: 5s; }
.promo-bubbles i:nth-child(4) { left: 45%; width: 10px; height: 10px; animation-duration: 12s; animation-delay: 1s; }
.promo-bubbles i:nth-child(5) { left: 58%; width: 15px; height: 15px; animation-duration: 8.5s; animation-delay: 4s; }
.promo-bubbles i:nth-child(6) { left: 72%; width: 9px;  height: 9px;  animation-duration: 10s; animation-delay: 6.5s; }
.promo-bubbles i:nth-child(7) { left: 84%; width: 20px; height: 20px; animation-duration: 13s; animation-delay: 3s; }
.promo-bubbles i:nth-child(8) { left: 93%; width: 12px; height: 12px; animation-duration: 9s; animation-delay: 7.5s; }
@keyframes bubbleRise {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translate(18px, -420px) scale(1.15); opacity: 0; }
}
.promo-inner { position: relative; z-index: 1; }
.promo-flag {
  display: inline-flex; align-items: center; gap: 11px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.26em; text-transform: uppercase; text-indent: 0.26em;
  padding: 10px 24px; border-radius: 999px;
  box-shadow: 0 8px 28px rgba(46, 134, 222, 0.5), 0 0 24px rgba(77, 163, 255, 0.3);
  animation: promoFlagPulse 2.6s ease-in-out infinite;
}
.promo-flag-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: flagDotPing 2.6s ease-out infinite;
}
@keyframes flagDotPing {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes promoFlagPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(46, 134, 222, 0.4), 0 0 18px rgba(77, 163, 255, 0.25); }
  50%      { box-shadow: 0 8px 34px rgba(46, 134, 222, 0.65), 0 0 40px rgba(77, 163, 255, 0.55); }
}
/* Bottom wave strip into the next section */
.promo-waves {
  position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 56px;
  pointer-events: none;
}
.promo-cta {
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(255, 255, 255, 0.5);
  animation: promoCtaGlow 3s ease-in-out infinite;
}
@keyframes promoCtaGlow {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50%      { box-shadow: var(--shadow-lg), 0 0 0 7px rgba(255, 255, 255, 0); }
}
.promo-title {
  color: var(--white);
  font-size: clamp(36px, 5.8vw, 66px);
  font-weight: 800; letter-spacing: -0.01em;
  margin-top: 26px;
  text-shadow: 0 6px 34px rgba(6, 26, 51, 0.4);
}
.promo-shine {
  background: linear-gradient(90deg, var(--blue-300), #FFFFFF 30%, var(--blue-400) 55%, #FFFFFF 80%, var(--blue-300));
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shineText 3.2s linear infinite;
}
@keyframes shineText { to { background-position: 200% center; } }
.promo-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 620px; margin: 18px auto 34px;
}

/* ============================================================
   LANGUAGE MENU — faded flag backgrounds
   ============================================================ */
#lang-menu li { position: relative; overflow: hidden; padding-right: 58px; }
#lang-menu li > * { position: relative; z-index: 1; }
#lang-menu li::before {
  content: ""; position: absolute; top: 50%; right: 12px;
  width: 33px; height: 22px; z-index: 0;
  transform: translateY(-50%);
  border-radius: 4px;
  background: var(--flag) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(6, 26, 51, 0.12), 0 1px 3px rgba(6, 26, 51, 0.12);
  opacity: 0.45;
  transition: opacity 180ms ease, transform 200ms var(--ease-out);
  pointer-events: none;
}
#lang-menu li:hover::before,
#lang-menu li[aria-selected="true"]::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
#lang-menu li[data-lang="en"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Crect width='60' height='36' fill='%23012169'/%3E%3Cpath d='M0 0 60 36M60 0 0 36' stroke='%23fff' stroke-width='7'/%3E%3Cpath d='M0 0 60 36M60 0 0 36' stroke='%23C8102E' stroke-width='3'/%3E%3Cpath d='M30 0v36M0 18h60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0v36M0 18h60' stroke='%23C8102E' stroke-width='7'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="el"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect width='27' height='18' fill='%230D5EAF'/%3E%3Cpath d='M0 3h27M0 7h27M0 11h27M0 15h27' stroke='%23fff' stroke-width='2'/%3E%3Crect width='10' height='10' fill='%230D5EAF'/%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="it"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23009246'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23CE2B37'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="fr"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23002395'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23ED2939'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="de"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='0.667' fill='%23000'/%3E%3Crect y='0.667' width='3' height='0.667' fill='%23DD0000'/%3E%3Crect y='1.333' width='3' height='0.667' fill='%23FFCE00'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="es"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='2' fill='%23AA151B'/%3E%3Crect y='0.5' width='3' height='1' fill='%23F1BF00'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="ru"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='0.667' fill='%23fff'/%3E%3Crect y='0.667' width='3' height='0.667' fill='%230039A6'/%3E%3Crect y='1.333' width='3' height='0.667' fill='%23D52B1E'/%3E%3C/svg%3E"); }
#lang-menu li[data-lang="sq"] { --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23E41E20'/%3E%3Cpath d='M14 3.5l-1.4 2-2.6-1.8 1 2.8-3.6-.8 2.6 2.3-3 .7 3 .8-2.1 2.1 3.1-.8-.5 2.8 2.1-1.9 1.4 3.8 1.4-3.8 2.1 1.9-.5-2.8 3.1.8-2.1-2.1 3-.8-3-.7 2.6-2.3-3.6.8 1-2.8-2.6 1.8z' fill='%23141414'/%3E%3C/svg%3E"); }

/* ============================================================
   COOKIE CONSENT GATE
   ============================================================ */
#cookie-gate {
  position: fixed; inset: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
#cookie-gate[hidden] { display: none; }
.ck-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 26, 51, 0.74);
  backdrop-filter: blur(14px);
  animation: ckFadeIn 400ms ease both;
}
@keyframes ckFadeIn { from { opacity: 0; } }
.ck-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border-radius: 26px;
  max-width: 620px; width: 100%;
  padding: 44px 46px 38px;
  box-shadow: 0 30px 80px rgba(6, 26, 51, 0.5);
  text-align: center;
  animation: ckCardIn 550ms var(--ease-out) 120ms both;
}
@keyframes ckCardIn {
  from { opacity: 0; transform: translateY(46px) scale(0.96); }
}
.ck-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), var(--blue-700));
  background-size: 200% 100%;
  animation: bookingFrame 5s linear infinite;
}
.ck-mark { margin: 0 auto 18px; filter: drop-shadow(0 6px 22px rgba(46, 134, 222, 0.35)); }
.ck-card h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.ck-text { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }
.ck-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px;
}
.btn-outline {
  background: var(--sky-50);
  color: var(--blue-700);
  border: 1.5px solid var(--blue-500);
}
.btn-outline:hover { background: var(--sky-100); transform: translateY(-2px); }
.ck-link {
  display: inline-block; margin-top: 20px;
  font-size: 14px; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--dur);
}
.ck-link:hover { color: var(--blue-600); }
#cookie-gate.leaving .ck-backdrop { animation: ckFadeOut 420ms ease both; }
#cookie-gate.leaving .ck-card { animation: ckCardOut 380ms ease both; }
@keyframes ckFadeOut { to { opacity: 0; } }
@keyframes ckCardOut { to { opacity: 0; transform: translateY(34px) scale(0.96); } }
@media (max-width: 560px) {
  .ck-card { padding: 32px 24px 28px; }
  .ck-actions .btn { width: 100%; }
}

/* ============================================================
   FAQ — conditions link row
   ============================================================ */
.faq-list details p:not(:last-child) { padding-bottom: 10px; }
.faq-link a {
  color: var(--blue-600);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  transition: color var(--dur);
}
.faq-link a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   LOCALIZED DATE PICKER
   ============================================================ */
.pl-date {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5975' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 38px;
}
.pl-cal {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  width: 276px;
  background: var(--white);
  border: 1px solid var(--sky-100);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 220ms;
}
.pl-cal.open { opacity: 1; visibility: visible; transform: none; }
.pl-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.pl-cal-head strong {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--navy-900); text-transform: capitalize;
}
.pl-cal-nav {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 8px;
  background: var(--sky-100); color: var(--blue-700);
  font-size: 17px; line-height: 1;
  transition: background var(--dur), color var(--dur);
}
.pl-cal-nav:hover { background: var(--blue-400); color: var(--white); }
.pl-cal-wd {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.pl-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.pl-cal-grid button {
  height: 32px;
  border: none; border-radius: 8px;
  background: none; color: var(--ink);
  font-size: 14px; font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease;
}
.pl-cal-grid button:hover:not(:disabled) { background: var(--sky-100); }
.pl-cal-grid button:disabled { opacity: 0.3; cursor: default; }
.pl-cal-grid button.today { box-shadow: inset 0 0 0 1.5px var(--blue-400); }
.pl-cal-grid button.sel { background: var(--blue-500); color: var(--white); font-weight: 600; }
.pl-cal-grid i { display: block; }
@media (max-width: 768px) {
  .pl-cal { left: 50%; transform: translate(-50%, -6px) scale(0.98); transform-origin: top center; }
  .pl-cal.open { transform: translate(-50%, 0); }
}

/* ============================================================
   FORM ERRORS (translated, inline)
   ============================================================ */
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #D64545 !important;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14) !important;
}
.field-error {
  color: #C03434;
  font-size: 13px; font-weight: 500;
  margin-top: 2px;
}

/* Honeypot — invisible to humans, tempting to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   BOOT LOADING STATE (page load / refresh)
   ============================================================ */
html.pl-booting #loader {
  opacity: 1; visibility: visible;
  transition: none;
}

/* ============================================================
   ACCOUNT BUTTON (header)
   ============================================================ */
.btn-account {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.btn-account:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.4);
}

/* ============================================================
   LOYALTY REWARDS BAND
   ============================================================ */
.loyalty-band {
  position: relative; overflow: hidden;
  padding: 88px 0 116px;
  color: var(--white); text-align: center;
  background:
    radial-gradient(90% 130% at 85% -10%, rgba(77, 163, 255, 0.28) 0%, rgba(77, 163, 255, 0) 55%),
    radial-gradient(70% 110% at 10% 110%, rgba(46, 134, 222, 0.35) 0%, rgba(46, 134, 222, 0) 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--blue-700) 100%);
}
.loyalty-inner { position: relative; z-index: 1; }
/* Gold star sparkles twinkling over the band */
.loyalty-sparkles { position: absolute; inset: 0; pointer-events: none; }
.ls {
  position: absolute;
  width: 10px; height: 10px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23FFD166'/%3E%3C/svg%3E");
  opacity: 0;
  animation: sparkleTwinkle 4.6s ease-in-out infinite;
}
.ls1 { top: 18%; left: 12%; }
.ls2 { top: 30%; left: 84%; width: 14px; height: 14px; animation-delay: 0.8s; }
.ls3 { top: 66%; left: 7%;  width: 8px;  height: 8px;  animation-delay: 1.6s; }
.ls4 { top: 14%; left: 62%; width: 7px;  height: 7px;  animation-delay: 2.4s; }
.ls5 { top: 72%; left: 91%; animation-delay: 3.1s; }
.ls6 { top: 48%; left: 27%; width: 6px;  height: 6px;  animation-delay: 3.8s; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 0.9; transform: scale(1.15) rotate(90deg); }
}
.loyalty-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase;
  color: #FFD166;
  border: 1px solid rgba(255, 209, 102, 0.55);
  background: rgba(255, 209, 102, 0.09);
  padding: 10px 26px; border-radius: 999px;
  animation: loyaltyGlow 2.8s ease-in-out infinite;
}
.loyalty-flag svg { animation: flagStarSpin 5s ease-in-out infinite; }
@keyframes flagStarSpin {
  0%, 70%, 100% { transform: rotate(0deg) scale(1); }
  82%           { transform: rotate(144deg) scale(1.25); }
}
@keyframes loyaltyGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 209, 102, 0.18); }
  50%      { box-shadow: 0 0 38px rgba(255, 209, 102, 0.5); }
}
.loyalty-title {
  color: var(--white); /* the band is navy — never inherit the navy h2 color */
  font-size: clamp(30px, 4.8vw, 54px); font-weight: 800;
  line-height: 1.14; margin: 24px auto 0; max-width: 820px;
  text-shadow: 0 4px 28px rgba(6, 26, 51, 0.55);
}
.loyalty-title .shine {
  background: linear-gradient(110deg, #FFD166 25%, #FFF6DF 45%, #FFC24B 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 209, 102, 0.35));
  animation: loyaltyShine 3.4s linear infinite;
}
@keyframes loyaltyShine { to { background-position-x: -220%; } }
.loyalty-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 2vw, 18px); line-height: 1.65;
  max-width: 600px; margin: 16px auto 0;
}
/* ---- 3-trip tracker ---- */
.loyalty-steps {
  display: flex; align-items: flex-start; justify-content: center;
  margin: 40px auto 0; max-width: 480px;
}
.loyalty-step { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.loyalty-dot {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(133, 193, 255, 0.5);
  color: var(--blue-300);
}
.loyalty-step span {
  font-family: var(--font-head); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72); white-space: nowrap;
}
.loyalty-step.prize .loyalty-dot {
  background: linear-gradient(135deg, #FFC24B, #FFD166);
  border-color: rgba(255, 246, 223, 0.9);
  color: var(--navy-900);
  animation: prizePulse 2.4s ease-in-out infinite;
}
.loyalty-step.prize .loyalty-dot strong {
  font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
}
.loyalty-step.prize span { color: #FFD166; }
@keyframes prizePulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.6); }
  50%      { transform: scale(1.09); box-shadow: 0 0 0 18px rgba(255, 209, 102, 0); }
}
.loyalty-line {
  flex: 1; max-width: 74px; height: 3px; border-radius: 999px;
  margin-top: 27px;
  background: rgba(133, 193, 255, 0.3);
  position: relative; overflow: hidden;
}
.loyalty-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, #FFD166, transparent);
  transform: translateX(-100%);
  animation: loyaltyFlow 2.6s ease-in-out infinite;
}
@keyframes loyaltyFlow { to { transform: translateX(100%); } }
.loyalty-cta { margin-top: 40px; }
.loyalty-cta .btn {
  animation: loyaltyCtaGlow 3s ease-in-out infinite;
}
@keyframes loyaltyCtaGlow {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(255, 209, 102, 0.5); }
  50%      { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 209, 102, 0); }
}
.loyalty-waves {
  position: absolute; bottom: -2px; left: -260px;
  width: calc(100% + 520px); height: 74px; max-width: none;
}
.loyalty-waves path { animation: seaSwell 7s ease-in-out infinite alternate; transform-origin: center bottom; }
@media (max-width: 560px) {
  .loyalty-band { padding: 66px 0 96px; }
  .loyalty-dot { width: 46px; height: 46px; }
  .loyalty-line { margin-top: 22px; max-width: 40px; }
  .loyalty-step span { font-size: 10px; }
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-section { padding: 64px 0 100px; }

/* ---- Cookie consent banner (Google Consent Mode v2) ---- */
#pl-consent {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 150%);
  z-index: 1200; width: min(680px, calc(100% - 24px));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(10, 38, 71, .93);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px rgba(6, 26, 51, .4);
  color: #eaf4ff; opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
#pl-consent.show { transform: translate(-50%, 0); opacity: 1; }
.pl-consent-msg { flex: 1 1 260px; margin: 0; font-size: 13.5px; line-height: 1.5; color: #d7e6fa; }
.pl-consent-link { color: #9fd0ff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.pl-consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.pl-consent-btn {
  min-height: 40px; padding: 8px 18px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .1s ease;
}
.pl-consent-btn:active { transform: scale(.97); }
.pl-consent-ok { background: var(--blue-500, #2e86de); color: #fff; }
.pl-consent-ok:hover { background: var(--blue-600, #1f6fc0); }
.pl-consent-no { background: transparent; color: #eaf4ff; border-color: rgba(255, 255, 255, .35); }
.pl-consent-no:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
@media (max-width: 560px) {
  #pl-consent { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; bottom: 10px; }
  .pl-consent-actions { justify-content: center; }
  .pl-consent-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  #pl-consent { transition: opacity .25s ease; transform: translate(-50%, 0); }
}

/* ---- Suspended-account banner on the login card ---- */
.auth-susp {
  display: flex; flex-direction: column; gap: 5px; margin: 0 0 18px; padding: 14px 16px;
  border-radius: 12px; background: rgba(225, 29, 72, .08); border: 1px solid rgba(225, 29, 72, .3);
  animation: fadeInSm .25s ease both;
}
.auth-susp b { color: #c81e46; font-size: 15px; }
.auth-susp span { font-size: 13.5px; color: var(--ink); }
.auth-susp .auth-susp-help { color: var(--ink-soft); font-size: 12.5px; }

/* ---- Appeal form (suspended banner + blocked sign-up) ---- */
.appeal-box { margin-top: 6px; }
.appeal-toggle {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px;
  font-weight: 700; color: var(--brand, #1a5fb4); text-decoration: underline; text-underline-offset: 3px;
}
.appeal-toggle:hover { opacity: .85; }
.appeal-form {
  margin-top: 12px; display: flex; flex-direction: column; gap: 9px;
  padding: 14px; border-radius: 12px; background: rgba(124, 182, 255, .06);
  border: 1px solid rgba(124, 182, 255, .22); animation: fadeInSm .2s ease both;
}
.appeal-intro { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.appeal-l { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-soft); }
.appeal-l input, .appeal-l textarea {
  width: 100%; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px;
  color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--line, rgba(124, 216, 255, .16));
  resize: vertical;
}
.appeal-l input:focus, .appeal-l textarea:focus { outline: 2px solid rgba(124, 182, 255, .5); outline-offset: 1px; }
.appeal-send { align-self: flex-start; }
.appeal-status { margin: 0; font-size: 13px; color: var(--ink-soft); }
.appeal-status.ok { color: #1f9d63; font-weight: 600; }
.appeal-status.bad { color: #c81e46; }

/* ---- Forgot / reset password ---- */
.auth-forgot-link {
  display: block; margin: 14px auto 0; padding: 4px 6px;
  background: none; border: 0; cursor: pointer;
  color: var(--blue-600); font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px; text-align: center;
}
.auth-forgot-link:hover { color: var(--blue-700); }
.forgot-panel {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(10, 38, 71, .1);
  animation: fadeInSm .25s ease both;
}
.forgot-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 12px; }
.forgot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.forgot-actions .btn { flex: 1 1 auto; }
.btn-reset-pass { margin-top: 10px; }
@keyframes fadeInSm { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Reset-password page (reached from the email link) — premium navy theme */
.reset-wrap {
  position: relative; min-height: 100dvh; display: grid; place-items: center;
  padding: 44px 20px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 50% -12%, #163f6c 0%, rgba(22, 63, 108, 0) 60%),
    linear-gradient(180deg, #0a2547 0%, #071d3a 52%, #051428 100%);
}
.reset-deco { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 0; pointer-events: none; }
.reset-deco svg { position: absolute; left: -2%; bottom: 0; width: 104%; height: 100%; }
.reset-card-outer { position: relative; z-index: 1; width: 100%; max-width: 430px; }
.reset-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; text-decoration: none; }
.reset-brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.reset-brand .reset-x { color: #eab84d; font-size: 15px; opacity: .85; }

.reset-wrap .auth-card {
  background: linear-gradient(180deg, rgba(18, 44, 78, .92), rgba(8, 28, 58, .94));
  border: 1px solid rgba(234, 184, 77, .28); border-radius: 20px;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 30px 28px 32px;
}
.reset-wrap .auth-head { text-align: center; margin-bottom: 20px; }
.reset-wrap .auth-icon {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  margin-bottom: 12px; color: #ffd98a;
  background: linear-gradient(140deg, rgba(234, 184, 77, .2), rgba(124, 216, 255, .14));
  box-shadow: 0 0 0 1px rgba(234, 184, 77, .34), 0 0 34px rgba(234, 184, 77, .2);
}
.reset-wrap .auth-head h2 { color: #f4f8ff; font-size: 22px; margin: 0 0 6px; }
.reset-wrap .auth-head p { color: #a8c6ec; font-size: 14px; margin: 0; }
.reset-wrap .field label { color: #cfe0f5; font-size: 13px; font-weight: 600; }
.reset-wrap .field-hint { color: #7f9dc4; font-size: 12px; margin-top: 6px; }
.reset-wrap .field input {
  width: 100%; border-radius: 11px; padding: 12px 44px 12px 14px; font-size: 15px; color: #eaf2fb;
  background: rgba(4, 18, 36, .6); border: 1px solid rgba(124, 216, 255, .18); transition: border-color .15s, box-shadow .15s;
}
.reset-wrap .field input:focus { outline: none; border-color: #7cd8ff; box-shadow: 0 0 0 3px rgba(124, 216, 255, .18); }
.reset-wrap .field.invalid input { border-color: #ff8fa3; }
.reset-wrap .field-error { color: #ff8fa3; font-size: 12.5px; margin-top: 6px; }

/* password field: show/hide toggle */
.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; color: #8fb3dd; border-radius: 8px;
}
.pw-toggle:hover { color: #7cd8ff; }
.pw-toggle svg { width: 19px; height: 19px; }

/* password strength meter (colour only — language-neutral) */
.pw-strength { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.pw-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(124, 216, 255, .14); overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .25s ease, background .25s ease; }
.pw-strength.s1 .pw-bar i { width: 33%; background: #ff8fa3; }
.pw-strength.s2 .pw-bar i { width: 66%; background: #ffcf7a; }
.pw-strength.s3 .pw-bar i { width: 100%; background: #5ad598; }
.pw-label { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; min-width: 52px; text-align: right; }
.pw-strength.s1 .pw-label { color: #ff8fa3; }
.pw-strength.s2 .pw-label { color: #ffcf7a; }
.pw-strength.s3 .pw-label { color: #5ad598; }

.pw-match { font-size: 12.5px; margin-top: 7px; display: flex; align-items: center; gap: 6px; }
.pw-match svg { width: 15px; height: 15px; }
.pw-match.ok { color: #5ad598; }
.pw-match.no { color: #ff8fa3; }

.reset-wrap .btn-auth { width: 100%; margin-top: 4px; }
.reset-result { text-align: center; }
.reset-result-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 12px; }
.reset-result-icon svg { width: 32px; height: 32px; }
.reset-result-icon.ok { color: #5ad598; background: rgba(90, 213, 152, .14); box-shadow: 0 0 0 1px rgba(90, 213, 152, .3), 0 0 30px rgba(90, 213, 152, .2); }
.reset-result-icon.err { color: #ff8fa3; background: rgba(255, 143, 163, .14); box-shadow: 0 0 0 1px rgba(255, 143, 163, .3); }
.reset-result .btn { margin-top: 10px; }
.reset-msg-ok  { color: #eaf2fb; font-weight: 600; margin: 0 0 4px; font-size: 15.5px; }
.reset-msg-err { color: #ffb3c0; font-weight: 600; margin: 0 0 4px; font-size: 15.5px; }
.reset-foot { text-align: center; margin-top: 18px; color: #6f90b8; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---- Auth (logged out): login and register are separate cards ---- */
.account-auth { max-width: 1020px; margin: 0 auto; }
.auth-split {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: 26px;
  align-items: start;
}
.auth-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue-500);
  padding: 34px 34px 30px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.auth-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head h2 { font-size: 24px; font-weight: 700; }
.auth-head p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.auth-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue-600);
  margin-bottom: 14px;
}
/* Register card gets the "special offer" treatment */
.auth-register {
  border-top: none;
  background:
    radial-gradient(120% 90% at 90% -10%, rgba(77, 163, 255, 0.16) 0%, transparent 55%),
    var(--white);
  border: 1.5px solid var(--blue-400);
  box-shadow: 0 14px 40px rgba(46, 134, 222, 0.22);
}
.auth-register::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), #FFD166, var(--blue-400), var(--blue-700));
  background-size: 200% 100%;
  animation: bookingFrame 6s linear infinite;
}
.auth-reg-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.22em; text-indent: 0.22em; text-transform: uppercase;
  color: #B07E1E;
  background: rgba(255, 209, 102, 0.18);
  border: 1px solid rgba(255, 194, 75, 0.6);
  padding: 7px 18px; border-radius: 999px;
  margin-bottom: 14px;
}
.auth-perks {
  list-style: none; margin: 0 0 22px; padding: 14px 18px;
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 9px;
  text-align: left;
}
.auth-perks li {
  position: relative; padding-left: 28px;
  color: var(--ink-soft); font-size: 14.5px; line-height: 1.45;
}
.auth-perks li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232E86DE'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Vertical "or" divider between the two cards */
.auth-divider {
  align-self: stretch;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; width: 1.5px;
  background: linear-gradient(180deg, transparent, #C7DCF2, transparent);
}
.auth-divider span {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--sky-100);
  border-radius: 999px; padding: 7px 13px;
}
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-divider { flex-direction: row; padding: 0; }
  .auth-divider::before, .auth-divider::after { width: auto; height: 1.5px; background: linear-gradient(90deg, transparent, #C7DCF2, transparent); }
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn { margin-top: 6px; width: 100%; }
.field-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* ---- Confetti canvas (account created) ---- */
#confetti {
  position: fixed; inset: 0; z-index: 990;
  width: 100vw; height: 100vh;
  pointer-events: none;
  display: none;
}
#confetti.on { display: block; }

/* ---- Dashboard (logged in) ---- */
.dash { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.dash-side {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 26px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.dash-avatar {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 27px;
  letter-spacing: 0.03em; text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(46, 134, 222, 0.35);
}
.dash-username { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-900); margin-top: 8px; }
.dash-meta { font-size: 14px; color: var(--ink-soft); word-break: break-word; }
.dash-loyalty {
  width: 100%; margin-top: 18px; padding-top: 20px;
  border-top: 1px solid var(--sky-100);
}
.dash-loyalty h4 {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.loyalty-ring { position: relative; width: 118px; height: 118px; margin: 16px auto 0; }
.loyalty-ring svg { width: 118px; height: 118px; transform: rotate(-90deg); }
.loyalty-ring .ring-bg { fill: none; stroke: var(--sky-100); stroke-width: 9; }
.loyalty-ring .ring-fill {
  fill: none; stroke: url(#loyGrad); stroke-width: 9; stroke-linecap: round;
  transition: stroke-dashoffset 900ms var(--ease-out);
}
.loyalty-ring strong {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 24px;
  color: var(--navy-900); font-variant-numeric: tabular-nums;
}
.dash-loyalty p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-top: 14px; }
.dash-side .btn-logout { margin-top: 20px; width: 100%; }

.dash-main { min-width: 0; }
.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tabs button {
  border: 1.5px solid var(--sky-100);
  background: var(--white); color: var(--ink-soft);
  border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}
.dash-tabs button:hover { transform: translateY(-1px); border-color: var(--blue-400); }
.dash-tabs button.active {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-color: transparent; color: var(--white);
  box-shadow: 0 6px 18px rgba(46, 134, 222, 0.3);
}
.dash-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 16px; padding: 30px;
  min-height: 320px;
  display: none;
}
.dash-panel.active { display: block; animation: panelIn 350ms var(--ease-out); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
}
.empty-state {
  min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 20px;
}
.empty-state svg { color: var(--blue-400); opacity: 0.8; margin-bottom: 10px; }
.empty-state h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy-900); }
.empty-state p { color: var(--ink-soft); font-size: 15px; max-width: 380px; line-height: 1.55; }
.empty-state .btn { margin-top: 16px; }
.trip-list { display: flex; flex-direction: column; gap: 12px; }
.trip-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1.5px solid var(--sky-100); border-radius: var(--radius);
  padding: 16px 18px;
}
.trip-row strong { font-family: var(--font-head); color: var(--navy-900); }
.trip-row span { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .auth-card { padding: 26px 20px 24px; }
  .dash-panel { padding: 22px 18px; }
}

/* ============================================================
   PRESS RIPPLE — a wave expands from wherever a control is tapped
   (spans injected by main.js; skipped for reduced motion)
   ============================================================ */
.btn, .swap-btn, .gs-dot, .dash-tabs button, .trip-type label > span,
.pl-cal-grid button, .pl-cal-nav, #lang-btn, .btn-account, .btn-albania {
  position: relative;
}
.btn, .swap-btn, .gs-arrow, .gs-dot, .dash-tabs button, .trip-type label > span,
.pl-cal-grid button, .pl-cal-nav, #lang-btn, .btn-account, .btn-albania {
  overflow: hidden;
}
.pl-ripple {
  position: absolute; z-index: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: scale(0);
  pointer-events: none;
  animation: plRipple 600ms var(--ease-out) forwards;
}
@keyframes plRipple {
  to { transform: scale(1); opacity: 0; }
}
/* Springy press on the small round controls too */
.swap-btn:active, .pl-cal-nav:active, #lang-btn:active, .btn-account:active,
.dash-tabs button:active, .gs-dot:active { transform: scale(0.92); }
.gs-arrow:active { transform: translateY(-50%) scale(0.9); }

/* ============ ACCOUNT: STATE VISIBILITY & SIGN-UP DETAILS ============ */
/* display:grid/flex on these blocks would silently override the hidden
   attribute — the logged-out dashboard was showing beneath the forms. */
.account-auth[hidden], .dash[hidden], .dash-role[hidden] { display: none !important; }

.field-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-duo { grid-template-columns: 1fr; } }

.dash-role {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 6px auto 2px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #FFD166, #F6B40E);
  color: var(--navy-950);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.07em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(246, 180, 14, 0.35);
}

/* ============ PHONE COUNTRY-CODE SELECTOR ============ */
.phone-group { display: flex; gap: 8px; }
.phone-group input { flex: 1; min-width: 0; }

.cc-btn {
  height: 52px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid #D4E4F5; border-radius: var(--radius);
  background: var(--sky-50); color: var(--ink);
  cursor: pointer; touch-action: manipulation;
  position: relative; overflow: hidden; /* clips the press ripple */
  flex: 0 0 auto;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.cc-btn:hover { border-color: var(--blue-400); }
.cc-btn:focus-visible {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 134, 222, 0.15);
}
.cc-dial {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.cc-chev { color: var(--ink-soft); transition: transform var(--dur) var(--ease-out); }
.cc-btn[aria-expanded="true"] .cc-chev { transform: rotate(180deg); }

.cc-flag {
  width: 23px; height: 16px; flex: 0 0 auto;
  border-radius: 3px;
  background: var(--sky-100) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(10, 38, 71, 0.14);
}

.cc-menu {
  position: fixed; z-index: 1250;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid #E2EEF9; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-height: 330px;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(0.98);
  transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 220ms;
}
.cc-menu.open { opacity: 1; visibility: visible; transform: none; }

.cc-search {
  height: 42px; padding: 0 12px; margin-bottom: 6px;
  border: 1.5px solid #D4E4F5; border-radius: 10px;
  background: var(--sky-50); color: var(--ink);
  font-size: 16px; /* keeps iOS from zooming the page */
  flex: 0 0 auto;
}
.cc-search:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.15);
}

.cc-list { overflow-y: auto; flex: 1; list-style: none; margin: 0; padding: 0; }
.cc-list li {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 10px;
  border-radius: 9px; cursor: pointer;
  font-size: 14.5px;
}
.cc-list li:hover, .cc-list li.active { background: var(--sky-100); }
.cc-list li[aria-selected="true"] .cc-name { color: var(--blue-700); font-weight: 600; }
.cc-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-li-dial {
  color: var(--ink-soft); font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.cc-empty { padding: 14px 10px; text-align: center; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 560px) {
  .cc-menu.sheet {
    left: 12px !important; right: 12px; bottom: 12px !important; top: auto !important;
    width: auto !important; max-height: 62vh;
    transform-origin: bottom center;
  }
}

/* ============ WELCOME BACK SPLASH ============ */
.welcome-splash {
  position: fixed; inset: 0; z-index: 1400;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 100% at 50% 0%, #123B6D 0%, #0A2647 45%, #061A33 100%);
  overflow: hidden;
  pointer-events: none; /* a moment, not a gate — never traps a click */
  opacity: 0;
  transition: opacity 380ms ease;
}
.welcome-splash.in { opacity: 1; }
.welcome-splash.out { opacity: 0; transition: opacity 450ms ease; }

.ws-inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 24px; text-align: center;
  transform: translateY(22px) scale(0.92); opacity: 0;
  transition: transform 600ms cubic-bezier(0.34, 1.45, 0.5, 1), opacity 380ms ease 80ms;
}
.welcome-splash.in .ws-inner { transform: none; opacity: 1; }
.welcome-splash.out .ws-inner { transform: translateY(-16px) scale(0.96); opacity: 0; transition: transform 450ms ease, opacity 350ms ease; }

.ws-avatar {
  position: relative;
  width: 94px; height: 94px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 34px;
  letter-spacing: 0.03em; text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(46, 134, 222, 0.45);
}
.ws-avatar::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid rgba(133, 193, 255, 0.65);
  animation: wsPing 1.3s ease-out infinite;
}
@keyframes wsPing {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

.ws-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(26px, 5.4vw, 44px); line-height: 1.15;
  color: var(--white);
}
.ws-sub { font-size: clamp(15px, 2.4vw, 18px); color: var(--blue-300); }

.ws-wave {
  position: absolute; bottom: -6px; left: -260px;
  width: calc(100% + 520px); height: 120px;
  max-width: none; /* the global img/svg reset must not clamp it */
}
.ws-w1 { animation: wsDrift 5s ease-in-out infinite alternate; }
.ws-w2 { height: 90px; animation: wsDrift 3.6s ease-in-out infinite alternate-reverse; }
@keyframes wsDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(220px); }
}

/* ============================================================
   LIVE SCHEDULE (Certus)
   ============================================================ */
/* ============================================================
   HERO LIVE-CROSSING CARD — frosted glass, two bookable rows
   ============================================================ */
.hero-nextcard[hidden] { display: none; }
.hero-nextcard {
  margin-top: 30px;
  width: min(360px, 100%);
  padding: 7px 7px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: 0 14px 40px rgba(6, 26, 51, .34);
  animation: nc-pop .5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes nc-pop {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.nc-head {
  display: flex; align-items: center; gap: 9px;
  margin: 0; padding: 8px 12px 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.nc-live {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: nc-pulse 1.9s ease-out infinite;
}
@keyframes nc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.nc-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 11px;
  width: 100%; min-height: 52px;
  margin: 0; padding: 9px 12px;
  border: 0; border-radius: 14px;
  background: transparent; cursor: pointer;
  color: #fff; font: inherit; text-align: left;
  font-variant-numeric: tabular-nums;
  transition: background .18s ease, transform .12s ease;
}
.nc-row + .nc-row { margin-top: 2px; }
.nc-row:hover:not(:disabled),
.nc-row:focus-visible {
  background: rgba(255, 255, 255, .16);
  outline: none;
}
.nc-row:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.nc-row:active:not(:disabled) { transform: scale(.985); }
.nc-row:disabled { cursor: default; opacity: .5; }
.nc-arrow { flex: none; width: 20px; height: 20px; color: #9fd0ff; }
.nc-destwrap { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.nc-dest { font-weight: 700; font-size: 15px; }
.nc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 1.55; white-space: nowrap;
}
.nc-badge[hidden] { display: none; }
.nc-badge--low  { background: rgba(245, 158, 11, .2);  color: #ffd28a; border: 1px solid rgba(245, 158, 11, .42); }
.nc-badge--full { background: rgba(225, 29, 72, .22);  color: #ffb3c1; border: 1px solid rgba(225, 29, 72, .48); }
.nc-warn { width: 13px; height: 13px; flex: none; }
.nc-row--full .nc-time,
.nc-row--full .nc-arrow { color: rgba(255, 255, 255, .6); }
.nc-when { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.nc-time { font-weight: 800; font-size: 17px; }
.nc-in { font-size: 12px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.nc-chev { flex: none; width: 18px; height: 18px; color: rgba(255, 255, 255, .55);
           transition: transform .18s ease; }
.nc-row:hover:not(:disabled) .nc-chev { transform: translateX(3px); color: rgba(255, 255, 255, .9); }
@media (prefers-reduced-motion: reduce) {
  .hero-nextcard { animation: none; }
  .nc-live { animation: none; }
}
@media (max-width: 768px) {
  .hero-nextcard { margin-left: auto; margin-right: auto; }
}

/* ---- Live Paxos weather widget (floating glass card in the hero) ---- */
.hero-wx[hidden] { display: none; }
.hero-wx {
  position: absolute; z-index: 3;
  top: clamp(84px, 12vh, 128px); right: clamp(14px, 4vw, 56px);
  width: 150px; padding: 14px 16px 13px; text-align: center; color: #fff;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 14px 40px rgba(6, 26, 51, .34);
  opacity: 0; transform: translateY(-8px) scale(.96);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.hero-wx.show { opacity: 1; transform: none; }
.hero-wx-head { display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero-wx-pin { width: 13px; height: 13px; flex: none; }
.hero-wx-live { width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-left: 3px; flex: none;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: nc-pulse 1.9s ease-out infinite; }
.hero-wx-body { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 7px 0 9px; }
.hero-wx-glyph { width: 46px; height: 46px; flex: none; }
.hero-wx-temp { font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-wx-temp sup { font-size: 15px; font-weight: 700; top: -.75em; }
.hero-wx-foot { display: flex; align-items: center; justify-content: center; gap: 13px;
  padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-wx-stat { display: inline-flex; align-items: center; gap: 4px; }
.hero-wx-mini { width: 15px; height: 15px; flex: none; }
.hero-wx-stat small { font-size: 9px; font-weight: 600; opacity: .8; margin-left: 1px; }
.hero-wx.wx-windy { border-color: rgba(245, 158, 11, .5); }
.hero-wx.wx-windy .hero-wx-foot { color: #ffd28a; }
@media (prefers-reduced-motion: reduce) {
  .hero-wx { transition: opacity .3s ease; transform: none; }
  .hero-wx-live { animation: none; }
}
/* Mobile: compact horizontal pill, tucked top-right above the headline */
@media (max-width: 720px) {
  .hero-wx {
    top: 70px; right: 8px; width: auto; max-width: 64vw; padding: 7px 13px;
    display: flex; align-items: center; gap: 10px; text-align: left; border-radius: 999px;
  }
  .hero-wx-head { display: none; }
  .hero-wx-body { margin: 0; gap: 5px; }
  .hero-wx-glyph { width: 26px; height: 26px; }
  .hero-wx-temp { font-size: 20px; }
  .hero-wx-temp sup { font-size: 11px; }
  .hero-wx-foot { padding-top: 0; border-top: 0; gap: 10px; font-size: 12px; }
}

.sched-datebar { display: flex; justify-content: center; margin-bottom: 28px; }
.sched-field { width: 230px; }
.sched-field input {
  height: 48px; padding: 0 16px; text-align: center; cursor: pointer;
  border: 1.5px solid rgba(27, 79, 156, .25); border-radius: 12px;
  background: var(--white); color: var(--navy-950); font: inherit; font-weight: 600;
}
.sched-field input:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 134, 222, .15);
}
tbody.sched-loading { opacity: .35; transition: opacity 200ms ease; }

/* Loading shimmer (timetable + search results) */
.skel {
  display: block; height: 13px; border-radius: 6px; width: 70%;
  background: linear-gradient(90deg,
    rgba(27, 79, 156, .09) 25%, rgba(27, 79, 156, .18) 37%, rgba(27, 79, 156, .09) 63%);
  background-size: 400% 100%;
  animation: skelShimmer 1.3s ease infinite;
}
.sched-skel td { padding-top: 15px; padding-bottom: 15px; }
.sched-skel td:nth-child(3) .skel { width: 85%; }
.sched-err { color: #c81e46; text-align: center; }
.bkr-card.bkr-skel {
  display: flex; align-items: center; gap: 18px; pointer-events: none;
  cursor: default; grid-template-columns: none;
}
.bkr-skel .skel:nth-child(1) { width: 92px; }
.bkr-skel .skel:nth-child(2) { flex: 1; }
.bkr-skel .skel:nth-child(3) { width: 70px; }
@keyframes skelShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
tr.sched-departed td { color: #9aa7b6; text-decoration: line-through;
                       text-decoration-color: rgba(154, 167, 182, .7); }
/* Admin-closed crossing — struck out in red with the reason */
/* Admin-closed crossing — bold red so it can't be missed, reason spelled out */
tr.sched-closed td {
  color: #c81e46; background: rgba(225, 29, 72, .07);
  text-decoration: line-through; text-decoration-color: rgba(200, 30, 70, .5);
}
tr.sched-closed td:first-child { box-shadow: inset 4px 0 0 #e11d48; }
.sched-clbadge {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 10px;
  padding: 4px 12px 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; vertical-align: middle;
  background: linear-gradient(120deg, #f43f5e, #e11d48); color: #fff;
  box-shadow: 0 3px 10px rgba(225, 29, 72, .38);
}
.sched-clbadge::before { content: "\26A0"; font-size: 12px; line-height: 1; }

/* ============================================================
   LIVE SEARCH RESULTS (Certus)
   ============================================================ */
.bk-results { padding: 26px 0 56px; }
.bkr-title { font-size: 26px; color: var(--navy-950); margin-bottom: 18px; }
.bkr-group { margin-bottom: 26px; }
.bkr-group-title {
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 12px; font-weight: 700;
}
.bkr-card {
  display: grid; grid-template-columns: 1.2fr 1fr auto auto;
  gap: 18px; align-items: center; width: 100%; text-align: left;
  background: var(--white); border: 2px solid rgba(27, 79, 156, .14);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 10px;
  cursor: pointer; font: inherit; color: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.bkr-card:hover { border-color: rgba(27, 79, 156, .4); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.bkr-card:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.bkr-card.picked {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, .18), 0 10px 28px rgba(46, 134, 222, .25);
  animation: bkrPop 320ms cubic-bezier(.3, 1.4, .5, 1);
}
@keyframes bkrPop { 0% { transform: scale(1); } 45% { transform: scale(1.015); } 100% { transform: scale(1); } }
.bkr-card.soldout { opacity: .55; cursor: not-allowed; }
.bkr-card.soldout:hover { transform: none; box-shadow: none; border-color: rgba(27, 79, 156, .14); }
/* Already-departed crossing: kept visible, softly greyed, time struck, not selectable.
   Neutral (not alarming) — a departed ferry is just in the past. */
.bkr-card.bkr-departed { opacity: .68; cursor: not-allowed; background: #f4f7fb; }
.bkr-card.bkr-departed:hover { transform: none; box-shadow: none; border-color: rgba(27, 79, 156, .14); }
.bkr-card.bkr-departed .bkr-times b { text-decoration: line-through; text-decoration-color: rgba(10, 38, 71, .4); color: #5a6b7f; }
.bkr-departed-tag { display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 700;
  color: #46586c; background: rgba(90, 107, 127, .16); border: 1px solid rgba(90, 107, 127, .32);
  padding: 2px 10px; border-radius: 999px; }

/* availability dolphin */
.bkr-av { display: inline-flex; margin-left: 8px; vertical-align: -4px;
          filter: drop-shadow(0 1px 2px rgba(10, 38, 71, .25)); }
.bkr-av svg { display: block; }

/* struck-out regular fare above the offer price */
.bkr-strike { display: block; font-size: 13px; color: rgba(10, 38, 71, .45);
              text-decoration-thickness: 2px; text-decoration-color: rgba(225, 29, 72, .65);
              font-variant-numeric: tabular-nums; }
.bkr-times b { font-size: 19px; color: var(--navy-950); display: block; }
.bkr-dur { font-size: 12.5px; color: var(--blue-700); }
.bkr-vessel b { display: block; font-size: 14.5px; color: var(--navy-950); }
.bkr-vessel span { font-size: 12px; color: var(--blue-700); text-transform: capitalize; }
/* ---- Scarcity / "limited availability" state ----
   Low tier (≤15): amber. Hot tier (≤6): red + a gentle glow pulse on the whole
   card. A live pulsing dot + a "Book now" nudge reinforce the urgency without
   relying on colour alone. All motion is disabled under reduced-motion. */
.bkr-seatsleft { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px;
  font-size: 11.5px; font-weight: 800; --pulse: rgba(180, 83, 9, .5);
  color: #b45309; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35);
  padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.bkr-seatsleft--hot { --pulse: rgba(225, 29, 72, .5);
  color: #c81e46; background: rgba(225, 29, 72, .12); border-color: rgba(225, 29, 72, .32); }
.bkr-seatsleft-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  flex: none; animation: seatPulse 1.5s ease-out infinite; }
@keyframes seatPulse {
  0%   { box-shadow: 0 0 0 0 var(--pulse); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.bkr-booknow { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: #b45309; }
.bkr-urgent .bkr-booknow::after { content: " →"; }
.bkr-urgent--hot .bkr-booknow { color: #c81e46; }

.bkr-card.bkr-urgent {
  border-color: rgba(245, 158, 11, .5);
  background: linear-gradient(180deg, rgba(255, 248, 237, .85), var(--white) 58%);
}
.bkr-card.bkr-urgent:hover { border-color: rgba(245, 158, 11, .8); }
.bkr-card.bkr-urgent--hot {
  border-color: rgba(225, 29, 72, .55);
  background: linear-gradient(180deg, rgba(255, 241, 243, .92), var(--white) 58%);
  box-shadow: 0 0 0 1px rgba(225, 29, 72, .1), 0 8px 22px rgba(225, 29, 72, .12);
  animation: bkrHot 2.6s ease-in-out infinite;
}
.bkr-card.bkr-urgent--hot:hover { border-color: rgba(225, 29, 72, .85); }
@keyframes bkrHot {
  0%, 100% { box-shadow: 0 0 0 1px rgba(225, 29, 72, .1),  0 8px 22px rgba(225, 29, 72, .12); }
  50%      { box-shadow: 0 0 0 1px rgba(225, 29, 72, .26), 0 10px 30px rgba(225, 29, 72, .26); }
}
@media (prefers-reduced-motion: reduce) {
  .bkr-card.bkr-urgent--hot { animation: none; }
  .bkr-seatsleft-dot { animation: none; }
}
/* Admin-closed crossing in the booking results — clearly blocked, reason shown */
.bkr-card.bkr-closed {
  cursor: not-allowed;
  border: 1.5px solid rgba(225, 29, 72, .5) !important;
  background: rgba(225, 29, 72, .06);
  box-shadow: 0 4px 16px rgba(225, 29, 72, .12);
}
.bkr-card.bkr-closed .bkr-times b { color: #c81e46; text-decoration: line-through;
  text-decoration-color: rgba(200, 30, 70, .5); }
.bkr-card.bkr-closed .bkr-price b { color: #c81e46; }
.bkr-closed-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  padding: 5px 13px 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .01em;
  background: linear-gradient(120deg, #f43f5e, #e11d48); color: #fff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, .38);
}
.bkr-closed-tag::before { content: "\26A0"; font-size: 13px; line-height: 1; }
/* the round "select" control becomes a clear red ✕ on a closed crossing */
.bkr-pick.bkr-pick--closed { background: rgba(225, 29, 72, .12); color: #c81e46; box-shadow: none; }
.bkr-pick--closed .bkr-check { display: none; }
.bkr-pick--closed::after { content: "✕"; font-weight: 800; font-size: 16px; }
.bkr-price { text-align: right; }
.bkr-price b { display: block; font-size: 20px; color: var(--blue-700); }
.bkr-price span { font-size: 11.5px; color: rgba(10, 38, 71, .6); }
.bkr-pick {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: rgba(46, 134, 222, .1); color: var(--blue-700); white-space: nowrap;
  transition: background 220ms ease, color 220ms ease;
}
.bkr-pick em { font-style: normal; }
.bkr-check { flex: none; }
.bkr-check .c { stroke: rgba(46, 134, 222, .35); transition: stroke 220ms ease, fill 220ms ease; }
.bkr-check .k { stroke: var(--blue-500); stroke-dasharray: 22; stroke-dashoffset: 22; }
.bkr-card.picked .bkr-pick { background: var(--blue-500); color: var(--white); }
.bkr-card.picked .bkr-check .c { stroke: var(--white); fill: rgba(255, 255, 255, .12); }
.bkr-card.picked .bkr-check .k {
  stroke: var(--white);
  animation: bkrTick 360ms 80ms cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes bkrTick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bkr-card.picked { animation: none; }
  .bkr-card.picked .bkr-check .k { animation: none; stroke-dashoffset: 0; }
}
.bkr-none { color: rgba(10, 38, 71, .7); font-size: 15px; }
.bkr-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--navy-900, #0A2647); color: var(--white);
  border-radius: 14px; padding: 16px 20px; margin-top: 6px;
}
.bkr-bar-info { font-size: 13.5px; opacity: .85; }
.bkr-bar-total { font-size: 24px; font-weight: 800; margin-right: auto; font-variant-numeric: tabular-nums; }
.bkr-go { min-width: 220px; }
.bkr-go:disabled { opacity: .45; cursor: not-allowed; }
.bkr-note { font-size: 12.5px; color: rgba(10, 38, 71, .6); margin-top: 8px; }
@media (max-width: 768px) {
  .bkr-card { grid-template-columns: 1fr auto; }
  .bkr-vessel { grid-column: 1; }
  .bkr-price { grid-column: 2; grid-row: 1; }
  .bkr-pick { grid-column: 2; justify-self: end; }
  .bkr-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .bkr-bar-total { margin-right: 0; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #intro { display: none; }
}

/* ================= LOYALTY REWARD BAND (homepage, below booking) ================= */
.reward-band {
  background: linear-gradient(120deg, #0A2647 0%, #123B6D 100%);
  color: #fff; padding: 26px 0; position: relative; overflow: hidden;
}
.reward-band-inner { display: flex; align-items: center; gap: 22px; }
.reward-band-icon {
  flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eab84d, #ffd98a); color: #082140;
  box-shadow: 0 8px 20px rgba(234, 184, 77, .35);
}
.reward-band-text { flex: 1 1 auto; min-width: 0; }
.reward-band-kicker {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #ffd98a; font-weight: 700; margin: 0 0 2px;
}
.reward-band-text h2 { font-size: clamp(20px, 3vw, 26px); margin: 0 0 4px; color: #fff; }
.reward-band-sub { font-size: 14.5px; color: #cfe0f5; margin: 0; max-width: 62ch; line-height: 1.55; }
.reward-band-cta { flex: none; }
@media (max-width: 760px) {
  .reward-band-inner { flex-direction: column; text-align: center; gap: 14px; }
  .reward-band-sub { max-width: none; }
  .reward-band-cta { width: 100%; max-width: 340px; }
}

/* ================= LOYALTY REWARD CARD (account dashboard) ================= */
.reward-card {
  background: #fff; border: 1px solid #e4edf7; border-radius: 18px;
  padding: 22px 24px; margin-bottom: 20px; position: relative; overflow: hidden;
  box-shadow: 0 12px 34px rgba(10, 38, 71, .06);
}
.reward-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, #2E86DE, #4DA3FF, #eab84d);
}
.reward-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.reward-badge {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eab84d, #ffd98a); color: #082140;
}
.reward-head h2 { font-size: 19px; margin: 0; color: #0A2647; }
.reward-sub { font-size: 13.5px; color: #5a7a9a; margin: 2px 0 0; }
.reward-progress { margin-bottom: 6px; }
.reward-bar { height: 12px; border-radius: 999px; background: #e9f1fb; overflow: hidden; }
.reward-bar > span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #2E86DE, #4DA3FF);
  transition: width .5s cubic-bezier(.2, .9, .3, 1);
}
.reward-progress-text { font-size: 13.5px; color: #33465c; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.reward-claim {
  margin: 16px 0 6px; padding: 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 184, 77, .12), rgba(124, 216, 255, .12));
  border: 1px solid rgba(234, 184, 77, .4);
}
.reward-ready { font-size: 16px; font-weight: 700; color: #0A2647; margin: 0 0 12px; }
.reward-form { margin-top: 14px; }
.reward-form textarea {
  width: 100%; border: 1px solid #cfe0f5; border-radius: 10px; padding: 12px; font: inherit;
  font-size: 15px; color: #0A2647; resize: vertical; min-height: 96px; background: #f7fbff;
}
.reward-form textarea:focus { outline: none; border-color: #2E86DE; box-shadow: 0 0 0 3px rgba(46, 134, 222, .18); }
.reward-form .invalid textarea { border-color: #c0392b; }
.reward-form-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.reward-note { font-size: 12.5px; color: #5a7a9a; margin: 10px 0 0; line-height: 1.55; }

/* ================= LOYALTY — ALIVE (animation layer) ================= */
/* Homepage band: shine sweep, floating sparkles, bobbing gift, wave foot */
.reward-band::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(124, 216, 255, .14), transparent);
  transform: skewX(-16deg); pointer-events: none; z-index: 1;
  animation: rbShine 6.5s ease-in-out infinite;
}
@keyframes rbShine { 0%, 55% { left: -60%; } 100% { left: 150%; } }
.reward-band-inner { position: relative; z-index: 2; }
.rb-spark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.rb-spark i {
  position: absolute; bottom: -8px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe6a8, #eab84d); opacity: 0;
  box-shadow: 0 0 8px rgba(234, 184, 77, .7); animation: rbFloat 7s ease-in infinite;
}
.rb-spark i:nth-child(1) { left: 6%;  animation-delay: 0s;   }
.rb-spark i:nth-child(2) { left: 20%; animation-delay: 1.4s; width: 5px; height: 5px; }
.rb-spark i:nth-child(3) { left: 38%; animation-delay: 2.8s; }
.rb-spark i:nth-child(4) { left: 55%; animation-delay: .8s;  width: 5px; height: 5px; }
.rb-spark i:nth-child(5) { left: 72%; animation-delay: 3.6s; }
.rb-spark i:nth-child(6) { left: 86%; animation-delay: 2.1s; width: 6px; height: 6px; }
.rb-spark i:nth-child(7) { left: 94%; animation-delay: 4.4s; }
@keyframes rbFloat {
  0%   { transform: translateY(0) scale(.5);   opacity: 0; }
  15%  { opacity: .95; }
  100% { transform: translateY(-96px) scale(1); opacity: 0; }
}
.reward-band-icon { animation: rbBob 3.2s ease-in-out infinite; }
@keyframes rbBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-5px) rotate(3deg); }
}
.rb-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 24px; z-index: 1; }
.rb-wave path { fill: rgba(124, 216, 255, .10); }
.reward-band-cta { position: relative; overflow: hidden; }
.reward-band-cta::after {
  content: ""; position: absolute; top: 0; left: -85%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg); animation: rbCtaShine 4s ease-in-out infinite;
}
@keyframes rbCtaShine { 0%, 62% { left: -85%; } 100% { left: 150%; } }

/* Account card: voyage progress track + ferry marker + unlocking gift */
.reward-card { animation: rewardIn .5s cubic-bezier(.2,.9,.3,1.05) both; }
@keyframes rewardIn { from { opacity: 0; transform: translateY(12px); } }
.reward-track { display: flex; align-items: center; gap: 12px; padding-top: 22px; }
.rt-line {
  position: relative; flex: 1 1 auto; height: 12px; border-radius: 999px;
  background: #e9f1fb; box-shadow: inset 0 1px 2px rgba(10, 38, 71, .1);
  /* faint milestone ticks every 20% */
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1.5px), rgba(46,134,222,.18) calc(20% - 1.5px) 20%);
}
.rt-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #2E86DE, #4DA3FF);
  transition: width .8s cubic-bezier(.2, .9, .3, 1); overflow: hidden;
}
.rt-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  width: 70px; transform: translateX(-70px); animation: rtShine 1.8s linear infinite;
}
@keyframes rtShine { to { transform: translateX(280px); } }
.rt-ferry {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -150%);
  transition: left .8s cubic-bezier(.2, .9, .3, 1); z-index: 3; will-change: left;
}
.rt-ferry svg { display: block; filter: drop-shadow(0 3px 4px rgba(10, 38, 71, .28)); animation: rtBob 2.6s ease-in-out infinite; }
@keyframes rtBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-3px) rotate(2deg); }
}
.rt-gift { flex: none; color: #9db8d8; transition: color .3s ease, transform .3s ease; }
.rt-gift svg { display: block; }
.reward-card.ready .rt-gift {
  color: #eab84d; filter: drop-shadow(0 0 6px rgba(234, 184, 77, .55));
  animation: rtGift 1.7s ease-in-out infinite;
}
@keyframes rtGift {
  0%, 100% { transform: scale(1) rotate(0); }
  25%      { transform: scale(1.14) rotate(-7deg); }
  75%      { transform: scale(1.14) rotate(7deg); }
}
/* Reward-ready state: sheen sweep + pulsing claim button */
.reward-card.ready::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -55%; width: 42%;
  background: linear-gradient(105deg, transparent, rgba(124, 216, 255, .16), transparent);
  transform: skewX(-15deg); pointer-events: none; animation: rewardSheen 4.8s ease-in-out infinite;
}
@keyframes rewardSheen { 0%, 42% { left: -55%; } 100% { left: 135%; } }
.reward-claim { animation: rewardClaimIn .45s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes rewardClaimIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.reward-card.ready #reward-claim-btn { animation: rewardPulse 1.9s ease-in-out infinite; }
@keyframes rewardPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(234, 184, 77, .3), 0 0 0 0 rgba(234, 184, 77, .5); }
  50%      { box-shadow: 0 12px 30px rgba(234, 184, 77, .45), 0 0 0 12px rgba(234, 184, 77, 0); }
}
#reward-claim-btn { transition: transform .16s ease; }
#reward-claim-btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .reward-band::before, .rb-spark i, .reward-band-icon, .reward-band-cta::after,
  .rt-fill::after, .rt-ferry svg, .reward-card.ready .rt-gift, .reward-card.ready::after,
  .reward-card.ready #reward-claim-btn, .reward-card, .reward-claim { animation: none !important; }
  .rt-fill, .rt-ferry { transition: none !important; }
}

/* ================= Account panels: trips / tickets / billing rows ================= */
.trip-main { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.trip-route { font-size: 16px; }
.trip-when { color: var(--ink-soft); font-size: 14px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; align-items: center; }
.trip-meta span { font-size: 12.5px; }
.trip-chip {
  background: #eef5ff; color: #123B6D; border: 1px solid #dbe9fb;
  padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.trip-ret { color: var(--blue-700); font-weight: 600; }
.bill-row { justify-content: space-between; }
.bill-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.bill-paid { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #2e9e6a; font-weight: 700; }
.bill-amt { font-size: 18px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.site-notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 46px 10px 16px; font-weight: 600; font-size: 14.5px; line-height: 1.4;
  text-align: center; box-shadow: 0 3px 14px rgba(6, 26, 51, 0.28);
}
.site-notice .sn-text { max-width: 1000px; }
.site-notice.notice-info    { background: linear-gradient(120deg, #4DA3FF, #85C1FF); color: #052a52; }
.site-notice.notice-warning { background: linear-gradient(120deg, #eab84d, #ffd98a); color: #4a2f00; }
.site-notice.notice-alert   { background: linear-gradient(120deg, #e0564a, #ff8f80); color: #3a0a04; }
.site-notice .sn-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, 0.14); color: inherit; font-size: 20px; line-height: 1;
  display: grid; place-items: center;
}
.site-notice .sn-close:hover { background: rgba(0, 0, 0, 0.24); }
/* Push the fixed header and the page content below the fixed notice */
body.has-notice { padding-top: var(--notice-h, 0); }
body.has-notice #site-header { top: var(--notice-h, 0); }
@media (prefers-reduced-motion: reduce) { .site-notice { box-shadow: none; } }
.ticket-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket-actions .btn { padding: 10px 16px; font-size: 13.5px; min-height: 44px; }
@media (max-width: 560px) {
  .ticket-actions { width: 100%; }
  .ticket-actions .btn { flex: 1 1 auto; }
}
