/* ============================================================
   Service landing pages (tempo traveller, airport taxi, Force Urbania)
   Built on the tokens in public.css. Prefix: sp-
   ============================================================ */

.sp-page { --sp-read: 68ch; }
.sp-page section { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── HERO ────────────────────────────────────────────────── */
.sp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, #4a1010 62%, rgba(184, 50, 50, .85) 100%);
  padding: 44px 0 52px;
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.sp-hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}
.sp-hero .overline { background: rgba(255, 255, 255, .12); color: #f3d9a4; }
.sp-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 5.2vw, 2.9rem);
  margin-bottom: 16px;
}
.sp-hero h1 em { font-style: normal; color: #f3c56b; }
.sp-hero-lead {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 22px;
}
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px; }
.sp-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}
.sp-chips i { color: #f3c56b; font-size: 12px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-actions a { justify-content: center; }
.sp-hero-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, .14);
  aspect-ratio: 4 / 3;
  background: #2a0a0a;
}
.sp-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ── GENERIC SECTION PARTS ───────────────────────────────── */
.sp-section { padding: 56px 0; }
.sp-section.alt { background: var(--white); }
.sp-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.sp-head.left { margin-left: 0; text-align: left; }
.sp-head h2 { font-size: clamp(1.55rem, 4vw, 2.3rem); margin-bottom: 12px; }
.sp-head p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.sp-section h3 { font-size: 1.15rem; }

.sp-prose { max-width: var(--sp-read); }
.sp-prose p { font-size: 16px; line-height: 1.85; color: var(--ink-80); margin-bottom: 1em; }
.sp-prose p strong { color: var(--ink); }
.sp-lead { font-size: 18px !important; font-family: 'Lora', serif; color: var(--ink) !important; line-height: 1.7 !important; }

.sp-split { display: grid; gap: 32px; align-items: start; }
.sp-split:has(> .sp-split-media) { align-items: center; }
.sp-split-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--stone);
}
.sp-split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ── CARDS ───────────────────────────────────────────────── */
.sp-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.sp-card {
  background: var(--white);
  border: 1px solid rgba(26, 5, 5, .07);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  padding: 24px 22px;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sp-section.alt .sp-card { background: var(--cream); }
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sp-card h3 { margin-bottom: 8px; }
.sp-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.sp-card .sp-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 19px;
  color: var(--red);
  background: var(--red-lt);
}
.sp-card.media { padding: 0; overflow: hidden; }
.sp-card.media .sp-card-img { aspect-ratio: 16 / 10; background: var(--stone); overflow: hidden; }
.sp-card.media .sp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sp-card.media:hover .sp-card-img img { transform: scale(1.05); }
.sp-card.media .sp-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.sp-badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-lt);
  padding: 4px 11px; border-radius: 50px; margin-bottom: 10px;
}
.sp-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.sp-specs li {
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--red-lt); border-radius: 50px; padding: 4px 11px;
}
.sp-card .sp-card-link { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 13.5px; color: var(--red); }
.sp-card .sp-card-link i { margin-left: 4px; transition: transform .2s; }
.sp-card:hover .sp-card-link i { transform: translateX(4px); }
.sp-price { font-family: 'Lora', serif; font-size: 1.5rem; color: var(--red); font-weight: 700; margin-bottom: 4px; }
.sp-price small { font-family: 'Roboto', sans-serif; font-size: 13px; color: var(--muted); font-weight: 400; }

/* ── TICK LISTS / CHIP LISTS ─────────────────────────────── */
.sp-list { list-style: none; display: grid; gap: 10px; grid-template-columns: 1fr; }
.sp-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(26, 5, 5, .07);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 15px; line-height: 1.5;
}
.sp-section.alt .sp-list li { background: var(--cream); }
.sp-list li i { color: var(--red); margin-top: 3px; font-size: 14px; flex-shrink: 0; }
.sp-list.compact li { padding: 10px 14px; font-size: 14.5px; }

/* ── STATS ───────────────────────────────────────────────── */
.sp-stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.sp-stat {
  background: var(--white); border-radius: var(--r); padding: 22px 16px; text-align: center;
  border: 1px solid rgba(26, 5, 5, .07); box-shadow: var(--shadow-xs);
}
.sp-stat b { display: block; font-family: 'Lora', serif; font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--red); line-height: 1.1; }
.sp-stat span { font-size: 13px; color: var(--muted); }

/* ── TABLES ──────────────────────────────────────────────── */
.sp-table-wrap { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid rgba(26, 5, 5, .07); overflow: hidden; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sp-table th {
  background: var(--ink); color: #fff; text-align: left; font-weight: 600; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px;
}
.sp-table td { padding: 14px 18px; border-top: 1px solid rgba(26, 5, 5, .07); vertical-align: middle; }
.sp-table tbody tr:nth-child(even) { background: var(--cream); }
.sp-table tbody tr:hover { background: var(--red-lt); }
.sp-table .price { font-weight: 700; color: var(--red); white-space: nowrap; }
.sp-table .btn-sm {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 50px;
  font-size: 12.5px; font-weight: 700; color: var(--red); border: 1.5px solid var(--red); transition: var(--ease);
}
.sp-table .btn-sm:hover { background: var(--red); color: #fff; }
.sp-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* ── INFO BOX / CALLOUT ──────────────────────────────────── */
.sp-callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--gold-lt); border-left: 4px solid var(--gold);
  border-radius: var(--r-sm); padding: 18px 20px; margin-top: 22px;
}
.sp-callout > i { color: var(--gold); font-size: 20px; margin-top: 3px; }
.sp-callout p { font-size: 14.5px; line-height: 1.75; color: var(--ink-80); margin: 0; }
.sp-callout strong { color: var(--ink); }
.sp-callout.red { background: var(--red-lt); border-color: var(--red); }
.sp-callout.red > i { color: var(--red); }

/* ── STEPS ───────────────────────────────────────────────── */
.sp-steps { list-style: none; display: grid; gap: 16px; counter-reset: sp; max-width: 820px; margin: 0 auto; }
.sp-steps li {
  position: relative; counter-increment: sp;
  background: var(--white); border: 1px solid rgba(26, 5, 5, .07); border-radius: var(--r);
  padding: 18px 20px 18px 74px; box-shadow: var(--shadow-xs);
}
.sp-steps li::before {
  content: counter(sp);
  position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  box-shadow: 0 4px 14px rgba(184, 50, 50, .3);
}
.sp-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sp-steps p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── FAQ (reuses .faq-item from public.css) ──────────────── */
.sp-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.sp-faq .faq-q { width: 100%; border: 0; text-align: left; font: inherit; }
.sp-faq h3.q-text { margin: 0; font-family: 'Roboto', sans-serif; }
.sp-faq .faq-a.open { max-height: 600px; }

/* ── CTA extras ──────────────────────────────────────────── */
.sp-cta-contact { position: relative; margin-top: 26px; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.8; }
.sp-cta-contact a { color: #f3c56b; }
.sp-cta .btn-hero-outline { backdrop-filter: none; }

.sp-related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.sp-related a {
  padding: 9px 18px; border-radius: 50px; background: var(--white); border: 1px solid var(--stone);
  font-size: 13.5px; font-weight: 600; transition: var(--ease);
}
.sp-related a:hover { border-color: var(--red); color: var(--red); }

/* ── BREAKPOINTS ─────────────────────────────────────────── */
@media (max-width: 479px) {
  .container { padding: 0 18px; }
  .sp-actions a { width: 100%; }
  .sp-section { padding: 44px 0; }
  .sp-steps li { padding: 16px 16px 16px 66px; }
  .sp-steps li::before { left: 14px; top: 16px; width: 38px; height: 38px; }
}

/* table → stacked cards on small screens */
@media (max-width: 639px) {
  .sp-table thead { position: absolute; left: -9999px; }
  .sp-table, .sp-table tbody, .sp-table tr, .sp-table td { display: block; width: 100%; }
  .sp-table tr { padding: 12px 16px; border-top: 1px solid rgba(26, 5, 5, .1); }
  .sp-table tr:first-child { border-top: 0; }
  .sp-table td { border: 0; padding: 5px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .sp-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
  .sp-table td:first-child { font-weight: 700; font-size: 15.5px; text-align: left; justify-content: flex-start; }
  .sp-table td:first-child::before { display: none; }
}

@media (min-width: 640px) {
  .sp-grid.c2, .sp-grid.c3, .sp-grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .sp-list { grid-template-columns: repeat(2, 1fr); }
  .sp-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .sp-hero { padding: 56px 0 64px; }
  .sp-section { padding: 72px 0; }
}
@media (min-width: 992px) {
  .sp-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .sp-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .sp-split.flip .sp-split-media { order: 2; }
  .sp-grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .sp-list.c3 { grid-template-columns: repeat(3, 1fr); }
  .sp-stats.s5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1200px) {
  .sp-grid.c4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1600px) {
  .sp-page .container { max-width: 1320px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sp-card, .sp-card.media .sp-card-img img { transition: none; }
}

/* compact numbered list (e.g. "what to share for a quote") */
.sp-numbered { list-style: none; counter-reset: spn; display: grid; gap: 10px; }
.sp-numbered li {
  counter-increment: spn; display: flex; align-items: center; gap: 14px;
  background: var(--cream); border: 1px solid rgba(26, 5, 5, .07); border-radius: var(--r-sm);
  padding: 10px 16px; font-size: 15px;
}
.sp-numbered li::before {
  content: counter(spn); flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
}

/* Bootstrap's `ul, ol { padding-left: 2rem }` out-ranks the global reset */
.sp-page ul, .sp-page ol, .sp-hero ul { padding-left: 0; margin-bottom: 0; }
