/* ==========================================================================
   JalRide — Design Tokens
   Palette: deep river ink + working teal + marigold sunrise accent
   (marigold nods to the diyas/garlands sold at Indian ghats)
   Type: Fraunces (display, a little wet & wavy in its curves) + Work Sans
   (body) + IBM Plex Mono (ticket / data figures)
   Signature: the "current line" — a hand-drawn wave rule used as a divider,
   underline and loader; and the torn-stub ticket card.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* colors */
  --ink: #0a2e36;
  --deep: #0e4550;
  --teal: #146b79;
  --teal-light: #4c97a3;
  --teal-mist: #dcedec;
  --mist: #eaf4f3;
  --paper: #f6faf9;
  --white: #ffffff;
  --sun: #e8963c;
  --sun-deep: #c97324;
  --sun-mist: #fbe8cf;
  --success: #2f9e68;
  --success-mist: #e2f5ea;
  --danger: #c1443a;
  --danger-mist: #fbe6e3;
  --line: rgba(10, 46, 54, 0.12);

  /* type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* rhythm */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-soft: 0 12px 32px rgba(10, 46, 54, 0.1);
  --shadow-lift: 0 20px 48px rgba(10, 46, 54, 0.16);
  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--deep); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--sun-deep);
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--mist { background: var(--mist); }
.section--ink {
  background: linear-gradient(180deg, var(--ink), var(--deep));
  color: var(--white);
}
.section--ink p { color: rgba(255,255,255,0.78); }
.section--ink h2, .section--ink h3 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 0.35em; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- current-line signature ---------- */
.current-divider {
  display: block;
  width: 100%;
  height: 46px;
  color: var(--teal-light);
}
.current-divider path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.current-rule {
  display: block;
  width: 84px;
  height: 14px;
  margin: 14px 0 22px;
  color: var(--sun);
}
.current-rule path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(232, 150, 60, 0.35);
}
.btn-primary:hover { background: var(--sun-deep); transform: translateY(-2px); color: var(--white); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--deep); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 249, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand svg { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--deep);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--sun);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span::after { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- auth area (nav) ---------- */
.auth-area { display: flex; align-items: center; gap: 10px; }
.auth-links { display: flex; align-items: center; gap: 10px; }
.auth-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  border-radius: 100px;
  background: var(--mist);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.auth-user-pill .avatar-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}
.auth-user-pill button {
  background: none; border: none; color: var(--teal); font-weight: 600; font-size: 0.78rem;
  text-decoration: underline;
}
@media (max-width: 620px) {
  .auth-links a:not(.primary-auth-link) { display: none; }
  .auth-user-pill span.name-text { display: none; }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    background: var(--paper);
    padding: 28px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 15% 0%, #12545f 0%, var(--deep) 46%, var(--ink) 100%);
  color: var(--white);
  padding: 76px 0 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  color: var(--white);
}
.hero-copy .lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-stats div span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.hero-art { position: relative; }
.hero-boat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-l);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.hero-boat-card svg { width: 100%; height: auto; border-radius: var(--radius-m); }
.hero-boat-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.hero-boat-meta .name { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); }
.hero-boat-meta .price { font-family: var(--font-mono); color: var(--sun); font-weight: 600; }

.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 1;
}
.hero-waves svg { width: 100%; height: auto; display: block; }

.hero-current-anim path {
  stroke-dasharray: 6 10;
  animation: flow 3.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -160; } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- feature / info cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-mist);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- steps (real sequence: search -> book -> sail) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 34px; } }
.step { position: relative; padding: 0 22px; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sun-deep);
  background: var(--sun-mist);
  border-radius: 100px;
  padding: 4px 11px;
  display: inline-block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.93rem; }

/* ---------- boat card (ticket-stub styling) ---------- */
.boat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.boat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.boat-card__art { position: relative; background: linear-gradient(160deg, var(--teal-mist), var(--mist)); }
.boat-card__art svg { width: 100%; height: 170px; }
.badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 100px;
  text-transform: uppercase;
}
.badge--available { background: var(--success-mist); color: var(--success); }
.badge--limited { background: var(--sun-mist); color: var(--sun-deep); }
.badge--full { background: var(--danger-mist); color: var(--danger); }

.boat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.boat-card__body h3 { font-size: 1.15rem; margin-bottom: 0; }
.boat-card__loc {
  font-size: 0.86rem;
  color: var(--teal);
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.boat-card__loc svg { width: 15px; height: 15px; }
.boat-card__stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 4px;
}
.boat-card__stats div span { display: block; font-size: 0.72rem; color: var(--teal-light); text-transform: uppercase; letter-spacing: .04em; }
.boat-card__stats div strong { font-family: var(--font-mono); font-size: 1rem; }
.boat-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.boat-card__price strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.boat-card__price span { font-size: 0.78rem; color: var(--teal-light); }

/* ---------- filter bar ---------- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  box-shadow: var(--shadow-soft);
  margin-top: -64px;
  position: relative;
  z-index: 3;
}
@media (max-width: 980px) { .filter-bar { grid-template-columns: 1fr 1fr; margin-top: 26px; } }
@media (max-width: 560px) { .filter-bar { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
}
.field input, .field select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 13px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--teal); outline: none; }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 22px; flex-wrap: wrap; gap: 10px;}
.results-count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--teal); }
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-m);
  color: var(--teal);
}

/* ---------- safety section ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-card {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-m);
  padding: 26px 22px;
}
.safety-card .feature-icon { background: rgba(232,150,60,0.16); color: var(--sun); }
.safety-card h3 { color: var(--white); font-size: 1.05rem; }
.safety-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- booking layout ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: flex-start;
}
@media (max-width: 960px) { .booking-layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.panel h2 { font-size: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--deep);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  background: var(--paper);
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--teal); outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field .error-msg {
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--danger); background: var(--danger-mist); }
.form-field.has-error .error-msg { display: block; }

.summary-card {
  position: sticky;
  top: 96px;
  background: linear-gradient(160deg, var(--ink), var(--deep));
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 30px;
}
.summary-card h3 { color: var(--white); font-size: 1.1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 0.92rem; }
.summary-row span:first-child { color: rgba(255,255,255,0.68); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.summary-total strong { font-family: var(--font-display); font-size: 2rem; color: var(--sun); }
.summary-note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 14px; }

/* ---------- ticket ---------- */
.ticket {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: 1fr 220px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 760px;
}
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  background: var(--paper);
  border-radius: 50%;
  right: 202px;
  z-index: 2;
}
.ticket::before { top: -13px; }
.ticket::after { bottom: -13px; }
.ticket-main { padding: 34px; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 18px; margin-bottom: 18px;}
.ticket-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.ticket-brand svg { width: 26px; height: 26px; }
.ticket-id { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal); text-align: right; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.ticket-field span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-light); margin-bottom: 4px; }
.ticket-field strong { font-size: 0.98rem; font-weight: 600; }
.ticket-stub {
  background: var(--ink);
  color: var(--white);
  padding: 28px 22px;
  border-left: 2px dashed rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.ticket-stub .qr { background: var(--white); border-radius: 8px; padding: 8px; }
.ticket-stub .qr svg { width: 96px; height: 96px; display: block; }
.ticket-stub .fare { font-family: var(--font-mono); font-size: 1.3rem; color: var(--sun); }
.ticket-stub small { color: rgba(255,255,255,0.6); font-size: 0.68rem; letter-spacing: 0.04em; }
.ticket-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-stub { border-left: none; border-top: 2px dashed rgba(255,255,255,0.25); }
}

.saved-tickets { margin-top: 60px; }
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.ticket-row .meta strong { display: block; font-size: 0.98rem; }
.ticket-row .meta span { font-size: 0.8rem; color: var(--teal); font-family: var(--font-mono); }

/* ---------- contact / about ---------- */
.about-hero { padding-top: 56px; }
.value-list { display: grid; gap: 16px; margin-top: 24px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .num { font-family: var(--font-mono); color: var(--sun-deep); font-weight: 600; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-wrap { grid-template-columns: 1fr; } }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.social-row a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.form-success {
  display: none;
  background: var(--success-mist);
  color: var(--success);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--success); }

/* ---------- loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-boat { width: 92px; height: 92px; }
.loader-wake path {
  stroke-dasharray: 5 8;
  animation: flow 1.6s linear infinite;
}
.loader-hull { animation: bob 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-body); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- print (ticket) ---------- */
@media print {
  .nav, .footer, .ticket-actions, .page-loader, .toast, .no-print { display: none !important; }
  body { background: white; }
  .ticket { box-shadow: none; border: 1.5px solid #ccc; }
}

/* ---------- misc ---------- */
.page-hero {
  padding: 150px 0 64px;
  background: linear-gradient(180deg, var(--ink), var(--deep));
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }
.spacer-32 { height: 32px; }
