/* =================================================================
   TorontoLimousinesService.com — components added on top of the
   shared style.css / ca.css system. Loaded last.
   ================================================================= */

:root{
  --gold:#C6A86B;
  --gold-soft:#E8DCC2;
  --topbar-h:38px;
}

/* ---------- Top contact bar ------------------------------------ */
.topbar{
  background:var(--ink);color:rgba(255,255,255,.72);
  font-size:13px;letter-spacing:.02em;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.topbar-in{
  width:min(100% - 44px,var(--wrap));margin-inline:auto;
  min-height:var(--topbar-h);
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.topbar-claim{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-links{display:flex;gap:22px;white-space:nowrap}
.topbar-links a{color:#fff;opacity:.85;transition:opacity .2s}
.topbar-links a:hover{opacity:1;color:var(--gold)}
@media (max-width:860px){
  .topbar-claim{display:none}
  .topbar-in{justify-content:center}
  .topbar-links{gap:16px;font-size:12px}
}

/* The sticky header sits below the bar rather than over it. */
.site-head{top:0}

/* ---------- Brand lockup --------------------------------------- */
.brand-stack{display:flex;flex-direction:column;line-height:1.05}
.brand-word em{font-style:normal;color:var(--gold)}
.brand-sub{
  font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-3);margin-top:3px;font-weight:500;
}
.has-cinematic-hero .site-head:not(.scrolled) .brand-sub{color:rgba(255,255,255,.62)}
@media (max-width:600px){ .brand-sub{display:none} }

/* ---------- Trust bar ------------------------------------------ */
.trustbar{
  background:var(--soft);border-block:1px solid var(--line);
  padding:44px 0;
}
.trust-grid{
  display:grid;gap:30px;
  grid-template-columns:repeat(auto-fit,minmax(215px,1fr));
}
.trust-item{position:relative;padding-top:6px}
.trust-num{
  display:block;font-family:var(--serif);font-size:15px;
  color:var(--gold);letter-spacing:.14em;margin-bottom:10px;
}
.trust-item h3{
  font-family:var(--sans);font-size:15px;font-weight:600;
  letter-spacing:-.005em;margin:0 0 6px;
}
.trust-item p{font-size:14.5px;color:var(--ink-3);margin:0;line-height:1.6}

/* ---------- Venue cards ---------------------------------------- */
.venue-grid{
  display:grid;gap:26px;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
}
.venue-card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s;
}
.venue-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.venue-media{display:block;position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--soft-2)}
.venue-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.venue-card:hover .venue-media img{transform:scale(1.05)}
.venue-kind{
  position:absolute;left:14px;top:14px;z-index:2;
  background:rgba(11,11,12,.82);color:#fff;
  font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  padding:6px 11px;border-radius:2px;backdrop-filter:blur(4px);
}
.venue-body{padding:22px 22px 26px;display:flex;flex-direction:column;gap:8px}
.venue-body h3{font-family:var(--serif);font-size:24px;margin:0}
.venue-body h3 a:hover{color:var(--accent)}
.venue-area{
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold);margin:0;font-weight:500;
}
.venue-body p:last-child{font-size:15px;color:var(--ink-3);margin:0;line-height:1.6}

/* ---------- Fleet card grid (/fleet) --------------------------- */
.fcard-grid{
  display:grid;gap:34px;
  grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
}

/* ---------- Inline callout ------------------------------------- */
.callout{
  margin:38px 0;padding:28px 30px;
  background:var(--ink);color:#fff;border-radius:var(--r-lg);
  border-left:3px solid var(--gold);
}
.callout p{margin:0 0 16px;font-size:17px;color:rgba(255,255,255,.9)}
.callout p:last-child{margin:0}
.callout-actions{display:flex;flex-wrap:wrap;gap:12px}
.callout .btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.callout .btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* ---------- BookingWorldwide widget: 7 tiles -------------------
   style.css still carries the older overlay-caption tile (a 4/3 box
   with the image absolutely positioned and the caption on top). This
   site uses the card layout from ca.css — image above, label and
   blurb below — so those overlay rules have to be unwound or the
   labels are clipped out of the box entirely.
   ---------------------------------------------------------------- */
.bww-tiles{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.bww-tile{aspect-ratio:auto;isolation:auto;border-color:var(--line)}
.bww-tile img{position:static;inset:auto;z-index:auto;transform:none}
.bww-tile::after{content:none}
.bww-tile:hover img{transform:none}
.bww-label{font-weight:500;letter-spacing:-.005em}

/* ---------- Prose rhythm on long landing pages ----------------- */
.prose h2{
  font-family:var(--serif);font-size:32px;font-weight:400;
  margin:2em 0 .55em;letter-spacing:-.01em;
}
.prose h2:first-child{margin-top:0}
.prose .ticks{margin:1.4em 0}

@media (max-width:520px){
  .prose h2{font-size:27px}
  .callout{padding:24px 22px}
}

/* ---------- Header stacking -------------------------------------
   The contact bar stays pinned; the main header sits directly under
   it, including over the cinematic home hero. Without this the fixed
   header on the home page renders on top of the contact bar.
   ---------------------------------------------------------------- */
.topbar{position:sticky;top:0;z-index:120}
.site-head,
.has-cinematic-hero .site-head{top:var(--topbar-h)}
html{scroll-padding-top:calc(var(--head-h) + var(--topbar-h) + 20px)}

/* Eight nav items need more room than the base 960px breakpoint
   allows, so the mobile menu takes over earlier. */
@media (max-width:1180px){
  .main-nav{
    position:fixed;inset:calc(var(--head-h) + var(--topbar-h)) 0 auto 0;
    background:var(--paper);border-bottom:1px solid var(--line);
    padding:8px 22px 22px;display:none;
    max-height:calc(100vh - var(--head-h) - var(--topbar-h));
    overflow:auto;box-shadow:var(--shadow-md);
  }
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav a{display:block;padding:15px 2px;border-bottom:1px solid var(--line);color:var(--ink-2)!important}
  .nav-toggle{display:inline-flex}
}
@media (max-width:1180px) and (min-width:961px){
  .head-tel{display:inline}
}

/* ---------- Small screens ---------------------------------------
   At 375–620px the brand lockup plus the contact bar and the CTA are
   wider than the viewport, which pushed the menu button off-screen
   and clipped the contact bar at both ends.
   ---------------------------------------------------------------- */
@media (max-width:620px){
  /* Contact bar: the phone is the only thing worth the width. */
  .topbar-links a[href^="mailto"]{display:none}
  .topbar-links{gap:0}
  .topbar-in{justify-content:center}

  /* Brand: smaller wordmark so the menu button always fits. */
  .brand-word{font-size:20px}
  .brand-mark{width:22px;height:22px}
  .brand{gap:9px}

  .head-actions{gap:10px}
  .head-actions .btn-sm{padding:9px 14px;font-size:13px}
}
@media (max-width:430px){
  /* Below this the CTA and the menu button cannot both fit beside the
     brand. The menu wins — /book is the first item inside it. */
  .head-actions .btn{display:none}
  .brand-word{font-size:19px}
}

/* The in-menu booking links exist only for the narrow layout, where
   the header CTA is hidden. On desktop the header button covers it. */
.nav-book{display:none}
@media (max-width:1180px){
  .nav-book{display:block}
  .nav-book a{font-weight:600}
}

/* =================================================================
   Coverage scrollers — Canadian provinces + worldwide network
   ================================================================= */

/* ---------- Canada: horizontal card scroller -------------------- */
.coverage .flagscroller{margin-top:38px}
.prov-track{gap:18px;padding-inline:max(22px,calc((100vw - var(--wrap))/2))}
.prov-card{
  flex:0 0 250px;display:flex;flex-direction:column;gap:8px;
  padding:22px 22px 20px;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r-lg);
  scroll-snap-align:start;transition:box-shadow .25s,transform .25s,border-color .25s;
}
.prov-card.is-link:hover{
  transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--ink);
}
.prov-flag{
  width:72px;height:36px;object-fit:cover;border-radius:2px;
  border:1px solid var(--line);background:var(--soft-2);
}
.prov-abbr{
  font-size:11px;letter-spacing:.16em;color:var(--gold);font-weight:600;margin-top:4px;
}
.prov-name{font-family:var(--serif);font-size:22px;line-height:1.15}
.prov-note{font-size:13.5px;color:var(--ink-3);line-height:1.55;flex:1}
.prov-tag{
  align-self:flex-start;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 10px;border-radius:2px;font-weight:600;
}
.prov-tag.is-own{background:var(--ink);color:#fff}
.prov-tag.is-net{background:var(--soft-2);color:var(--ink-2)}

/* ---------- Worldwide: continuous marquee ----------------------- */
.worldwide .marquee{
  margin:38px 0 30px;overflow:hidden;
  /* fade the ends so items enter and leave rather than being cut */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee-track{display:flex;width:max-content;animation:tls-marquee 90s linear infinite}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track{animation-play-state:paused}
.marquee-row{display:flex;gap:14px;padding-right:14px}
.world-item{
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap;
  padding:9px 15px;background:var(--paper);
  border:1px solid var(--line);border-radius:999px;
  font-size:14px;color:var(--ink-2);
}
.world-item img{
  width:24px;height:16px;object-fit:cover;border-radius:2px;
  border:1px solid var(--line);flex:0 0 auto;
}
@keyframes tls-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion:reduce){
  .marquee-track{animation:none}
  .worldwide .marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
}
.world-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:6px}

@media (max-width:520px){
  .prov-card{flex-basis:212px}
  .world-item{font-size:13px;padding:8px 13px}
}
.prov-tag.is-direct{background:var(--gold);color:var(--ink)}

/* ---------- Footer network rows ----------
   The footer reuses .net-grid, which the base sheet styles as a light
   card grid (grey --line background showing through 1px gaps). On the
   dark footer that painted grey blocks behind the domain links and the
   white .foot-net-row link colour left them all but unreadable. In the
   footer the row is a plain wrapping link list. */
.foot-net .net-grid{
  display:flex;flex-wrap:wrap;align-items:baseline;
  background:none;border:0;gap:0;flex:1 1 320px;min-width:0;
}
.foot-net .net-dom{
  font-size:12.8px;color:rgba(255,255,255,.62);
  word-break:normal;overflow-wrap:anywhere;
}
.foot-net .net-dom:hover{color:var(--gold)}
.foot-net .net-dom:not(:last-child)::after{
  content:"\00b7";color:rgba(255,255,255,.22);margin:0 7px;
}

/* Bottom bar: the legal links are emitted space-separated, which reads as
   one run-on string. Space them out. */
.foot-bottom p a + a{margin-left:18px}
