/* ===================================================
   Red Funnel Roblox — Isle of Wight Ferries Recreation
   =================================================== */

:root {
  --red: #e2001a;
  --red-dark: #b80015;
  --red-darker: #7d0009;
  --navy: #10151c;
  --navy-light: #1c2531;
  --grey-bg: #f4f5f7;
  --grey-border: #e1e3e8;
  --text: #1b1f27;
  --text-muted: #5b6270;
  --white: #ffffff;
  --gold: #f5b400;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 21, 28, 0.12);
  --shadow-sm: 0 3px 10px rgba(16, 21, 28, 0.08);
  --max-width: 1180px;
  --font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Top disclaimer strip ---------- */
.disclaimer-bar {
  background: var(--navy);
  color: #cfd6e0;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
}
.disclaimer-bar strong { color: var(--gold); }

/* ---------- Header ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  border-radius: 6px;
}

.brand-text .name {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.brand-text .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav.main-nav .nav-item {
  position: relative;
}

nav.main-nav .nav-item > a,
nav.main-nav .nav-item > button.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
}

nav.main-nav .nav-item > a:hover,
nav.main-nav .nav-item > button.nav-link-btn:hover,
nav.main-nav .nav-item.active > a {
  background: var(--grey-bg);
  color: var(--red);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--grey-border);
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dropdown a:hover { background: var(--grey-bg); color: var(--red); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--navy);
  text-transform: uppercase;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2fb344;
  box-shadow: 0 0 0 3px rgba(47,179,68,0.18);
  flex-shrink: 0;
}
.icon-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--navy);
  text-transform: uppercase;
}
.icon-link .glyph { font-size: 16px; }
.header-actions .btn-primary { padding: 11px 26px; }

@media (max-width: 1080px) {
  .status-pill, .icon-link-label { display: none; }
}

@media (max-width: 620px) {
  .icon-link { display: none; }
  .brand-text .name { font-size: 17px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  font-weight: 700;
}
.btn-ghost:hover { color: var(--red); }

.btn-block { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(16,21,28,0.35) 0%, rgba(16,21,28,0.55) 100%),
    linear-gradient(120deg, #0d2b45, #1a5276 45%, #2f7fa8 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.10) 0, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08) 0, transparent 40%);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px 70px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.4);
}

.hero p.sub {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ---------- Booking widget ---------- */
.booking-widget-wrap {
  position: relative;
  z-index: 5;
  max-width: 1040px;
  margin: -54px auto 0;
  padding: 0 24px;
}

.booking-widget {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px 22px;
  position: relative;
}

.booking-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--grey-border);
  padding-bottom: 12px;
}

.booking-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.booking-tabs button {
  background: none;
  border: none;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.booking-tabs button.active {
  color: var(--white);
  background: var(--navy);
}
.trip-type {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.trip-type label { display: flex; align-items: center; gap: 5px; cursor: pointer; }

.promo-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field select,
.field input {
  width: 100%;
  padding: 11px 10px;
  border: 1.5px solid var(--grey-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}
.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--red);
}

.fare-preview {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.fare-preview strong { color: var(--red); font-size: 15px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-head p { color: var(--text-muted); font-size: 15.5px; }

.bg-grey { background: var(--grey-bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .text-muted { color: #b7c0cd; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 40px;
  position: relative;
  overflow: hidden;
}
.card-media .media-icon { position: relative; z-index: 1; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17px; }
.card-body p { color: var(--text-muted); font-size: 14px; flex: 1; }
.card-tag {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ---------- Why book / feature list ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--grey-border);
  padding: 16px;
  border-radius: var(--radius);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.feature-item strong { display: block; margin-bottom: 3px; }
.feature-item span { color: var(--text-muted); font-size: 13.5px; }

/* ---------- Ship / fleet cards ---------- */
.ship-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ship-hero {
  height: 170px;
  background: linear-gradient(135deg, var(--navy), #234058);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ship-hero .ship-icon { width: 90px; height: 90px; position: relative; z-index: 1; }
/* ---------- Image slots (drop your own photos in /images) ---------- */
.img-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.hero .img-slot { z-index: 0; }
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16,21,28,0.25) 0%, rgba(16,21,28,0.75) 100%);
}
.page-hero .img-slot { z-index: 0; }
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(16,21,28,0.82), rgba(34,65,92,0.82));
}
.card-media .img-slot { z-index: 0; }
.ship-hero .img-slot { z-index: 2; }

.ship-class {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.ship-body { padding: 18px 20px; }
.ship-body h3 { font-size: 19px; margin-bottom: 2px; }
.ship-body .ship-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }
.ship-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 13px;
}
.ship-specs div span { display: block; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
.ship-specs div strong { font-size: 14.5px; }

/* ---------- Timetable table ---------- */
.timetable {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.timetable th, .timetable td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--grey-border);
}
.timetable th {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timetable tr:last-child td { border-bottom: none; }
.timetable tr:hover td { background: var(--grey-bg); }

/* ---------- Route diagram ---------- */
.route-diagram {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.route-point {
  text-align: center;
  min-width: 120px;
}
.route-point .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); margin: 0 auto 8px;
  box-shadow: 0 0 0 5px rgba(208,2,27,0.15);
}
.route-line {
  flex: 1;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--grey-border) 0 8px, transparent 8px 14px);
  position: relative;
}
.route-line .boat {
  position: absolute;
  top: -13px;
  font-size: 22px;
  animation: sail 4s ease-in-out infinite;
}
@keyframes sail {
  0%, 100% { left: 5%; }
  50% { left: 90%; }
}
.route-meta { text-align: center; font-size: 13px; color: var(--text-muted); }
.route-meta strong { display: block; color: var(--text); font-size: 15px; }

/* ---------- FAQ accordion ---------- */
.accordion-item {
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-q {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: var(--white);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: var(--text);
}
.accordion-q:hover { background: var(--grey-bg); }
.accordion-q .plus { transition: transform 0.2s ease; font-size: 20px; color: var(--red); }
.accordion-item.open .accordion-q .plus { transform: rotate(45deg); }
.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.accordion-item.open .accordion-a {
  max-height: 300px;
  padding: 0 18px 16px;
}

/* ---------- Offer countdown ---------- */
.countdown {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.countdown .box {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 58px;
}
.countdown .box .n { font-size: 20px; font-weight: 800; display: block; }
.countdown .box .l { font-size: 10px; text-transform: uppercase; opacity: 0.75; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--red), var(--red-darker));
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 4px; }
.cta-banner p { opacity: 0.9; margin: 0; }
.cta-banner .btn-primary { background: var(--white); color: var(--red); }
.cta-banner .btn-primary:hover { background: var(--grey-bg); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #c7cfda;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand .brand-text .name { color: var(--white); }
.footer-brand p { font-size: 13.5px; color: #9aa4b2; margin: 14px 0 18px; max-width: 320px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.social-row a:hover { background: var(--red); }

.footer-bottom {
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #8a93a1;
}
.footer-bottom .disclaimer {
  max-width: 760px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,21,28,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: pop 0.2s ease;
}
@keyframes pop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box .ticket-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 28px;
}
.modal-box h3 { margin-bottom: 8px; }
.modal-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  cursor: pointer;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), #22415c);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero p { color: #c7cfda; max-width: 640px; margin: 8px auto 0; }
.breadcrumb {
  font-size: 12.5px;
  color: #9aa4b2;
  margin-bottom: 10px;
}
.breadcrumb a:hover { color: var(--white); }

/* ---------- Recruitment hero banner (image carries its own text) ---------- */
.join-hero {
  padding: 28px 0 0;
}
.join-hero .banner-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.join-hero img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 460px;
}
.join-hero .live-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.join-hero .live-badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(226,0,26,0.6);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(226,0,26,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(226,0,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,0,26,0); }
}
.join-hero .breadcrumb {
  color: var(--text-muted);
  margin-bottom: 4px;
}
.join-hero .breadcrumb a:hover { color: var(--red); }

.role-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 10px;
}
.role-card .card-media {
  height: 96px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
}

.step-card { text-align: center; padding: 24px 18px; position: relative; }
.step-card .step-n {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; margin: 0 auto 14px;
  position: relative; z-index: 1;
}
.step-card:nth-child(even) .step-n { background: var(--red); }
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.step-row {
  position: relative;
}
.step-row::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey-border) 0 8px, transparent 8px 14px);
  z-index: 0;
}

.req-panel {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.req-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 0;
  padding: 0;
}
.req-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text);
}
.req-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

@media (max-width: 760px) {
  .join-hero img { max-height: 260px; }
  .req-list { grid-template-columns: 1fr; }
  .req-panel { padding: 22px; }
  .step-row::before { display: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid .btn { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-outline { display: none; }

  body.nav-open nav.main-nav {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0,0,0,0.2);
    padding: 90px 20px 20px;
    z-index: 300;
    overflow-y: auto;
  }
  body.nav-open nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  body.nav-open .dropdown { position: static; box-shadow: none; border: none; display: none; padding-left: 12px; }
  body.nav-open .nav-item.open .dropdown { display: block; }

  .nav-scrim {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 250;
  }
  body.nav-open .nav-scrim { display: block; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero { min-height: 460px; }
}

/* ---------- Live Departures board ---------- */
.dep-current-time {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--red);
  font-weight: 800;
}
.dep-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.dep-header-section {
  background: var(--red);
  color: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.dep-header-section h2 { font-size: 17px; margin-bottom: 4px; }
.dep-header-section p { margin: 0; opacity: 0.85; font-size: 13px; }
.dep-table-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.dep-table-box {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.dep-table-box h3 { margin-bottom: 4px; }
.dep-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.dep-table th, .dep-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--grey-border);
  font-size: 13.5px;
}
.dep-table thead { background: var(--grey-bg); }
.dep-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); }
.dep-table tr.dep-current { background: #dff7e0; font-weight: 700; }
.dep-table tr.dep-next { background: #fff7d6; font-weight: 700; }
.dep-cancelled { color: var(--red-dark); font-weight: 700; }
.dep-countdown { color: var(--red); font-weight: 700; }
.dep-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 18px;
}
