/* Local landing pages (/:locale/rent-a-car-<city>). Reuses .info-hero,
   .about-feature-grid and .faq-list; only page-specific bits live here. */
.city-page { display: grid; gap: 28px; }
.city-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--muted, #6b7280); }
.city-breadcrumb a { color: inherit; }
.city-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.city-info-grid h2 { font-size: 1.15rem; }
.city-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.city-section-head h2 { margin: 0; }
.city-car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.city-car-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; text-decoration: none; color: inherit; transition: transform .15s ease; }
.city-car-card:hover { transform: translateY(-2px); }
.city-car-card img { width: 100%; height: 130px; object-fit: contain; }
.city-car-name { font-weight: 700; }
.city-car-price { color: var(--muted, #6b7280); }
.city-other-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-locations-col a { display: block; }
.city-cars.panel, .city-other.panel { padding: clamp(18px, 3vw, 28px); }
.city-cars .city-car-card { background: var(--bg, #0f1419); }
.city-section-head h2, .city-other h2 { color: var(--ink, #f5f5f5); font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.city-section-head a, .city-other-list a, .city-breadcrumb a { color: var(--accent, #d4af37); }
.city-other h2 { margin: 0; }

/* Perks strip (partials/perks-strip.ejs): free vignette, insurance, etc. */
.perks-strip { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.perks-strip-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-border, rgba(255,255,255,.1)); background: var(--panel, #1a1f28); color: var(--ink, #f5f5f5); font-size: 0.9rem; }
.perks-strip-item svg { width: 18px; height: 18px; fill: none; stroke: var(--accent, #d4af37); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.perks-strip-item--highlight { background: var(--accent, #d4af37); border-color: var(--accent, #d4af37); color: #111; }
.perks-strip-item--highlight svg { stroke: #111; }
@media (max-width: 600px) { .perks-strip-item { font-size: 0.8rem; padding: 6px 10px; } }

/* Auto service page (service.ejs). Written mobile-first: base rules are the
   phone layout, min-width queries add the tablet/desktop layout.
   Text colours: body #d9dde3, muted #aab1bb (both AA on the dark surfaces).
   Hero photo: https://www.pexels.com/photo/car-in-an-auto-repair-shop-12185933/
   (Hyundai Motor Group, Pexels License) -> images/promo/service-hero(-800).webp */
.service-page { --svc-text: #d9dde3; --svc-muted: #aab1bb; --svc-surface: rgba(10,14,19,.92); gap: 20px; padding-top: 1.25rem; padding-bottom: 2.5rem; interpolate-size: allow-keywords; }
.service-page.page-enter { opacity: 1; transition: none; } /* hero is visible immediately */
.service-page h2 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; color: var(--ink, #f5f5f5); font-size: 1.4rem; line-height: 1.2; }
.service-page h2::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 2px; background: var(--accent, #d4af37); }
.service-page .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.service-page .city-cta-row { gap: 10px; margin-top: 4px; }
.service-page .city-cta-row .btn { flex: 1 1 100%; }
.service-page :is(a, summary, button):focus-visible { outline: 2px solid var(--accent, #d4af37); outline-offset: 3px; }
.svc-how, .svc-services, .svc-shop, .svc-location { padding: 18px 16px; border-radius: 16px; background: var(--svc-surface); border: 1px solid var(--glass-border, rgba(255,255,255,.1)); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.svc-how, .svc-services, .svc-shop, .svc-location, .svc-faq { scroll-margin-top: calc(var(--site-header-height, 0px) + 12px); }

/* Hero: workshop photo under a solid scrim, copy, then the offer card */
.svc-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 20px 16px; border-radius: 16px;
  background: #0a0e13; border: 1px solid rgba(212,175,55,.25); box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.svc-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.svc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,19,.86) 0%, rgba(10,14,19,.93) 55%, rgba(10,14,19,.97) 100%); }
.svc-hero-copy { display: contents; }
.svc-hero .eyebrow { align-self: flex-start; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(212,175,55,.45); background: rgba(10,14,19,.6); color: var(--accent, #d4af37); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.svc-hero h1 { margin: 0; font-size: 1.75rem; line-height: 1.12; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.svc-hero .info-lead { margin: 0; max-width: 62ch; font-size: 1.05rem; line-height: 1.6; color: #eef0f3; }
.svc-hero-text { order: 2; margin: 0; max-width: 62ch; font-size: 1rem; line-height: 1.6; color: var(--svc-text); }
.svc-hero-text:last-of-type { padding-left: 14px; border-left: 3px solid var(--accent, #d4af37); }

.svc-offer {
  --promo-scrim: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%);
  --promo-bg: radial-gradient(120% 120% at 80% 0%, #2f7de1 0%, #123a73 50%, #0a1630 100%);
  order: 1; display: block; min-height: 0; padding: 14px 16px 16px; border-radius: 14px;
}
.svc-offer::before { background-size: 100% 100%; }
.svc-offer .hero-promo-badge { width: 38px; height: 38px; margin-bottom: 40px; }
.svc-offer-photo { position: absolute; z-index: -1; top: 4px; right: -10px; width: 66%; height: 90px; object-fit: contain; object-position: right center; filter: drop-shadow(0 14px 16px rgba(0,0,0,.55)); }
.svc-offer strong { display: block; margin-bottom: 6px; font-size: 1.08rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.svc-offer > span:last-child { display: block; font-size: 1rem; line-height: 1.55; color: #f1f4f8; }

/* Trust strip */
.svc-trust { list-style: none; margin: 0; padding: 6px 16px; display: grid; grid-template-columns: 1fr; border-radius: 16px; background: var(--svc-surface); border: 1px solid var(--glass-border, rgba(255,255,255,.1)); }
.svc-trust li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--ink, #f5f5f5); font-size: 1rem; line-height: 1.35; }
.svc-trust li:first-child { border-top: 0; }
.svc-trust strong { font-family: inherit; font-weight: 700; letter-spacing: 0; }
.svc-trust-hours { display: grid; gap: 2px; }
.svc-trust-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35); }
.service-page svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc-trust-icon svg { width: 21px; height: 21px; stroke: var(--accent, #d4af37); stroke-width: 1.9; }

/* How it works */
.service-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service-steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; gap: 10px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--svc-text); font-size: 1rem; line-height: 1.55; }
.service-steps li:first-child { border-top: 0; padding-top: 4px; }
.service-steps li:last-child { padding-bottom: 0; }
.service-steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-heading, "Outfit", sans-serif); font-weight: 800; font-size: 1.5rem; line-height: 1;
  background: linear-gradient(135deg, #f1d77a, var(--accent, #d4af37) 60%, #b8962c); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Services: one block per category, each with its own accent colour */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.service-card { --svc-accent: #d4af37; --svc-accent-rgb: 212,175,55; display: flex; flex-direction: column; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.service-card:first-child { border-top: 0; padding-top: 6px; }
.service-card:last-child { padding-bottom: 0; }
.service-card--chip { --svc-accent: #6eb1ff; --svc-accent-rgb: 110,177,255; }
.service-card--wheel { --svc-accent: #ffa860; --svc-accent-rgb: 255,168,96; }
.service-card--engine { --svc-accent: #ff8a8a; --svc-accent-rgb: 255,138,138; }
.service-card--snow { --svc-accent: #62d6e8; --svc-accent-rgb: 98,214,232; }
.service-card-head { display: flex; align-items: center; gap: 14px; }
.service-card-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--svc-accent-rgb), .14); border: 1px solid rgba(var(--svc-accent-rgb), .45); }
.service-card-icon svg { width: 26px; height: 26px; stroke: var(--svc-accent); stroke-width: 1.8; }
.service-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; color: #fff; }
.service-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service-card li { position: relative; padding-left: 30px; display: grid; gap: 3px; }
.service-card li::before { /* check mark */
  content: ""; position: absolute; left: 2px; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--svc-accent-rgb), .18);
}
.service-card li::after { content: ""; position: absolute; left: 8px; top: calc(.22em + 4px); width: 5px; height: 9px; border: solid var(--svc-accent); border-width: 0 2px 2px 0; rotate: 45deg; }
.service-card li strong { color: #fff; font-size: 1.03rem; font-weight: 700; line-height: 1.35; }
.service-card li span { color: var(--svc-muted); font-size: .95rem; line-height: 1.55; }
.service-card--extra .btn { margin-top: 2px; }

/* Parts shop */
.service-shop-text { margin: 0 0 14px; max-width: 70ch; color: var(--svc-text); font-size: 1rem; line-height: 1.6; }
.service-shop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-shop-list li { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(212,175,55,.4); color: var(--ink, #f5f5f5); font-size: .95rem; }

/* Location: contact details + stylised static map */
.svc-location { display: grid; gap: 18px; padding: 0; overflow: hidden; }
.svc-location-info { padding: 18px 16px 0; }
.svc-contact-list { margin: 0 0 16px; display: grid; gap: 4px; }
.svc-contact-list > div { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.svc-contact-list dt { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35); }
.svc-contact-list dt svg { width: 20px; height: 20px; stroke: var(--accent, #d4af37); stroke-width: 1.9; }
.svc-contact-list dd { margin: 0; color: var(--svc-text); font-size: 1rem; line-height: 1.5; }
.svc-contact-list dd strong { color: #fff; font-family: inherit; letter-spacing: 0; }
.svc-contact-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent, #d4af37); text-underline-offset: 3px; }
.svc-contact-list a strong { color: inherit; }
.svc-map {
  position: relative; display: block; min-height: 200px; overflow: hidden; text-decoration: none;
  background: radial-gradient(60% 80% at 50% 45%, rgba(212,175,55,.16), transparent 70%), linear-gradient(160deg, #141b24, #0b1016);
}
.svc-map-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-map-minor { stroke: rgba(255,255,255,.1); stroke-width: 5; }
.svc-map-major { stroke: rgba(255,255,255,.2); stroke-width: 9; }
.svc-map-pin { position: absolute; left: 50%; top: 45%; translate: -50% -100%; width: 46px; height: 46px; border-radius: 50% 50% 50% 0; rotate: -45deg; display: grid; place-items: center; background: var(--accent, #d4af37); box-shadow: 0 10px 24px rgba(0,0,0,.5); transform-origin: center; }
.svc-map-pin svg { width: 22px; height: 22px; rotate: 45deg; stroke: #111; stroke-width: 2; }
.svc-map::after { content: ""; position: absolute; left: 50%; top: 45%; width: 14px; height: 14px; translate: -50% -30%; border-radius: 50%; background: rgba(212,175,55,.5); animation: svc-pin-pulse 2.4s ease-out infinite; }
@keyframes svc-pin-pulse { from { scale: 1; opacity: .8; } to { scale: 5; opacity: 0; } }
.svc-map-label { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(10,14,19,.9); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.4; text-align: center; }

/* FAQ block reuses faq-page.css (.faq-section / .faq-item) */
.svc-faq .faq-section-title::before { width: 22px; }

/* Sticky call bar (phones + tablets). Sits under the cookie banner and hides while it shows. */
.svc-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10,14,19,.97); border-top: 1px solid rgba(212,175,55,.35); box-shadow: 0 -10px 30px rgba(0,0,0,.45);
}
.svc-sticky .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; font-size: .9rem; }
.svc-sticky svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body:has(.cookie-consent--visible) .svc-sticky { display: none; }
body:has(.svc-sticky) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); } /* footer never hides behind the bar */

/* Landscape phones: keep the bar slim */
@media (max-height: 480px) and (orientation: landscape) {
  .svc-sticky { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .svc-sticky .btn { min-height: 44px; }
  body:has(.svc-sticky) { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Large phones / tablets ── */
@media (min-width: 600px) {
  .service-page .city-cta-row .btn { flex: 0 1 auto; }
  .svc-trust { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .svc-trust li:nth-child(2) { border-top: 0; }
  .svc-offer-photo { width: 44%; height: 110px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .service-card:nth-child(2) { border-top: 0; padding-top: 6px; }
  .service-card:nth-last-child(2):nth-child(odd) { padding-bottom: 0; }
  .svc-map { min-height: 240px; }
}

/* ── Desktop ── */
@media (min-width: 769px) {
  .svc-sticky { display: none; }
  body:has(.svc-sticky) { padding-bottom: 0; }
}
@media (min-width: 1000px) {
  .service-page { gap: clamp(26px, 3vw, 40px); padding-top: 2.5rem; padding-bottom: 4rem; }
  .service-page h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.3vw, 1.9rem); gap: 12px; }
  .service-page h2::before { width: 28px; }
  .svc-how, .svc-services, .svc-shop { padding: clamp(24px, 3vw, 36px); border-radius: 20px; }

  .svc-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: 20px; }
  .svc-hero::before { background: linear-gradient(90deg, rgba(10,14,19,.96) 0%, rgba(10,14,19,.93) 55%, rgba(10,14,19,.55) 80%, rgba(10,14,19,.38) 100%); }
  .svc-hero-photo { object-position: 60% 45%; }
  .svc-hero-copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
  .svc-hero .eyebrow { font-size: .75rem; padding: 6px 12px; }
  .svc-hero h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.08; }
  .svc-hero .info-lead { font-size: 1.15rem; }
  .svc-hero-text { font-size: 1.02rem; }
  .svc-offer { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 44px rgba(0,0,0,.55); }
  .svc-offer .hero-promo-badge { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; margin: 0; }
  .svc-offer-photo { position: static; align-self: center; width: min(86%, 320px); height: auto; margin: 0 0 4px; }
  .svc-offer strong { margin: 0; font-size: 1.25rem; }

  .svc-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; padding: 10px 8px; border-radius: 18px; }
  .svc-trust li { padding: 12px 18px; border-top: 0; border-left: 1px solid rgba(255,255,255,.08); }
  .svc-trust li:first-child { border-left: 0; }

  .service-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .service-steps li { grid-template-columns: 1fr; gap: 10px; padding: 0 0 0 24px; border-top: 0; border-left: 2px solid rgba(212,175,55,.4); font-size: 1.05rem; }
  .service-steps li:first-child { padding-top: 0; }
  .service-steps li::before { font-size: 2.2rem; }

  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 44px; }
  .service-card, .service-card:first-child, .service-card:nth-child(2) { padding: 0; border-top: 0; }
  .service-card-head { padding-bottom: 14px; border-bottom: 2px solid rgba(var(--svc-accent-rgb), .45); }
  .service-card-icon { width: 54px; height: 54px; border-radius: 16px; }
  .service-card-icon svg { width: 29px; height: 29px; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card ul { gap: 16px; }
  .service-card--extra .btn { margin-top: auto; align-self: flex-start; }

  .svc-location { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 20px; }
  .svc-location-info { padding: clamp(24px, 3vw, 36px); }
  .svc-map { min-height: 100%; }
  .svc-map-label { left: 50%; right: auto; translate: -50% 0; width: max-content; max-width: calc(100% - 32px); }
}
@media (hover: hover) {
  .svc-map:hover .svc-map-pin { box-shadow: 0 10px 30px rgba(212,175,55,.55); }
  .svc-map:hover .svc-map-major { stroke: rgba(255,255,255,.28); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-map::after { animation: none; opacity: 0; }
}

/* Tap targets */
.service-page .city-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.service-page .city-breadcrumb { align-items: center; }
.svc-contact-list a { min-width: 44px; }
