*{
  box-sizing:border-box;
}

:root{
  --bg:#f7f7f3;
  --card:#ffffff;
  --text:#18212b;
  --muted:#667085;
  --line:#e8e8e4;
  --accent:#ff385c;
  --accent-dark:#e11d48;
  --navy:#12324a;
  --success-bg:#ecfdf3;
  --success:#027a48;
  --warning-bg:#fff7ed;
  --warning:#b54708;
  --shadow:0 10px 30px rgba(16,24,40,.08);
  --shadow-soft:0 6px 22px rgba(16,24,40,.06);
  --radius:24px;
  --radius-sm:18px;
  --max:1200px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

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

button,
select{
  font:inherit;
}

h1,h2,h3,h4,p{
  margin-top:0;
}

/* =========================
   HOMEPAGE HEADER
========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.topbar-inner{
  max-width:var(--max);
  margin:auto;
  padding:16px 20px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:max-content;
}

.logo{
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1;
  color:var(--accent);
}

.logo-sub{
  font-size:12px;
  color:var(--muted);
  line-height:1.2;
}

.menu-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
}

.menu-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px 14px;
  border-bottom:3px solid transparent;
  font-size:15px;
  font-weight:700;
  color:#6b7280;
  white-space:nowrap;
  transition:.2s ease;
}

.menu-nav a:hover{
  color:var(--text);
}

.menu-nav a.active{
  color:var(--text);
  border-bottom-color:var(--text);
}

.menu-icon{
  font-size:22px;
  line-height:1;
  flex:0 0 auto;
}

.menu-label{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.menu-label small{
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent-dark);
  margin-bottom:3px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}

.host-link{
  font-size:14px;
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
}

.utility-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
  box-shadow:0 2px 10px rgba(16,24,40,.05);
}

.utility-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:999px;
  background:#f7f7f7;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  cursor:pointer;
}

.time-display{
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}

/* =========================
   HOMEPAGE HERO
========================= */

.hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(9,18,31,.18), rgba(9,18,31,.34)),
    url("images/hero.jpg") center/cover no-repeat;
  background-color:#d8d8d8;
  color:white;
  padding:58px 20px 100px;
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:120px;
  background:linear-gradient(to bottom, rgba(247,247,243,0), var(--bg));
}

.hero-inner{
  max-width:var(--max);
  margin:auto;
  position:relative;
  z-index:2;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  font-weight:700;
  margin-bottom:18px;
  backdrop-filter:blur(10px);
}

.hero h1{
  margin:0;
  max-width:760px;
  font-size:58px;
  line-height:1.02;
  letter-spacing:-.04em;
}

.hero p{
  margin:16px 0 0;
  max-width:680px;
  font-size:19px;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

/* =========================
   HOMEPAGE SEARCH
========================= */

.search-wrap{
  max-width:var(--max);
  margin:-52px auto 0;
  padding:0 20px;
  position:relative;
  z-index:5;
}

.search-card{
  background:var(--card);
  border-radius:32px;
  box-shadow:0 18px 50px rgba(16,24,40,.12);
  border:1px solid rgba(0,0,0,.05);
  overflow:hidden;
}

.search-bar{
  display:grid;
  grid-template-columns:1fr 62px 1fr 1fr auto;
  align-items:stretch;
}

.search-field{
  padding:16px 20px;
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-right:1px solid var(--line);
}

.search-field:hover{
  background:#fcfcfb;
}

.search-label{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7b7b7b;
  margin-bottom:8px;
}

.search-select{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  color:var(--text);
  font-size:16px;
  font-weight:700;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
}

.search-select-wrap{
  position:relative;
}

.search-select-wrap::after{
  content:"▾";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  color:#98a2b3;
  font-size:14px;
  pointer-events:none;
}

.search-sub{
  margin-top:6px;
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
}

.swap-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid var(--line);
  background:#fff;
  padding:10px;
}

.swap-button{
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:#f6f6f4;
  border:1px solid #ecece7;
  color:var(--navy);
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.swap-button:hover{
  background:#fff3f6;
  border-color:#ffd1db;
  color:var(--accent-dark);
  transform:rotate(180deg);
}

.search-button{
  border:none;
  background:var(--accent);
  color:white;
  font-size:16px;
  font-weight:800;
  padding:0 30px;
  min-width:150px;
  cursor:pointer;
  transition:.2s ease;
}

.search-button:hover{
  background:var(--accent-dark);
}

.chip-row{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:14px 16px 16px;
  border-top:1px solid var(--line);
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.chip-row::-webkit-scrollbar{
  display:none;
}

.chip{
  flex:0 0 auto;
  padding:10px 14px;
  border-radius:999px;
  background:#f6f6f4;
  border:1px solid #ecece7;
  font-size:14px;
  font-weight:700;
  color:#374151;
  white-space:nowrap;
  transition:.2s ease;
}

.chip:hover{
  background:#fff3f6;
  border-color:#ffd1db;
  color:var(--accent-dark);
}

/* =========================
   HOMEPAGE SECTIONS
========================= */

.section{
  max-width:var(--max);
  margin:auto;
  padding:56px 20px;
}

.section-tight{
  padding-top:28px;
  padding-bottom:12px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--accent-dark);
  margin-bottom:10px;
}

.section h2{
  margin:0;
  font-size:36px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.section-intro{
  margin:10px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.55;
  max-width:760px;
}

/* =========================
   TRUST CARDS
========================= */

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.trust-card{
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(8px);
  border:1px solid rgba(0,0,0,.05);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.trust-number{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.02em;
  margin-bottom:8px;
}

.trust-label{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
}

/* =========================
   LIVE SCHEDULE CARDS
========================= */

.schedule-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.schedule-card{
  background:var(--card);
  border:1px solid rgba(0,0,0,.05);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-soft);
  transition:.2s ease;
}

.schedule-card.live{
  box-shadow:0 16px 38px rgba(255,56,92,.12);
  border-color:rgba(255,56,92,.18);
}

.schedule-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}

.schedule-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
  letter-spacing:-.02em;
}

.status-pill{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:var(--success-bg);
  color:var(--success);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.status-pill.warning{
  background:var(--warning-bg);
  color:var(--warning);
}

.next-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#98a2b3;
  margin-bottom:6px;
}

.next-time{
  font-size:29px;
  font-weight:800;
  letter-spacing:-.03em;
  margin-bottom:6px;
}

.schedule-note{
  font-size:14px;
  color:var(--muted);
  margin-bottom:14px;
  line-height:1.5;
}

.time-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.time-chip{
  padding:8px 11px;
  border-radius:999px;
  background:#f4f4f2;
  font-size:13px;
  font-weight:700;
  color:#475467;
}

.time-chip.next-up{
  background:#fff3f6;
  color:var(--accent-dark);
  border:1px solid #ffd1db;
}

/* =========================
   HOMEPAGE ROUTE CARDS
========================= */

.route-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.route-card{
  display:block;
  background:var(--card);
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.05);
  transition:transform .22s ease, box-shadow .22s ease;
}

.route-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 38px rgba(16,24,40,.12);
}

.route-image{
  height:220px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#d8d8d8;
  position:relative;
}

.route-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.22), rgba(0,0,0,0));
}

.route-badge{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:2;
  background:rgba(255,255,255,.94);
  color:#111827;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.route-content{
  padding:20px 20px 22px;
}

.route-meta{
  font-size:12px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#98a2b3;
  margin-bottom:8px;
}

.route-title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.025em;
}

.route-text{
  margin:0 0 18px;
  font-size:15px;
  color:var(--muted);
  line-height:1.6;
  min-height:72px;
}

.route-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 15px;
  border-radius:14px;
  background:#f5f7fb;
  color:var(--navy);
  font-weight:800;
  font-size:14px;
  transition:.2s ease;
}

.route-card:hover .route-cta{
  background:#eef4fb;
}

/* =========================
   HOMEPAGE INFO
========================= */

.info-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
}

.info-card{
  background:var(--card);
  border-radius:26px;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:var(--shadow-soft);
  padding:24px;
}

.info-card h3{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.02em;
}

.info-card p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.6;
  font-size:15px;
}

.info-list{
  display:grid;
  gap:12px;
}

.info-item{
  padding:14px 16px;
  border-radius:16px;
  background:#f7f7f5;
  border:1px solid #ecece8;
}

.info-item strong{
  display:block;
  margin-bottom:4px;
  font-size:15px;
}

.info-item span{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.notice{
  border-left:4px solid var(--accent);
  background:#fff4f6;
  color:#4b5563;
  border-radius:18px;
  padding:16px 18px;
  font-size:14px;
  line-height:1.6;
}

/* =========================
   SUBPAGE LAYOUT
========================= */

.container{
  max-width:1100px;
  margin:0 auto;
  padding:24px 20px 70px;
}

.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:14px;
  color:var(--muted);
  margin-bottom:20px;
}

.breadcrumbs a:hover{
  text-decoration:underline;
}

.hero-main,
.hero-side{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero-main{
  padding:32px;
}

.hero-side{
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
}

.hero-sub{
  margin:0 0 24px;
  color:var(--muted);
  font-size:1.05rem;
  max-width:60ch;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.stat{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#fcfcfa;
}

.stat-label{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}

.stat-value{
  font-size:1rem;
  font-weight:800;
  letter-spacing:-.02em;
}

.quick-card{
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  background:#fff;
}

.quick-card h3{
  margin:0 0 10px;
  font-size:1rem;
}

.quick-list{
  display:grid;
  gap:10px;
  color:var(--muted);
  font-size:.96rem;
}

.cta-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  transition:.2s ease;
  border:1px solid transparent;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
}

.btn-primary:hover{
  background:var(--accent-dark);
  transform:translateY(-1px);
}

.btn-secondary{
  background:#fff;
  border-color:var(--line);
  color:var(--text);
}

.btn-secondary:hover{
  background:#fafafa;
}

.time-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:18px 20px;
  margin-bottom:16px;
}

.time-left,
.time-right{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.time-label,
.date-label{
  font-size:13px;
  color:var(--muted);
  font-weight:600;
}

.time-value{
  font-size:1.7rem;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1;
}

.date-value{
  font-size:1rem;
  font-weight:700;
  letter-spacing:-.02em;
}

.next-ferry{
  margin-top:2px;
  color:var(--accent-dark);
  font-size:.95rem;
  font-weight:700;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.schedule-table{
  width:100%;
  border-collapse:collapse;
}

.schedule-table th,
.schedule-table td{
  padding:16px 18px;
  text-align:left;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.schedule-table th{
  background:#fcfcfa;
  font-size:.92rem;
  color:var(--muted);
  font-weight:700;
}

.schedule-table tr:last-child td{
  border-bottom:none;
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#f4f4f1;
  font-size:12px;
  font-weight:700;
  color:#344054;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.related-routes{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.route-link{
  color:var(--accent-dark);
  font-weight:700;
}

/* =========================
   SHARED FOOTER TEMPLATE
========================= */

.site-footer{
  background:#ffffff;
  border-top:1px solid var(--line);
  margin-top:60px;
}

.footer-inner,
.site-footer-inner{
  max-width:var(--max);
  margin:auto;
  padding:40px 20px 30px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line);
}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr .9fr .9fr .9fr;
  gap:30px;
  padding-bottom:26px;
  border-bottom:1px solid var(--line);
}

.footer-brand{
  max-width:380px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  margin-bottom:12px;
  letter-spacing:-.02em;
}

.footer-logo-icon,
.footer-logo-mark{
  width:38px;
  height:38px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),#ff7b7b);
  display:grid;
  place-items:center;
  color:white;
  font-size:16px;
}

.footer-logo-text{
  font-weight:800;
}

.footer-description,
.footer-copy{
  color:var(--muted);
  font-size:.95rem;
  line-height:1.6;
  max-width:340px;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-col h4{
  margin:0 0 12px;
  font-size:.95rem;
}

.footer-col a,
.footer-links a{
  font-size:.95rem;
  color:var(--muted);
  transition:.2s ease;
}

.footer-col a:hover,
.footer-links a:hover{
  color:var(--text);
}

.footer-links{
  display:grid;
  gap:10px;
}

.footer-bottom{
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:20px;
  padding-top:18px;
  font-size:.9rem;
  color:var(--muted);
  align-items:center;
}

.footer-left{
  white-space:nowrap;
}

.footer-center,
.footer-bottom-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-right,
.footer-disclaimer{
  text-align:right;
}

/* =========================
   SIMPLE FALLBACK FOOTER
========================= */

.footer{
  padding:36px 20px 100px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.footer strong{
  color:var(--text);
}

/* =========================
   IMAGE CLASSES
========================= */

.st-thomas-tortola{background-image:url("images/st-thomas-tortola.jpg");}
.st-thomas-jost{background-image:url("images/st-thomas-jost.jpg");}
.st-thomas-virgin-gorda{background-image:url("images/st-thomas-virgin-gorda.jpg");}
.charlotte-amalie-cruz-bay{background-image:url("images/charlotte-amalie-cruz-bay.jpg");}
.red-hook-cruz-bay{background-image:url("images/red-hook-cruz-bay.jpg");}
.charlotte-amalie-water-island{background-image:url("images/charlotte-amalie-water-island.jpg");}
.charlotte-amalie-st-croix{background-image:url("images/charlotte-amalie-st-croix.jpg");}

/* =========================
   MOBILE CTA
========================= */

.mobile-cta{
  display:none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1100px){
  .route-grid,
  .schedule-strip,
  .trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .info-grid{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:48px;
  }

  .search-bar{
    grid-template-columns:1fr 62px 1fr 1fr;
  }

  .search-button{
    grid-column:1 / -1;
    min-height:64px;
  }

  .menu-nav{
    gap:4px;
  }

  .menu-nav a{
    padding:10px 10px 12px;
    font-size:14px;
  }

  .menu-icon{
    font-size:20px;
  }

  .host-link,
  .time-display{
    display:none;
  }

  .footer-grid,
  .footer-top{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:920px){
  .hero-stats,
  .grid-2,
  .related-routes{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .topbar-inner{
    grid-template-columns:1fr auto;
    padding:12px 16px;
  }

  .brand{
    grid-column:1 / 2;
  }

  .topbar-right{
    grid-column:2 / 3;
    justify-self:end;
  }

  .menu-nav{
    grid-column:1 / -1;
    justify-content:flex-start;
    overflow-x:auto;
    padding-top:8px;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }

  .menu-nav::-webkit-scrollbar{
    display:none;
  }

  .menu-nav a{
    flex:0 0 auto;
  }

  .logo{
    font-size:18px;
  }

  .logo-sub{
    font-size:11px;
  }

  .hero{
    padding:42px 16px 82px;
  }

  .hero-kicker{
    margin-bottom:14px;
  }

  .hero h1{
    font-size:36px;
    max-width:100%;
  }

  .hero p{
    font-size:16px;
    margin-top:12px;
    max-width:100%;
  }

  .search-wrap{
    margin:-38px auto 0;
    padding:0 16px;
  }

  .search-card{
    border-radius:28px;
  }

  .search-bar{
    grid-template-columns:1fr;
  }

  .search-field{
    min-height:auto;
    padding:17px 18px;
    border-right:none;
    border-bottom:1px solid var(--line);
  }

  .swap-wrap{
    border-right:none;
    border-bottom:1px solid var(--line);
    padding:12px 18px;
    justify-content:flex-start;
  }

  .search-button{
    min-width:0;
    width:100%;
    padding:18px 20px;
  }

  .chip-row{
    padding:12px 14px 14px;
  }

  .section{
    padding:42px 16px;
  }

  .section-tight{
    padding-top:22px;
    padding-bottom:6px;
  }

  .section h2{
    font-size:29px;
  }

  .section-intro{
    font-size:15px;
  }

  .route-grid,
  .schedule-strip,
  .trust-grid,
  .grid-2,
  .related-routes{
    grid-template-columns:1fr;
  }

  .route-image{
    height:210px;
  }

  .route-text{
    min-height:auto;
  }

  .schedule-card,
  .trust-card,
  .info-card,
  .hero-main,
  .hero-side{
    border-radius:22px;
  }

  .container{
    padding:18px 16px 60px;
  }

  .hero-main,
  .hero-side,
  .info-card{
    padding:20px;
  }

  .time-bar{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-inner,
  .site-footer-inner{
    padding:30px 16px 22px;
  }

  .footer-grid,
  .footer-top{
    grid-template-columns:1fr;
    gap:22px;
  }

  .footer-bottom{
    grid-template-columns:1fr;
    gap:10px;
  }

  .footer-right,
  .footer-disclaimer{
    text-align:left;
  }

  .mobile-cta{
    display:block;
    position:fixed;
    left:14px;
    right:14px;
    bottom:14px;
    z-index:1100;
  }

  .mobile-cta a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:16px 18px;
    border-radius:999px;
    background:var(--accent);
    color:white;
    font-weight:800;
    font-size:15px;
    box-shadow:0 18px 35px rgba(255,56,92,.28);
  }
}

@media (max-width:640px){
  .schedule-table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}
