/* ==========================================================================
   Tahmeed Coach - stylesheet
   Brand colours can be adjusted in the :root block below.
   ========================================================================== */

:root {
  /* Brand: Tahmeed orange. Change these to re-theme the whole site. */
  --brand: #FF6500;
  --brand-600: #E85A00;
  --brand-700: #B84400;
  --brand-800: #8F3500;
  --brand-100: #FFDCC2;
  --brand-50: #FFF2E8;
  --on-brand: #1a1108;
  --accent: #FF6500;
  --accent-600: #E85A00;
  --accent-700: #9A3A00;
  --accent-50: #FFF2E8;
  --focus: #E85A00;

  --ink: #1c1c1e;
  --ink-2: #48484d;
  --muted: #66666c;
  --line: #e2e2e6;
  --line-2: #eeeef0;
  --line-3: #cfcfd5;
  --surface: #f6f6f7;
  --white: #ffffff;
  --danger: #b42318;
  --danger-50: #fef3f2;
  --ok: #0b7a4b;

  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 8px;

  --shadow-sm: 0 1px 2px rgba(28, 28, 30, .05);
  --shadow-md: 0 6px 20px rgba(28, 28, 30, .08);
  --shadow-lg: 0 16px 44px rgba(28, 28, 30, .16);

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 80%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-800); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.015em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.ic { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-md);
  border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1;
  white-space: nowrap; text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-600); color: var(--on-brand); box-shadow: 0 6px 16px rgba(255, 101, 0, .28); }
.btn-accent { background: var(--accent); color: var(--on-brand); }
.btn-accent:hover { background: var(--accent-600); color: var(--on-brand); box-shadow: 0 6px 16px rgba(255, 101, 0, .28); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-3); }
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand-800); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2);
  padding: 6px 10px 6px 4px; margin-left: -4px; border-radius: 4px;
}
.back-link:hover { color: var(--brand-800); background: rgba(255, 101, 0, .08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(28, 28, 30, .08); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 50px; width: auto; max-width: 220px; object-fit: contain; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 4px; color: var(--ink-2); font-weight: 600; font-size: .98rem;
  transition: background-color .15s, color .15s;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.active { color: var(--brand-800); background: var(--brand-50); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--line-2); background: #fff; padding: 12px var(--gutter) 20px; }
.mobile-nav a.nav-link { display: block; padding: 14px 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-nav a.nav-link.active { color: var(--brand-800); }
.mobile-nav .btn { margin-top: 16px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .brand-logo { height: 42px; max-width: 170px; }
}
@media (max-width: 400px) { .header-cta .btn { padding: 0 12px; } }
@media (min-width: 961px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .06) 55%, rgba(0, 0, 0, .6) 100%),
    url("../assets/hero-bus.jpg") center / cover no-repeat,
    url("../assets/hero-scene.svg") center bottom / cover no-repeat,
    linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
}
.search-wrap { position: relative; z-index: 5; margin-top: -92px; }

/* ---------- Search card ---------- */
.search-card {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line-2);
}
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.trip-toggle { display: inline-flex; background: var(--surface); padding: 4px; border-radius: 6px; border: 1px solid var(--line-2); }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 22px; border-radius: 4px; font-weight: 700; color: var(--ink-2); transition: background-color .18s, color .18s; }
.seg input:checked + span { background: var(--brand); color: var(--on-brand); box-shadow: 0 2px 8px rgba(255, 101, 0, .3); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.search-note { color: var(--muted); font-size: .9rem; }

.search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 14px; align-items: start; }
.field { min-width: 0; }
.field-label { display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 6px; }
.field label, .field-label label { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 500; font-size: .8rem; margin-left: 4px; }
.control { position: relative; }
.control > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.control input, .control select, .control textarea {
  width: 100%; height: 52px; padding: 0 14px 0 42px; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}
.control select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366666c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.control input:hover, .control select:hover, .control textarea:hover { border-color: var(--line-3); }
.control input:focus, .control select:focus, .control textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 101, 0, .16); }
.control.plain input, .control.plain select, .control.plain textarea { padding-left: 14px; }
.control textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.control input[type="date"] { min-height: 52px; }
.date-ph { position: absolute; left: 43px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; }
.date-ph[hidden] { display: none; }
.control:has(.date-ph:not([hidden])) input[type="date"]::-webkit-datetime-edit { opacity: 0; }
.field.has-error .control input, .field.has-error .control select, .field.has-error .control textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .09); }
.field-error { color: var(--danger); font-size: .84rem; font-weight: 600; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.field-submit .btn { width: 100%; height: 52px; margin-top: 28px; }
.swap-btn {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--brand-700);
  font-weight: 700; font-size: .8rem; line-height: 1; height: 24px; padding: 0 6px; border-radius: 6px; cursor: pointer;
}
.swap-btn:hover { background: var(--brand-50); }

@media (max-width: 640px) {
  .search-wrap { margin-top: -72px; }
  .field-submit .btn { margin-top: 4px; }
  .seg span { padding: 9px 18px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--ink-2); margin-top: 10px; max-width: 560px; font-size: 1.05rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
@media (max-width: 420px) { .grid, .grid-2 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 4px;
  background: var(--brand-50); color: var(--brand-700); font-size: .8rem; font-weight: 600; line-height: 1.3;
}
.chip svg { color: var(--brand); }
.chip-plain { background: var(--surface); color: var(--ink-2); }
.chip-plain svg { color: var(--muted); }

.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 4px; font-size: .78rem; font-weight: 700; }
.badge-standard { background: #eef1ef; color: var(--ink-2); }
.badge-vip { background: var(--brand-50); color: var(--brand-700); }
.badge-executive { background: var(--accent-50); color: var(--accent-700); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ok); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- Route cards ---------- */
.route-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s;
}
.route-card:hover { border-color: var(--line-3); box-shadow: var(--shadow-md); }
.rc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; }
.rc-top svg { color: var(--accent-600); }
.rc-times { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.rc-times .lbl { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.rc-times strong { font-size: 1.12rem; font-family: var(--font-display); }
.rc-times small { display: block; color: var(--muted); font-size: .76rem; }
.rc-times > div:last-child { text-align: right; }
.rc-dur { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 4px; background: var(--surface); font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.rc-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rc-count { color: var(--muted); font-size: .84rem; font-weight: 600; }
.route-card .btn { margin-top: auto; }

/* ---------- Destination cards ---------- */
.dest-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s; }
.dest-card:hover { border-color: var(--line-3); box-shadow: var(--shadow-md); }
.dest-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200V140Q50 96 100 128T200 112T320 96V200Z' fill='%23ffffff' fill-opacity='.10'/%3E%3Cpath d='M0 200V166Q70 132 140 158T260 146T320 152V200Z' fill='%23ffffff' fill-opacity='.14'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat,
    linear-gradient(150deg, hsl(var(--hue, 160) 48% 30%), hsl(var(--hue, 160) 52% 18%));
}
.dest-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dest-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-country { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--ink); padding: 4px 11px; border-radius: 4px; font-size: .78rem; font-weight: 700; }
.dest-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dest-body h3 { font-size: 1.35rem; font-weight: 700; }
.dest-body .desc { color: var(--ink-2); font-size: .96rem; }
.dest-info { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.dest-info span { display: inline-flex; align-items: center; gap: 8px; }
.dest-info svg { color: var(--brand); }
.dest-body .btn { margin-top: auto; }
.dest-body .dest-info + .btn { margin-top: 10px; }

/* ---------- Steps ---------- */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: st; }
.step { position: relative; padding-top: 18px; border-top: 3px solid var(--brand-100); }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: -17px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.step h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.step p { color: var(--ink-2); font-size: .97rem; }

/* ---------- Amenities ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.amenity { display: flex; gap: 16px; align-items: flex-start; }
.amenity-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); }
.amenity h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.amenity p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Operator ---------- */
.operator { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.operator h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.operator p { color: var(--ink-2); font-size: 1.05rem; }
.operator p + p { margin-top: 12px; }
.operator .chips { margin-top: 22px; }
.stat-panel { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; box-shadow: var(--shadow-md); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .95rem; }
.stat .stars { color: var(--accent); margin-top: 8px; display: flex; gap: 2px; }
@media (max-width: 860px) { .operator { grid-template-columns: 1fr; } }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.info-card .amenity-ic { margin-bottom: 16px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-card p { color: var(--ink-2); font-size: .98rem; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.class-card { border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.class-card h3 { font-size: 1.3rem; }
.class-card p { color: var(--ink-2); }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .off { color: #d4d4d8; }
.review-text { color: var(--ink-2); }
.review-by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); color: var(--brand-800); font-weight: 800; display: grid; place-items: center; font-family: var(--font-display); }
.review-by strong { display: block; line-height: 1.2; }
.review-by span { color: var(--muted); font-size: .85rem; }

/* ---------- Call to action band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 8px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page headers ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line-2); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
.page-head p { color: var(--ink-2); margin-top: 12px; max-width: 620px; font-size: 1.08rem; }

.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 24px; }
.toolbar .field { flex: 1 1 200px; max-width: 320px; }
.result-count { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 4px; font-weight: 700; color: var(--ink-2); transition: background-color .15s, border-color .15s, color .15s; }
.fchip:hover { border-color: var(--brand); color: var(--brand-800); }
.fchip.active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Booking flow ---------- */
.book-page { background: var(--surface); min-height: 70vh; padding: clamp(24px, 4vw, 44px) 0 clamp(56px, 8vw, 96px); }
.book-wrap { display: flex; flex-direction: column; gap: 20px; }
.progress { display: flex; gap: 6px; margin-bottom: 4px; }
.progress li { flex: 1; display: flex; flex-direction: column; gap: 8px; position: relative; padding-top: 0; }
.progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--brand-100); }
.progress li.done::before, .progress li.current::before { background: var(--brand); }
.progress .p-label { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.progress .done .p-label, .progress .current .p-label { color: var(--ink); }
.progress .p-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--brand-100); color: var(--brand-700); flex: none; }
.progress .done .p-dot { background: var(--brand); color: var(--on-brand); }
.progress .current .p-dot { background: var(--ink); color: #fff; }
.progress .p-sub { display: none; font-weight: 600; color: var(--muted); font-size: .78rem; }
.progress .current .p-sub { display: inline; }
.progress .p-sub b { color: var(--brand-800); font-weight: 800; }
@media (max-width: 640px) {
  .progress .p-text { display: none; }
  .progress .current .p-text { display: inline; }
  .progress .p-label { font-size: .82rem; }
  .progress .p-sub { display: none !important; }
}

.book-intro h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.book-intro p { color: var(--ink-2); margin-top: 8px; }

.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
.route-line { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; flex-wrap: wrap; }
.route-line svg { color: var(--accent-600); }
.summary-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.picked-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-md); padding: 12px 16px; font-weight: 600; color: var(--brand-700); }
.picked-bar span { display: inline-flex; align-items: center; gap: 8px; }
.picked-bar a { font-weight: 700; }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-md); padding: 14px 16px; font-size: .96rem; background: var(--accent-50); color: #5d4204; border: 1px solid #ffd3b0; }
.notice svg { margin-top: 2px; color: var(--accent-700); }
.notice-error { background: var(--danger-50); color: var(--danger); border-color: #f7c9c4; font-weight: 600; }
.notice-error svg { color: var(--danger); }
.fine { color: var(--muted); font-size: .88rem; }

.results-list { display: flex; flex-direction: column; gap: 16px; }
.jc { position: relative; display: grid; grid-template-columns: 1fr 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s; }
.jc:hover { border-color: var(--line-3); box-shadow: var(--shadow-md); }
.jc-off .jc-main { opacity: .55; }
.btn:disabled { cursor: not-allowed; opacity: .6; }
.jc.selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 101, 0, .16); }
.jc-main { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.operator-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-right: 4px; }
.jc-stub { position: relative; border-left: 2px dashed var(--line); padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.jc-stub::before, .jc-stub::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); }
.jc-stub::before { top: -11px; left: -11px; }
.jc-stub::after { bottom: -11px; left: -11px; }
.jc-stub .status { justify-content: center; }
.jc-stub .dur-note { text-align: center; color: var(--muted); font-size: .84rem; font-weight: 600; }
@media (max-width: 720px) {
  .jc { grid-template-columns: 1fr; }
  .jc-main { padding: 18px; }
  .jc-stub { border-left: 0; border-top: 2px dashed var(--line); padding: 18px; }
  .jc-stub::before { top: -11px; left: -11px; }
  .jc-stub::after { top: -11px; right: -11px; left: auto; bottom: auto; }
}

.tl { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.tl-end { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-end.r { text-align: right; align-items: flex-end; }
.tl .lbl { font-size: .76rem; color: var(--muted); font-weight: 700; }
.tl-time { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tl-place { font-weight: 700; }
.tl-date { color: var(--muted); font-size: .84rem; }
.tl-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 70px; }
.tl-dur { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.tl-line { position: relative; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 6px, transparent 6px 12px); }
.tl-line::before, .tl-line::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); background: var(--brand); }
.tl-line::before { left: 0; }
.tl-line::after { right: 0; background: var(--accent); }
.tl-line svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 0 5px; color: var(--brand); box-sizing: content-box; }
.tl-sm .tl-time { font-size: 1.3rem; }

.skeleton-wrap { display: flex; flex-direction: column; gap: 16px; }
.loading-line { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink-2); padding: 4px 2px 6px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 16px; }
.sk { border-radius: 4px; background: linear-gradient(90deg, #eeeef0 25%, #f8f8f9 40%, #eeeef0 60%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk-a { height: 18px; width: 30%; } .sk-b { height: 34px; width: 100%; } .sk-c { height: 16px; width: 55%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { background: #fff; border: 1px dashed var(--line-3); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 64px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .amenity-ic { width: 64px; height: 64px; border-radius: 8px; }
.empty h2 { font-size: 1.6rem; }
.empty p { color: var(--ink-2); max-width: 420px; }
.empty .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split aside { order: -1; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h2, .card-head h3 { font-size: 1.25rem; font-weight: 700; }
.edit-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.aside-leg + .aside-leg { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.aside-leg .lbl { color: var(--muted); font-size: .78rem; font-weight: 700; }
.aside-leg .r { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 2px 0 4px; flex-wrap: wrap; }
.aside-leg .r svg { color: var(--accent-600); }
.aside-leg p { color: var(--ink-2); font-size: .9rem; }

.pax-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-sm); }
.pax-card + .pax-card { margin-top: 18px; }
.pax-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.pax-title .n { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; font-size: .88rem; margin-top: 4px; }
.form-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.leg + .leg { margin-top: 26px; padding-top: 26px; border-top: 1px dashed var(--line); }
.leg h3 { font-size: 1.08rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; margin-top: 18px; }
.kv dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.kv dd { margin: 2px 0 0; font-weight: 600; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pax-list { display: flex; flex-direction: column; gap: 14px; }
.pax-row { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; }
.pax-row h4 { font-size: 1rem; margin-bottom: 8px; }
.pax-row dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; margin: 0; }
.pax-row dt { color: var(--muted); font-size: .76rem; font-weight: 700; }
.pax-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.action-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.review-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Booking summary / ticket ---------- */
.done-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--brand-100); }
.done-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.done-head p { color: var(--ink-2); max-width: 560px; }
.ticket { position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line-2); }
.ticket-top { background: var(--ink); color: #fff; padding: 24px clamp(20px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ticket-brand { display: flex; align-items: center; gap: 14px; }
.ticket-logo { background: #fff; border-radius: 6px; padding: 8px 14px; display: inline-flex; }
.ticket-logo img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.ticket-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.ticket-status { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-brand); padding: 8px 14px; border-radius: 4px; font-weight: 800; font-size: .9rem; }
.ticket-ref { padding: 22px clamp(20px, 3vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; }
.ticket-ref .lbl { color: var(--muted); font-size: .8rem; font-weight: 700; }
.ticket-ref strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: .02em; color: var(--brand-700); line-height: 1.1; }
.ticket-perf { position: relative; border-top: 2px dashed var(--line); margin: 0 22px; }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); }
.ticket-perf::before { left: -34px; }
.ticket-perf::after { right: -34px; }
.ticket-body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 26px; }
.ticket-foot { background: var(--surface); padding: 16px clamp(20px, 3vw, 36px); color: var(--ink-2); font-size: .9rem; display: flex; gap: 10px; align-items: flex-start; }
.ticket-foot svg { color: var(--brand); margin-top: 2px; }
.ticket-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- Help ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; transition: border-color .15s; }
.faq details[open] { border-color: var(--brand); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--brand-700); border-bottom: 2.5px solid var(--brand-700); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-card p { color: rgba(255, 255, 255, .85); }
.contact-number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: .02em; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .help-layout { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.3fr; gap: 36px 32px; }
.footer-brand a { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 10px 14px; margin-bottom: 16px; }
.footer-brand img { height: 52px; width: auto; max-width: 230px; object-fit: contain; }
.footer-brand .wordmark { font-size: 1.2rem; }
.footer-brand p { color: rgba(255, 255, 255, .72); max-width: 320px; font-size: .96rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; color: #fff; }
.site-footer li + li { margin-top: 10px; }
.site-footer li { font-size: .96rem; }
.site-footer a { color: rgba(255, 255, 255, .86); font-weight: 500; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.site-footer a:focus-visible { outline-color: var(--brand); }
.footer-contact a { font-weight: 700; color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .62); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { gap: 30px 20px; }
  .footer-grid .span-all { grid-column: 1 / -1; }
}

/* ---------- View transition ---------- */
#app { outline: none; }
.view-enter { animation: viewIn .28s ease-out both; }
@keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print (digital ticket) ---------- */
@media print {
  .site-header, .site-footer, .ticket-actions, .progress, .no-print { display: none !important; }
  .book-page { background: #fff; padding: 0; }
  .ticket { box-shadow: none; border: 1px solid #999; }
  .ticket-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Homepage redesign
   ========================================================================== */

/* ---------- Header extras ---------- */
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone svg { color: var(--brand-700); }
.header-phone:hover { background: var(--surface); color: var(--ink); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; white-space: nowrap; }
.mobile-nav a.nav-call { color: var(--brand-800); }
@media (max-width: 1140px) { .header-phone span { display: none; } .header-phone { padding: 8px; } }
@media (max-width: 960px) { .header-phone { display: none; } :root { --header-h: 62px; } }

/* ---------- Hero refinements ---------- */
.search-card { border-radius: var(--r-xl); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.search-note { font-size: .88rem; }

/* ---------- Shared home pieces ---------- */
.section-dark { background: var(--ink); color: #fff; }
.rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.rating-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.rating-count { color: var(--muted); font-weight: 600; font-size: .95rem; }
.stars svg { width: 18px; height: 18px; }
.avatar-img { object-fit: cover; }
.sr-only-inline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-700); }
.text-link:hover { color: var(--brand-800); }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; }
.intro .desc { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; }
.intro .chips { margin-top: 22px; }
.intro .intro-cta { margin-top: 26px; }
/* blurred photo slideshow behind the "Meet Tahmeed Coach" text; the white wash keeps the wording easy to read */
.intro-copy { position: relative; isolation: isolate; }
.intro-bg { position: absolute; inset: -12px; z-index: -1; border-radius: var(--r-xl); overflow: hidden; pointer-events: none; background: #fff; }
.intro-bg::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .5); }
.intro-copy .desc { color: var(--ink); font-weight: 500; }
.intro-copy h2, .intro-copy .desc { text-shadow: 0 0 10px rgba(255, 255, 255, .85), 0 0 3px rgba(255, 255, 255, .7); }
.intro-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.intro-slide.is-active { opacity: 1; }
.intro-slide img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(2px); transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .intro-slide { transition: none; } }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.logo-box { width: 100%; min-height: 130px; display: grid; place-items: center; }
.logo-box img { max-height: 170px; width: auto; max-width: min(100%, 420px); object-fit: contain; }
.logo-box .wordmark { font-size: clamp(2rem, 5vw, 2.8rem); }
.facts { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-2); text-align: center; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; font-weight: 600; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Traveling with Tahmeed Coach ---------- */
.tv-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; margin-bottom: 20px; }
.tv-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.tv-summary svg { color: var(--brand); }
.tv-summary small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 18px; transition: border-color .18s, box-shadow .18s; }
.tv-card:hover { border-color: var(--line-3); box-shadow: var(--shadow-md); }
.tv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-when { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.tv-when svg { color: var(--brand-700); }
.tv-line { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.tv-end strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tv-end span { display: block; margin-top: 2px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.tv-end small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.tv-end.r { text-align: right; }
.tv-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; min-width: 60px; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.tv-mid i { position: relative; display: block; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 12px); }
.tv-mid i::before, .tv-mid i::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); }
.tv-mid i::before { left: 0; background: var(--ink); }
.tv-mid i::after { right: 0; background: var(--brand); }
.tv-card .btn { margin-top: auto; }
.tv-note { color: var(--ink-2); background: #fff; border: 1px dashed var(--line-3); border-radius: var(--r-lg); padding: 22px; }
@media (max-width: 520px) { .tv-picker { grid-template-columns: 1fr; } }

/* ---------- Carousel (reviews + gallery) ---------- */
.car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.car-head h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 800; }
.car-head p { color: var(--ink-2); margin-top: 8px; max-width: 560px; }
.car-ctrl { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 4px; border: 1.5px solid var(--line-3); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background-color .15s, border-color .15s, opacity .15s; }
.car-btn:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-50); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car.car-static .car-ctrl { display: none; }
.car-track {
  --car-gap: 16px; --car-n: 3;
  display: flex; gap: var(--car-gap); overflow-x: auto; padding: 4px 0 14px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  cursor: grab; touch-action: pan-x pan-y;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: 0 0 calc((100% - (var(--car-n) - 1) * var(--car-gap)) / var(--car-n)); min-width: 0; scroll-snap-align: start; }
.car-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.car-track.dragging a { pointer-events: none; }
.car-track:focus-visible { outline-offset: 4px; border-radius: var(--r-md); }
.car-track img { -webkit-user-drag: none; user-select: none; }
@media (max-width: 1023px) { .car-track { --car-n: 2; } }
@media (max-width: 720px) {
  .car-track { --car-n: 1.15; --car-gap: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
}

/* review cards (carousel) */
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.rv-card .stars { align-self: flex-start; }
.rv-text { color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.rv-who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rv-who strong { display: block; line-height: 1.2; }
.rv-who span { color: var(--muted); font-size: .85rem; }
.rv-empty { background: #fff; border: 1px dashed var(--line-3); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rv-empty strong { font-family: var(--font-display); font-size: 1.2rem; }
.rv-empty p { color: var(--ink-2); max-width: 52ch; }
#top-reviews .more-wrap { margin-top: 20px; }

/* ---------- Popular routes ---------- */
.pr-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.pr-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; align-self: center; aspect-ratio: 16 / 9; background: #1c1c1e; }
.pr-show { position: absolute; inset: 0; }
.pr-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.pr-slide.is-active { opacity: 1; }
.pr-slide img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pr-slide .pr-fg { object-fit: contain; }
.pr-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .55); border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: var(--r-lg); width: calc(100% - 32px); height: calc(100% - 32px); justify-content: center; }
.pr-ph small { font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .pr-slide { transition: none; } }
.pr-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 18px; align-items: center; padding: 16px 20px; color: var(--ink); border-bottom: 1px solid var(--line-2); transition: background-color .15s; }
.pr-list li:last-child .pr-row { border-bottom: 0; }
.pr-row:hover { background: var(--brand-50); color: var(--ink); }
.pr-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.pr-title svg { color: var(--brand); }
.pr-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.pr-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pr-meta svg { color: var(--muted); }
.pr-side { text-align: right; }
.pr-side small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.pr-side strong { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.pr-go { color: var(--brand-700); display: grid; place-items: center; }
.pr-foot { margin-top: 18px; display: flex; justify-content: flex-end; }
@media (max-width: 900px) {
  .pr-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pr-row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .pr-go { display: none; }
  .pr-foot .btn { width: 100%; }
}

/* ---------- Rides made easy ---------- */
.net-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.net h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
.net .lead { color: rgba(255, 255, 255, .78); margin-top: 14px; font-size: 1.08rem; max-width: 46ch; }
.net-stats { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 6vw, 64px); margin-top: 34px; }
.net-stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 4.8rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.net-stat span { display: block; margin-top: 10px; color: var(--brand); font-weight: 700; font-size: 1.05rem; }
.net-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.net-map { background: #262629; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-xl); padding: clamp(8px, 2vw, 18px); }
.net-map svg { display: block; width: 100%; height: auto; }
.net-map text { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: #262629; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 860px) { .net-grid { grid-template-columns: 1fr; } .net-map { max-width: 520px; } }

/* ---------- Gallery ---------- */
#gallery .car-track { --car-n: 4; --car-gap: 16px; }
.gal-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: #2a2a2e; }
.gal-tile .dest-media { position: absolute; inset: 0; aspect-ratio: auto; }
.gal-tile .dest-art, .gal-tile .dest-media img { transition: transform .5s ease; }
.gal-tile:hover .dest-art, .gal-tile:hover .dest-media img { transform: scale(1.04); }
.gal-tile:hover { color: #fff; }
.gal-tile:focus-visible { outline-offset: -4px; }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(180deg, transparent, rgba(20, 20, 22, .8)); }
.gal-cap strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.gal-cap span { font-size: .85rem; opacity: .92; }
@media (max-width: 1023px) { #gallery .car-track { --car-n: 3; } }
@media (max-width: 720px) { #gallery .car-track { --car-n: 1.5; --car-gap: 12px; } }
@media (max-width: 420px) { #gallery .car-track { --car-n: 1.3; } }

/* ---------- Full reviews ---------- */
.rv-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.rv-big { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.03em; }
.rv-big small { font-size: 1.2rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.rv-summary .stars { margin-top: 12px; }
.rv-summary .rv-count { margin-top: 8px; color: var(--ink-2); font-weight: 600; }
.rv-dist { margin-top: 20px; display: grid; gap: 8px; }
.rv-dist li { display: grid; grid-template-columns: 14px 1fr 28px; gap: 10px; align-items: center; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.rv-dist .bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.rv-dist .bar b { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.rv-dist em { font-style: normal; color: var(--muted); text-align: right; }
.rv-list > * + * { border-top: 1px solid var(--line-2); }
.rv-item { padding: 22px 0; }
.rv-item:first-child { padding-top: 0; }
.rv-item-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-item-top .rv-name { flex: 1; min-width: 140px; }
.rv-item-top strong { display: block; line-height: 1.2; }
.rv-item-top .rv-name span { color: var(--muted); font-size: .86rem; }
.rv-item p { margin-top: 12px; color: var(--ink-2); max-width: 72ch; }
.rv-more { margin-top: 12px; }
@media (max-width: 860px) { .rv-layout { grid-template-columns: 1fr; } .rv-summary { position: static; } }

/* ---------- Stations ---------- */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; margin-bottom: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; border: 1.5px solid var(--line-3); background: #fff; border-radius: 4px; padding: 9px 18px; font-weight: 700; color: var(--ink-2); line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.pill:hover { border-color: var(--brand); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.st-count { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.st-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.st-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line-2); animation: stIn .25s ease-out both; }
.st-ic { flex: none; width: 42px; height: 42px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.st-body { flex: 1; min-width: 0; }
.st-body h3 { font-size: 1.1rem; font-weight: 700; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.st-body h3 small { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--muted); }
.st-body p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; }
.st-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .9rem; font-weight: 700; }
.st-links a { display: inline-flex; align-items: center; gap: 6px; }
@keyframes stIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) { .st-list { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .pills { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } }

/* ---------- FAQ accordion ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-aside h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 800; }
.faq-aside > p { margin-top: 12px; color: var(--ink-2); }
.faq-help { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.faq-help strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .01em; }
.faq-acc { border-top: 1px solid var(--line-3); }
.faq-item { border-bottom: 1px solid var(--line-3); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; font-family: var(--font-body); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 20px 4px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq-q:hover { color: var(--brand-800); }
.faq-q:focus-visible { outline-offset: -2px; }
.faq-ic { flex: none; width: 32px; height: 32px; border-radius: 4px; border: 1.5px solid var(--line-3); display: grid; place-items: center; background: #fff; transition: transform .25s, background-color .2s, border-color .2s; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s .28s; }
.faq-item.open .faq-panel > div { visibility: visible; transition-delay: 0s; }
.faq-panel p { padding: 0 44px 22px 4px; color: var(--ink-2); max-width: 68ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Polish ---------- */
h1, h2 { text-wrap: balance; }
.faq-q { line-height: 1.35; }
.footer-contact li:first-child a { font-weight: 500; color: rgba(255, 255, 255, .86); }
@media (max-width: 860px) { .net-map text { font-size: 19px; stroke-width: 5px; } }
@media (max-width: 720px) { .hero-bg { background-position: 0 0, center, 74% bottom, 0 0; } }

/* ==========================================================================
   Hero: photo-first, header floats over the picture, search card overlaps it
   ========================================================================== */
.hero { color: #fff; }
.hero-inner {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(425px, 57.5vw, 675px);
  padding: 96px 0 calc(72px + 24px);
}
.hero h1 {
  color: #fff; font-size: clamp(1.7rem, 4.3vw, 3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5); max-width: 16ch;
}
.search-wrap { margin-top: -72px; }
.search-wrap .search-note { display: none; }

/* header sits on top of the hero photo on the homepage, turns white once you scroll */
body.is-home .site-header { position: fixed; left: 0; right: 0; top: 0; }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) {
  background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .wordmark { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .brand-logo:not(.brand-logo-light) { display: none; }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .brand-logo-light { display: block; height: 54px; max-width: 240px; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55)); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .nav a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .nav a:hover { background: rgba(255, 255, 255, .16); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .nav a.active { background: rgba(255, 255, 255, .22); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-phone { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-phone svg { color: #fff; }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-phone:hover { background: rgba(255, 255, 255, .16); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .nav-toggle { background: transparent; border-color: transparent; color: #fff; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .6)); }

/* ---------- Search card: flat rows with hairline dividers on phones ---------- */
@media (max-width: 640px) {
  .hero-inner { min-height: 375px; padding: 96px 0 calc(64px + 20px); }
  .search-wrap { margin-top: -64px; }
  .search-card { padding: 0; border: 0; box-shadow: var(--shadow-lg); }
  .search-top { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
  .search-grid { display: block; }
  .search-grid .field { position: relative; border-bottom: 1px solid var(--line-2); }
  .search-grid .field-label { position: static; height: 0; margin: 0; }
  .search-grid .field-label label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search-grid .control > svg { left: 18px; color: var(--ink); width: 22px; height: 22px; }
  .search-grid .control input, .search-grid .control select { height: 62px; border: 0; border-radius: 0; padding-left: 56px; font-size: 1.1rem; }
  .search-grid .control select { background-position: right 18px center; padding-right: 54px; }
  .search-grid .date-ph { left: 58px; font-size: 1.1rem; }
  .search-grid .control input:focus, .search-grid .control select:focus { box-shadow: inset 0 0 0 2px var(--brand); }
  .search-grid .swap-btn {
    position: absolute; right: 16px; top: -20px; z-index: 2; width: 40px; height: 40px; padding: 0; border-radius: 50%;
    justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--brand-700); font-size: 0; box-shadow: var(--shadow-sm);
  }
  .search-grid .swap-btn svg { width: 20px; height: 20px; }
  .search-grid .field-error { padding: 0 18px 12px; margin-top: 0; }
  .search-grid .field-submit { border-bottom: 0; padding: 16px 14px 18px; }
  .search-grid .field-submit .btn { margin-top: 0; }
}
@media (max-width: 640px) {
  .search-grid .field.has-error .control input, .search-grid .field.has-error .control select { box-shadow: inset 0 0 0 2px var(--danger); }
}

/* Logo and Book Now float over the hero photo (before the page is scrolled) */
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-inner { height: calc(var(--header-h) + 14px); padding-top: 14px; }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-cta .btn-primary { background: transparent; border-color: transparent; color: #fff; box-shadow: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .header-cta .btn-primary:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.brand-logo-light { display: none; }
@media (max-width: 960px) { body.is-home .site-header:not(.scrolled):not(:has(#mobile-nav:not([hidden]))) .brand-logo-light { height: 50px; } }

/* Customer reviews: light cards in a swipeable row */
.rvx { position: relative; }
.rvx-track { --car-n: 3; --car-gap: 14px; }
.rvx-card { background: #f8f8f9; border-radius: 12px; padding: 22px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rvx-card .stars svg { width: 18px; height: 18px; }
.rvx-text { color: var(--ink-2); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.rvx-card.open .rvx-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.rvx-more { color: var(--accent-600); font-weight: 700; font-size: .9rem; padding: 0; background: none; border: 0; cursor: pointer; margin-top: -6px; }
.rvx-more:hover { text-decoration: underline; }
.rvx-who { margin-top: auto; color: var(--muted); font-size: .85rem; font-weight: 600; }
.rvx-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line-3); box-shadow: var(--shadow-sm); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: opacity .15s; }
.rvx-nav:hover { border-color: var(--accent); }
.rvx-nav:disabled { opacity: 0; pointer-events: none; }
.rvx-prev { left: -14px; }
.rvx-next { right: -14px; }
.car.car-static .rvx-nav { display: none; }
@media (max-width: 1023px) { .rvx-track { --car-n: 2; } }
@media (max-width: 720px) {
  .rvx-track { --car-n: 1.15; --car-gap: 12px; }
  .rvx-prev { left: 4px; }
  .rvx-next { right: 4px; }
}

/* Confirmation (further down the booking page) */
.confirm-section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 90px; }
.confirm-title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; outline: none; }
@media print { #booking-form, .book-intro { display: none !important; } }
