/* ==========================================================================
   MintFerries.com — Ferry Ticket Booking Platform
   Shared stylesheet — "Fresh" design system (distinct from prior builds)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --mint: #0eaf83;
  --mint-dark: #0b7a5c;
  --mint-deep: #0f2e28;
  --mint-tint: #e7f8f1;
  --coral: #ff6a5b;
  --coral-dark: #e5503f;
  --ink: #12211d;
  --muted: #5c716b;
  --line: #dcece5;
  --bg-soft: #f6fbf8;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(15, 46, 40, 0.09);
  --shadow-lg: 0 18px 50px rgba(15, 46, 40, 0.22);
  --max-width: 1200px;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 12px; color: var(--ink); }
p { margin: 0 0 14px; color: var(--muted); }

.section { padding: 74px 0; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--bg-soft); }
.section-deep { background: var(--mint-deep); color: #d9efe6; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 6px; color: var(--mint-dark); background: var(--mint-tint);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: 32px; font-weight: 800; }
.section-head p { margin-bottom: 0; }
.section-head.left { text-align: left; margin: 0 0 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary { background: var(--coral); border-color: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-1px); }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--white); }
.btn-mint:hover { background: var(--mint-dark); border-color: var(--mint-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--mint-dark); }
.btn-ghost:hover { background: var(--mint-tint); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--mint-deep); color: #a9d3c5; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 9px 22px; flex-wrap: wrap; gap: 6px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a { color: #a9d3c5; }
.topbar-contact a:hover { color: var(--white); }
.topbar-note { opacity: 0.85; }

/* ---------- Header ---------- */
header.site-header { position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); box-shadow: 0 2px 14px rgba(15,46,40,0.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--mint-deep); }
.logo .logo-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(140deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0; box-shadow: 0 6px 14px rgba(14,175,131,0.35);
}
.logo .logo-text small { display: block; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: 999px; }
nav.main-nav a { font-size: 14px; font-weight: 600; color: var(--ink); padding: 9px 16px; border-radius: 999px; }
nav.main-nav a:hover { background: var(--white); color: var(--mint-dark); }
nav.main-nav a.active { background: var(--mint-deep); color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------------- Account menu (shown once logged in) ---------------- */
.account-menu { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 9px; background: var(--mint-tint); border: 1px solid #cdeee1;
  border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; font-family: var(--font-body);
}
.account-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.account-name { font-size: 13.5px; font-weight: 600; color: var(--mint-dark); }
.account-caret { color: var(--mint-dark); flex-shrink: 0; transition: transform 0.15s ease; }
.account-trigger[aria-expanded="true"] .account-caret { transform: rotate(180deg); }
.account-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px;
  display: none; z-index: 50;
}
.account-dropdown.open { display: block; }
.account-dropdown-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--ink); text-decoration: none; cursor: pointer; background: none; border: none;
  text-align: left; font-family: var(--font-body);
}
.account-dropdown-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.account-dropdown-item:hover { background: var(--bg-soft); color: var(--mint-dark); }
.account-dropdown-item:hover svg { color: var(--mint-dark); }
.account-dropdown-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.account-dropdown-logout { color: var(--coral-dark); }
.account-dropdown-logout svg { color: var(--coral-dark); }
.account-dropdown-logout:hover { background: #fdeceb; color: var(--coral-dark); }

/* ---------------- Inline form error banner (login / signup modals) ---------------- */
.form-error {
  display: none; background: #fdeceb; color: var(--coral-dark); border: 1px solid #f6cac5;
  font-size: 12.5px; padding: 10px 13px; border-radius: 10px; margin-bottom: 14px; line-height: 1.5;
}
.form-error.info { background: var(--mint-tint); color: var(--mint-dark); border-color: #cdeee1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: linear-gradient(160deg, rgba(6,32,26,0.55) 0%, rgba(6,28,23,0.6) 55%, rgba(4,20,17,0.72) 100%), url('../images/hero-ferry.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 76px 0 190px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: radial-gradient(ellipse at bottom, rgba(14,175,131,0.35), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 740px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.015em; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.hero h1 span { color: #6fe3bb; position: relative; }
.hero p.lead { font-size: 17.5px; color: #e4f3ec; max-width: 560px; margin: 0 auto 30px; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Floating search card (overlaps into next section) */
.search-float-wrap { position: relative; max-width: 980px; margin: -96px auto 0; z-index: 20; padding: 0 22px; }
.booking-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.search-tabs { display: inline-flex; gap: 4px; margin-bottom: 20px; background: var(--bg-soft); padding: 5px; border-radius: 999px; }
.search-tab { padding: 9px 22px; border-radius: 999px; border: none; background: transparent; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.search-tab.active { background: var(--mint-deep); color: var(--white); }

.route-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
.swap-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--mint-tint); color: var(--mint-dark); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; margin-bottom: 2px;
}
.swap-btn:hover { background: #d5f0e5; }

.field-group { margin-bottom: 0; }
.field-group label { display: block; font-size: 11.5px; font-weight: 700; color: var(--mint-dark); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.04em; }
.field-group select, .field-group input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: var(--font-body); color: var(--ink); background: var(--bg-soft);
}
.field-group select:focus, .field-group input:focus { outline: none; border-color: var(--mint); background: var(--white); }

.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.field-row-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }

.pax-box { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; background: var(--bg-soft); }
.pax-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.pax-row span.pax-label { font-size: 13.5px; font-weight: 600; }
.pax-row .pax-ctrl { display: flex; align-items: center; gap: 10px; }
.pax-ctrl button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--mint-dark); font-weight: 800; cursor: pointer; }
.pax-ctrl span { min-width: 16px; text-align: center; font-weight: 700; }

.booking-card .disclaimer { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--mint-deep); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-band div { text-align: center; color: #d9efe6; }
.stats-band strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--white); }
.stats-band span { font-size: 12.5px; }

/* ---------- Timeline steps ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.timeline-step { position: relative; z-index: 1; text-align: center; }
.timeline-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--mint);
  color: var(--mint-dark); font-family: var(--font-head); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.timeline-step h3 { font-size: 16px; }
.timeline-step p { font-size: 13.5px; margin-bottom: 0; }

/* ---------- Route carousel ---------- */
.route-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; }
.route-scroll::-webkit-scrollbar { height: 7px; }
.route-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.route-card {
  flex: 0 0 260px; scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.route-card .rc-thumb {
  height: 130px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
}
.route-card .rc-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease;
}
.route-card:hover .rc-thumb img { transform: scale(1.07); }
.route-card .rc-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,122,92,0) 55%, rgba(6,32,26,0.35) 100%);
}
.route-card .rc-body { padding: 16px; }
.route-card h4 { font-size: 15px; margin-bottom: 4px; }
.route-card .rc-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.route-card .rc-tag { background: var(--mint-tint); color: var(--mint-dark); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; }

/* ---------- Feature bento ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; transition: transform .15s ease, box-shadow .15s ease; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--mint-tint); color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px;
}
.bento-card h3 { font-size: 16.5px; }
.bento-card p { font-size: 14px; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.testi-quote { font-family: var(--font-head); font-size: 40px; color: var(--mint-tint); line-height: 1; margin-bottom: 6px; }
.testi-card p.testi-text { color: var(--ink); font-size: 14.5px; margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--white); font-weight: 700; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.testi-name { font-weight: 700; font-size: 13.5px; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ---------- FAQ two-column ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); height: fit-content; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q:hover { color: var(--mint-dark); }
.faq-q .plus { font-size: 20px; color: var(--mint); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }
.faq-a p { margin: 0; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--mint) 0%, var(--mint-dark) 100%); color: var(--white); border-radius: var(--radius-lg); padding: 50px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: #d9f2e9; margin-bottom: 26px; }

/* ---------- Inner / policy pages ---------- */
.page-hero { background: var(--mint-deep); color: var(--white); padding: 58px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: 33px; margin-bottom: 8px; }
.page-hero .crumb { color: #a9d3c5; font-size: 13.5px; }
.page-hero .crumb a { color: #fff; font-weight: 600; }

.policy-content { max-width: 860px; margin: 0 auto; padding: 60px 22px; }
.policy-content h2 { font-size: 21px; color: var(--mint-dark); margin-top: 36px; padding-bottom: 9px; border-bottom: 2px solid var(--line); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.policy-content ul li { margin-bottom: 8px; color: var(--muted); }
.policy-content .updated { display: inline-block; background: var(--mint-tint); color: var(--mint-dark); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.policy-note { background: var(--bg-soft); border-left: 4px solid var(--coral); padding: 16px 18px; border-radius: 10px; font-size: 14px; margin: 22px 0; }
.policy-note p { margin: 0; color: var(--ink); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { text-align: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.value-card .bento-icon { margin: 0 auto 14px; }
.company-info-card { background: var(--mint-deep); border-radius: var(--radius-lg); padding: 30px; color: #d9efe6; }
.company-info-card h3 { color: var(--white); }
.info-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.info-row:last-child { border-bottom: none; }
.info-row .info-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.info-row .info-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #9cc9ba; font-weight: 700; margin-bottom: 3px; }
.info-row .info-value { font-size: 14.5px; color: var(--white); font-weight: 600; }
.info-row .info-value a { color: #7fe0bd; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-card-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.contact-info-card { display: flex; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.contact-info-card .bento-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin-bottom: 0; }
.map-placeholder { border-radius: var(--radius-md); border: 1.5px dashed var(--line); background: var(--bg-soft); min-height: 190px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13.5px; }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 20px; }

/* ---------- Book Ferry page ---------- */
.book-widget-wrap { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 36px; }
.book-widget-wrap .booking-card { padding: 0; box-shadow: none; border: none; }

/* ---------- Ferry search results ---------- */
.results-wrap { margin-top: 34px; }
.results-layout { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }

.filter-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 18px; }
.filter-panel h3 { font-size: 15.5px; margin: 0 0 16px; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); margin: 0 0 10px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 8px; cursor: pointer; }
.filter-group label:last-child { margin-bottom: 0; }
.filter-group input[type="checkbox"] { accent-color: var(--mint); width: 15px; height: 15px; }
.filter-group input[type="range"] { width: 100%; accent-color: var(--mint); margin-top: 4px; }

.results-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.results-summary h2 { font-size: 19px; margin: 0; }
.sort-select select {
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 13px;
  font-family: var(--font-body); color: var(--ink); background: var(--white);
}

.ferry-card {
  display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.ferry-logo {
  width: 52px; height: 52px; border-radius: 12px; background: var(--mint-tint); color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.ferry-info { flex: 1; min-width: 220px; }
.ferry-info h3 { font-size: 15.5px; margin: 0 0 10px; }
.ferry-route-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ferry-time { text-align: center; }
.ferry-time .time { font-size: 16px; font-weight: 700; }
.ferry-time .port { font-size: 11.5px; color: var(--muted); margin-top: 2px; max-width: 110px; }
.ferry-duration { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); position: relative; }
.ferry-duration .line { height: 2px; background: var(--line); position: relative; margin-bottom: 6px; }
.ferry-duration .line::after {
  content: "⛴"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--white); padding: 0 4px; font-size: 13px;
}
.ferry-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.ferry-tags .tag { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.ferry-price { text-align: right; flex-shrink: 0; }
.ferry-price .amount { display: block; font-size: 21px; font-weight: 800; color: var(--mint-dark); }
.ferry-price .per { display: block; font-size: 11px; color: var(--muted); margin-bottom: 10px; }

.empty-state { text-align: center; background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius-md); padding: 48px 24px; color: var(--muted); }
.empty-state .big { font-size: 34px; margin-bottom: 12px; }
.empty-state h3 { color: var(--ink); margin-bottom: 6px; }

@media (max-width: 860px) {
  .results-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .ferry-card { flex-direction: column; align-items: stretch; text-align: center; }
  .ferry-price { text-align: center; }
}

/* ---------- My Account page ---------- */
.account-loading { padding: 60px 0; color: var(--muted); text-align: center; }
.account-shell { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) {
  .account-shell { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

.account-sidebar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow); padding: 26px 20px; position: sticky; top: 18px;
}
.sidebar-identity { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-big-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--white);
  font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.sidebar-identity h2 { font-size: 16px; margin: 0; }
.sidebar-identity p { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; word-break: break-word; }

.sidebar-nav { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 4px; }
.sidebar-link, .sidebar-logout {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 13px; border-radius: 8px; font-family: var(--font-body);
  font-size: 13.5px; font-weight: 600; color: var(--muted); background: transparent; border: none; cursor: pointer;
}
.sidebar-link svg, .sidebar-logout svg { width: 17px; height: 17px; flex-shrink: 0; }
.sidebar-link:hover { background: var(--bg-soft); color: var(--mint-dark); }
.sidebar-link.active { background: var(--mint-deep); color: var(--white); }
.sidebar-logout { color: var(--coral-dark); margin-top: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.sidebar-logout:hover { background: #fdeceb; }

.account-main { min-width: 0; }
.account-tab { display: none; }
.account-tab.active { display: block; }
.account-tab h2 { font-size: 22px; margin: 0 0 6px; }
#welcomeName { color: var(--mint-dark); }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 640px) { .account-stats { grid-template-columns: 1fr; } }
.stat-card { background: var(--mint-deep); border-radius: var(--radius-md); padding: 20px; text-align: center; color: var(--white); }
.stat-num { display: block; font-size: 26px; font-weight: 800; }
.stat-label { font-size: 11.5px; color: #b9e3d3; margin-top: 6px; display: block; }

.account-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.account-panel h3 { font-size: 15.5px; margin: 0 0 14px; }
.account-panel p { margin: 0 0 8px; font-size: 13.5px; }
.account-panel .field-group { margin-bottom: 16px; }
.account-panel select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: var(--font-body); color: var(--ink); background: var(--bg-soft);
}

.booking-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.booking-row:last-child { border-bottom: none; }
.booking-route { font-size: 14.5px; font-weight: 700; }
.round-trip-badge { display: inline-block; background: var(--mint-tint); color: var(--mint-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.booking-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.booking-actions { display: flex; gap: 16px; margin-top: 8px; }
.booking-actions .link-btn { color: var(--mint-dark); }
.booking-amount { font-size: 15px; font-weight: 800; color: var(--mint-dark); }

/* ---------- Booking flow: steps, passenger details, payment, confirmation ---------- */
.booking-steps { display: flex; align-items: center; justify-content: center; gap: 0; padding: 10px 0 34px; flex-wrap: wrap; }
.booking-steps .bstep { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.booking-steps .circle {
  width: 32px; height: 32px; border-radius: 50%; background: var(--line); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.booking-steps .bstep.active .circle, .booking-steps .bstep.done .circle { background: var(--mint); color: var(--white); }
.booking-steps .connector { width: 56px; height: 2px; background: var(--line); margin: 0 8px; flex-shrink: 0; }
.booking-steps span.label { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.booking-steps .bstep.active span.label { color: var(--mint-dark); }
@media (max-width: 640px) {
  .booking-steps .connector { width: 22px; margin: 0 4px; }
  .booking-steps span.label { display: none; }
  .booking-steps .bstep.active span.label { display: inline; }
}

.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
@media (max-width: 860px) { .booking-layout { grid-template-columns: 1fr; } }

.card-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card-panel h3 { margin: 0 0 16px; font-size: 15.5px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }

.tnc-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--muted); }
.tnc-check input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--mint); cursor: pointer; }
.tnc-check a { color: var(--mint-dark); font-weight: 700; text-decoration: none; }
.tnc-check a:hover { text-decoration: underline; }

.passenger-block { border: 1px dashed var(--line); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.passenger-block h4 { margin: 0 0 12px; font-size: 13.5px; }
.passenger-block .field-row-3 { margin-bottom: 12px; }
.passenger-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.passenger-block-head h4 { margin: 0; }
.link-btn { background: none; border: none; color: var(--coral-dark); font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; }
.link-btn:hover { text-decoration: underline; }

.summary-panel { position: sticky; top: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; color: var(--muted); }
.summary-row.total { font-size: 16.5px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.summary-route { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 14.5px; }
.trip-leg-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin: 12px 0 4px; }
.trip-leg-outbound { color: var(--mint-dark); margin-top: 0; }
.trip-leg-return { color: var(--coral-dark); }

.confirmation-box { text-align: center; max-width: 720px; margin: 0 auto; padding: 40px 24px 70px; }
.confirmation-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--mint-tint); color: var(--mint-dark);
  font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.eticket { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: left; overflow: hidden; margin-top: 28px; }
.eticket-header { background: linear-gradient(135deg, var(--mint), var(--mint-dark)); color: var(--white); padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.eticket-body { padding: 24px 26px; }
.eticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.eticket-grid .item span.label { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.eticket-grid .item span.value { font-size: 14.5px; font-weight: 700; }
.eticket-footer { border-top: 1px dashed var(--line); padding: 16px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .confirmation-box { padding: 26px 16px 50px; }
  .eticket-header, .eticket-body, .eticket-footer { padding-left: 18px; padding-right: 18px; }
  .eticket-grid { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .topbar, .site-footer, .booking-steps, .toast,
  #printTicketBtn, #bookAnotherBtn, .confirmation-icon { display: none !important; }
  .eticket { box-shadow: none; border: 1px solid #ccc; }
}

/* ---------- Newsletter ---------- */
.newsletter-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 22px; margin-top: 18px; }
.newsletter-box form { display: flex; gap: 10px; margin-top: 12px; }
.newsletter-box input { flex: 1; padding: 11px 14px; border-radius: 999px; border: none; font-size: 13.5px; }
.newsletter-box button { border-radius: 999px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--mint-deep); color: #a9d3c5; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: var(--white); font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-grid .logo { color: var(--white); margin-bottom: 14px; }
.footer-grid .logo .logo-text small { color: #7fa596; }
.footer-about p { font-size: 13.5px; color: #93bfae; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; color: #a9d3c5; }
.footer-links a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: #a9d3c5; align-items: flex-start; }
.footer-contact li .fi { color: #7fe0bd; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: #a9d3c5; }
.footer-contact a:hover { color: var(--white); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.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: 14px; color: var(--white); }
.social-row a:hover { background: var(--coral); }
.footer-bottom { padding: 22px 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #6a998a; }
.footer-disclaimer { font-size: 12px; color: #6a998a; padding-bottom: 26px; line-height: 1.7; }

/* ---------- Modals ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 46, 40, 0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 420px; padding: 34px; position: relative; box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--bg-soft); color: var(--ink); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--line); }
.modal-box h3 { font-size: 21px; margin-bottom: 4px; }
.modal-box .modal-sub { font-size: 13.5px; margin-bottom: 22px; }
.modal-box .field-group { margin-bottom: 16px; }
.modal-box .field-group input { padding: 12px 14px; }
.modal-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.modal-foot button { background: none; border: none; color: var(--mint-dark); font-weight: 700; cursor: pointer; padding: 0; font-size: 13.5px; }
.api-note { background: var(--mint-tint); color: var(--mint-dark); font-size: 12px; padding: 11px 13px; border-radius: 10px; margin-top: 16px; line-height: 1.5; }

/* ---------------- Signup: email OTP verification ---------------- */
.btn-verify, .btn-otp-confirm {
  background: transparent; border: 1.5px solid var(--mint); color: var(--mint-dark);
  flex-shrink: 0; padding: 0 16px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  border-radius: var(--radius-sm); cursor: pointer;
}
.btn-verify:hover, .btn-otp-confirm:hover { background: var(--mint-tint); }
.btn-verify:disabled, .btn-otp-confirm:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-outline-mint {
  background: transparent; border: 1.5px solid var(--mint); color: var(--mint-dark);
  padding: 10px 18px; font-size: 13px; font-weight: 700; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head);
}
.btn-outline-mint:hover { background: var(--mint-tint); }
.btn-outline-mint:disabled { opacity: 0.5; cursor: not-allowed; }

.email-verify-wrap { display: flex; gap: 8px; align-items: stretch; }
.email-verify-wrap input { flex: 1; min-width: 0; }

.email-verified-badge {
  display: none; align-items: center; gap: 6px; color: var(--mint-dark); font-size: 12.5px; font-weight: 700;
  margin: 8px 0 0;
}
.email-verified-badge.show { display: flex; }

.otp-row { display: none; gap: 8px; align-items: stretch; margin: 14px 0 0; }
.otp-row.show { display: flex; }
.otp-row input {
  flex: 1; min-width: 0; letter-spacing: 5px; font-weight: 700; text-align: center;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-body); color: var(--ink); background: var(--bg-soft);
}
.otp-row input:focus { outline: none; border-color: var(--mint); background: var(--white); }
.btn-otp-confirm { margin: 0; }

.otp-resend { display: none; font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.otp-resend.show { display: block; }
.otp-resend a { color: var(--mint-dark); font-weight: 700; text-decoration: none; }
.otp-resend a.disabled { pointer-events: none; color: #a9bdb6; font-weight: 600; }
.otp-resend #otpTimer { margin-left: 4px; }

.is-loading { opacity: 0.65; pointer-events: none; }

@media (max-width: 480px) {
  .email-verify-wrap, .otp-row { flex-direction: column; }
  .btn-verify, .btn-otp-confirm { width: 100%; padding: 11px; }
}
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 2000; opacity: 0; transform: translateY(12px); transition: all 0.25s ease; pointer-events: none; max-width: 320px; }
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid, .testi-grid, .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .field-row-3, .field-row-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap.mobile-open nav.main-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius-md); box-shadow: var(--shadow); z-index: 400;
  }
  .nav-wrap.mobile-open nav.main-nav a { width: 100%; text-align: center; }
  .hero h1 { font-size: 32px; }
  .search-float-wrap { margin-top: -70px; }
  .route-row { grid-template-columns: 1fr; }
  .swap-btn { justify-self: center; transform: rotate(90deg); }
  .value-grid, .testi-grid, .bento-grid, .timeline { grid-template-columns: 1fr; }
  .field-row-3, .field-row-2, .field-row-4 { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 50px 0; }
  .cta-band, .book-widget-wrap { padding: 26px 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 44px 0 130px; }
  .hero h1 { font-size: 27px; }
  .booking-card { padding: 20px; }
  .newsletter-box form { flex-direction: column; }
}
