/* ================================================================
   ΑΙΓΑΊΟ LINK v2 — Ferry Terminal / Coastal Modern
   palette: #0c2340 navy · #1a9bb0 azure · #d97706 amber · #eef2f6 surface
   fonts: Fraunces (display) · DM Sans (body) · JetBrains Mono (data)
   ================================================================ */

/* --- Variables -------------------------------------------------- */
:root {
  --navy:       #0c2340;
  --navy-deep:  #071628;
  --navy-mid:   #12304e;
  --navy-lift:  #1c4068;
  --azure:      #1a9bb0;
  --azure-lt:   #3bbdcf;
  --azure-wash: rgba(26,155,176,0.13);
  --azure-glow: rgba(26,155,176,0.35);
  --amber:      #d97706;
  --amber-lt:   #f59e0b;
  --amber-wash: rgba(217,119,6,0.11);
  --surface:    #eef2f6;
  --surface-2:  #dde6ef;
  --white:      #ffffff;
  --ink:        #1a2d42;
  --ink-soft:   #3d5270;
  --ink-mute:   #7089a4;
  --ruler:      rgba(26,155,176,0.18);
  --ruler-navy: rgba(255,255,255,0.08);

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "DM Sans", system-ui, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;

  --pad:     clamp(1rem, 4vw, 2.5rem);
  --max-w:   1200px;
  --r-sm:    3px;
  --r:       6px;
  --r-lg:    12px;
  --r-pill:  999px;

  --sh:    0 2px 8px rgba(7,22,40,0.11), 0 1px 2px rgba(7,22,40,0.07);
  --sh-lg: 0 8px 32px rgba(7,22,40,0.17), 0 2px 8px rgba(7,22,40,0.09);
}

/* --- Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy);
}

a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--azure-lt); }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* --- Shell (container) ----------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --- Skip link -------------------------------------------------- */
.skip {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.4rem 0.9rem;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 700; border-radius: var(--r);
  transition: top 0.15s;
}
.skip:focus { top: 0.5rem; }

/* --- Language toggle ------------------------------------------- */
.lang-en { display: none; }
html[lang="en"] .lang-en { display: inline; }
html[lang="en"] .lang-el { display: none; }
.lang-en.block { display: none; }
html[lang="en"] .lang-en.block { display: block; }
.lang-el.block { display: block; }
html[lang="en"] .lang-el.block { display: none; }

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--ruler-navy);
  position: sticky; top: 0; z-index: 200;
}

.topbar-inner {
  display: flex; align-items: center; gap: 0.85rem;
  height: 2.5rem;
  font-size: 0.7rem;
  font-family: var(--ff-mono);
}

.topbar-brand {
  display: flex; align-items: center; gap: 0.45rem;
  color: #fff; font-weight: 600; letter-spacing: 0.09em;
  white-space: nowrap; text-decoration: none;
  flex-shrink: 0;
}

.topbar-brand:hover { color: var(--azure-lt); }

.topbar-mark { width: 18px; height: 18px; flex-shrink: 0; }

.topbar-sep {
  width: 1px; height: 1.2rem;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.topbar-route {
  color: var(--azure-lt);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-spacer { flex: 1; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 0.32rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em;
  font-family: var(--ff-body);
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap; flex-shrink: 0;
}
.lang-btn svg { width: 11px; height: 11px; }
.lang-btn:hover { border-color: var(--azure-lt); color: #fff; }

/* ================================================================
   ROUTE CHIP NAV
   ================================================================ */
.routenav {
  background: var(--navy);
  border-bottom: 2px solid rgba(26,155,176,0.28);
  position: sticky; top: 2.5rem; z-index: 190;
  overflow-x: auto;
  scrollbar-width: none;
}
.routenav::-webkit-scrollbar { display: none; }

.routenav-inner {
  display: flex; align-items: center; gap: 0.65rem;
  height: 3rem;
  min-width: max-content;
  padding-right: calc(var(--pad) + 1rem);
}

.routenav-label {
  font-family: var(--ff-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  white-space: nowrap; flex-shrink: 0;
}

.chips { display: flex; align-items: center; gap: 0.3rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.32rem;
  padding: 0.26rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.7);
  font-size: 0.77rem; font-weight: 500;
  font-family: var(--ff-body);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap; cursor: pointer; text-decoration: none;
}

.chip-code {
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 600;
  color: var(--azure-lt);
  letter-spacing: 0.04em;
}

.chip:hover {
  background: var(--azure-wash);
  border-color: var(--azure);
  color: #fff;
}
.chip:hover .chip-code { color: var(--azure-lt); }

.chip.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
  font-weight: 700;
}
.chip.is-active .chip-code { color: var(--navy-deep); }

/* ================================================================
   SPLIT HERO
   ================================================================ */
.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: clamp(520px, 72vh, 820px);
}

/* --- Left port panel (dark navy) ------------------------------ */
.hero-port {
  background: var(--navy);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}

/* Navigation chart dot grid */
.hero-port::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,155,176,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Azure bottom accent line */
.hero-port::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--azure) 0%, transparent 75%);
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--azure-lt);
  margin-bottom: 1.15rem;
  display: flex; align-items: center; gap: 0.55rem;
  position: relative; z-index: 1;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block; width: 22px; height: 2px;
  background: var(--amber); flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 700; color: #fff; line-height: 1.05;
  margin-bottom: 0.85rem;
  position: relative; z-index: 1;
}
.hero-h1 em { font-style: italic; color: var(--azure-lt); }

.hero-tagline {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem; max-width: 40ch;
  position: relative; z-index: 1;
}

/* Island route chain visual */
.route-chain {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative; z-index: 1;
}

.route-stop { display: flex; align-items: center; }

.stop-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.stop-dot.origin { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 8px rgba(217,119,6,0.5); }
.stop-dot.active { background: var(--azure); border-color: var(--azure); box-shadow: 0 0 8px rgba(26,155,176,0.5); }

.stop-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin: 0 0.38rem; white-space: nowrap;
}
.stop-label.origin { color: var(--amber-lt); }
.stop-label.active { color: rgba(255,255,255,0.9); }

.stop-line {
  width: clamp(14px, 2vw, 28px); height: 1.5px;
  background: rgba(26,155,176,0.38);
  flex-shrink: 0;
}

/* Hero CTA buttons */
.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  position: relative; z-index: 1;
}

.btn-amber {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 700; font-size: 0.875rem;
  border-radius: var(--r); text-decoration: none;
  transition: background 0.18s, transform 0.14s;
  box-shadow: 0 4px 16px rgba(217,119,6,0.33);
}
.btn-amber:hover { background: var(--amber-lt); transform: translateY(-1px); color: var(--navy-deep); }
.btn-amber svg { width: 15px; height: 15px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  font-weight: 500; font-size: 0.875rem;
  border-radius: var(--r); text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

/* --- Right board panel (light surface) ------------------------ */
.hero-board {
  background: var(--surface);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}

/* Transport map grid lines */
.hero-board::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--azure-wash) 1px, transparent 1px),
    linear-gradient(90deg, var(--azure-wash) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.board-label {
  font-family: var(--ff-mono);
  font-size: 0.63rem; font-weight: 500;
  letter-spacing: 0.14em; color: var(--ink-mute);
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0.7rem;
}

.board-live {
  display: inline-flex; align-items: center; gap: 0.28rem;
  padding: 0.12rem 0.4rem;
  background: var(--azure-wash);
  border: 1px solid rgba(26,155,176,0.22);
  border-radius: var(--r-pill);
  color: var(--azure); font-size: 0.6rem;
}
.board-live::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--azure);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.board-question {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.85rem, 4vw, 3.6rem);
  font-weight: 600; line-height: 1.1;
  color: var(--navy); letter-spacing: -0.025em;
  position: relative; z-index: 1;
  margin-bottom: 2rem;
}
.board-question .azure { color: var(--azure); }
.board-question .amber { color: var(--amber); }

/* Info kiosk rows */
.kiosks {
  display: flex; flex-direction: column; gap: 0.55rem;
  position: relative; z-index: 1;
}

.kiosk {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(26,155,176,0.18);
  border-radius: var(--r);
  backdrop-filter: blur(4px);
}
.kiosk-code {
  font-family: var(--ff-mono);
  font-size: 0.63rem; font-weight: 600;
  color: var(--azure); letter-spacing: 0.08em;
  white-space: nowrap; min-width: 3ch;
}
.kiosk-text {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ================================================================
   ROUTE DIVIDER (animated SVG)
   ================================================================ */
.route-divider {
  background: var(--navy);
  padding: 0; line-height: 0;
  position: relative; overflow: hidden;
}
.route-divider-svg {
  width: 100%; height: 52px; display: block;
}
.draw-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.route-dot {
  opacity: 0;
  animation: dotPop 0.25s ease forwards;
}
.route-dot:nth-child(2) { animation-delay: 0.85s; }
.route-dot:nth-child(3) { animation-delay: 1.3s; }
.route-dot:nth-child(4) { animation-delay: 1.75s; }
.route-dot:nth-child(5) { animation-delay: 2.2s; }
@keyframes dotPop {
  from { opacity: 0; transform: scale(0); transform-origin: center; }
  to   { opacity: 1; transform: scale(1); }
}

/* ================================================================
   NOTICE BAR
   ================================================================ */
.notice {
  background: var(--amber-wash);
  border-top: 2px solid var(--amber);
  border-bottom: 1px solid rgba(217,119,6,0.18);
  padding: 0.85rem 0;
}
.notice-inner {
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.notice-code {
  font-family: var(--ff-mono);
  font-size: 0.68rem; font-weight: 700;
  color: var(--amber); letter-spacing: 0.1em;
  padding: 0.12rem 0.45rem;
  border: 1.5px solid var(--amber);
  border-radius: var(--r-sm);
  white-space: nowrap; flex-shrink: 0; margin-top: 0.1rem;
}
.notice p {
  font-size: 0.84rem; color: var(--ink); line-height: 1.55;
}

/* ================================================================
   ROUTE SECTIONS (content)
   ================================================================ */
.route-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--ruler);
}
.route-section.on-white { background: var(--white); }

.section-header {
  display: flex; align-items: flex-start; gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.route-badge {
  flex-shrink: 0;
  width: 3.4rem; height: 3.4rem;
  background: var(--navy);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 600;
  color: var(--azure-lt);
  letter-spacing: 0.06em; text-align: center; line-height: 1.3;
}

.section-meta { flex: 1; }

.section-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.13em; color: var(--azure);
  margin-bottom: 0.38rem; text-transform: uppercase;
}

.section-h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 600; color: var(--navy);
  margin-bottom: 0.55rem;
}

.section-lead {
  font-size: 0.975rem; color: var(--ink-soft); max-width: 70ch;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 252px), 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--sh);
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }

.card-icon {
  width: 2.4rem; height: 2.4rem;
  background: var(--azure-wash);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem; color: var(--azure);
}
.card-icon svg { width: 18px; height: 18px; }

.card-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--ink-mute);
  margin-bottom: 0.38rem; text-transform: uppercase;
}
.card h3 {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.45rem;
}
.card p { font-size: 0.85rem; color: var(--ink-soft); }

/* Region list (signal bars) */
.region-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.65rem; margin-top: 1.5rem;
}
.region-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: var(--r);
}
.region-signal {
  display: flex; gap: 2px; align-items: flex-end; flex-shrink: 0;
}
.sig { width: 4px; border-radius: 1px; background: var(--surface-2); }
.sig:nth-child(1) { height: 6px; }
.sig:nth-child(2) { height: 10px; }
.sig:nth-child(3) { height: 14px; }
.sig:nth-child(4) { height: 18px; }
.signal-4 .sig { background: var(--azure); }
.signal-3 .sig:nth-child(1),
.signal-3 .sig:nth-child(2),
.signal-3 .sig:nth-child(3) { background: var(--azure); }
.signal-2 .sig:nth-child(1),
.signal-2 .sig:nth-child(2) { background: var(--amber); }
.signal-1 .sig:nth-child(1) { background: var(--amber); }
.region-name { font-size: 0.86rem; font-weight: 500; color: var(--ink); flex: 1; }
.region-tag {
  font-family: var(--ff-mono);
  font-size: 0.62rem; color: var(--ink-mute); flex-shrink: 0;
}

/* ================================================================
   TIMETABLE SECTION (article listing)
   ================================================================ */
.timetable-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--navy);
}

.timetable-header {
  display: flex; align-items: baseline; gap: 1.25rem;
  margin-bottom: 1.75rem; flex-wrap: wrap;
}
.timetable-title {
  font-family: var(--ff-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600; color: #fff;
}
.timetable-sublabel {
  font-family: var(--ff-mono);
  font-size: 0.63rem; font-weight: 500;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.3);
}

.timetable-board {
  border: 1px solid rgba(26,155,176,0.22);
  border-radius: var(--r-lg); overflow: hidden;
}

.timetable-thead {
  display: grid;
  grid-template-columns: 5ch 1fr 5rem 2rem;
  gap: 1rem; padding: 0.6rem 1.2rem;
  background: rgba(26,155,176,0.07);
  border-bottom: 1px solid rgba(26,155,176,0.18);
  font-family: var(--ff-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.32);
  text-transform: uppercase;
}

.departure {
  display: grid;
  grid-template-columns: 5ch 1fr 5rem 2rem;
  gap: 1rem; align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(26,155,176,0.1);
  text-decoration: none;
  transition: background 0.18s;
}
.departure:last-child { border-bottom: none; }
.departure:hover { background: rgba(26,155,176,0.09); }

.dep-code {
  font-family: var(--ff-mono);
  font-size: 0.7rem; font-weight: 600;
  color: var(--azure-lt); letter-spacing: 0.06em;
}
.dep-name {
  font-size: 0.93rem; font-weight: 500; color: #fff; line-height: 1.3;
}
.dep-sub {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.4); margin-top: 0.12rem;
}
.dep-status {
  display: inline-flex; align-items: center; gap: 0.28rem;
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--azure-lt);
}
.dep-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--azure); flex-shrink: 0;
}
.dep-arrow {
  font-size: 1rem; color: rgba(255,255,255,0.28);
  text-align: right;
  transition: color 0.18s, transform 0.18s;
}
.departure:hover .dep-arrow { color: var(--amber); transform: translateX(4px); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy-deep);
  border-top: 2px solid rgba(26,155,176,0.22);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}

.footer-brand-row {
  display: flex; align-items: center; gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.footer-mark { width: 26px; height: 26px; }
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 600; color: #fff;
}
.footer-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.42);
  max-width: 36ch; line-height: 1.6; margin-bottom: 1.15rem;
}
.footer-contact-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.73rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.38rem;
}
.footer-contact-item svg { width: 12px; height: 12px; color: var(--azure-lt); flex-shrink: 0; }

.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--azure-lt);
  margin-bottom: 0.9rem; text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-link {
  font-size: 0.84rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.14s;
}
.footer-link:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.65rem;
}
.footer-copy {
  font-family: var(--ff-mono);
  font-size: 0.62rem; color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ================================================================
   INNER PAGES (about, contact, legal)
   ================================================================ */
.inner-hero {
  background: var(--navy);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  position: relative; overflow: hidden;
}
.inner-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,155,176,0.11) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.inner-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azure) 0%, transparent 70%);
}

.inner-label {
  font-family: var(--ff-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em; color: var(--azure-lt);
  margin-bottom: 0.7rem;
  position: relative; z-index: 1;
  text-transform: uppercase;
}

.inner-hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.9rem);
  font-weight: 600; color: #fff;
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 22ch;
  position: relative; z-index: 1;
}

.inner-hero p {
  font-size: 0.975rem; color: rgba(255,255,255,0.55);
  max-width: 55ch; margin-top: 0.7rem; line-height: 1.65;
  position: relative; z-index: 1;
}

.inner-body { padding: clamp(2.5rem, 6vw, 5rem) 0; }

/* Prose */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  margin-top: 2.5rem; margin-bottom: 0.7rem;
  color: var(--navy);
}
.prose h3 {
  font-size: 1.08rem; margin-top: 1.85rem; margin-bottom: 0.45rem;
  color: var(--navy);
}
.prose p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose ul li { margin-bottom: 0.38rem; color: var(--ink-soft); }
.prose a { color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* Data table */
.data-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0; font-size: 0.86rem;
  border-radius: var(--r-lg); overflow: hidden;
}
.data-table th {
  background: var(--navy); color: rgba(255,255,255,0.65);
  font-family: var(--ff-mono); font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.1em;
  padding: 0.6rem 0.85rem; text-align: left;
  text-transform: uppercase;
}
.data-table td {
  padding: 0.62rem 0.85rem;
  border-bottom: 1px solid var(--surface-2);
  color: var(--ink);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--surface); }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem; align-items: start;
}
.form-group { margin-bottom: 1.15rem; }
.form-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--navy);
  margin-bottom: 0.38rem; text-transform: uppercase;
}
.form-input, .form-textarea {
  width: 100%; padding: 0.62rem 0.82rem;
  border: 1.5px solid var(--surface-2);
  border-radius: var(--r);
  font: inherit; font-size: 0.9rem;
  color: var(--ink); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(26,155,176,0.1);
}
.form-textarea { min-height: 155px; resize: vertical; }

.form-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 0.875rem;
  border-radius: var(--r); cursor: pointer;
  transition: background 0.18s;
  border: none; font-family: var(--ff-body);
}
.form-btn:hover { background: var(--navy-mid); }

.contact-info {
  display: flex; flex-direction: column; gap: 1.1rem;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--r);
}
.info-icon {
  width: 1.9rem; height: 1.9rem;
  background: var(--navy); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--azure-lt);
}
.info-icon svg { width: 13px; height: 13px; }
.info-label {
  font-family: var(--ff-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--ink-mute);
  margin-bottom: 0.18rem; text-transform: uppercase;
  display: block;
}
.info-value { font-size: 0.86rem; font-weight: 500; color: var(--ink); }

/* ================================================================
   ARTICLE PAGE
   ================================================================ */
.article-hero {
  background: var(--navy);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,155,176,0.11) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.article-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--azure) 0%, transparent 65%);
}

.article-crumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem; color: rgba(255,255,255,0.4);
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
}
.article-crumb a {
  color: var(--azure-lt); text-decoration: none;
  transition: color 0.14s;
}
.article-crumb a:hover { color: #fff; }
.article-crumb-sep { color: rgba(255,255,255,0.2); }

.article-route-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-mono);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--azure-lt);
  margin-bottom: 1.1rem;
  position: relative; z-index: 1;
}
.article-route-badge::before {
  content: "";
  display: inline-block; width: 16px; height: 2px;
  background: var(--amber);
}

.article-h1 {
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  font-weight: 700; font-family: var(--ff-display);
  color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; max-width: 24ch;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}

.article-lead {
  font-size: 1.02rem; color: rgba(255,255,255,0.62);
  max-width: 60ch; line-height: 1.65;
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
}

.article-meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 0.66rem; color: rgba(255,255,255,0.3);
  position: relative; z-index: 1;
}

.article-body { padding: clamp(2.5rem, 6vw, 5rem) 0; }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--navy);
  border-top: 2px solid rgba(26,155,176,0.25);
  padding: 1rem 0;
  display: none;
}
.cookie-bar.is-shown { display: block; }
.cookie-bar-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.cookie-bar p {
  font-size: 0.82rem; color: rgba(255,255,255,0.6); flex: 1; min-width: 200px;
}
.cookie-bar a { color: var(--azure-lt); text-decoration: underline; }
.cookie-accept {
  padding: 0.42rem 0.95rem;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 700; font-size: 0.8rem;
  border-radius: var(--r); white-space: nowrap;
  cursor: pointer; transition: background 0.15s;
  font-family: var(--ff-body);
}
.cookie-accept:hover { background: var(--amber-lt); }
.cookie-dismiss {
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r); white-space: nowrap;
  cursor: pointer; transition: color 0.15s;
  font-family: var(--ff-body);
}
.cookie-dismiss:hover { color: rgba(255,255,255,0.65); }

/* ================================================================
   ANIMATIONS & REVEAL
   ================================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.65s ease both; }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-port { min-height: 55vmin; padding-bottom: 3rem; }
  .hero-board { padding-top: 2.5rem; }
  .board-question { font-size: clamp(1.75rem, 5vw, 2.85rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 660px) {
  .timetable-thead { display: none; }
  .departure { grid-template-columns: 5ch 1fr 2rem; }
  .dep-status { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 0.65rem; }
}

@media (max-width: 480px) {
  .routenav-label { display: none; }
  .hero-h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .topbar-route { display: none; }
}
