/* Car City Care service pages (CCC-261127-12). Loaded after ccc-home.css, which holds the shared design. */
.cc-hero__panel--svc .cc-crumbs + * { margin-top: 0; }
.cc-bestprice { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--burgundy); color: var(--on-dark); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cc-save { margin: 0 0 14px; padding: 12px 16px; border-left: 4px solid var(--burgundy); background: #fff; border-radius: 10px; }
.cc-save p { margin: 0; }
.cc-hero-points { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; gap: 10px; }
.cc-hero-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--navy); }
.cc-hero-points img { flex: none; width: 28px; height: 28px; object-fit: contain; }
.cc-hero-points br { display: none; }
.cc-section--chips { padding-top: 28px; padding-bottom: 28px; }
.cc-areas--like { justify-content: center; }
.cc-card--bull .cc-card__icon { width: 44px; height: 44px; object-fit: contain; margin: 0 0 14px; }
.cc-card--bull .cc-card__t { font-weight: 800; color: var(--navy); font-size: 18px; margin: 0 0 6px; }
.cc-card--bull p { margin: 0; }
.cc-content h2, .cc-content h3, .cc-content h4, .cc-content h5 { color: var(--navy); line-height: 1.25; margin: 1.4em 0 .5em; }
.cc-content h2:first-child, .cc-content h3:first-child, .cc-content h4:first-child { margin-top: 0; }
.cc-content img { max-width: 100%; height: auto; border-radius: 12px; }
.cc-content ul, .cc-content ol { padding-left: 1.2em; }
.cc-content table { width: 100%; border-collapse: collapse; }
.cc-content td, .cc-content th { border: 1px solid #d2d2d2; padding: 8px 10px; text-align: left; }
.cc-split--text { align-items: start; }
.cc-photo--soft img { aspect-ratio: auto; object-fit: cover; }
/* the ticker band */
.cc-band { background: var(--navy); color: var(--on-dark); padding: 14px 0; overflow: hidden; }
.cc-band__row { display: flex; width: max-content; }
.cc-band__row + .cc-band__row { margin-top: 10px; }
.cc-band__track { display: flex; flex: none; align-items: center; gap: 44px; padding-right: 44px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; white-space: nowrap; }
.cc-band__track span { display: inline-flex; align-items: center; gap: 12px; }
.cc-band__track img { height: 26px; width: auto; }
.cc[data-motion="on"] .cc-band__row { animation: cc-band 48s linear infinite; }
.cc[data-motion="on"] .cc-band__row--rev { animation-direction: reverse; }
@keyframes cc-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* before / after slider */
.cc-baslide { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #ddd; --pos: 50%; }
.cc-baslide > img, .cc-baslide__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-baslide__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cc-baslide::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.cc-baslide__l, .cc-baslide__r { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(22,35,52,.85); color: #fff; font-weight: 700; font-size: 13px; }
.cc-baslide__l { left: 14px; } .cc-baslide__r { right: 14px; }
.cc-baslide input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cc-baslide input[type=range]:focus-visible + * , .cc-baslide:focus-within { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.cc-ba2 { display: grid; gap: 32px; }
.cc-nice { display: grid; gap: 18px; margin: 18px 0; }
.cc-nice__item .cc-h3 { margin: 0 0 6px; }
.cc-nice__item p { margin: 0; }
.cc-contactline { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }
.cc-prem { display: grid; grid-template-columns: 1fr minmax(0, 360px) 1fr; gap: 32px; align-items: start; }
.cc-prem__col { display: grid; gap: 20px; }
.cc-prem__item p { margin: 6px 0 0; color: var(--on-dark-muted, #c8cfd8); }
.cc-prem__img { display: grid; gap: 16px; }
.cc-prem__img img { width: 100%; height: auto; border-radius: 14px; }
.cc-link { font-weight: 700; }
.cc-dark .cc-prem a, .cc-dark .cc-phones a, .cc-dark .cc-muted a { color: var(--on-dark); }
.cc-dark .cc-form--modx { color: var(--ink); }
.cc-dark .cc-form--modx .cc-h3 { color: var(--navy); }
.cc-dark .cc-form--modx .cc-muted { color: var(--ink-muted); }
.cc-dark .cc-form--modx a { color: var(--burgundy); }
.cc-hero__panel--svc .cc-reg { grid-template-columns: minmax(0, 1fr); }
.cc-hero__panel--svc .cc-plate input { width: 100%; }
.cc-section:has(.cc-gallery:not(:has(a))) { display: none; }
.cc-brands .cc-brand img { width: 56px; height: 56px; object-fit: contain; }
.cc-center { text-align: center; margin-top: 30px; }
.cc-quote { display: grid; gap: 56px; }
.cc-book { font-weight: 800; font-size: 20px; margin: 10px 0 6px; }
.cc-phones { display: grid; gap: 6px; }
.cc-quote .ccc-map { margin-top: 18px; }
.cc-steps--mot li img { display: block; margin: 0 0 10px; }
.cc-steps--mot li b { display: block; }
.cc-steps--mot li p { margin: 6px 0 0; }
.cc-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cc-review__name { margin: 8px 0 4px; }
.cc-review__text { color: var(--ink); }
.cc-review__text p { margin: 0 0 .6em; }
.cc-faqwrap .cc-faq details div[itemprop="text"] p { margin: 0; }
.cc-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cc-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.cc-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin: 0 0 12px; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the site's own two-step quote form (number plate, then details) */
.cc-form--modx .cto-quiz-box { display: none; }
.cc-form--modx .cto-quiz-box.active { display: grid; gap: 14px; }
.cc-form--modx .cto-top-block-wr { display: flex; align-items: stretch; border: 2px solid #111; border-radius: 10px; overflow: hidden; background: #ffd500; min-height: 58px; }
.cc-form--modx .cto-top-block-wr img { width: 38px; object-fit: cover; background: #003399; }
.cc-form--modx .cto-top-block-wr input.cto-reg { flex: 1; min-width: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; font: 800 24px/1 "Neuropol", Montserrat, Arial, sans-serif !important; text-align: center; text-transform: uppercase; color: #111 !important; letter-spacing: .06em; }
.cc-form--modx .cto-top-block-btn { display: flex; align-items: center; justify-content: center; padding: 0 22px; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.cc-form--modx .cto-top-block-btn:hover { background: var(--burgundy); }
.cc-form--modx .cto-top-block .error p { margin: 8px 0 0; }
.cc-form--modx label { margin: 0; }
.cc-form--modx .col { display: block; }
.cc-form--modx .my-img { font-size: 13px; color: #b42318; margin-top: 6px; }
/* towbar and remapping (CCC-261127-13) */
.cc-form--hero { margin: 18px 0 0; max-width: 560px; }
.cc-form--hero form { display: grid; gap: 12px; }
.cc-form--modx .tow-info { margin-top: 6px; }
.cc-form--modx .tow-info-btn { display: inline-block; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.cc-form--modx .tow-info-img { display: none; max-width: 100%; height: auto; border-radius: 10px; margin-top: 8px; }
.cc-form--modx .tow-info-btn.active + .tow-info-img { display: block; }
.cc-hero__panel--tow .cc-free { margin-top: 22px; }
.cc-tbcards { margin-top: 32px; }
.cc-card--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin: 0 0 14px; }
.cc-card--photo p { margin: 8px 0 0; }
.cc-band__track b { font-weight: 800; color: #f2b8c0; }
.cc-carlinks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cc-carlink { display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--navy); padding: 16px 10px; }
.cc-carlink img { width: 96px; height: 64px; object-fit: contain; }
.cc-carlink__make { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cc-carlink__model { color: var(--ink-muted); }
.cc-content--wide { max-width: 880px; }
.cc-reinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-reinfo figure { margin: 0; }
.cc-reinfo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }
.cc-reinfo figcaption { margin-top: 8px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 900px) {
  .cc-hero__panel--svc { display: flex; flex-direction: column; gap: 0; }
  .cc-form--modx .cto-top-block-wr input.cto-reg { font-size: 19px !important; }
  .cc-hero__panel--svc > .cc-hero__copy { display: contents; }
  .cc-hero__panel--svc > *, .cc-hero__panel--svc .cc-hero-reg { min-width: 0; max-width: 100%; }
  .cc-hero__panel--svc .cc-hero__media { order: 1; margin: 40px 0 0; min-width: 0; width: 100%; }
  .cc-hero__panel--svc .cc-hero__media:has(.cc-part) { margin-bottom: 64px; }
  .cc-hero__panel--svc .cc-hero-reg { order: 2; margin-top: 16px; }
  .cc-hero__panel--svc .cc-free { order: 3; margin: 24px 0 10px !important; }
  .cc-hero__panel--svc .cc-quick--lg { order: 4; }
  .cc-hero__panel--svc .cc-bestprice { order: 5; align-self: flex-start; margin-top: 26px; }
  .cc-hero__panel--svc .cc-h1 { order: 6; margin-top: 22px; }
  .cc-hero__panel--svc .cc-save { order: 7; }
  .cc-hero__panel--svc .cc-lead { order: 8; }
  .cc-hero__panel--svc .cc-hero-points { order: 9; }
  .cc-prem { grid-template-columns: 1fr; }
  .cc-reviews { grid-template-columns: 1fr; }
  .cc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-hero__panel--tow .cc-form--hero { order: 2; margin-top: 16px; }
  .cc-carlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-reinfo { grid-template-columns: 1fr 1fr; }
  .cc-band__track { font-size: 13px; gap: 28px; padding-right: 28px; }
}
