/* ============================================================
   EZ Shuttle — supporting pages (Contact, FAQ, Terms)
   These are utility pages: the job is finding one specific thing
   fast, so the layout is built around retrieval, not persuasion.
   Same tokens as the landing page.
   ============================================================ */
:root {
  --brand-green: #71b54a;
  --brand: #35af74;
  --brand-teal: #08aa95;
  --brand-dark: #0d8f6f;
  --brand-gradient: linear-gradient(120deg, var(--brand-green), var(--brand-teal));
  --ink: #111827;
  --navy: #0a1628;
  --paper: #f7f9f8;
  --white: #fff;
  --muted: #5b6b73;
  --edge: rgba(13, 27, 42, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }

/* ---------- Header ---------- */
.pnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 11px 28px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.pnav-logo { height: 56px; width: auto; }
.pnav-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pnav-links a:not(.pnav-cta) {
  font-size: 0.86rem; font-weight: 600; color: var(--muted);
  text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.pnav-links a:hover { color: var(--ink); }
.pnav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.pnav-cta {
  font-size: 0.84rem; font-weight: 700; color: #fff !important;
  background: var(--brand-gradient); padding: 10px 20px; border-radius: 999px;
  text-decoration: none; border: 0 !important; white-space: nowrap;
}

/* ---------- Page head ---------- */
.phead { background: var(--navy); color: #fff; padding: 64px 28px 72px; position: relative; overflow: hidden; }
.phead-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 2; }
.phead .eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-green);
}
.phead h1 {
  margin-top: 12px; font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; max-width: 18ch;
}
.phead p { margin-top: 14px; color: rgba(255,255,255,0.72); max-width: 56ch; font-size: 1.02rem; }
/* A fleet vehicle drifts in from the right — the shots are cut out on white,
   so they are masked into the dark band rather than pasted on top of it. */
.phead-veh {
  position: absolute; right: -4%; bottom: -6%; width: min(46%, 560px);
  opacity: 0.16; filter: grayscale(1) contrast(1.1);
  mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  pointer-events: none; z-index: 1;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 56px 28px 100px; }

/* ---------- Contact ---------- */
.urgent {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--edge); border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 36px;
}
.urgent-txt { flex: 1 1 320px; }
.urgent-txt strong { display: block; font-size: 1.02rem; }
.urgent-txt span { font-size: 0.9rem; color: var(--muted); }
.urgent-num {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.urgent-num:hover { color: var(--brand-dark); }

.chan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.chan {
  background: var(--white); border: 1px solid var(--edge); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.chan h2 { font-size: 1.05rem; font-weight: 700; }
.chan .why { font-size: 0.88rem; color: var(--muted); margin-bottom: 10px; }
.chan a { font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.chan a:hover { text-decoration: underline; }
.chan .line { display: flex; gap: 8px; align-items: baseline; font-size: 0.92rem; }
.chan .line span { color: var(--muted); min-width: 84px; font-size: 0.84rem; }

.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.addr { background: var(--white); border: 1px solid var(--edge); border-radius: 16px; padding: 24px; }
.addr h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.addr address { font-style: normal; color: var(--muted); font-size: 0.94rem; line-height: 1.7; }

/* ---------- FAQ ---------- */
.finder { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.finder input {
  flex: 1 1 300px; font: inherit; font-size: 1rem;
  padding: 14px 18px; border: 1px solid var(--edge); border-radius: 999px; background: var(--white);
}
.finder input:focus-visible { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(8,170,149,0.18); }
.finder-count { font-size: 0.86rem; color: var(--muted); }

.cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 30px; }
.cat {
  font: inherit; font-size: 0.83rem; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--edge);
  background: var(--white); color: var(--muted); transition: all 0.16s;
}
.cat:hover { color: var(--ink); }
.cat.is-on { background: var(--brand-gradient); border-color: transparent; color: #fff; }
.cat:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(8,170,149,0.22); }

.qgroup { margin-bottom: 34px; }
.qgroup > h2 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 12px;
}
.qa {
  background: var(--white); border: 1px solid var(--edge); border-radius: 14px;
  margin-bottom: 10px; overflow: hidden;
}
.qa summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-weight: 600; font-size: 1rem; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px rgba(8,170,149,0.22); }
.qa .ans { padding: 0 22px 20px; color: #374151; font-size: 0.95rem; }
.qa .ans p { margin-bottom: 10px; }
.qa .ans p:last-child { margin-bottom: 0; }
.empty { text-align: center; color: var(--muted); padding: 50px 20px; }
mark { background: rgba(113,181,74,0.28); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Terms ---------- */
.terms-layout { display: grid; grid-template-columns: 232px 1fr; gap: 44px; align-items: start; }
.tnav { position: sticky; top: 96px; }
.tnav p {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.tnav ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.tnav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.88rem; color: var(--muted); text-decoration: none;
  border-left: 2px solid transparent; transition: all 0.15s;
}
.tnav a:hover { background: rgba(0,0,0,0.03); color: var(--ink); }
.tnav a.is-on { color: var(--ink); font-weight: 600; border-left-color: var(--brand); background: rgba(53,175,116,0.08); }

.tsec { margin-bottom: 48px; scroll-margin-top: 96px; }
.tsec h2 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--edge);
}
.tsec ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tsec li { position: relative; padding-left: 20px; color: #374151; font-size: 0.96rem; }
.tsec li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: 0.6;
}
.tsub { margin: 10px 0 0 20px; gap: 8px; }
.tsub li { font-size: 0.92rem; color: var(--muted); }
.tnote {
  background: rgba(53,175,116,0.07); border: 1px solid rgba(53,175,116,0.22);
  border-radius: 12px; padding: 16px 20px; font-size: 0.9rem; color: #33544a; margin-bottom: 34px;
}

/* ---------- Footer ---------- */
.pfoot { background: var(--navy); color: rgba(255,255,255,0.6); padding: 46px 28px; }
.pfoot-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.86rem; }
.pfoot a { color: rgba(255,255,255,0.8); text-decoration: none; }
.pfoot a:hover { color: #fff; }
.pfoot-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .terms-layout { grid-template-columns: 1fr; gap: 24px; }
  .tnav { position: static; }
  .tnav ol { flex-direction: row; flex-wrap: wrap; }
  .tnav a { border-left: 0; border: 1px solid var(--edge); }
  .addr-grid { grid-template-columns: 1fr; }
  .phead-veh { opacity: 0.1; width: 70%; }
}
@media (max-width: 560px) {
  .pnav { padding: 12px 16px; }
  .pnav-links { gap: 12px; }
  .pnav-links a:not(.pnav-cta) { display: none; }
  .wrap { padding: 40px 18px 72px; }
  .phead { padding: 44px 18px 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Manage / cancel a booking ----------
   The policy is entirely time-based, so the clock is the loudest element on
   the page — you should know where you stand before you touch a button. */
.lookup-card, .bcard {
  background: var(--white); border: 1px solid var(--edge);
  border-radius: 18px; padding: 28px; max-width: 640px;
}
.lookup-card .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.lookup-card label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.lookup-card input {
  font: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1px solid var(--edge); border-radius: 12px; background: var(--white);
}
.lookup-card input:focus-visible {
  outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(8,170,149,0.18);
}
.lookup-hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.btn {
  font: inherit; font-weight: 700; font-size: 0.94rem; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.16s, box-shadow 0.16s, opacity 0.16s;
  text-decoration: none; display: inline-block;
}
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-go { background: var(--brand-gradient); color: #fff; box-shadow: 0 6px 18px rgba(8,170,149,0.26); }
.btn-go:hover:not(:disabled) { transform: translateY(-1px); }
.btn-quiet { background: var(--white); border-color: var(--edge); color: var(--ink); }
.btn-quiet:hover:not(:disabled) { border-color: #b9c6c8; }
.btn-danger { background: #b3261e; color: #fff; }
.btn-danger:hover:not(:disabled) { background: #8f1e18; }
.err { color: #b3261e; font-size: 0.9rem; margin-bottom: 14px; }

.clock {
  border-radius: 16px; padding: 22px 24px; margin-bottom: 22px;
  border: 1px solid var(--edge); border-left-width: 5px;
}
.clock.is-free   { background: rgba(53,175,116,0.08);  border-left-color: var(--brand); }
.clock.is-fee    { background: rgba(199,123,40,0.10);  border-left-color: #c77b28; }
.clock.is-gone   { background: rgba(179,38,30,0.07);   border-left-color: #b3261e; }
.clock h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.clock p { margin-top: 7px; font-size: 0.92rem; color: #374151; }

.bcard { max-width: 640px; }
.bcard-ref {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.bcard-ref b { color: var(--ink); letter-spacing: 0.04em; }
.brow { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; font-size: 0.94rem; border-top: 1px solid var(--edge); }
.brow:first-of-type { border-top: 0; }
.brow dt { color: var(--muted); flex: none; }
.brow dd { font-weight: 600; text-align: right; }
.bactions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.confirm-back {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(10,22,40,0.55); padding: 20px;
}
.confirm-box { background: var(--white); border-radius: 18px; padding: 30px; max-width: 460px; }
.confirm-box h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.confirm-box p { font-size: 0.95rem; color: #374151; }
.cscope { border: 0; margin: 16px 0; padding: 0; }
.cscope legend { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; padding: 0; }
.cscope label { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 0.92rem; color: #374151; cursor: pointer; }
.cfee { display: block; margin: 16px 0 22px; padding: 13px 16px; border-radius: 11px; font-weight: 600; font-size: 0.94rem; }
.cfee.is-free { background: rgba(53,175,116,0.10); color: #0b6b4f; }
.cfee.is-charged { background: rgba(179,38,30,0.08); color: #b3261e; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.done { background: var(--white); border: 1px solid var(--edge); border-radius: 18px; padding: 34px; max-width: 640px; }
.done h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.done p { color: #374151; font-size: 0.96rem; margin-bottom: 8px; }

/* ---------- Trip management: unpaid-balance banner ---------- */
.pay-banner {
  background: rgba(199,123,40,0.10); border: 1px solid rgba(199,123,40,0.3); border-left-width: 5px; border-left-color: #c77b28;
  border-radius: 16px; padding: 22px 24px; margin-bottom: 22px; max-width: 640px;
}
.pay-banner h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.pay-banner p { margin: 7px 0 14px; font-size: 0.92rem; color: #374151; }

/* Urgent call-out: local number loud, international directly beneath it */
.urgent-nums { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.urgent-intl { font-size: 0.84rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.urgent-intl:hover { color: var(--brand-dark); }
@media (max-width: 560px) { .urgent-nums { align-items: flex-start; } }

/* Logo returns to the homepage */
.pnav > a:first-child { display: block; line-height: 0; border-radius: 8px; transition: opacity 0.18s; }
.pnav > a:first-child:hover { opacity: 0.78; }
.pnav > a:first-child:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(8,170,149,0.4); }

/* ============================================================
   Type system — matched to the booking page
   ============================================================ */
body { font-feature-settings: "tnum" 1; }

.phead h1,
.tsec h2,
.chan h2,
.addr h2,
.clock h2,
.confirm-box h2,
.done h2,
.pay-banner h2,
.qgroup .qa summary {
  font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
.phead h1, .tsec h2, .clock h2, .confirm-box h2, .done h2, .pay-banner h2 {
  font-weight: 800; letter-spacing: -0.025em;
}
.chan h2, .addr h2 { font-weight: 700; letter-spacing: -0.015em; }
/* Questions stay at a readable weight — the face gives them character without
   turning a 27-item list into 27 headlines. */
.qa summary { font-weight: 600; letter-spacing: -0.01em; }

.urgent-num, .bcard-ref b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: -0.02em;
}

/* ---------- Partners ---------- */
.partner-stat {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--edge); border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 22px 26px; margin-bottom: 34px;
}
.partner-stat strong {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
}
.partner-stat span { color: var(--muted); font-size: 0.98rem; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.partner {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--edge); border-radius: 16px; padding: 18px 20px;
}
.partner-mark {
  background: #fff; border: 1px solid var(--edge); border-radius: 10px;
  display: grid; place-items: center; padding: 8px; aspect-ratio: 2 / 1;
}
.partner-mark img { width: 100%; height: auto; object-fit: contain; }
.partner-mark a { display: inline-flex; width: 100%; text-decoration: none; }
.partner-txt h2 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.partner-txt p { margin-top: 3px; font-size: 0.87rem; color: var(--muted); line-height: 1.5; }

.partner-cta {
  margin-top: 40px; padding: 34px; text-align: center;
  background: var(--navy); color: #fff; border-radius: 18px;
}
.partner-cta h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.partner-cta p { margin: 10px 0 22px; color: rgba(255,255,255,0.72); font-size: 0.96rem; }
@media (max-width: 560px) { .partner { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; } }

/* ---------- Mobile app page ---------- */
.getapp {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--edge); border-radius: 18px;
  padding: 28px; margin-bottom: 34px;
}
.getapp-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.getapp-badges img { height: 56px; width: auto; }
.getapp-qr { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.getapp-qr figure { text-align: center; }
.getapp-qr img { height: 92px; width: auto; }
.getapp-qr figcaption { font-size: 0.74rem; color: var(--muted); margin-top: 5px; }
.qr-note { font-size: 0.8rem; color: var(--muted); max-width: 14ch; }

.afeats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.afeat { background: var(--white); border: 1px solid var(--edge); border-radius: 16px; padding: 22px 24px; }
.afeat h2 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.afeat p { margin-top: 6px; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

.shots-wrap { margin-top: 40px; }
.shots-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.shots { display: flex; gap: 22px; flex-wrap: wrap; }
.shot { flex: none; margin: 0; }
.shot img {
  width: 250px; height: auto; border-radius: 24px;
  border: 1px solid var(--edge); box-shadow: 0 18px 44px -24px rgba(13,27,42,0.55);
}
@media (max-width: 640px) {
  .getapp { flex-direction: column; align-items: flex-start; }
  .getapp-qr { display: none; }
  .shots { justify-content: center; }
}

/* ---------- Copyright line ---------- */
.pfoot-copyright {
  max-width: 1140px; margin: 18px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem; color: rgba(255,255,255,0.4);
}
