/* ===========================================================
   EkoSail — main stylesheet
   =========================================================== */

:root {
  --navy: #0b3d5c;
  --navy-dark: #072a40;
  --teal: #0e8f8f;
  --teal-light: #12b3b3;
  --coral: #ff7a45;
  --coral-dark: #e8632f;
  --sand: #f7f4ee;
  --white: #ffffff;
  --gray-100: #f4f6f8;
  --gray-200: #e5e9ed;
  --gray-400: #a9b4bd;
  --gray-600: #64707a;
  --gray-800: #2b333a;
  --shadow-sm: 0 2px 8px rgba(11, 61, 92, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 61, 92, 0.12);
  --shadow-lg: 0 16px 40px rgba(11, 61, 92, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
}
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }

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

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: 2.1rem; margin: 0 0 12px; color: var(--navy); }
.section-navy .section-head h2 { color: var(--white); }
.section-head p { color: var(--gray-600); font-size: 1.05rem; margin: 0; }
.section-navy .section-head p { color: #cfe0e8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy); flex-shrink: 0; cursor: pointer; }
.logo span.mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem;
}
.logo-img { height: 76px; width: auto; display: block; }
.logo--footer .logo-img { height: 84px; }
.main-nav ul { display: flex; gap: 50px; align-items: center; }
.main-nav a { font-weight: 600; color: var(--gray-800); padding: 6px 0; border-bottom: 2px solid transparent; cursor: pointer; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); border-color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

@media (max-width: 520px) {
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo span.mark { width: 34px; height: 34px; font-size: 1rem; }
  .logo-img { height: 56px; }
  .header-inner { padding: 6px 16px; gap: 8px; }
  .header-actions { gap: 8px; }
  .header-actions > a.btn.btn-navy.btn-sm { display: none; } /* hide "Book Now" text button, nav link covers it */
  .btn-auth-link, .header-actions .btn-primary.btn-sm { padding: 8px 12px; font-size: 0.78rem; }
  .account-trigger #profileName { display: none; } /* keep just avatar + caret on very small screens */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: linear-gradient(160deg, rgba(6,26,40,0.45) 0%, rgba(5,22,34,0.5) 60%, rgba(3,15,24,0.65) 100%), url('../images/hero-ferry.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 70px 0 220px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .hero { padding: 44px 0 190px; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: radial-gradient(ellipse at bottom, rgba(14,143,143,0.35), transparent 70%);
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; text-align: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero h1 { font-size: 3rem; line-height: 1.15; margin: 0 0 18px; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero h1 em { color: var(--teal-light); font-style: normal; }
.hero p.lead { font-size: 1.15rem; color: #d6e4ea; max-width: 620px; margin: 0 auto 32px; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { width: auto; }
@media (max-width: 640px) {
  .hero h1 { font-size: 2.3rem; }
  .hero p.lead { font-size: 1rem; }
  .hero-badge { font-size: 0.78rem; padding: 5px 12px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Search widget ---------- */
.search-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 1000px;
  margin: -150px auto 0;
  position: relative;
  z-index: 5;
  color: var(--gray-800);
}
.trip-toggle { display: flex; gap: 10px; margin-bottom: 20px; }
.trip-toggle label {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; background: var(--gray-100);
}
.trip-toggle input { accent-color: var(--teal); }
.trip-toggle label:has(input:checked) { background: var(--teal); color: var(--white); }

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label { font-size: 0.78rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.5px; }
.field select, .field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--teal); }
.swap-btn {
  align-self: center;
  justify-self: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 18px;
}
.field-return.disabled { opacity: 0.4; pointer-events: none; }
.search-submit { padding: 14px 32px; }

.return-leg-banner {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.return-leg-banner .rl-step { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; margin-bottom: 4px; }
.return-leg-banner .rl-outbound { font-weight: 700; }
.return-leg-banner a { color: var(--white); text-decoration: underline; font-weight: 600; font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 900px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .search-widget { padding: 18px; margin: -100px 16px 0; }
  .search-grid { grid-template-columns: 1fr; }
  .swap-btn { margin: 4px auto; transform: rotate(90deg); }
  .trip-toggle { flex-wrap: wrap; }
}

/* ---------- Route cards ---------- */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.route-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.route-img {
  height: 150px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}
.route-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.route-card:hover .route-img img { transform: scale(1.06); }
.route-body { padding: 18px 20px; }
.route-body h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--navy); }
.route-body p { margin: 0; color: var(--gray-600); font-size: 0.9rem; }
.route-body .arrow { float: right; color: var(--coral); font-weight: 700; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 28px 18px; }
.step-icon {
  width: 68px; height: 68px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--navy); }
.step-card p { margin: 0; color: var(--gray-600); font-size: 0.92rem; }
.step-num {
  display: inline-block; font-size: 0.75rem; font-weight: 800; color: var(--coral);
  margin-bottom: 6px; letter-spacing: 1px;
}

/* ---------- Why us / stats ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.why-copy h2 { font-size: 2rem; color: var(--navy); margin: 0 0 14px; }
.why-copy p { color: var(--gray-600); margin-bottom: 28px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 420px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } }
.stat-box { text-align: center; }
.stat-box .num { font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.stat-box .label { font-size: 0.8rem; color: var(--gray-600); }
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-item .icon { font-size: 1.6rem; }
.feature-item h4 { margin: 0 0 4px; color: var(--navy); }
.feature-item p { margin: 0; color: var(--gray-600); font-size: 0.9rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.stars { color: #f5a623; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p.quote { color: var(--gray-800); font-size: 0.95rem; min-height: 90px; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.reviewer strong { display: block; font-size: 0.9rem; }
.reviewer span { font-size: 0.78rem; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-size: 1rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-q .plus { font-size: 1.4rem; color: var(--coral); transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--gray-600); font-size: 0.92rem; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  margin: 0 24px;
}
.cta-band h2 { font-size: 2rem; margin: 0 0 12px; }
.cta-band p { color: #d6e4ea; margin: 0 0 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background-image: linear-gradient(rgba(5, 22, 34, 0.35), rgba(5, 22, 34, 0.55)), url('../images/footer-bg.svg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #c8d6dd;
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--white); margin: 0 0 16px; font-size: 1rem; }
.footer-grid p, .footer-grid li { font-size: 0.9rem; margin-bottom: 10px; color: #aebfc7; }
.footer-grid a:hover { color: var(--teal-light); }
.footer-bottom {
  text-align: left; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: #8ba0aa;
}
.social-row { display: flex; gap: 12px; 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;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 8px; font-size: 2.2rem; }
.breadcrumb { font-size: 0.85rem; color: #b9cdd5; }
.breadcrumb a { color: var(--teal-light); }

/* ---------- Legal / policy pages ---------- */
.legal-content { max-width: 820px; margin: 0 auto; color: var(--gray-800); line-height: 1.75; }
.legal-content .updated-note { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 32px; }
.legal-content h2 { color: var(--navy); font-size: 1.3rem; margin: 36px 0 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--teal); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }

/* ---------- Search results page ---------- */
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  padding: 40px 0 80px;
}
.filter-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.filter-panel h3 { margin: 0 0 16px; font-size: 1rem; color: var(--navy); }
.filter-group { margin-bottom: 22px; }
.filter-group h4 { font-size: 0.82rem; text-transform: uppercase; color: var(--gray-600); margin: 0 0 10px; letter-spacing: 0.5px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin-bottom: 8px; cursor: pointer; }
.filter-group input[type=range] { width: 100%; accent-color: var(--teal); }
.results-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-summary h2 { margin: 0; font-size: 1.3rem; color: var(--navy); }
.sort-select select { padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--gray-200); font-family: inherit; }

.ferry-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.ferry-logo {
  width: 90px; height: 64px; border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}
.ferry-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ferry-info h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.ferry-route-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.ferry-time { text-align: center; }
.ferry-time .time { font-size: 1.2rem; font-weight: 700; }
.ferry-time .port { font-size: 0.78rem; color: var(--gray-600); }
.ferry-duration { text-align: center; color: var(--gray-600); font-size: 0.8rem; }
.ferry-duration .line { width: 80px; height: 2px; background: var(--gray-200); position: relative; margin: 6px 0; }
.ferry-duration .line::after { content: "⛴"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 0.9rem; }
.ferry-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--sand); color: var(--navy); font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.ferry-price { text-align: right; }
.ferry-price .amount { font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.ferry-price .per { font-size: 0.75rem; color: var(--gray-600); margin-bottom: 10px; display:block; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-600); }
.empty-state .big { font-size: 3rem; margin-bottom: 12px; }

@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .ferry-card { grid-template-columns: 1fr; text-align: center; }
  .ferry-route-row { justify-content: center; }
  .ferry-price { text-align: center; }
}

/* ---------- Booking / Payment / Confirmation ---------- */
.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 40px 0 80px; align-items: start; }
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 32px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 4px;
}
.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(--gray-200); color: var(--gray-600);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.booking-steps .bstep.active .circle, .booking-steps .bstep.done .circle { background: var(--teal); color: var(--white); }
.booking-steps .connector { width: 60px; height: 2px; background: var(--gray-200); margin: 0 8px; flex-shrink: 0; }
.booking-steps span.label { font-size: 0.85rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }
.booking-steps .bstep.active span.label { color: var(--navy); }

@media (max-width: 640px) {
  .booking-steps .connector { width: 26px; margin: 0 4px; }
  .booking-steps span.label { display: none; }
  .booking-steps .bstep.active span.label { display: inline; }
}

.card-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.card-panel h3 { margin: 0 0 18px; color: var(--navy); font-size: 1.1rem; border-bottom: 1px solid var(--gray-200); padding-bottom: 12px; }
.tnc-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.92rem; color: var(--gray-600); }
.tnc-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--teal); cursor: pointer; }
.tnc-check a { color: var(--teal); font-weight: 600; }
.tnc-check a:hover { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--gray-600); }
.form-group input, .form-group select {
  padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--gray-200); font-family: inherit; font-size: 0.92rem;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--teal); }
.error-text { color: #d64545; font-size: 0.78rem; min-height: 16px; }
.passenger-block { border: 1px dashed var(--gray-200); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.passenger-block h4 { margin: 0 0 12px; font-size: 0.95rem; color: var(--navy); }
.link-btn { background: none; border: none; color: var(--coral); font-weight: 700; font-size: 0.82rem; cursor: pointer; font-family: var(--font); white-space: nowrap; }
.link-btn:hover { text-decoration: underline; }

.summary-panel { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; color: var(--gray-600); }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--gray-200); padding-top: 14px; margin-top: 8px; }
.summary-route { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; color: var(--navy); }

.confirmation-box { text-align: center; max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.confirmation-icon { width: 90px; height: 90px; border-radius: 50%; background: #e4f7ec; color: #1fa971; font-size: 2.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.eticket { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: left; overflow: hidden; margin-top: 32px; }
.eticket-header { background: linear-gradient(135deg, var(--teal), var(--navy)); color: var(--white); padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.eticket-body { padding: 26px 28px; }
.eticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.eticket-grid .item span.label { display: block; font-size: 0.75rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.5px; }
.eticket-grid .item span.value { font-size: 1rem; font-weight: 700; color: var(--navy); }
.qr-box { width: 130px; height: 130px; background: repeating-linear-gradient(45deg, var(--gray-800), var(--gray-800) 4px, var(--white) 4px, var(--white) 8px); border-radius: 8px; margin: 0 auto; opacity: 0.85; }
.eticket-footer { border-top: 1px dashed var(--gray-200); padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: var(--gray-600); }

@media (max-width: 480px) {
  .confirmation-box { padding: 40px 16px; }
  .eticket-header, .eticket-body, .eticket-footer { padding-left: 18px; padding-right: 18px; }
  .eticket-grid { grid-template-columns: 1fr; }
}

/* Misc pages */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { display: flex; gap: 14px; margin-bottom: 20px; }
.info-card .icon { font-size: 1.4rem; }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-md); padding: 20px 24px; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-toggle { display: flex; }
  .routes-grid, .steps-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .routes-grid, .steps-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.6rem; }
  .page-hero { padding: 40px 20px; }
  .page-hero h1 { font-size: 1.7rem; }
  .card-panel { padding: 20px; }
  .card-panel h3 { font-size: 1rem; }
  .cta-band { padding: 44px 20px; margin: 0 12px; }
  .cta-band h2 { font-size: 1.6rem; }
  .results-summary { justify-content: flex-start; }
  .ferry-route-row { gap: 10px; }
}
@media (max-width: 400px) {
  .routes-grid, .steps-grid, .reviews-grid { gap: 16px; }
  .booking-steps .connector { width: 16px; }
}