/* Port City Auto Hub — site design system. Mobile first. Charcoal, white and gold; system fonts (no web-font
   downloads). No images are required for the layout: real vehicle photos carry the visual weight. */

:root {
	--pc-ink: #14161a;          /* charcoal */
	--pc-ink-2: #1f232a;
	--pc-paper: #ffffff;
	--pc-tint: #f6f4ef;         /* warm off-white */
	--pc-line: #e3ded2;
	--pc-text: #1d2127;
	--pc-muted: #565c66;
	--pc-gold: #c9a44c;
	--pc-gold-strong: #b8923a;
	--pc-gold-ink: #7a5c12;     /* gold for text on white (contrast 5.6:1) */
	--pc-whatsapp: #0f7a43;     /* white text 5.4:1 */
	--pc-radius: 8px;
	--pc-wrap: 1160px;
	--pc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
body.pcah-site { margin: 0; background: var(--pc-paper); color: var(--pc-text); font-family: var(--pc-font); font-size: 1.0625rem; line-height: 1.6; -webkit-text-size-adjust: 100%; }
.pcah-site h1, .pcah-site h2, .pcah-site h3, .pcah-site h4 { font-family: var(--pc-font); color: inherit; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.pcah-site a { color: var(--pc-gold-ink); text-underline-offset: 3px; }
.pcah-site a:hover { color: var(--pc-ink); }
.pcah-site :focus-visible { outline: 3px solid #1d63d1; outline-offset: 2px; }
.pcah-site img { max-width: 100%; height: auto; }
.pcah-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--pc-paper); color: var(--pc-ink); padding: 12px 16px; }
.pcah-skip:focus { left: 8px; top: 8px; }
.pcah-wrap { max-width: var(--pc-wrap); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pcah-wrap--narrow { max-width: 800px; }
.pcah-container { max-width: var(--pc-wrap); margin: 0 auto; padding: 0 20px; box-sizing: border-box; display: block; }
.pcah-content { min-height: 50vh; }

/* ---------- buttons ---------- */
.pcah-btn, .pcah-site .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; box-sizing: border-box;
	border-radius: var(--pc-radius); border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.pcah-site .pcah-btn--whatsapp { background: var(--pc-whatsapp); color: #fff; }
.pcah-site .pcah-btn--whatsapp:hover { background: #0b6336; color: #fff; }
.pcah-site .pcah-btn--whatsapp.pcah-btn--light { background: #fff; color: var(--pc-ink); border-color: #fff; }
.pcah-site .pcah-btn--whatsapp.pcah-btn--light:hover { background: transparent; color: #fff; }
.pcah-site .pcah-btn--outline, .pcah-site .pcah-button-outline .wp-block-button__link { background: transparent; color: var(--pc-ink); border-color: var(--pc-ink); }
.pcah-site .pcah-btn--outline:hover, .pcah-site .pcah-button-outline .wp-block-button__link:hover { background: var(--pc-ink); color: #fff; }
.pcah-site .pcah-button-gold .wp-block-button__link { background: var(--pc-gold); color: var(--pc-ink); border-color: var(--pc-gold); }
.pcah-site .pcah-button-gold .wp-block-button__link:hover { background: var(--pc-gold-strong); border-color: var(--pc-gold-strong); color: var(--pc-ink); }
.pcah-site .pcah-button-dark .wp-block-button__link { background: var(--pc-ink); color: #fff; border-color: var(--pc-ink); }
.pcah-site .pcah-button-dark .wp-block-button__link:hover { background: var(--pc-ink-2); color: #fff; }
.pcah-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.pcah-actions .wp-block-buttons { margin: 0; gap: 12px; }
.pcah-actions > p { margin: 0; }

/* ---------- header ---------- */
.pcah-header { position: sticky; top: 0; z-index: 50; background: var(--pc-ink); color: #fff; border-bottom: 1px solid #2b3038; }
.admin-bar .pcah-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pcah-header { top: 0; position: relative; } }
.pcah-header__inner { max-width: var(--pc-wrap); margin: 0 auto; padding: 10px 20px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pcah-header__brand { margin-right: auto; min-width: 0; }
.pcah-header__brand img { display: block; max-height: 44px; width: auto; }
.pcah-site .pcah-wordmark { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.pcah-wordmark__name { font-weight: 800; font-size: 1rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.15; }
.pcah-wordmark__name::first-line { color: #fff; }
.pcah-site .pcah-header__whatsapp { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.pcah-header__whatsapp-long { display: none; }
.pcah-nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; color: #fff; border: 1px solid #4a505a; border-radius: var(--pc-radius); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.pcah-nav-toggle[hidden] { display: none; }
.pcah-nav-toggle__bars, .pcah-nav-toggle__bars::before, .pcah-nav-toggle__bars::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.pcah-nav-toggle__bars { position: relative; }
.pcah-nav-toggle__bars::before { position: absolute; top: -6px; }
.pcah-nav-toggle__bars::after { position: absolute; top: 6px; }
.pcah-nav { flex-basis: 100%; }
.pcah-nav.is-collapsed { display: none; }
.pcah-menu { list-style: none; margin: 0; padding: 4px 0 6px; display: flex; flex-direction: column; }
.pcah-site .pcah-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: #fff; text-decoration: none; font-weight: 600; border-top: 1px solid #2b3038; }
.pcah-site .pcah-menu a:hover, .pcah-site .pcah-menu .current-menu-item > a { color: var(--pc-gold); }
@media (min-width: 900px) {
	.pcah-header__inner { flex-wrap: nowrap; padding: 12px 20px; gap: 24px; }
	.pcah-header__brand { margin-right: 0; }
	.pcah-wordmark__name { font-size: 1.0625rem; }
	.pcah-nav-toggle { display: none !important; }
	.pcah-nav, .pcah-nav.is-collapsed { display: block; flex: 1 1 auto; order: 2; }
	.pcah-menu { flex-direction: row; justify-content: flex-end; gap: 4px; padding: 0; }
	.pcah-site .pcah-menu a { border-top: 0; padding: 0 12px; min-height: 44px; font-size: .9375rem; }
	.pcah-site .pcah-header__whatsapp { order: 3; }
	.pcah-header__whatsapp-long { display: inline; }
	.pcah-header__whatsapp-short { display: none; }
}

/* ---------- page shell ---------- */
.pcah-page__header { background: var(--pc-ink); color: #fff; padding: 36px 0 32px; }
.pcah-site .pcah-page__title { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); color: #fff; }
.pcah-page__lead { margin: 10px 0 0; max-width: 60ch; color: #d9dce1; font-size: 1.0625rem; }
.pcah-page__content > .wp-block-group, .pcah-page__content > section { margin: 0; }
.pcah-page .pcah-section { padding: 48px 0; }
@media (min-width: 900px) { .pcah-page .pcah-section { padding: 72px 0; } }
.pcah-section--tint { background: var(--pc-tint); }
.pcah-section--dark { background: var(--pc-ink); color: #fff; }
.pcah-section--cta { background: var(--pc-ink-2); color: #fff; text-align: center; }
.pcah-section--cta .pcah-actions { justify-content: center; }
.pcah-site .pcah-section--dark a:not(.pcah-btn):not(.wp-block-button__link), .pcah-site .pcah-section--cta a:not(.pcah-btn):not(.wp-block-button__link) { color: var(--pc-gold); }
.pcah-site .pcah-section--cta .pcah-button-outline .wp-block-button__link, .pcah-site .pcah-section--dark .pcah-button-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.pcah-site .pcah-section--cta .pcah-button-outline .wp-block-button__link:hover, .pcah-site .pcah-section--dark .pcah-button-outline .wp-block-button__link:hover { background: #fff; color: var(--pc-ink); }
.pcah-site .pcah-page .pcah-section h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem); }
.pcah-site .pcah-page .pcah-section h2:not(:first-child) { margin-top: 40px; }
.pcah-site .pcah-page .pcah-section h3 { margin: 0 0 6px; font-size: 1.125rem; }
.pcah-section__lead { margin: 0 0 24px; max-width: 62ch; color: var(--pc-muted); }
.pcah-section--dark .pcah-section__lead, .pcah-section--cta .pcah-section__lead { color: #d9dce1; }
.pcah-section--cta .pcah-section__lead { margin-left: auto; margin-right: auto; }
.pcah-note { margin: 20px 0 0; padding: 12px 16px; border-left: 3px solid var(--pc-gold); background: rgba(201, 164, 76, .12); font-size: .9375rem; }
.pcah-section--dark .pcah-note { background: rgba(255, 255, 255, .06); color: #e6e8eb; }
.pcah-admin-note { margin-top: 16px; padding: 10px 14px; border: 1px dashed #b32d2e; color: #8a2424; font-size: .875rem; }
.pcah-page__content .wp-block-list { padding-left: 1.2em; }
.pcah-page__content .wp-block-list li { margin-bottom: 6px; }

/* ---------- hero ---------- */
.pcah-hero { background: var(--pc-ink); color: #fff; padding: 48px 0 44px; border-bottom: 4px solid var(--pc-gold); }
@media (min-width: 900px) { .pcah-hero { padding: 96px 0 84px; } }
.pcah-eyebrow { margin: 0 0 14px; color: var(--pc-gold); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pcah-site .pcah-hero__title { margin: 0; max-width: 16ch; font-size: clamp(2.125rem, 1.3rem + 4.2vw, 4rem); line-height: 1.05; color: #fff; }
.pcah-hero__lead { margin: 16px 0 0; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: #d9dce1; }
.pcah-page__content .pcah-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pcah-page__content .pcah-chips li { margin: 0; padding: 6px 12px; border: 1px solid #4a505a; border-radius: 999px; font-size: .875rem; color: #e6e8eb; }

/* ---------- buyer paths ---------- */
.pcah-paths { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 700px) { .pcah-paths { grid-template-columns: 1fr 1fr; } }
.pcah-path { padding: 24px; border: 1px solid var(--pc-line); border-top: 4px solid var(--pc-gold); border-radius: var(--pc-radius); background: #fff; }
.pcah-site .pcah-path__title { font-size: 1.375rem; margin: 0 0 6px; }
.pcah-path__text { margin: 0 0 12px; color: var(--pc-muted); }
.pcah-path__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pcah-site .pcah-path__list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--pc-line); border-radius: 999px; color: var(--pc-ink); text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--pc-tint); }
.pcah-site .pcah-path__list a:hover { border-color: var(--pc-ink); }
.pcah-path p:last-child { margin: 0; }

/* ---------- vehicle cards on pages ---------- */
.pcah-site .pcah-cards--home { margin-top: 8px; }
@media (min-width: 960px) { .pcah-site .pcah-cards--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcah-empty { padding: 28px 20px; border: 1px dashed var(--pc-line); border-radius: var(--pc-radius); background: #fff; text-align: center; }
.pcah-empty p { margin: 0 0 12px; }
.pcah-empty p:last-child { margin: 0; }

/* ---------- steps, terms, reasons, FAQ, contact ---------- */
.pcah-page__content .pcah-steps { list-style: none; counter-reset: pc-step; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .pcah-page__content .pcah-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pcah-page__content .pcah-steps { grid-template-columns: repeat(3, 1fr); } }
.pcah-page__content .pcah-steps li { counter-increment: pc-step; position: relative; margin: 0; padding: 16px 16px 16px 60px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; color: var(--pc-text); }
.pcah-page__content .pcah-steps li::before { content: counter(pc-step); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--pc-gold); color: var(--pc-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pcah-section--dark .pcah-steps li { background: var(--pc-ink-2); border-color: #333944; color: #eef0f2; }
.pcah-page__content .pcah-terms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .pcah-page__content .pcah-terms { grid-template-columns: 1fr 1fr; } }
.pcah-page__content .pcah-terms li { margin: 0; padding: 16px; border-left: 4px solid var(--pc-gold); background: rgba(255, 255, 255, .06); }
.pcah-reasons { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 700px) { .pcah-reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pcah-reasons:not(.pcah-reasons--two) { grid-template-columns: repeat(4, 1fr); } }
.pcah-reason { margin: 0; padding: 20px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; }
.pcah-reason p, .pcah-reason ul { margin: 0; color: var(--pc-muted); }
.pcah-reason ul { padding-left: 1.2em; }
.pcah-faq { margin-top: 16px; }
.pcah-faq details { margin: 0; border-bottom: 1px solid var(--pc-line); }
.pcah-faq details:first-child { border-top: 1px solid var(--pc-line); }
.pcah-faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; position: relative; list-style: none; min-height: 24px; }
.pcah-faq summary::-webkit-details-marker { display: none; }
.pcah-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--pc-gold-ink); }
.pcah-faq details[open] summary::after { content: "–"; }
.pcah-faq details p { margin: 0 0 16px; color: var(--pc-muted); }
.pcah-contact { margin: 20px 0 0; display: grid; gap: 0; }
.pcah-contact__row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--pc-line); }
@media (min-width: 600px) { .pcah-contact__row { grid-template-columns: 160px 1fr; gap: 16px; } }
.pcah-contact dt { font-weight: 700; margin: 0; }
.pcah-contact dd { margin: 0; }
.pcah-contact__note { display: block; margin-top: 6px; color: var(--pc-muted); font-size: .9375rem; }

/* ---------- footer ---------- */
.pcah-footer { background: var(--pc-ink); color: #d9dce1; margin-top: 0; }
.pcah-footer__inner { max-width: var(--pc-wrap); margin: 0 auto; padding: 40px 20px 24px; box-sizing: border-box; display: grid; gap: 28px; }
@media (min-width: 800px) { .pcah-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; } }
.pcah-footer__name { margin: 0 0 6px; color: #fff; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pcah-footer__tagline { margin: 0 0 16px; max-width: 40ch; }
.pcah-site .pcah-footer__heading { margin: 0 0 10px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pc-gold); }
.pcah-footer__menu, .pcah-footer .pcah-menu { list-style: none; margin: 0; padding: 0; display: block; }
.pcah-site .pcah-footer__menu a, .pcah-site .pcah-footer .pcah-menu a, .pcah-site .pcah-footer__detail a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; text-decoration: none; border: 0; padding: 0; font-weight: 500; }
.pcah-site .pcah-footer__menu a:hover, .pcah-site .pcah-footer__detail a:hover { color: var(--pc-gold); text-decoration: underline; }
.pcah-footer__detail { margin: 0 0 8px; }
.pcah-footer__legal { border-top: 1px solid #2b3038; }
.pcah-footer__legal p { max-width: var(--pc-wrap); margin: 0 auto; padding: 16px 20px 24px; box-sizing: border-box; font-size: .875rem; color: #aab0b9; }

/* ---------- pcah-core listing and vehicle pages: brand the plugin's own components ---------- */
.pcah-site .pcah-vehicle, .pcah-site .pcah-listing { --pcah-ink: var(--pc-text); --pcah-muted: var(--pc-muted); --pcah-line: var(--pc-line); --pcah-surface: var(--pc-tint); --pcah-accent: var(--pc-whatsapp); --pcah-accent-ink: #fff; --pcah-radius: var(--pc-radius); padding-top: 32px; }
.pcah-site .pcah-listing__title, .pcah-site .pcah-vehicle__title { letter-spacing: -0.02em; }
.pcah-site .pcah-button { background: var(--pc-ink); color: #fff; }
.pcah-site .pcah-card { border-color: var(--pc-line); transition: box-shadow .15s, border-color .15s; }
.pcah-site .pcah-card:hover { border-color: var(--pc-ink); box-shadow: 0 6px 20px rgba(20, 22, 26, .08); }
.pcah-site .pcah-card__title { font-size: 1.0625rem; }
.pcah-site .pcah-card__link { color: var(--pc-ink); }
.pcah-site .pcah-card__price { color: var(--pc-ink); }
.pcah-site .pcah-card__no-photo { font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
.pcah-site .pcah-pagination [aria-current="page"] { background: var(--pc-ink); border-color: var(--pc-ink); color: #fff; }
.pcah-site .pcah-pagination a { color: var(--pc-ink); }
.pcah-site .pcah-summary { border-top: 4px solid var(--pc-gold); }
.pcah-site .pcah-cta { min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: 1.0625rem; }
.pcah-site .pcah-gallery__list { gap: 8px; }
.pcah-site .pcah-gallery img { aspect-ratio: 3 / 2; object-fit: cover; }
.pcah-site .pcah-gallery__item--lead img { aspect-ratio: 16 / 10; }
.pcah-site .pcah-filters { border-color: var(--pc-line); }
.pcah-site .pcah-field input, .pcah-site .pcah-field select { border: 1px solid #b9bec7; border-radius: 6px; padding: 0 10px; background: #fff; color: var(--pc-text); font: inherit; }

/* ---------- other WordPress templates (blog, search, 404) keep a readable width ---------- */
.pcah-container > #primary, .pcah-container > .content-area { padding: 32px 0 48px; }

/* ---------- small phones: logo, WhatsApp and menu button on one row ---------- */
@media (max-width: 479px) {
	.pcah-header__inner { padding: 8px 14px; gap: 8px; }
	.pcah-wordmark__name { font-size: .875rem; letter-spacing: .07em; max-width: 9.5em; display: inline-block; }
	.pcah-site .pcah-header__whatsapp { padding: 0 12px; font-size: .875rem; }
	.pcah-nav-toggle { padding: 0 13px; }
	.pcah-nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Astra's scroll-to-top button, in brand colours */
.pcah-site #ast-scroll-top { background: var(--pc-ink); color: #fff; border: 1px solid #4a505a; border-radius: var(--pc-radius); }

/* Vehicle cards inside page sections keep the card's own heading size */
.pcah-site .pcah-page .pcah-section .pcah-card__title { font-size: 1.0625rem; margin: 0; line-height: 1.3; letter-spacing: 0; }

/* pcah-core's WhatsApp button keeps its own text colour (the site link colour must not leak into it) */
.pcah-site .pcah-cta, .pcah-site .pcah-cta:hover { color: #fff; }

/* ---------- vehicle page: WhatsApp bar pinned to the bottom on phones ---------- */
.pcah-sticky-cta { display: none; }
@media (max-width: 959px) {
	.pcah-sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--pc-ink); border-top: 1px solid #2b3038; }
	.pcah-sticky-cta__text { flex: 1 1 auto; min-width: 0; color: #fff; font-size: .8125rem; line-height: 1.3; }
	.pcah-sticky-cta__text strong { display: block; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pcah-site .pcah-sticky-cta .pcah-btn { flex: 0 0 auto; min-height: 46px; padding: 0 16px; }
	.pcah-has-sticky-cta .pcah-footer { padding-bottom: 72px; }
	.pcah-has-sticky-cta #ast-scroll-top { display: none !important; }
}

/* Home hero with a real photograph (Home page → Featured image): photo under a charcoal veil so text stays readable */
.pcah-page--hero-photo .pcah-hero { background-image: linear-gradient(rgba(20, 22, 26, .78), rgba(20, 22, 26, .78)), var(--pc-hero-image); background-size: cover; background-position: center; }

/* =====================================================================================================================
   Layout 2 — conversion pages. Real photographs carry the hero and section art; vehicle photos stay the vehicle's own.
   ===================================================================================================================== */
:root { --pc-shadow: 0 10px 30px rgba(20, 22, 26, .10); --pc-radius-lg: 14px; }
.pcah-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pcah-site .pcah-btn--gold { background: var(--pc-gold); color: var(--pc-ink); border-color: var(--pc-gold); }
.pcah-site .pcah-btn--gold:hover { background: var(--pc-gold-strong); border-color: var(--pc-gold-strong); color: var(--pc-ink); }
.pcah-eyebrow--ink { color: var(--pc-gold-ink); margin-bottom: 8px; }
.pcah-media, .pcah-picture { display: block; margin: 0; }
.pcah-picture img { display: block; width: 100%; height: auto; }

/* ---------- hero with a photograph ---------- */
.pcah-hero--photo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(88vh, 720px); padding: 120px 0 36px; }
.pcah-hero--photo > .pcah-wrap { position: relative; width: 100%; }
.pcah-hero__media { position: absolute; inset: 0; z-index: -1; }
.pcah-hero__media .pcah-picture, .pcah-hero__media img { width: 100%; height: 100%; }
.pcah-hero__media img { object-fit: cover; object-position: center 35%; }
.pcah-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 26, .35) 0%, rgba(20, 22, 26, .62) 32%, rgba(20, 22, 26, .93) 72%, rgba(20, 22, 26, .97) 100%); }
.pcah-hero--photo .pcah-hero__title, .pcah-hero--photo .pcah-hero__lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.pcah-site .pcah-hero .pcah-button-outline .wp-block-button__link { color: #fff; border-color: #fff; background: rgba(20, 22, 26, .25); }
.pcah-site .pcah-hero .pcah-button-outline .wp-block-button__link:hover { background: #fff; color: var(--pc-ink); }
.pcah-page--hero-photo .pcah-hero__media { display: none; }   /* a featured image set on Home takes the hero instead */
@media (max-width: 599px) {
	.pcah-hero .pcah-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
	.pcah-hero .pcah-actions .wp-block-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
	.pcah-hero .pcah-actions .wp-block-button, .pcah-hero .pcah-actions .wp-block-button__link, .pcah-hero .pcah-actions .pcah-btn { width: 100%; }
	.pcah-page__content .pcah-chips { margin-top: 20px; }
}
@media (min-width: 700px) {
	.pcah-hero--photo { align-items: center; min-height: min(78vh, 680px); padding: 96px 0 72px; }
	.pcah-hero__media img { object-position: center 50%; }
	.pcah-hero__media::after { background: linear-gradient(90deg, rgba(20, 22, 26, .96) 0%, rgba(20, 22, 26, .86) 38%, rgba(20, 22, 26, .30) 72%, rgba(20, 22, 26, .15) 100%); }
}

/* ---------- picture beside text ---------- */
.pcah-split { display: grid; gap: 24px; align-items: center; }
.pcah-split__media img { border-radius: var(--pc-radius-lg); box-shadow: var(--pc-shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.pcah-split__body > :first-child { margin-top: 0; }
@media (min-width: 900px) {
	.pcah-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
	.pcah-split--reverse .pcah-split__media { order: 2; }
}
.pcah-section--dark .pcah-split__media img { box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.pcah-page__content .pcah-ticks { list-style: none; margin: 16px 0 0; padding: 0; }
.pcah-page__content .pcah-ticks li { position: relative; margin: 0 0 10px; padding-left: 30px; }
.pcah-page__content .pcah-ticks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 12px; height: 7px; border-left: 3px solid var(--pc-gold-strong); border-bottom: 3px solid var(--pc-gold-strong); transform: rotate(-45deg); }
.pcah-page__content .pcah-terms--light li { background: var(--pc-tint); }
.pcah-band { margin: 32px 0 8px; }
.pcah-band img { border-radius: var(--pc-radius-lg); aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 599px) { .pcah-band img { aspect-ratio: 16 / 9; } }
.pcah-empty--left { text-align: left; border-style: solid; border-left: 4px solid var(--pc-gold); }

/* ---------- buying journey ---------- */
.pcah-journey { list-style: none; counter-reset: pc-journey; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.pcah-journey__step { counter-increment: pc-journey; position: relative; margin: 0; padding: 0 0 22px 56px; }
.pcah-journey__step::before { content: counter(pc-journey); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--pc-ink); color: var(--pc-gold); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pcah-journey__step::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--pc-line); }
.pcah-journey__step:last-child { padding-bottom: 0; }
.pcah-journey__step:last-child::after { display: none; }
.pcah-journey__step strong { display: block; font-size: 1.0625rem; }
.pcah-journey__step span { display: block; color: var(--pc-muted); font-size: .9375rem; }
@media (min-width: 900px) {
	.pcah-journey { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
	.pcah-journey__step { padding: 52px 0 0; }
	.pcah-journey__step::after { left: 46px; right: -16px; top: 18px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- "Check if I qualify" ---------- */
.pcah-qualify { margin-top: 8px; border: 1px solid var(--pc-line); border-top: 4px solid var(--pc-gold); border-radius: var(--pc-radius-lg); background: #fff; box-shadow: var(--pc-shadow); overflow: hidden; scroll-margin-top: 96px; }
.pcah-qualify__questions { padding: 20px; }
.pcah-qualify__group { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.pcah-qualify__group[hidden] { display: none; }
.pcah-qualify__group legend { padding: 0; margin: 0 0 8px; font-weight: 700; font-size: 1.0625rem; }
.pcah-qualify__help { margin: 0 0 10px; color: var(--pc-muted); font-size: .9375rem; }
.pcah-choices { display: grid; gap: 8px; }
@media (min-width: 600px) { .pcah-choices { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.pcah-choice { position: relative; display: flex; align-items: center; min-height: 52px; padding: 8px 14px; box-sizing: border-box; border: 2px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; font-weight: 600; cursor: pointer; }
.pcah-choice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0 10px 0 0; accent-color: var(--pc-ink); }
.pcah-choice:hover { border-color: #b9bec7; }
.pcah-choice:has(input:checked) { border-color: var(--pc-ink); background: var(--pc-tint); }
.pcah-choice:has(input:focus-visible) { outline: 3px solid #1d63d1; outline-offset: 2px; }
.pcah-qualify__field { margin: 0; }
.pcah-qualify__field label { display: block; margin-bottom: 6px; font-weight: 700; }
.pcah-qualify__field input { width: 100%; min-height: 48px; padding: 0 12px; box-sizing: border-box; border: 2px solid var(--pc-line); border-radius: var(--pc-radius); font: inherit; background: #fff; color: var(--pc-text); }
.pcah-qualify__result { padding: 20px; background: var(--pc-ink); color: #fff; }
.pcah-site .pcah-page .pcah-section .pcah-qualify__title { margin: 0 0 6px; color: var(--pc-gold); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.pcah-qualify__summary { margin: 0 0 12px; white-space: pre-line; }
.pcah-qualify__hint { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--pc-gold); background: rgba(255, 255, 255, .07); font-size: .9375rem; }
.pcah-qualify__hint[hidden] { display: none; }
.pcah-qualify__result p { margin-top: 0; }
.pcah-site .pcah-qualify__send { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.pcah-qualify__disclaimer { margin: 12px 0 0; color: #d9dce1; font-size: .875rem; }
@media (min-width: 900px) { .pcah-qualify__questions, .pcah-qualify__result { padding: 28px 32px; } }

/* ---------- vehicle cards ---------- */
.pcah-site .pcah-card { border-radius: var(--pc-radius-lg); overflow: hidden; }
.pcah-site .pcah-card__finance { margin: 6px 0 0; display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(201, 164, 76, .18); color: var(--pc-gold-ink); font-size: .8125rem; font-weight: 700; }
.pcah-site .pcah-card__more { margin: 10px 0 0; color: var(--pc-ink); font-weight: 700; font-size: .9375rem; }
.pcah-site .pcah-card__more::after { content: " \2192"; }
.pcah-site .pcah-card__media img { transition: transform .35s ease; }
.pcah-site .pcah-card:hover .pcah-card__media img { transform: scale(1.03); }

/* ---------- vehicle page ---------- */
.pcah-vehicle__back { margin: 0 0 10px; font-size: .9375rem; }
.pcah-site .pcah-vehicle__back a { color: var(--pc-muted); text-decoration: none; font-weight: 600; }
.pcah-vehicle__back a::before { content: "\2190\00a0"; }
.pcah-site .pcah-gallery--swipe .pcah-gallery__frame { position: relative; }
.pcah-site .pcah-gallery--swipe .pcah-gallery__list { display: flex; grid-template-columns: none; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; border-radius: var(--pc-radius-lg); }
.pcah-site .pcah-gallery--swipe .pcah-gallery__item { flex: 0 0 100%; scroll-snap-align: start; }
.pcah-site .pcah-gallery--swipe img, .pcah-site .pcah-gallery--swipe .pcah-gallery__item--lead img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pc-radius-lg); }
@media (max-width: 959px) {
	.pcah-site .pcah-gallery--swipe .pcah-gallery__item { flex-basis: 90%; }
	.pcah-site .pcah-gallery--swipe .pcah-gallery__item:only-child { flex-basis: 100%; }
}
.pcah-gallery__hint { margin: 8px 0 0; color: var(--pc-muted); font-size: .875rem; }
.pcah-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20, 22, 26, .78); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; }
.pcah-gallery__nav--prev { left: 10px; }
.pcah-gallery__nav--next { right: 10px; }
.pcah-gallery__nav[disabled] { opacity: .35; cursor: default; }
.pcah-gallery__count { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(20, 22, 26, .78); color: #fff; font-size: .8125rem; font-weight: 700; }
@media (min-width: 960px) { .pcah-gallery__nav { display: flex; } }
.pcah-keyfacts { margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .pcah-keyfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcah-keyfacts__item { margin: 0; padding: 10px 12px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-tint); }
.pcah-keyfacts dt { margin: 0; color: var(--pc-muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pcah-keyfacts dd { margin: 2px 0 0; font-weight: 700; }
.pcah-site .pcah-summary { border-radius: var(--pc-radius-lg); box-shadow: var(--pc-shadow); }
.pcah-summary__price-note { margin: -4px 0 8px; color: var(--pc-muted); font-size: .875rem; }
.pcah-summary__actions { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.pcah-site .pcah-summary__actions .pcah-btn { width: 100%; }
.pcah-summary__reassure { margin: 12px 0 0; color: var(--pc-muted); font-size: .875rem; }
.pcah-finance { padding: 20px; border-left: 4px solid var(--pc-gold); background: var(--pc-tint); border-radius: 0 var(--pc-radius) var(--pc-radius) 0; }
.pcah-finance__terms { margin: 10px 0 0; padding-left: 1.2em; }
.pcah-finance__terms li { margin-bottom: 6px; }
.pcah-finance__more { margin: 12px 0 0; font-weight: 700; }
.pcah-buying__steps { margin: 8px 0 0; padding-left: 1.4em; }
.pcah-buying__steps li { margin-bottom: 8px; }
.pcah-related { padding: 40px 0 48px; background: var(--pc-tint); border-top: 1px solid var(--pc-line); margin-top: 40px; }
.pcah-site .pcah-related__title { margin: 0 0 16px; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); }
.pcah-site .pcah-related .pcah-card__title { font-size: 1.0625rem; margin: 0; line-height: 1.3; letter-spacing: 0; }
.pcah-related__all { margin: 20px 0 0; }
.pcah-related .pcah-cards { --pcah-ink: var(--pc-text); --pcah-muted: var(--pc-muted); --pcah-line: var(--pc-line); --pcah-surface: var(--pc-tint); --pcah-radius: var(--pc-radius); }

/* ---------- phone action bar on pages and listings ---------- */
@media (max-width: 959px) {
	.pcah-sticky-cta--site { gap: 8px; }
	.pcah-site .pcah-sticky-cta--site .pcah-btn { flex: 1 1 0; padding: 0 10px; }
}

/* ---------- restrained motion: sections ease in once; never when the visitor prefers reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.pcah-js .pcah-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
	.pcah-js .pcah-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.pcah-site *, .pcah-site *::before, .pcah-site *::after { transition: none !important; scroll-behavior: auto !important; }
}
.pcah-site .pcah-actions > *, .pcah-site .pcah-actions .wp-block-buttons > * { margin-top: 0; margin-bottom: 0; }
/* Astra lays its container out as a flex row on wide screens; vehicle pages stack their blocks instead */
.pcah-site .pcah-content > .pcah-container { display: block; }
.pcah-related { padding: 28px 20px 32px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg); margin: 40px 0 48px; }
.pcah-related > .pcah-wrap { padding: 0; max-width: none; }

/* =====================================================================================================================
   0.4.0 — brand system and responsive repairs.
   Brand: gold (accent, primary actions) · charcoal (dark foundation) · white (surfaces) · dark blue (secondary).
   Green appears only on WhatsApp actions. All text/control pairs below meet WCAG AA (4.5:1 text, 3:1 controls).
   ===================================================================================================================== */
:root {
	--pc-navy: #10294d;          /* dark blue: white text 14.6:1, gold text 6.4:1 */
	--pc-navy-2: #183a69;
	--pc-navy-tint: #eef2f8;
	--pc-bar-h: 72px;            /* phone action bar */
}

/* ---------- links and secondary actions: dark blue ---------- */
.pcah-site a { color: var(--pc-navy); }
.pcah-site a:hover { color: var(--pc-gold-ink); }
.pcah-site :focus-visible { outline-color: #2f6fd6; }
.pcah-site .pcah-btn--outline, .pcah-site .pcah-button-outline .wp-block-button__link { color: var(--pc-navy); border-color: var(--pc-navy); }
.pcah-site .pcah-btn--outline:hover, .pcah-site .pcah-button-outline .wp-block-button__link:hover { background: var(--pc-navy); border-color: var(--pc-navy); color: #fff; }
.pcah-site .pcah-button-dark .wp-block-button__link { background: var(--pc-navy); border-color: var(--pc-navy); color: #fff; }
.pcah-site .pcah-button-dark .wp-block-button__link:hover { background: var(--pc-navy-2); border-color: var(--pc-navy-2); color: #fff; }
.pcah-site .pcah-button { background: var(--pc-navy); color: #fff; }
.pcah-textlink { margin: 0; font-weight: 700; }
.pcah-site .pcah-textlink a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 4px; }
.pcah-site .pcah-section--dark .pcah-textlink a, .pcah-site .pcah-section--cta .pcah-textlink a { color: #fff; }
.pcah-site .pcah-section--dark .pcah-textlink a:hover, .pcah-site .pcah-section--cta .pcah-textlink a:hover { color: var(--pc-gold); }

/* ---------- financing sections: dark blue; hero, header, footer and the closing section: charcoal ---------- */
.pcah-section--dark { background: var(--pc-navy); }
.pcah-section--dark .pcah-steps li { background: var(--pc-navy-2); border-color: #2a4d80; }
.pcah-section--dark .pcah-note { background: rgba(255, 255, 255, .08); }
.pcah-section--cta { background: var(--pc-ink); border-top: 4px solid var(--pc-gold); }
.pcah-qualify__result { background: var(--pc-navy); }
.pcah-choice input { accent-color: var(--pc-navy); }
.pcah-choice:has(input:checked) { border-color: var(--pc-navy); background: var(--pc-navy-tint); }
.pcah-qualify__field input:focus { border-color: var(--pc-navy); }
.pcah-site .pcah-field input:focus, .pcah-site .pcah-field select:focus { border-color: var(--pc-navy); }
.pcah-finance { border-left-color: var(--pc-navy); background: var(--pc-navy-tint); }
.pcah-journey__step::before { background: var(--pc-navy); color: #fff; }
.pcah-eyebrow--ink { color: var(--pc-navy); }
.pcah-path { border-top-color: var(--pc-gold); }
.pcah-site .pcah-pagination [aria-current="page"] { background: var(--pc-navy); border-color: var(--pc-navy); }
.pcah-site .pcah-summary__price, .pcah-site .pcah-card__price { color: var(--pc-ink); }

/* ---------- status badges: no green outside WhatsApp ---------- */
.pcah-site .pcah-status--available { background: var(--pc-navy); border-color: var(--pc-navy); color: #fff; }
.pcah-site .pcah-status--reserved { background: #fbf3dc; border-color: var(--pc-gold); color: #5c4508; }
.pcah-site .pcah-status--sold { background: #2a2d33; border-color: #2a2d33; color: #fff; }
.pcah-site .pcah-status--unavailable { background: #eef0f2; border-color: #c3c8cd; color: #3c434a; }

/* ---------- vehicle cards ---------- */
.pcah-site .pcah-card__body { gap: 4px; padding: 14px 16px 16px; }
.pcah-site .pcah-card__title { font-size: 1.125rem; }
.pcah-site .pcah-card__price { font-size: 1.25rem; }
.pcah-site .pcah-card__facts { font-size: .9375rem; }
.pcah-card__actions { margin: 12px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--pc-line); }
.pcah-site .pcah-card__more { margin: 0; color: var(--pc-navy); }
.pcah-site .pcah-card__whatsapp { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--pc-radius); background: var(--pc-whatsapp); color: #fff; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.pcah-site .pcah-card__whatsapp:hover { background: #0b6336; color: #fff; }
.pcah-empty__title { font-weight: 700; font-size: 1.125rem; color: var(--pc-ink); }
.pcah-empty { border-style: solid; border-color: var(--pc-line); border-top: 4px solid var(--pc-gold); padding: 28px 20px; }

/* ---------- header ---------- */
.pcah-wordmark__name { white-space: nowrap; }
.pcah-site .pcah-menu .current-menu-item > a { color: var(--pc-gold); }
@media (max-width: 899px) {
	/* The bottom bar already carries WhatsApp on phones and tablets: the header keeps the name on one line and the menu. */
	.pcah-has-sticky-cta .pcah-header__whatsapp { display: none; }
	.pcah-header__inner { flex-wrap: wrap; }
	.pcah-nav-toggle { min-width: 48px; min-height: 48px; justify-content: center; }
	.pcah-site .pcah-menu a { min-height: 52px; font-size: 1.0625rem; }
}
@media (max-width: 479px) {
	.pcah-wordmark__name { max-width: none; display: inline; font-size: .9375rem; letter-spacing: .08em; }
}
@media (max-width: 359px) { .pcah-wordmark__name { font-size: .8125rem; letter-spacing: .05em; } }

/* ---------- hero: shorter, one primary action, readable over the photo ---------- */
.pcah-hero--photo { min-height: 0; padding: 132px 0 28px; border-bottom-width: 3px; }
.pcah-hero__media img { object-position: 50% 30%; }
.pcah-hero__media::after { background: linear-gradient(180deg, rgba(20, 22, 26, .40) 0%, rgba(20, 22, 26, .72) 34%, rgba(20, 22, 26, .95) 70%, rgba(20, 22, 26, .98) 100%); }
.pcah-site .pcah-hero__title { font-size: clamp(2rem, 1.2rem + 4.2vw, 3.75rem); }
.pcah-hero__lead { margin-top: 12px; }
.pcah-hero .pcah-actions { margin-top: 20px; }
.pcah-site .pcah-hero .pcah-button-gold .wp-block-button__link { min-height: 54px; font-size: 1.0625rem; }
@media (max-width: 599px) {
	.pcah-page__content .pcah-chips { display: none; }      /* the same three points are in the page below */
	.pcah-site .pcah-hero .pcah-button-outline .wp-block-button__link { min-height: 48px; background: transparent; border-color: rgba(255, 255, 255, .7); }
	.pcah-page .pcah-section { padding: 40px 0; }
	.pcah-page .pcah-hero + .pcah-section { padding-top: 32px; }
}
@media (min-width: 700px) {
	.pcah-hero--photo { min-height: min(64vh, 560px); padding: 80px 0 64px; }
	.pcah-hero__media img { object-position: center 50%; }
	.pcah-hero__media::after { background: linear-gradient(90deg, rgba(20, 22, 26, .96) 0%, rgba(20, 22, 26, .86) 38%, rgba(20, 22, 26, .30) 72%, rgba(20, 22, 26, .15) 100%); }
}
@media (min-width: 1200px) { .pcah-hero--photo { min-height: min(68vh, 620px); } }

/* ---------- section rhythm ---------- */
.pcah-site .pcah-page .pcah-section h2 { letter-spacing: -0.02em; }
.pcah-section__lead { font-size: 1.0625rem; }
@media (min-width: 900px) and (max-width: 1099px) { .pcah-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .pcah-journey__step::after { display: none; } }
@media (min-width: 600px) and (max-width: 1199px) { .pcah-site .pcah-cards--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- phone action bar: never covers content, buttons, fields or the end of the page ---------- */
@media (max-width: 959px) {
	.pcah-sticky-cta { min-height: var(--pc-bar-h); box-sizing: border-box; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 18px rgba(0, 0, 0, .18); }
	.pcah-site .pcah-sticky-cta .pcah-btn { min-height: 48px; }
	body.pcah-has-sticky-cta { padding-bottom: calc(var(--pc-bar-h) + env(safe-area-inset-bottom, 0px)); }
	.pcah-has-sticky-cta .pcah-footer { padding-bottom: 0; }
	html:has(body.pcah-has-sticky-cta) { scroll-padding-bottom: calc(var(--pc-bar-h) + 24px); }
	.pcah-has-sticky-cta #ast-scroll-top { display: none !important; }
	.pcah-has-sticky-cta .pcah-qualify, .pcah-has-sticky-cta .pcah-choice, .pcah-has-sticky-cta .pcah-qualify__field input { scroll-margin-bottom: calc(var(--pc-bar-h) + 24px); }
}
@media (min-width: 960px) { body.pcah-has-sticky-cta { padding-bottom: 0; } }

/* ---------- touch targets ---------- */
.pcah-site .pcah-footer__menu a, .pcah-site .pcah-footer .pcah-menu a, .pcah-site .pcah-footer__detail a { min-height: 44px; }
.pcah-faq summary { min-height: 48px; box-sizing: border-box; display: flex; align-items: center; }
.pcah-site .pcah-vehicle__back a { display: inline-flex; align-items: center; min-height: 44px; }
.pcah-site .pcah-path__list a { min-height: 44px; }
@media (max-width: 959px) {
	/* fixed bar height, so the space the page reserves for it is always exact */
	.pcah-sticky-cta { height: calc(var(--pc-bar-h) + env(safe-area-inset-bottom, 0px)); min-height: 0; overflow: hidden; }
	.pcah-sticky-cta__text { line-height: 1.2; }
}
.pcah-hero--photo .pcah-eyebrow { text-shadow: 0 1px 8px rgba(0, 0, 0, .75); }
@media (max-width: 699px) { .pcah-hero__media::after { background: linear-gradient(180deg, rgba(20, 22, 26, .58) 0%, rgba(20, 22, 26, .76) 34%, rgba(20, 22, 26, .95) 70%, rgba(20, 22, 26, .98) 100%); } }

/* =====================================================================================================================
   0.5.0 — logo, calculator, contact map.
   ===================================================================================================================== */

/* ---------- logo (the original artwork drawn for dark backgrounds) ---------- */
.pcah-logo { display: inline-flex; align-items: center; min-height: 48px; }
.pcah-logo img, .pcah-header__brand .custom-logo { display: block; height: 46px; width: auto; max-height: none; }
@media (min-width: 900px) { .pcah-logo img, .pcah-header__brand .custom-logo { height: 56px; } }
.pcah-footer__logo { margin: 0 0 12px; }
.pcah-footer__logo img { display: block; height: 72px; width: auto; }
.pcah-footer__address { font-style: normal; }

/* ---------- calculator ---------- */
.pcah-calc { margin-top: 8px; border: 1px solid var(--pc-line); border-top: 4px solid var(--pc-gold); border-radius: var(--pc-radius-lg); background: #fff; box-shadow: var(--pc-shadow); overflow: hidden; scroll-margin-top: 96px; }
.pcah-calc__form { padding: 20px; display: grid; gap: 16px; }
.pcah-calc__form > * { margin: 0; }
.pcah-calc__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.pcah-calc__field > label, .pcah-calc__field > legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 700; }
.pcah-calc__field select, .pcah-calc__field input[type="text"] { width: 100%; min-height: 52px; padding: 0 12px; box-sizing: border-box; border: 2px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; color: var(--pc-text); font: inherit; font-size: 1.0625rem; }
.pcah-calc__field select:focus, .pcah-calc__field input[type="text"]:focus { border-color: var(--pc-navy); }
.pcah-calc__hint { display: block; margin-top: 6px; color: var(--pc-muted); font-size: .9375rem; }
.pcah-calc__hint strong { color: var(--pc-ink); }
.pcah-calc .pcah-choices { grid-template-columns: 1fr 1fr; }
.pcah-calc .pcah-choice[hidden] { display: none; }
.pcah-calc__error { padding: 10px 12px; border-left: 4px solid #b32d2e; background: #fcf0f1; color: #7a1f1f; font-weight: 600; }
.pcah-calc__error[hidden] { display: none; }
.pcah-site .pcah-calc__go { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.pcah-calc__go[disabled] { opacity: .6; cursor: progress; }
.pcah-calc__result { padding: 20px; background: var(--pc-navy); color: #fff; }
.pcah-calc__result[hidden] { display: none; }
.pcah-site .pcah-page .pcah-section .pcah-calc__title { margin: 0 0 4px; color: var(--pc-gold); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.pcah-calc__headline { margin: 0; font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pcah-calc__per { font-size: 1rem; font-weight: 600; color: #d9dce1; }
.pcah-calc__sub { margin: 6px 0 16px; color: #d9dce1; }
.pcah-calc__rows { margin: 0; }
.pcah-calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.pcah-calc__row[hidden] { display: none; }
.pcah-calc__row dt { margin: 0; color: #d9dce1; }
.pcah-calc__row dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcah-calc__row--total { border-top: 2px solid var(--pc-gold); }
.pcah-calc__row--total dt, .pcah-calc__row--total dd { color: #fff; font-size: 1.125rem; font-weight: 800; }
.pcah-calc__disclaimer { margin: 16px 0; color: #d9dce1; font-size: .875rem; }
.pcah-site .pcah-calc__send { width: 100%; min-height: 54px; }
.pcah-calc__unavailable { padding: 24px 20px; }
.pcah-calc__unavailable p { margin: 0 0 12px; }
.pcah-calc__unavailable p:last-child { margin: 0; }
.pcah-calc > .pcah-admin-note { margin: 0 20px 20px; }
@media (min-width: 900px) {
	.pcah-calc__form, .pcah-calc__result { padding: 28px 32px; }
	.pcah-calc:has(.pcah-calc__result:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
.pcah-has-sticky-cta .pcah-calc, .pcah-has-sticky-cta .pcah-calc__field input, .pcah-has-sticky-cta .pcah-calc__go { scroll-margin-bottom: calc(var(--pc-bar-h) + 24px); }

/* ---------- contact: address and map ---------- */
.pcah-map { margin: 28px 0 0; }
.pcah-site .pcah-page .pcah-section .pcah-map__title { margin: 0 0 8px; }
.pcah-map__address { margin: 0 0 16px; font-style: normal; font-size: 1.0625rem; }
.pcah-map__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.pcah-map__frame { position: relative; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 24px 20px; box-sizing: border-box; border: 1px solid var(--pc-line); border-radius: var(--pc-radius-lg); background: var(--pc-navy-tint); text-align: center; overflow: hidden; }
.pcah-map__frame.is-loaded { padding: 0; aspect-ratio: 16 / 10; min-height: 0; }
@media (max-width: 599px) { .pcah-map__frame.is-loaded { aspect-ratio: 4 / 5; } }
.pcah-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pcah-map__note { margin: 8px 0 0; color: var(--pc-muted); font-size: .875rem; }
.pcah-map__placeholder { margin: 0; color: var(--pc-muted); }
.pcah-map__placeholder .pcah-btn { margin-top: 12px; }
.pcah-calc__row dt { min-width: 0; }
.pcah-calc__row[data-row="schedule_check"] dd, .pcah-calc__row[data-row="instalment_charges_total"] dd { white-space: normal; }
.pcah-calc__form { align-content: start; }
.pcah-calc__hint [hidden] { display: none; }

/* ---- 0.5.1: finance line on cards and vehicle pages; calculator without published rules; phone hero ---- */
.pcah-site .pcah-card__plan { margin: 6px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--pc-muted, #5b6470); }
.pcah-finance__plan { margin: 12px 0 0; padding: 12px 14px; background: #fff; border: 1px solid rgba(16, 41, 77, .16); border-radius: var(--pc-radius); }
.pcah-calc__form + .pcah-calc__unavailable { margin-top: 20px; }
.pcah-calc [hidden] { display: none !important; }
/* Phones: the photograph is its own block above the text, so the vehicle is seen whole and nothing is written over it. */
@media (max-width: 699px) {
	.pcah-site .pcah-hero.pcah-hero--photo { display: block; min-height: 0; padding: 0 0 24px; }
	.pcah-hero--photo .pcah-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 5 / 4; max-height: 62vh; overflow: hidden; }
	.pcah-hero--photo .pcah-hero__media img { object-fit: cover; object-position: 50% 30%; }
	.pcah-hero--photo .pcah-hero__media::after { background: linear-gradient(180deg, rgba(20, 22, 26, 0) 0%, rgba(20, 22, 26, 0) 62%, rgba(20, 22, 26, .92) 100%); }
	.pcah-hero--photo > .pcah-wrap { padding-top: 14px; }
	.pcah-hero--photo .pcah-hero__lead { margin-top: 10px; }
	.pcah-hero--photo .pcah-actions { margin-top: 16px; }
	.pcah-site .pcah-page--hero-photo .pcah-hero.pcah-hero--photo { padding-top: 132px; }   /* a featured image on Home keeps the text-over-image hero */
}

/* ---- 0.6.0: Pay Small-Small application form ---- */
.pcah-apply { max-width: 720px; }
.pcah-apply__step { padding: 20px; background: #fff; border: 1px solid rgba(16, 41, 77, .14); border-top: 4px solid var(--pc-gold); border-radius: var(--pc-radius); }
.pcah-apply__title { margin: 22px 0 10px; font-size: 1.125rem; }
.pcah-apply__title:first-child { margin-top: 0; }
.pcah-apply__field { margin: 0 0 14px; }
.pcah-apply__field label, .pcah-apply__guarantor legend { display: block; margin-bottom: 4px; font-weight: 700; }
.pcah-apply__field input, .pcah-apply__field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9c0cb; border-radius: 8px; font-size: 1rem; background: #fff; }
.pcah-apply__field input[aria-invalid="true"], .pcah-apply__field select[aria-invalid="true"] { border-color: #b3261e; }
.pcah-apply__error { display: block; margin-top: 4px; color: #b3261e; font-weight: 600; }
.pcah-apply__guarantor { margin: 18px 0; padding: 14px; border: 1px solid rgba(16, 41, 77, .16); border-radius: 8px; }
.pcah-apply__consent { margin: 18px 0; }
.pcah-apply__consent input { width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; }
.pcah-apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pcah-apply__party { margin: 20px 0 8px; font-size: 1rem; }
.pcah-apply__doc { padding: 12px 0; border-top: 1px solid rgba(16, 41, 77, .12); }
.pcah-apply__doc-title, .pcah-apply__file, .pcah-apply__pick { margin: 0 0 6px; }
.pcah-apply__pick input { max-width: 100%; }
.pcah-apply__remove { margin-left: 8px; padding: 2px 10px; border: 1px solid #b9c0cb; border-radius: 6px; background: #fff; color: var(--pc-navy); cursor: pointer; }
.pcah-apply__done { border-top-color: var(--pc-navy); }
.pcah-apply [hidden] { display: none !important; }
.pcah-finance__apply { margin: 14px 0 0; }
.pcah-apply__done .pcah-note { margin-bottom: 16px; }

/* ---- 0.9.0: enquiry form (vehicle pages, [pcah_enquiry]) ---- */
.pcah-enquiry { max-width: 640px; }
.pcah-enquiry textarea { width: 100%; min-height: 96px; padding: 10px 12px; border: 1px solid #b9c0cb; border-radius: 8px; font: inherit; box-sizing: border-box; background: #fff; }
.pcah-enquiry__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pcah-enquiry .pcah-apply__field .pcah-enquiry__ack { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.pcah-enquiry__ack input { width: auto; min-height: 0; margin-top: 4px; flex: none; }
.pcah-enquiry__privacy { font-size: .875rem; color: var(--pc-muted, #5b6470); }
.pcah-enquiry__status { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.pcah-enquiry__status.is-ok { background: #e7f4ec; color: #14532d; }
.pcah-enquiry__status.is-error { background: #fdecea; color: #8a1c13; }

/* 0.9.2 — phones: the vehicle page is never wider than the screen. On phones the layout grid had one `auto` column
   sized to its content, and the swipe gallery's slides kept min-width:auto, so a multi-photo gallery (large square
   photos, long captions) could push the page to ~360–480 px on 320–430 px screens, depending on when images loaded.
   The column is now capped at the container (minmax(0, 1fr)) and every grid/flex child may shrink; long words wrap. */
.pcah-site .pcah-vehicle__layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pcah-site .pcah-vehicle__layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }
.pcah-site .pcah-vehicle__layout > * { min-width: 0; }
.pcah-site .pcah-gallery, .pcah-site .pcah-gallery__frame, .pcah-site .pcah-gallery__list { min-width: 0; max-width: 100%; }
.pcah-site .pcah-gallery__item { min-width: 0; }
.pcah-site .pcah-gallery figure { min-width: 0; }
.pcah-site .pcah-gallery img { max-width: 100%; }
.pcah-site .pcah-gallery figcaption, .pcah-site .pcah-gallery__hint { overflow-wrap: anywhere; }
.pcah-site .pcah-keyfacts__item, .pcah-site .pcah-specs__row, .pcah-site .pcah-specs__row dt, .pcah-site .pcah-specs__row dd { min-width: 0; }
.pcah-site .pcah-keyfacts dd, .pcah-site .pcah-specs__row dd, .pcah-site .pcah-vehicle__title { overflow-wrap: anywhere; }
.pcah-site .pcah-summary, .pcah-site .pcah-location, .pcah-site .pcah-finance { min-width: 0; max-width: 100%; }

/* 0.9.5 application journey: estimate, what you need, submission-unavailable notice and final step */
.pcah-apply__estimate .pcah-note:empty { display: none; }
.pcah-apply__needs { margin: 0 0 8px; }
.pcah-apply__needs-list { margin: 0 0 12px 1.2em; padding: 0; }
.pcah-apply__needs-list li { margin: 0 0 4px; overflow-wrap: anywhere; }
.pcah-apply__notice { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid #c9a24a; background: #fdf7e8; color: #3b2f12; font-weight: 600; }
.pcah-apply__closed .pcah-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 0.9.7 footer "Cookie settings" (reopens the cookie banner's preferences) */
.pcah-footer__legal p + p { padding-top: 0; }
.pcah-footer__cookies { padding: 0; border: 0; background: none; color: #cbba8d; font: inherit; text-decoration: underline; cursor: pointer; }
.pcah-footer__cookies:hover, .pcah-footer__cookies:focus-visible { color: #fff; }
