:root { --navy: #0e2a4d; --blue: #1b6ac9; --bg: #fff; --alt: #f2f5f9; --ink: #1f2933; --mute: #52606d; --line: #d9e0e8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font: 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

header { position: static; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; min-height: 68px; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none; }
nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: .97rem; padding: 6px 0; }
nav a:hover { color: var(--blue); }
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--navy); }
.b-short { display: none; }

.slider { position: relative; height: clamp(320px, 52vw, 560px); max-height: 90vh; max-height: 90svh; background: var(--navy); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s; }
.slide.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide img.pos-tanker { object-position: 50% 55%; }
.slide::after { content: ""; position: absolute; inset: 0; background: rgba(8,24,46,.55); }
.slide .wrap { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; padding-bottom: 40px; }
.slide h2 { margin: 0; max-width: 20ch; color: #fff; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.15; }
.slide p { color: #e8eef6; max-width: 46ch; margin: 12px 0 0; font-size: 1.1rem; }
.dots { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; }
.dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid #fff; }
.dots button[aria-current="true"]::before { background: #fff; }
.dots button:focus-visible, .pause:focus-visible { outline-color: #fff; }
.pause { position: absolute; right: 12px; bottom: 8px; z-index: 3; min-height: 32px; padding: 0 14px; border: 2px solid #fff; border-radius: 4px; background: rgba(8,24,46,.6); color: #fff; font: 600 .9rem system-ui, sans-serif; cursor: pointer; }

section { padding: 64px 0; }
section.alt { background: var(--alt); }
h2.title { margin: 0 0 20px; color: var(--navy); font-size: 2rem; text-align: center; }
h2.title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--blue); margin: 12px auto 0; }
.center { max-width: 70ch; margin: 0 auto; text-align: center; color: var(--mute); }
.center p { margin: 0 0 14px; }
.mt { margin-top: 20px; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.svc:nth-of-type(even) > img { order: 2; }
.svc img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; display: block; }
.svc h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.5rem; }
.svc p { margin: 0; color: var(--mute); }
.svc ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--mute); }
.svc li { margin-bottom: 8px; }
.svc li b { color: var(--navy); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.steps b { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.2rem; }
.steps h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.steps p { margin: 0; color: var(--mute); font-size: .97rem; }

.tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tiles li { background: #fff; border: 1px solid var(--line); padding: 16px 18px; border-radius: 4px; }
ul.ticks { max-width: 70ch; margin: 24px auto 0; padding: 0; list-style: none; }
ul.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--mute); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.routes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.routes > li { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 6px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(14,42,77,.08); }
.routes > li:nth-child(n+4) { grid-column: span 3; }
.routes h3 { margin: 0 0 14px; color: var(--navy); font-size: 1.15rem; }
.stops { list-style: none; margin: 0 0 14px; padding: 0; }
.stops li { position: relative; padding: 0 0 12px 24px; font-weight: 600; line-height: 1.3; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { content: ""; position: absolute; left: 0; top: .25em; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.stops li:first-child::before, .stops li:last-child::before { background: var(--blue); }
.stops li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 1em; bottom: -.1em; width: 2px; background: #b9cdea; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 2px 10px; border-radius: 999px; background: #e8f0fb; color: var(--navy); font-size: .82rem; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 32px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 4px; }

.narrow { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 8px 0; }
details p { margin: 10px 0 0; color: var(--mute); }

.contact { text-align: center; }
.contact address { font-style: normal; color: var(--mute); margin: 16px auto; max-width: 36ch; }
.contact form { text-align: left; margin-top: 28px; display: grid; gap: 14px; }
.contact label { display: grid; gap: 4px; font-weight: 600; color: var(--navy); }
.contact input, .contact select, .contact textarea { font: inherit; padding: 11px 12px; border: 1px solid #8a98a8; border-radius: 4px; }
.contact form .btn { justify-self: start; border: 0; cursor: pointer; font: 600 1rem system-ui, sans-serif; }
.contact form .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }
.fine { margin: 0; font-size: .9rem; color: var(--mute); font-weight: 400; }
#form-status { margin: 0; min-height: 1.5em; font-weight: 600; color: var(--navy); }
#form-status.err { color: #b3261e; }

.doc { max-width: 760px; padding: 48px 20px 72px; }
.doc h1 { color: var(--navy); font-size: 2rem; margin: 0 0 8px; }
.doc h2 { color: var(--navy); font-size: 1.3rem; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }

footer { background: var(--navy); color: #c5d3e6; text-align: center; font-size: .9rem; padding: 22px 0; }
footer a { color: #fff; }

@media (min-width: 761px) { .slide .wrap { padding-bottom: 0; } }
/* Sticky header only when the screen is tall enough that it does not crowd the content (not phones in landscape). */
@media (min-width: 761px) and (min-height: 561px) { header { position: sticky; top: 0; } html { scroll-padding-top: 76px; } }
@media (min-width: 761px) and (max-width: 900px) and (min-height: 561px) { html { scroll-padding-top: 112px; } }
/* Phones and tablets: logo and button on one row, navigation on its own row below. */
@media (max-width: 900px) {
  header .wrap { min-height: 0; padding-top: 8px; padding-bottom: 4px; }
  .logo { flex: 1 1 auto; }
  header .btn { padding: 8px 16px; }
  nav { order: 3; flex: 0 0 100%; gap: 0 20px; }
  nav a { padding: 6px 0; }
}
@media (max-width: 900px) { .routes { grid-template-columns: repeat(2, 1fr); } .routes > li, .routes > li:nth-child(n+4) { grid-column: span 1; } .routes > li:last-child { grid-column: span 2; } }
@media (max-width: 760px) {
  .routes { grid-template-columns: 1fr; } .routes > li:last-child { grid-column: span 1; }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) > img { order: 0; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .logo-long, .b-long { display: none; }
  .b-short { display: inline; }
  .logo { font-size: 1rem; }
  header .btn { padding: 8px 14px; }
  nav { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } html { scroll-behavior: auto; } }
