/* Service icons + card hover in Core Link colours.
   Pattern: lift translateY(-4px), soft navy-tinted shadow, border darkens, icon chip fills with the accent
   colour (white icon) and tilts slightly (rotate(-6deg) scale(1.05)), 2-3px accent bar grows left-to-right
   along the bottom (scaleX 0 -> 1, .32s). Timing .24s ease; hover only on devices with hover. */
:root { --cl-shadow-md: 0 4px 12px rgba(16,42,67,.08), 0 16px 32px rgba(16,42,67,.10); }

/* Icons on the "Also on request" cards */
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.svc-icon { /* resting: cream circle, navy icon (on white cards no border needed) */ display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #f4f0e8; color: #102a43; transition: background .24s ease, color .24s ease, transform .24s ease; }
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Cards: base transitions (replaces the old padding-shift hover) */
.service-card, .service-feature { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease; }
.service-card::after, .service-feature::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #e97824; transform: scaleX(0); transform-origin: left; transition: transform .32s ease; z-index: 1; }
.service-card:hover { padding-left: 42px; background: #fff; }
.service-more .service-card:hover { padding-left: 20px; }
@media (max-width: 620px) { .service-card:hover { padding-left: 28px; } .service-more .service-card:hover { padding-left: 16px; } }
.service-feature .service-icon { transition: transform .24s ease; }
.service-card, .service-feature { outline: none; }

@media (hover: hover) {
  .service-card:hover, .service-feature:hover { transform: translateY(-4px); box-shadow: var(--cl-shadow-md); z-index: 2; }
  .service-card:hover { box-shadow: var(--cl-shadow-md), inset 0 0 0 1px #102a43; }
  .service-card:hover::after, .service-feature:hover::before { transform: scaleX(1); }
  .service-card:hover .svc-icon { background: #e97824; color: #fff; transform: rotate(-6deg) scale(1.05); }
  .service-card:hover h3 { color: #102a43; }
  .service-feature:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
}
/* Keyboard: same treatment when a link inside the card is focused (cards 02-04 have links) */
.service-card:focus-within { box-shadow: var(--cl-shadow-md), inset 0 0 0 1px #102a43; z-index: 2; }
.service-card:focus-within::after { transform: scaleX(1); }
.service-card a:focus-visible { outline: 2px solid #e97824; outline-offset: 3px; }

/* Quote page: selectable vehicle cards + extras rows */
.clq-veh { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease; }
.clq-veh:focus-visible { outline: 2px solid #e97824; outline-offset: 3px; border-color: #e97824; }
@media (hover: hover) {
  .clq-veh:hover:not(:disabled) { transform: translateY(-4px); box-shadow: var(--cl-shadow-md); border-color: #102a43; }
  .clq-veh.is-selected:hover { border-color: #e97824; }
}
#clq label.checkbox { padding: 6px 8px; margin: 0 -8px; border-radius: 2px; transition: background .24s ease; cursor: pointer; }
.clq-extra-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #f4f0e8; color: #102a43; transition: background .24s ease, color .24s ease, transform .24s ease; }
.clq-extra-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Resting badge (Arjun's choice): cream circle #f4f0e8 + navy icon #102a43, also when ticked.
   Extras sit on the cream page / cream highlight rows, so a navy hairline keeps the circle visible. */
.clq-extra-icon { box-shadow: inset 0 0 0 1px rgba(16,42,67,.22); }
@media (hover: hover) {
  #clq label.checkbox:hover { background: #f4f0e8; }
  #clq label.checkbox:hover .clq-extra-icon { background: #e97824; color: #fff; transform: rotate(-6deg) scale(1.05); }
}
#clq label.checkbox:has(input:focus-visible) { background: #f4f0e8; box-shadow: inset 3px 0 0 #e97824; }
#clq label.checkbox input:focus-visible { outline: 2px solid #e97824; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-feature, .svc-icon, .service-feature .service-icon, .clq-veh, .clq-extra-icon, #clq label.checkbox,
  .service-card::after, .service-feature::before { transition: none !important; }
  .service-card:hover, .service-feature:hover, .clq-veh:hover:not(:disabled) { transform: none !important; }
  .service-card:hover .svc-icon, .service-feature:hover .service-icon, #clq label.checkbox:hover .clq-extra-icon { transform: none !important; }
}
