/* ==========================================================================
   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; }

.header-call-btn { display: none; align-items: center; gap: 8px; animation: callBlink 1.1s steps(1) infinite; }
@keyframes callBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .35; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .header-book-btn, .nav-toggle { display: none !important; }
  .header-call-btn { display: inline-flex !important; height: auto; padding: 8px 16px; font-size: clamp(1.4rem, 4vw, 2.4rem); font-weight: 600; gap: 10px; line-height: 1; margin-right: 4px; }
  .header-call-btn svg { width: 1em; height: 1em; flex-shrink: 0; }
  .header-inner { gap: 12px; }
  .brand-logo { height: 42px; max-width: 170px; }
}
@media (max-width: 400px) { .header-cta .btn { padding: 0 12px; } .header-call-btn { padding: 6px 10px; margin-right: 0; } }
@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;
}
.field[data-field="from"] .control select, .field[data-field="to"] .control select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FF6500' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.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); }
@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; } }

/* ===== Homepage: app-style layout (booking card, amenities, advantages, slider, routes) ===== */
body.home-page { padding-bottom: 0; }
.shot-search-wrap { margin-top: 16px; }
.shot-search-wrap .search-card { background: var(--surface); border: 1px solid var(--line); box-shadow: none; border-radius: 14px; padding: 14px; }
.shot-search-wrap .search-top { margin-bottom: 12px; }
.shot-search-wrap .trip-toggle { background: transparent; border: 0; padding: 0; }
.shot-search-wrap .search-note { font-size: .8rem; color: var(--muted); }
.shot-search-wrap .field { background: #fff; border: 1px solid var(--line-3); border-radius: 8px; padding: 8px 12px 2px; }
.shot-search-wrap .field-label label { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.shot-search-wrap .control input, .shot-search-wrap .control select { border: 0; box-shadow: none; background-color: transparent; min-height: 36px; height: 36px; }
.shot-search-wrap .control input[type="date"] { min-height: 36px; }
.shot-search-wrap .btn-lg { width: 100%; border-radius: 28px; }
.shot-sec { padding: 22px 0 4px; }
.shot-sec h2 { font-size: 1.3rem; margin: 0 0 4px; color: var(--ink); }
.shot-sub { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.shot-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.shot-amen, .shot-adv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shot-amen-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 10px 14px; min-height: 138px; text-align: center; font-size: .8rem; color: var(--ink-2); }
.shot-amen-ic { height: 64px; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.lipa-badge { background: #5aa83c; color: #fff; font-weight: 800; font-size: .8rem; padding: 18px 10px; border-radius: 3px; letter-spacing: .02em; }
.vip-badge { width: 52px; height: 52px; border: 2px dotted var(--brand); border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--brand); }
.shot-adv-card { padding: 18px 12px 16px; text-align: center; }
.shot-adv-card h3 { font-size: .9rem; margin: 10px 0 6px; }
.shot-adv-card p { font-size: .75rem; color: var(--muted); line-height: 1.45; margin: 0; }
.adv-ic { width: 56px; height: 56px; border-radius: 50%; display: inline-grid; place-items: center; }
.tint-green { background: #eaf6e4; color: #3f8a25; } .tint-red { background: #fdeceb; color: #c0392b; }
.tint-orange { background: var(--brand-50); color: var(--brand-600); } .tint-blue { background: #eaf0fd; color: #2f5bd0; }
.tint-violet { background: #f1ecfb; color: #6a42c2; }
.shot-slider { position: relative; border-radius: 12px; overflow: hidden; }
.shot-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shot-track::-webkit-scrollbar { display: none; }
.shot-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; background: var(--surface); color: var(--line-3); display: grid; place-items: center; }
.shot-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.shot-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(0,0,0,.25); transition: width .2s, background .2s; }
.shot-dots i.on { width: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.shot-routes { background: #fafafa; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 14px; }
.shot-routes h2 { display: flex; align-items: center; gap: 12px; }
.shot-routes .sq { width: 16px; height: 16px; background: var(--ink); display: inline-block; }
.shot-search { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 10px 0 8px; }
.shot-search input { border: 0; background: transparent; font: inherit; flex: 1; min-width: 0; padding: 8px 0; outline: none; }
.shot-route { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 12px; margin-bottom: 8px; color: var(--ink); font-size: .92rem; }
.shot-route span { flex: 1; } .shot-route b { font-weight: 500; color: var(--muted); } .shot-route svg { color: var(--brand); }
.shot-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.shot-all { color: var(--brand-600); font-weight: 600; font-size: .9rem; }
.shot-divider { padding: 28px 0 0; } .shot-divider h2 { font-size: 1.3rem; }
.bottom-nav, .chat-fab { display: none; }
@media (min-width: 700px) { .shot-amen, .shot-adv { grid-template-columns: repeat(3, 1fr); } .shot-search-wrap, .shot-sec .container { max-width: 900px; } }
@media (max-width: 960px) {
  .nav-toggle { background: var(--ink); color: #fff; border-radius: 50%; width: 40px; height: 40px; display: inline-grid !important; place-items: center; border: 0; }
  .header-call-btn, .header-phone { display: none !important; }
  body { padding-bottom: 64px; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #000; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; font-size: .72rem; opacity: .8; }
  .bottom-nav a.active { opacity: 1; color: var(--brand); }
  .chat-fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 78px; z-index: 61; width: 52px; height: 52px; border-radius: 50%; background: #000; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
}
@media (max-width: 960px) {
  .shot-search-wrap .search-grid .field-label { position: relative; height: auto; margin: 0 0 2px; }
  .shot-search-wrap .search-grid .field-label label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
}
.shot-search-wrap .field-submit { border: 0; background: transparent; padding: 0; }

/* ---------- Search results page ---------- */
.rs-page { max-width: 720px; margin: 0 auto; padding: 0 0 56px; background: #fff; min-height: 70vh; }
.rs-bar { display: flex; align-items: center; gap: 12px; background: #111; color: #fff; padding: 10px 16px; }
.rs-bar a { color: #fff; display: inline-flex; transform: rotate(180deg); }
.rs-bar div { display: flex; flex-direction: column; line-height: 1.25; }
.rs-bar strong { font-size: 11.7px; letter-spacing: .02em; }
.rs-bar span { font-size: 10.8px; opacity: .8; }
.rs-filters { display: flex; gap: 10px; padding: 12px 16px 4px; overflow-x: auto; }
.rs-modify { flex: none; background: #1c1c1e; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 12.6px; text-decoration: none; }
.rs-chip { flex: none; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.rs-chip select { border: 0; background: transparent; font: inherit; font-size: 12.6px; font-weight: 600; padding: 10px 14px; color: var(--ink); max-width: 210px; }
.rs-head { display: flex; justify-content: space-between; padding: 14px 20px 8px; color: var(--muted); font-weight: 600; font-size: 12.6px; }
#rs-list { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
.rs-card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 20px 14px 12px; background: #fff; }
.rs-code { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; font-size: 9px; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; white-space: nowrap; }
.rs-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.rs-end { display: flex; flex-direction: column; gap: 2px; }
.rs-end.r { text-align: right; align-items: flex-end; }
.rs-city { font-size: 9.9px; text-transform: uppercase; color: var(--ink-2); letter-spacing: .03em; }
.rs-end strong { font-size: 13.5px; }
.rs-next { font-size: 9px; color: var(--brand-700); font-weight: 700; }
.rs-mid { display: flex; align-items: center; gap: 8px; font-size: 9.9px; color: var(--muted); text-align: center; }
.rs-mid::before, .rs-mid::after { content: ""; flex: 1; border-top: 1px solid var(--line-3); }
.rs-mid span { white-space: nowrap; }
.rs-mid2 { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 9.9px; color: var(--ink-2); text-transform: uppercase; }
.rs-mid2 img { height: 26px; width: auto; object-fit: contain; }
.rs-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line-2); margin-top: 10px; padding-top: 10px; }
.rs-btn { background: #111; color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 11.7px; cursor: pointer; }
.rs-btn:hover { background: var(--brand-600); }
.rs-empty { text-align: center; color: var(--muted); padding: 32px 12px; }
.trip-summary { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.ts-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ts-row div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ts-row span { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Seat selection sheet (slides up from the bottom of the results page)
   ========================================================================== */
body.ss-lock { overflow: hidden; }
#seat-root { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
#seat-root.open { pointer-events: auto; }
.ss-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s ease; }
#seat-root.open .ss-backdrop { opacity: 1; }
.ss-sheet { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 560px; height: 92vh; height: 92dvh; display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); transform: translate(-50%, 105%); transition: transform .38s cubic-bezier(.22, .9, .3, 1); outline: none; }
#seat-root.open .ss-sheet { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ss-backdrop, .ss-sheet { transition: none; } }
.ss-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; background: #f7f8fa; border-bottom: 1px solid var(--line-2); border-radius: 22px 22px 0 0; }
.ss-head h2 { margin: 0; font-size: 14.09px; font-weight: 600; color: #2b3340; }
.ss-x { border: 0; background: transparent; color: #2b3340; padding: 6px; border-radius: 50%; cursor: pointer; display: inline-flex; }
.ss-x:hover { background: #e9ebef; }
.ss-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 0; }
.ss-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 0 8px; padding: 0; font-size: 8.84px; color: #2b3340; }
.ss-legend li { display: inline-flex; align-items: center; gap: 10px; }
.lg { width: 28px; height: 28px; border-radius: 7px; display: inline-block; }
.lg-vip { background: #ff9800; } .lg-biz { background: #4caf50; } .lg-normal { background: #2196f3; } .lg-business { background: #4caf50; } .lg-booked { background: #9a9aa3; }

.ss-bus { width: max-content; margin: 18px auto 20px; }
.bus-front { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.bus-door { width: 36px; height: 90px; border: 2px dashed #b9bcc4; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.bus-door span { writing-mode: vertical-rl; font-size: 8.22px; color: #8a8f99; letter-spacing: .04em; }
.bus-wheel { width: 68px; height: 68px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #111; margin-right: 8px; }
.bus-wheel svg { width: 66px; height: 66px; }
.seat-grid { display: grid; grid-template-columns: repeat(2, 27px) 20px 27px 20px repeat(2, 27px); grid-auto-rows: 27px; gap: 5px 1px; justify-content: center; }

.seat { --c: #4caf50; --t: #effaf0; position: relative; width: 27px; height: 27px; padding: 0 0 4px; border: 1.5px solid var(--c); border-bottom-width: 5px; border-radius: 6px 6px 5px 5px; background: var(--t); color: #1d2430; font: 600 12px/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.seat::before, .seat::after { content: ""; position: absolute; bottom: -5px; width: 5px; height: 17px; background: var(--c); border-radius: 3px; }
.seat::before { left: -4px; } .seat::after { right: -4px; }
.seat > span { position: relative; z-index: 1; }
.seat.t-vip { --c: #ff9800; --t: #fff5e6; }
.seat.t-vip.t-biz { --c: #4caf50; --t: #eaf6eb; }
.seat.t-normal { --c: #2196f3; --t: #eaf4fe; }
.seat.on { background: var(--c); color: #fff; }
.seat.booked, .seat.staff { --c: #cfd1d6; --t: #eceef1; color: #b3b6bd; cursor: not-allowed; }
.seat.staff { font-size: 6.47px; padding-bottom: 4px; }
.seat:not(.booked):not(.staff):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.ss-h { margin: 6px 0 6px; font-size: 12.86px; font-weight: 600; color: #1d2430; }
.ss-picked { min-height: 34px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ss-none { color: #6b7280; font-size: 10.59px; }
.ss-chip { --c: #4caf50; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: 8.22px; }
.ss-chip.t-vip { --c: #f08700; } .ss-chip.t-normal { --c: #1b86e0; }
.ss-chip small { font-weight: 600; font-size: 6.47px; opacity: .92; }
.ss-note { min-height: 18px; margin: 6px 0 0; font-size: 7.61px; color: var(--danger); font-weight: 600; }
.ss-act { position: sticky; bottom: 0; margin: 16px -22px 0; padding: 12px 22px calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 28%); }
.ss-go { width: 100%; height: 54px; border: 0; border-radius: 999px; background: #9a9ca5; color: #fff; font: 600 21.25px var(--font-body); cursor: not-allowed; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ss-go.ready { background: var(--brand); color: #fff; cursor: pointer; }
.ss-go.ready:hover { background: var(--brand-600); }
.ss-go:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pax-seat { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 3px 9px; border-radius: 999px; }
/* ---------- seat sheet: selected seat is red, price block, checkout button ---------- */
.seat.on { --c: #e30613; background: #e30613; color: #fff; box-shadow: 0 0 14px rgba(227, 6, 19, .55); transform: scale(1.08); z-index: 2; }
.ss-sel { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ss-sel .ss-h { margin-top: 0; }
.ss-seats { margin: 4px 0 2px; font-size: 10.59px; color: #1d2430; }
.ss-seats b { font-weight: 700; }
.ss-class { margin: 0; font-size: 8.84px; color: #6b7280; }
.ss-total { text-align: right; display: flex; flex-direction: column; flex: none; }
.ss-total b { font-size: 14.09px; font-weight: 700; color: #1d2430; line-height: 1.2; }
.ss-total span { font-size: 8.84px; color: #6b7280; }
.ss-go.ready { background: #000; color: #fff; }
.ss-go.ready:hover { background: #222; }

/* ---------- passengers info ---------- */
.px-page, .sm-page { max-width: 560px; margin: 0 auto; padding: 22px 16px 120px; }
.px-title { margin: 6px 0 16px; font-size: 14.45px; font-weight: 800; letter-spacing: .01em; color: #111; }
.px-tools { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.px-info-btn { display: inline-flex; align-items: center; gap: 8px; background: #3b3b3d; color: #fff; border: 1px solid #111; border-radius: 6px; padding: 9px 14px; font: 600 12.75px var(--font-body); cursor: pointer; }
.px-info-btn:hover { background: #1c1c1e; }
.px-bus { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.px-bus[hidden] { display: none; }
.px-bi { display: flex; flex-direction: column; gap: 4px; font-size: 11.9px; }
.px-bi span { color: var(--muted); }
.px-card { border: 1px solid var(--line); border-radius: 10px; background: #f7f7f8; margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.px-card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 12px; }
.px-card-h h2 { margin: 0; font-size: 13.6px; font-weight: 500; color: #2b3340; }
.px-seat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.75px; color: #2b3340; }
.px-seat b { font-weight: 800; }
.px-ret { font-weight: 600; color: var(--muted); font-size: 11.05px; }
.px-group { background: #fff; margin: 0 14px 14px; border-radius: 8px; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 12px; }
.px-group .field-label { margin-bottom: 6px; }
.px-group label { font-size: 12.75px; font-weight: 500; color: #2b3340; }
.px-group .control { padding: 0; border: 0; background: transparent; }
.px-group input, .px-group select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #d3d6dc; border-radius: 6px; background: #fff; color: #1d2430; font: 400 12.75px var(--font-body); }
.px-group input::placeholder { color: #8a8f99; }
.px-group input:focus-visible, .px-group select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.px-group .has-error input, .px-group .has-error select { border-color: var(--danger); }
.px-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.px-phone { display: flex; border: 1px solid #d3d6dc; border-radius: 6px; overflow: hidden; background: #fff; }
.px-phone select, .px-phone input { border: 0 !important; border-radius: 0 !important; }
.px-phone .px-code { flex: none; width: 128px; border-right: 1px solid #d3d6dc !important; font-size: 11.9px; }
.px-foot { display: flex; justify-content: flex-end; padding: 6px 2px 0; }
.px-confirm { background: #000; color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: 700 12.75px var(--font-body); cursor: pointer; }
.px-confirm:hover { background: #222; }

/* ---------- booking summary ---------- */
.sm-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.sm-card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #2b3340; }
.sm-kv { margin: 0; display: flex; flex-direction: column; }
.sm-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.sm-kv > div:first-child { border-top: 0; }
.sm-kv dt { color: var(--muted); flex: none; }
.sm-kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.sm-seats { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line-3); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sm-seats li, .sm-sub, .sm-grand { display: flex; justify-content: space-between; gap: 12px; }
.sm-sub { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 15px; }
.sm-note { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.sm-grand { margin: 0; font-size: 20px; font-weight: 800; color: #111; }
.sm-grand b { color: var(--brand-700); }
.sm-sent { margin-bottom: 14px; background: #e8f6ee; color: var(--ok); border-color: #b9e3cc; font-weight: 600; }
.sm-sent[hidden] { display: none; }
.sm-actions { display: flex; gap: 12px; margin-top: 18px; }
.sm-edit, .sm-wa { height: 52px; border-radius: 999px; font: 700 16px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.sm-edit { flex: 0 0 30%; background: #fff; color: #1c1c1e; border: 2px solid #1c1c1e; }
.sm-edit:hover { background: #f1f1f3; }
.sm-wa { flex: 1; background: #1faa59; color: #fff; border: 0; padding: 0 14px; }
.sm-wa:hover { background: #178a47; }
.sm-edit:focus-visible, .sm-wa:focus-visible, .px-confirm:focus-visible, .px-info-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 380px) { .sm-actions { flex-direction: column; } .sm-edit { flex-basis: auto; } }

/* ---------- agent disclosure (very bottom of the homepage) ---------- */
.agent-note { background: #f7f7f7; padding: 96px 0 104px; color: #1d2430; }
.agent-note[hidden] { display: none; }
.agent-note .container { max-width: 720px; }
.agent-note h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; color: #111; }
.agent-note p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; }
.agent-note a { color: #b3122b; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.agent-note a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
@media (max-width: 640px) { .agent-note { padding: 72px 0 96px; } }

/* VIP seat on a route with no VIP fare: shown greyed and not selectable */
.seat.na { opacity: .45; cursor: not-allowed; }

/* font size: search results page 10% smaller, seat selection 33% smaller (text without its own size follows the container) */
.rs-page { font-size: .9em; }
.ss-sheet { font-size: .5875em; }

/* popular routes without the photo: single column */
.pr-layout.pr-solo { grid-template-columns: 1fr; max-width: 760px; }

/* homepage: One Way / Round Trip and Search Bus in black (no orange) */
.shot-search-wrap .trip-toggle { display: flex; gap: 18px; }
.shot-search-wrap .seg span { display: flex; align-items: center; gap: 8px; padding: 0; background: transparent; box-shadow: none; border-radius: 0; font-weight: 500; font-size: .9rem; color: var(--muted); }
.shot-search-wrap .seg span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c7c7cc; background: #fff; box-sizing: border-box; flex: 0 0 auto; }
.shot-search-wrap .seg input:checked + span { background: transparent; box-shadow: none; color: var(--muted); }
.shot-search-wrap .seg input:checked + span::before { border-color: #111; background: #111; box-shadow: inset 0 0 0 3px #fff; }
.shot-search-wrap .seg input:focus-visible + span { outline: 2px solid #111; outline-offset: 3px; }
.shot-search-wrap .btn-accent { background: #111; color: #fff; text-transform: uppercase; letter-spacing: .02em; font-weight: 800; box-shadow: none; }
.shot-search-wrap .btn-accent:hover, .shot-search-wrap .btn-accent:focus-visible { background: #000; color: #fff; box-shadow: none; }
.shot-search-wrap .btn-accent svg { display: none; }

/* searchable From / To (homepage) */
.sx-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.sx-input { appearance: none; -webkit-appearance: none; text-overflow: ellipsis; cursor: text; }
.sx-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line-3); border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.14); overscroll-behavior: contain; }
.sx-list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--ink); }
.sx-list li.hi, .sx-list li:hover { background: #f1f1f3; }
.sx-list li.none { color: var(--muted); cursor: default; }
.sx-list li.none:hover { background: transparent; }

/* booking details shown under the passenger form (same page) */
#pax-summary { margin-top: 28px; }

/* homepage: all text 10% smaller */
body.home-page { font-size: .9rem; }
body.home-page .btn { font-size: 0.9rem; }
body.home-page .btn-sm { font-size: 0.855rem; }
body.home-page .btn-lg { font-size: 0.945rem; }
body.home-page .nav a { font-size: 0.882rem; }
body.home-page .search-note { font-size: 0.81rem; }
body.home-page .field label, body.home-page .field-label label { font-size: 0.774rem; }
body.home-page .opt { font-size: 0.72rem; }
body.home-page .field-error { font-size: 0.756rem; }
body.home-page .hint { font-size: 0.738rem; }
body.home-page .swap-btn { font-size: 0.72rem; }
body.home-page .section-head p { font-size: 0.945rem; }
body.home-page .chip { font-size: 0.72rem; }
body.home-page .badge { font-size: 0.702rem; }
body.home-page .status { font-size: 0.72rem; }
body.home-page .rc-top { font-size: 1.152rem; }
body.home-page .rc-times .lbl { font-size: 0.702rem; }
body.home-page .rc-times strong { font-size: 1.008rem; }
body.home-page .rc-times small { font-size: 0.684rem; }
body.home-page .rc-dur { font-size: 0.738rem; }
body.home-page .rc-count { font-size: 0.756rem; }
body.home-page .dest-country { font-size: 0.702rem; }
body.home-page .dest-body h3 { font-size: 1.215rem; }
body.home-page .dest-body .desc { font-size: 0.864rem; }
body.home-page .dest-info { font-size: 0.81rem; }
body.home-page .step::before { font-size: 0.81rem; }
body.home-page .step h3 { font-size: 1.035rem; }
body.home-page .step p { font-size: 0.873rem; }
body.home-page .amenity h3 { font-size: 0.972rem; }
body.home-page .amenity p { font-size: 0.855rem; }
body.home-page .operator p { font-size: 0.945rem; }
body.home-page .stat span { font-size: 0.855rem; }
body.home-page .info-card h3 { font-size: 1.035rem; }
body.home-page .info-card p { font-size: 0.882rem; }
body.home-page .class-card h3 { font-size: 1.17rem; }
body.home-page .review-by span { font-size: 0.765rem; }
body.home-page .cta-band p { font-size: 0.945rem; }
body.home-page .page-head p { font-size: 0.972rem; }
body.home-page .progress .p-label { font-size: 0.792rem; }
body.home-page .progress .p-dot { font-size: 0.666rem; }
body.home-page .progress .p-sub { font-size: 0.702rem; }
body.home-page .route-line { font-size: 1.08rem; }
body.home-page .notice { font-size: 0.864rem; }
body.home-page .fine { font-size: 0.792rem; }
body.home-page .operator-name { font-size: 0.945rem; }
body.home-page .jc-stub .dur-note { font-size: 0.756rem; }
body.home-page .tl .lbl { font-size: 0.684rem; }
body.home-page .tl-date { font-size: 0.756rem; }
body.home-page .tl-dur { font-size: 0.756rem; }
body.home-page .tl-sm .tl-time { font-size: 1.17rem; }
body.home-page .empty h2 { font-size: 1.44rem; }
body.home-page .card-head h2, body.home-page .card-head h3 { font-size: 1.125rem; }
body.home-page .edit-link { font-size: 0.828rem; }
body.home-page .aside-card h3 { font-size: 0.99rem; }
body.home-page .aside-leg .lbl { font-size: 0.702rem; }
body.home-page .aside-leg .r { font-size: 0.945rem; }
body.home-page .aside-leg p { font-size: 0.81rem; }
body.home-page .pax-title { font-size: 1.08rem; }
body.home-page .pax-title .n { font-size: 0.855rem; }
body.home-page .form-sep { font-size: 0.792rem; }
body.home-page .leg h3 { font-size: 0.972rem; }
body.home-page .kv dt { font-size: 0.702rem; }
body.home-page .pax-row h4 { font-size: 0.9rem; }
body.home-page .pax-row dt { font-size: 0.684rem; }
body.home-page .ticket-name { font-size: 1.035rem; }
body.home-page .ticket-status { font-size: 0.81rem; }
body.home-page .ticket-ref .lbl { font-size: 0.72rem; }
body.home-page .ticket-foot { font-size: 0.81rem; }
body.home-page .section-title { font-size: 0.945rem; }
body.home-page .contact-card h2 { font-size: 1.35rem; }
body.home-page .contact-number { font-size: 1.8rem; }
body.home-page .footer-brand .wordmark { font-size: 1.08rem; }
body.home-page .footer-brand p { font-size: 0.864rem; }
body.home-page .site-footer h4 { font-size: 0.9rem; }
body.home-page .site-footer li { font-size: 0.864rem; }
body.home-page .footer-bottom { font-size: 0.81rem; }
body.home-page .wordmark { font-size: 1.305rem; }
body.home-page .search-note { font-size: 0.792rem; }
body.home-page .rating-num { font-size: 1.26rem; }
body.home-page .rating-count { font-size: 0.855rem; }
body.home-page .intro .desc { font-size: 0.945rem; }
body.home-page .fact strong { font-size: 1.62rem; }
body.home-page .fact span { font-size: 0.756rem; }
body.home-page .tv-summary { font-size: 1.035rem; }
body.home-page .tv-summary small { font-size: 0.81rem; }
body.home-page .tv-when { font-size: 0.756rem; }
body.home-page .tv-end strong { font-size: 1.35rem; }
body.home-page .tv-end span { font-size: 0.81rem; }
body.home-page .tv-end small { font-size: 0.702rem; }
body.home-page .tv-mid { font-size: 0.756rem; }
body.home-page .rv-who span { font-size: 0.765rem; }
body.home-page .rv-empty strong { font-size: 1.08rem; }
body.home-page .pr-ph small { font-size: 0.774rem; }
body.home-page .pr-title { font-size: 1.035rem; }
body.home-page .pr-meta { font-size: 0.774rem; }
body.home-page .pr-side small { font-size: 0.684rem; }
body.home-page .pr-side strong { font-size: 0.945rem; }
body.home-page .net .lead { font-size: 0.972rem; }
body.home-page .net-stat span { font-size: 0.945rem; }
body.home-page .net-map text { font-size: 11.7px; }
body.home-page .gal-cap strong { font-size: 1.08rem; }
body.home-page .gal-cap span { font-size: 0.765rem; }
body.home-page .rv-big { font-size: 3.24rem; }
body.home-page .rv-big small { font-size: 1.08rem; }
body.home-page .rv-dist li { font-size: 0.774rem; }
body.home-page .rv-item-top .rv-name span { font-size: 0.774rem; }
body.home-page .st-body h3 { font-size: 0.99rem; }
body.home-page .st-body h3 small { font-size: 0.738rem; }
body.home-page .st-body p { font-size: 0.846rem; }
body.home-page .st-links { font-size: 0.81rem; }
body.home-page .faq-help strong { font-size: 1.35rem; }
body.home-page .faq-q { font-size: 0.945rem; }
body.home-page .rvx-text { font-size: 0.855rem; }
body.home-page .rvx-more { font-size: 0.81rem; }
body.home-page .rvx-who { font-size: 0.765rem; }
body.home-page .shot-search-wrap .search-note { font-size: 0.72rem; }
body.home-page .shot-search-wrap .field-label label { font-size: 0.702rem; }
body.home-page .shot-sec h2 { font-size: 1.17rem; }
body.home-page .shot-sub { font-size: 0.828rem; }
body.home-page .shot-amen-card { font-size: 0.72rem; }
body.home-page .lipa-badge { font-size: 0.72rem; }
body.home-page .shot-adv-card h3 { font-size: 0.81rem; }
body.home-page .shot-adv-card p { font-size: 0.675rem; }
body.home-page .shot-route { font-size: 0.828rem; }
body.home-page .shot-all { font-size: 0.81rem; }
body.home-page .shot-divider h2 { font-size: 1.17rem; }
body.home-page .ts-row div { font-size: 12.6px; }
body.home-page .ts-row span { font-size: 11.7px; }
body.home-page .bus-door span { font-size: 8.46px; }
body.home-page .pax-seat { font-size: 10.8px; }
body.home-page .agent-note h2 { font-size: 19.8px; }
body.home-page .agent-note p { font-size: 15.3px; }
body.home-page .shot-search-wrap .seg span { font-size: 0.81rem; }
@media (max-width: 640px) {
body.home-page .progress .p-label { font-size: 0.738rem; }
}
@media (max-width: 860px) {
body.home-page .net-map text { font-size: 17.1px; }
}
@media (max-width: 640px) {
body.home-page .search-grid .control input, body.home-page .search-grid .control select { font-size: 0.99rem; }
body.home-page .search-grid .date-ph { font-size: 0.99rem; }
}
@media (max-width: 960px) {
body.home-page .bottom-nav a { font-size: 0.648rem; }
}

/* the hidden native From/To select must never add width (it was stretching the page past the screen) */
.control select.sx-native, .search-grid .control select.sx-native { position: absolute !important; left: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }

/* before the page has rendered, keep the empty main area full-screen tall so nothing from lower down (About note, bottom bar) shows first */
body:not(.tm-ready) #app { min-height: 100vh; }
body:not(.tm-ready) .agent-note { visibility: hidden; }

/* agent disclosure strip on booking steps + legal pages */
.agent-strip { margin: 0; padding: 9px 16px; background: #fff7ed; border-bottom: 1px solid #f3d3b0; color: #4a3a2a; font-size: 12px; line-height: 1.5; text-align: center; }
.agent-strip a { color: #b3122b; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap { max-width: 720px; }
.legal-wrap h2 { margin: 26px 0 8px; font-size: 1.15rem; font-weight: 800; }
.legal-wrap p { color: var(--ink-2); line-height: 1.7; }
.legal-wrap .legal-note { margin-top: 28px; font-weight: 600; }

/* fares on the results cards: left of the View Seats button, inside the existing footer row */
.rs-fares { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; min-width: 0; }
.rs-fare { font-size: 11px; white-space: nowrap; }
.rs-fare i { font-style: normal; font-weight: 600; color: #0f5b66; }
.rs-fare b { font-weight: 800; color: #d6283b; font-size: 12.5px; }

/* country name under foreign towns (search dropdown and results cards) */
.sx-list li .sx-country { display: block; margin-top: 1px; font-size: .74em; font-weight: 500; color: var(--muted); }
.rs-end .rs-country { font-size: 9px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; line-height: 1.1; }

/* trip recap above the passenger form */
.px-brief { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 16px; margin: 0 0 12px; box-shadow: var(--shadow-sm); }
.px-brief h2 { margin: 2px 0 4px; font-size: 13.6px; font-weight: 700; color: #2b3340; }
.px-brief .sm-kv > div { font-size: 12.75px; padding: 6px 0; }
.px-brief .px-class { font-weight: 800; color: inherit; }
.px-brief .px-class-wrap { font-weight: 600; white-space: nowrap; }
.px-brief { pointer-events: none; user-select: text; }
.px-brief .sm-kv dd { font-weight: 500; }
.px-brief .px-class-wrap { font-weight: 500; }
.px-brief .px-class { font-weight: 800; }

.px-edit-btn { text-decoration: none; }
.px-brief .px-when { white-space: nowrap; }
.px-brief .px-dt { font-weight: 500; color: var(--muted); }
@media (max-width: 340px) { .px-brief .px-when { font-size: 11.5px; } }

/* ---------- iOS Safari: stop auto-zoom when focusing a form field (needs >= 16px) ---------- */
@media (max-width: 900px) {
  input, select, textarea,
  .px-group input, .px-group select, .px-phone .px-code,
  .search-grid .control input, .search-grid .control select,
  body.home-page .search-grid .control input, body.home-page .search-grid .control select,
  .rs-chip select { font-size: 16px !important; }
}
