/* Kilcullen Cabs — journeys (road signs + map), services, how it works, fares, FAQ, call band, footer */

/* ---------- Journeys ---------- */
.journeys__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sign-group { grid-column: 1 / -1; margin-top: 10px; }
.sign-group:first-child { margin-top: 0; }

.sign {
  --c: var(--sign-motorway);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 14px;
  border-radius: 10px;
  background: var(--c);
  color: var(--sign-ink);
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 6px rgba(255, 255, 255, 0.95), 0 10px 24px -14px rgba(13, 27, 44, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sign--national { --c: var(--sign-national); }
.sign--tourist { --c: var(--sign-tourist); }
.sign:hover, .sign.is-active { transform: translateY(-3px); }
.sign__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sign__route {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  white-space: nowrap;
}
.sign__arrow { width: 26px; height: 26px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sign__ga { font-style: italic; font-size: 0.9375rem; line-height: 1.15; opacity: 0.95; min-height: 1.15em; }
.sign__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sign__name { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.02em; }
.sign__km { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; line-height: 0.95; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sign__km small { font-size: 0.95rem; }
.sign__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 0.8125rem; }
.sign__foot b { font-size: 1rem; }
.sign__book { background: #fff; color: #0d1b2c; border: 0; min-height: 34px; padding: 0 12px; border-radius: 6px; font-weight: 800; font-size: 0.8125rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sign__book:hover { background: var(--amber); }
.sign__pict { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.map-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; box-shadow: var(--shadow); }
.map-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.map-card p { font-size: 0.875rem; color: var(--ink-2); margin-top: 6px; }
.map { margin-top: 12px; width: 100%; height: auto; background: var(--surface-2); border-radius: var(--r-s); }
.map .ring { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 10 14; }
.map .ring-label { fill: var(--ink-3); font-size: 30px; font-weight: 700; font-family: var(--f-body); }
.map .spoke { stroke: var(--ink-3); stroke-width: 3; stroke-dasharray: 5 12; opacity: 0.45; transition: opacity 0.2s, stroke 0.2s, stroke-width 0.2s; }
.map .dot { stroke: var(--surface-2); stroke-width: 6; transition: r 0.2s; }
.map .dot--motorway { fill: var(--sign-motorway); }
.map .dot--national { fill: var(--sign-national); }
.map .dot--tourist { fill: var(--sign-tourist); }
.map .place-label { fill: var(--ink); font-size: 38px; font-weight: 700; font-family: var(--f-body); paint-order: stroke; stroke: var(--surface-2); stroke-width: 12px; stroke-linejoin: round; transition: opacity 0.2s; }
.map g.quiet .place-label { opacity: 0; }
.map .home { fill: var(--amber); stroke: var(--ink); stroke-width: 5; }
.map .home-label { fill: var(--ink); font-size: 52px; font-weight: 800; font-family: var(--f-display); letter-spacing: 0.04em; paint-order: stroke; stroke: var(--surface-2); stroke-width: 14px; stroke-linejoin: round; }
.map g.is-active .spoke { opacity: 1; stroke: var(--amber); stroke-width: 8; stroke-dasharray: none; }
.map g.is-active .dot { r: 20; }
.map g.is-active .place-label { opacity: 1; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.75rem; font-weight: 700; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px; }
.service { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.service--feature { grid-row: span 2; }
.service--wide { grid-column: span 2; flex-direction: row; }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.service--feature .service__img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.service--wide .service__img { aspect-ratio: auto; flex: 0 0 44%; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.service h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 0.95; }
.service p { color: var(--ink-2); font-size: 0.9375rem; }
.service ul { display: grid; gap: 4px; font-size: 0.875rem; color: var(--ink-2); }
.service li { display: flex; gap: 8px; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--amber); }
.service .link { margin-top: 6px; font-weight: 800; font-size: 0.9375rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; justify-self: start; }
.service .link:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- How it works ---------- */
.how { background: var(--navy); color: #fff; }
.how .kicker { color: #9fb2c8; }
.how .lead { color: #c4d2e1; }
.how__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.how__photo { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; }
.how__steps { margin-top: 28px; display: grid; gap: 18px; counter-reset: step; }
.how__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.how__steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--on-amber);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.7rem;
}
.how__steps h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; margin-top: 4px; }
.how__steps p { color: #c4d2e1; margin-top: 4px; font-size: 0.9375rem; }
.how__check { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; color: #d9e3ef; }
.how__check .i { color: var(--amber); margin-top: 2px; }

/* ---------- Fares ---------- */
.fares__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th { font-weight: 800; }
tbody th small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.8125rem; margin-top: 2px; }
.fare-notes { display: grid; gap: 10px; }
.fare-notes li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fare-notes b { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.fare-notes span { color: var(--ink-2); font-size: 0.9375rem; }
.fares__source { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 1.0625rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Call band ---------- */
.callband { position: relative; isolation: isolate; color: #fff; background: #07101c; overflow: hidden; }
.callband img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; opacity: 0.55; }
.callband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 16, 28, 0.95), rgba(7, 16, 28, 0.6)); }
.callband .wrap { padding-block: clamp(56px, 8vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.callband h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 0.92; }
.callband__phone { display: block; margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); color: var(--amber); text-decoration: none; font-variant-numeric: tabular-nums; }
.callband__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #07101c; color: #c4d2e1; padding-block: 56px 28px; font-size: 0.9375rem; }
.footer .brand__name { color: #fff; }
.footer .brand__place { color: #8093a8; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h3 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: #c4d2e1; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer__tag { margin-top: 14px; max-width: 32ch; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1c2c42; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8125rem; color: #8093a8; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .journeys__grid { grid-template-columns: 1fr; }
  .map-card { position: static; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service--feature { grid-row: auto; grid-column: 1 / -1; }
  .service--feature .service__img { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .how__grid, .fares__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .signs { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service--wide { grid-column: auto; flex-direction: column; }
  .service--wide .service__img { flex: none; aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr; }
  .callband .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Additions: open status, areas, landline, odd sign groups ---------- */
.topbar__dot--open { background: #3fbf8f; box-shadow: 0 0 10px #3fbf8f; }
.hero__tap { margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: #9fb2c8; letter-spacing: 0.02em; }
.sign--span { grid-column: 1 / -1; }
.areas-title { margin-top: 14px; font-size: 0.75rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3) !important; }
.areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.areas li { font-size: 0.8125rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.callband__landline { display: block; margin-top: 6px; color: #d9e3ef; font-weight: 700; text-decoration: none; }
.callband__landline:hover { color: var(--amber); }
