/*
Theme Name: Car Colour Wraps
Theme URI: https://carcolourwraps.co.za/
Description: Lightweight, fast theme for CAR COLOUR WRAPS. Colours come from the logo. Business data, bookings and enquiries live in the "Car Colour Wraps Core" plugin, not in this theme.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ccw-theme
*/

/* =====================================================================
   1. Design tokens (from the logo)
   ===================================================================== */
:root {
	--orange: #F58217;
	--orange-dark: #D96D08;
	--purple: #3A2276;
	--purple-dark: #2A1857;
	--red: #ED2224;
	--blue: #3896D2;
	--grey: #9D9DA1;
	--black: #000000;

	--ink: #0C0C10;
	--ink-2: #17171E;
	--ink-3: #24242D;
	--text: #1B1B22;
	--muted: #565663;
	--line: #E3E3EA;
	--mist: #F4F4F7;
	--paper: #FFFFFF;

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 10px 30px rgba(12, 12, 16, .08);
	--shadow-lg: 0 20px 50px rgba(12, 12, 16, .16);
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 76px;
	--mobilebar-h: 0px;
}

/* =====================================================================
   2. Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--paper); padding-bottom: var(--mobilebar-h); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.15; letter-spacing: .005em; margin: 0 0 .6em; color: var(--ink); text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
h4 { font-size: 1rem; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--orange); color: #000; padding: 10px 16px; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #E9E9EF; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--purple) 25% 50%, var(--red) 50% 75%, var(--orange) 75%); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--orange); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: #C9C9D3; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small-note { font-size: .9rem; color: var(--muted); }
.brand-stripe { height: 5px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--purple) 25% 50%, var(--red) 50% 75%, var(--orange) 75%); }

/* =====================================================================
   3. Buttons
   ===================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; font: 700 .9rem/1.2 var(--font); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #000; }
.btn--primary:hover { background: #FF9A3D; color: #000; }
.btn--secondary { background: var(--purple); color: #fff; }
.btn--secondary:hover { background: var(--purple-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost, .split-card .btn--ghost, .side-box--dark .btn--ghost, .mega__feature .btn--ghost, .page-hero .btn--ghost, .map-embed .btn--ghost { color: #fff; }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover, .split-card .btn--ghost:hover, .side-box--dark .btn--ghost:hover, .mega__feature .btn--ghost:hover, .page-hero .btn--ghost:hover, .map-embed .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wa { background: #1E8E4E; color: #fff; }
.btn--wa:hover { background: #17733F; color: #fff; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: .95rem; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: middle; }

/* =====================================================================
   4. Header, navigation and mega menu
   ===================================================================== */
.topbar { background: var(--ink); color: #D8D8E0; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange); }
.topbar__links { display: flex; gap: 20px; }
@media (max-width: 760px) { .topbar__loc { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.site-header .wrap, .topbar .wrap { max-width: 1480px; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: auto; height: 58px; }
.brand__text { font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: .03em; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: static; }
.nav__list > li > a, .nav__toggle-sub { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .03em; border-radius: var(--radius-sm); background: none; border: 0; cursor: pointer; font-family: var(--font); }
.nav__list > li > a:hover, .nav__toggle-sub:hover, .nav__list > li.is-current > a { color: var(--purple); background: var(--mist); }
.nav__caret { width: 10px; height: 10px; transition: transform .2s; }
[aria-expanded="true"] > .nav__caret { transform: rotate(180deg); }
.nav__list > li.nav__item--has-sub { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 6px 0 0; display: none; }
.nav__sub a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); font-size: .92rem; }
.nav__sub a:hover { background: var(--mist); color: var(--purple); }
.nav__item--has-sub.is-open > .nav__sub { display: block; }
.nav__cta { margin-left: 6px; }
.nav__list > li.nav__cta > a.btn { display: inline-flex; padding: 9px 14px; min-height: 42px; font-size: .76rem; letter-spacing: .04em; border-radius: var(--radius-sm); white-space: nowrap; }
.nav__list > li.nav__cta > a.btn--primary { color: #000; background: var(--orange); }
.nav__list > li.nav__cta > a.btn--secondary { color: #fff; background: var(--purple); }
.nav__list > li > a, .nav__toggle-sub { white-space: nowrap; }

.nav__cta .btn { min-height: 42px; padding: 9px 14px; font-size: .78rem; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .14); display: none; }
.nav__item--mega.is-open > .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(200px, 1fr); gap: 22px; padding: 26px var(--gutter) 30px; }
.mega__col { min-width: 0; }
.mega__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; background: var(--mist); position: relative; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mega__img:hover img { transform: scale(1.05); }
.mega__title { display: block; font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; margin-bottom: 8px; }
.mega__title:hover { color: var(--purple); }
.mega__links { list-style: none; margin: 0; padding: 0; }
.mega__links a { display: block; padding: 4px 0; font-size: .86rem; color: var(--muted); text-decoration: none; line-height: 1.4; }
.mega__links a:hover { color: var(--purple); }
.mega__all { display: inline-block; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--purple); }
.mega__feature { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega__feature h3 { color: #fff; font-size: 1rem; margin: 0; }
.mega__feature ul { list-style: none; padding: 0; margin: 0 0 6px; }
.mega__feature li a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .9rem; }
.mega__feature li a::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: skewX(-20deg); }
.mega__feature li a:hover { color: var(--orange); }

.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm); font: 700 .82rem var(--font); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1500px) {
	.nav__list > li > a, .nav__toggle-sub { padding: 10px 7px; font-size: .8rem; }
	.mega__inner { gap: 16px; } .mega__img { aspect-ratio: 16 / 8; } .mega__title { font-size: .8rem; } .mega__links a { font-size: .8rem; }
}
@media (max-width: 1360px) {
	:root { --header-h: 68px; }
	.brand img { height: 50px; }
	.menu-toggle { display: inline-flex; }
	.nav { position: fixed; inset: 0; top: 0; background: #fff; z-index: 200; overflow-y: auto; padding: 18px var(--gutter) 120px; display: none; margin: 0; }
	.nav.is-open { display: block; }
	.nav__close { display: flex !important; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list > li > a, .nav__toggle-sub { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1rem; }
	.nav__sub, .mega { position: static; box-shadow: none; border: 0; margin: 0; padding: 0 0 12px 8px; min-width: 0; }
	.mega__inner { grid-template-columns: 1fr; gap: 6px; padding: 0 0 8px; }
	.mega__img, .mega__links, .mega__all { display: none; }
	.mega__title { padding: 8px 0; margin: 0; font-size: .95rem; }
	.mega__feature { margin-top: 8px; }
	.nav__cta { border: 0 !important; margin: 14px 0 0; }
	.nav__cta .btn { width: 100%; min-height: 52px; }
}
.nav__close { display: none; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nav__close button { background: var(--mist); border: 0; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; color: #C9C9D3; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current] { color: #C9C9D3; }

/* =====================================================================
   5. Hero (homepage slider and page heroes)
   ===================================================================== */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__slides { position: relative; min-height: clamp(560px, 82vh, 760px); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 12, .92) 0%, rgba(8, 8, 12, .72) 42%, rgba(8, 8, 12, .15) 100%), linear-gradient(0deg, rgba(8, 8, 12, .55), transparent 40%); }
/* Angled slashes from the logo */
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; background: var(--orange); transform: skewX(-18deg); pointer-events: none; }
.hero::before { width: 120px; height: 140%; top: -20%; right: 14%; opacity: .9; clip-path: polygon(0 0, 100% 0, 100% 22%, 0 30%); }
.hero::after { width: 46%; height: 16px; bottom: 54px; right: -4%; opacity: .95; }
.hero__content { position: relative; max-width: 700px; padding: 70px 0 110px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); margin: 0 0 18px; line-height: 1.08; font-weight: 800; text-transform: uppercase; }
.hero__title span { color: var(--orange); }
.hero__text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #E2E2EA; max-width: 600px; margin-bottom: 28px; }
.hero__badge { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 4px 10px; border-radius: 30px; margin-top: 22px; color: #D4D4DC; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; }
.hero__controls .wrap { display: flex; align-items: center; gap: 10px; }
.hero__dot { width: 34px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.hero__dot[aria-current="true"] { background: var(--orange); }
.hero__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero__btn:hover { background: var(--orange); color: #000; border-color: var(--orange); }
.hero__btn .icon { width: 18px; height: 18px; }
.hero__prev .icon { transform: rotate(180deg); }
.hero__pause { margin-left: auto; font: 600 .8rem var(--font); color: #fff; background: none; border: 1px solid rgba(255, 255, 255, .4); border-radius: 30px; padding: 8px 14px; cursor: pointer; }

.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); }
.page-hero .hero__media::after { background: linear-gradient(90deg, rgba(8, 8, 12, .95) 0%, rgba(8, 8, 12, .8) 50%, rgba(8, 8, 12, .45) 100%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 38%; height: 12px; bottom: 26px; right: -4%; background: var(--orange); transform: skewX(-18deg); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero__intro { font-size: 1.12rem; color: #E0E0E8; max-width: 760px; }
.page-hero .btn-row { margin-top: 24px; }
.img-badge { position: absolute; z-index: 2; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.page-hero .img-badge { bottom: auto; top: 12px; }

/* =====================================================================
   6. Cards and grids
   ===================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; margin: 0 0 2em; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.02rem; margin: 0 0 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.card__more { margin-top: auto; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(4px); }
.card__meta { font-size: .85rem; color: var(--muted); margin: 0; }
.card--area .card__body { border-top: 5px solid var(--purple); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cat-card { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink-2); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .88) 10%, rgba(0, 0, 0, .15) 70%); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { padding: 20px; }
.cat-card__body h3 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; }
.cat-card__body p { margin: 0; font-size: .88rem; color: #DADAE2; }
.cat-card__count { display: inline-block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: #000; padding: 3px 8px; border-radius: 4px; }
.cat-card:hover { color: #fff; }
.cat-card:focus-visible { outline-offset: 4px; }

.finish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
@media (min-width: 1100px) { .finish-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.finish { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink-2); }
.finish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.finish::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 60%); }
.finish:hover img { transform: scale(1.08); }
.finish span { padding: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.finish:hover { color: var(--orange); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; display: flex; flex-direction: column; isolation: isolate; min-height: 460px; }
.split-card__media { position: absolute; inset: 0; z-index: -2; }
.split-card__media img { width: 100%; height: 100%; object-fit: cover; }
.split-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 8, 12, .95) 30%, rgba(8, 8, 12, .25)); }
.split-card__body { margin-top: auto; padding: clamp(22px, 3vw, 36px); }
.split-card h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.split-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.split-card li { padding-left: 26px; position: relative; margin-bottom: 6px; color: #E4E4EC; }
.split-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 14px; height: 4px; background: var(--orange); transform: skewX(-20deg); }

.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 0 0 1.6em; }
.stat { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 24px; border-left: 6px solid var(--orange); }
.stat:nth-child(2) { border-left-color: var(--blue); }
.stat__num { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: var(--orange); }
.stat:nth-child(2) .stat__num { color: var(--blue); }
.stat__label { display: block; margin-top: 8px; font-size: .95rem; color: #E4E4EC; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; counter-reset: step; }
.steps > li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 54px 20px 20px; counter-increment: step; }
.steps > li::before { content: "0" counter(step); position: absolute; top: 16px; left: 20px; font-weight: 800; font-size: 1.3rem; color: var(--orange); }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.reason { padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.reason .icon { width: 34px; height: 34px; color: var(--orange); margin-bottom: 10px; }
.reason h3 { font-size: 1rem; }
.reason p { color: #C9C9D3; margin: 0; font-size: .94rem; }

.popular { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }

.chips, .chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 30px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; border: 1px solid var(--line); }
.chip:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.section--dark .chip { background: var(--ink-2); color: #fff; border-color: var(--ink-3); }

/* Quick selector */
.selector { position: relative; z-index: 5; margin-top: -54px; }
.selector__box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: end; border-top: 5px solid var(--orange); }
.selector__label { font-weight: 800; text-transform: uppercase; font-size: 1rem; color: var(--ink); align-self: center; }
.selector select { width: 100%; }
@media (max-width: 900px) { .selector__box { grid-template-columns: 1fr; } .selector { margin-top: -32px; } }

/* =====================================================================
   7. Content layouts (service / area / page)
   ===================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1000px) { .sidebar { position: static; } }
.side-box { background: var(--mist); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.side-box--dark { background: var(--ink); color: #E4E4EC; border-color: var(--ink); }
.side-box--dark h2, .side-box--dark h3 { color: #fff; }
.side-box h2, .side-box h3 { font-size: 1.05rem; }
.side-box .btn { width: 100%; margin-bottom: 10px; }
.toc { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 3px solid var(--line); color: var(--text); text-decoration: none; font-size: .92rem; }
.toc a:hover { border-left-color: var(--orange); color: var(--purple); }

.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: 1.16rem; color: var(--text); }
.prose ul.ticks, .prose ul.cautions, .prose ul.routes { list-style: none; padding-left: 0; }
.prose ul.ticks li, .prose ul.cautions li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 4.8 11.5l-1.4 1.4 6.1 6.1L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ul.cautions li::before { content: "!"; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.prose ol.steps { display: block; }
.prose ol.steps > li { margin-bottom: 12px; padding: 16px 18px 16px 64px; }
.prose ol.steps > li::before { top: 14px; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 1.6em 0; }
@media (max-width: 760px) { .prose .wp-block-columns { grid-template-columns: 1fr; } }
.prose .wp-block-column { background: var(--mist); border-radius: var(--radius); padding: 20px 22px 6px; }
.prose .wp-block-column h3 { margin-top: 0; }
.prose .small-note { border-left: 4px solid var(--orange); padding: 10px 14px; background: #FFF6EC; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose ul.routes li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.price-table { margin: 1.6em 0; }
.price-table figcaption { font-weight: 800; text-transform: uppercase; font-size: .95rem; margin-bottom: 10px; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.price-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.price-table th, .price-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.price-table tbody th { font-weight: 600; }
.price-table tbody tr:nth-child(even) { background: var(--mist); }

/* FAQs */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 700; color: var(--purple); }
.faq[open] summary::after { content: "–"; background: var(--orange); color: #000; }
.faq__q { font-size: 1rem; margin: 0; text-transform: none; font-weight: 700; letter-spacing: 0; }
.faq__a { padding: 0 20px 6px; color: var(--muted); }

/* Directory */
.directory__search { max-width: 640px; margin-bottom: 18px; }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input input { padding-left: 44px !important; }
.directory__group { margin: 34px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.directory__head { border-left: 6px solid var(--orange); padding-left: 16px; margin-bottom: 18px; }
.directory__head h2 { margin-bottom: 4px; }
.directory__head p { color: var(--muted); margin: 0; }
.directory__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.directory__list a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.directory__list a:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.directory__name { display: block; font-weight: 700; color: var(--ink); }
.directory__desc { display: block; font-size: .86rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery-item img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.gallery-item figcaption { padding: 10px 14px; font-size: .88rem; }
.gallery-section { margin-bottom: 40px; }
.ccw-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; vertical-align: middle; }
.ccw-badge--ok { background: #DDF3E5; color: #165C2E; }
.ccw-badge--info { background: #E8E3F5; color: var(--purple); }
.ccw-badge--warn { background: #FFF0DE; color: #8A4A00; }
.notice-box { background: var(--mist); border-left: 6px solid var(--blue); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); }
.contact-card .icon { width: 28px; height: 28px; color: var(--purple); flex: none; }
.contact-card strong { display: block; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; color: var(--ink); }
.contact-card:hover { border-color: var(--purple); box-shadow: var(--shadow); color: var(--text); }
.contact-card--wa .icon { color: #1E8E4E; }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.workshop-note { display: flex; gap: 10px; align-items: flex-start; background: var(--mist); padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; }
.workshop-note .icon { color: var(--orange); flex: none; width: 22px; height: 22px; }
.map-embed { border-radius: var(--radius); overflow: hidden; background: var(--ink-2) linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: #fff; min-height: 320px; display: grid; }
.map-embed__placeholder { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 30px; }
.map-embed__placeholder p { margin: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* =====================================================================
   8. Forms
   ===================================================================== */
.ccw-form { display: grid; gap: 22px; }
.ccw-fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 26px); margin: 0; background: #fff; min-width: 0; }
.ccw-fieldset[hidden] { display: none; }
.ccw-fieldset legend { font-weight: 800; text-transform: uppercase; font-size: 1rem; padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.ccw-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #000; font-size: .9rem; }
.ccw-optional { font-weight: 400; text-transform: none; color: var(--muted); font-size: .9rem; }
.ccw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 4px; }
.ccw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ccw-grid--1 { grid-template-columns: 1fr; margin-top: 16px; }
.ccw-grid[hidden] { display: none; }
@media (max-width: 680px) { .ccw-grid, .ccw-grid--3 { grid-template-columns: 1fr; } }
.ccw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ccw-field[hidden] { display: none; }
.ccw-field--full { margin-top: 14px; }
.ccw-label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=time], select, textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--font); color: var(--text); background: #fff; border: 1.5px solid #C9C9D3; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(58, 34, 118, .2); }
input[type=file] { font: inherit; padding: 10px; border: 1.5px dashed #B9B9C5; border-radius: var(--radius-sm); background: var(--mist); width: 100%; }
.has-error input, .has-error select, .has-error textarea, [aria-invalid="true"] { border-color: var(--red) !important; }
.ccw-error { color: #B3121A; font-size: .9rem; font-weight: 600; margin: 0; }
.ccw-error::before { content: "⚠ "; }
.ccw-hint { color: var(--muted); font-size: .86rem; margin: 0; }
.ccw-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ccw-choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid #C9C9D3; border-radius: var(--radius-sm); cursor: pointer; background: #fff; font-size: .95rem; min-height: 48px; }
.ccw-choice:has(input:checked) { border-color: var(--purple); background: #F1EDFA; }
.ccw-choice input, .ccw-field--check input { width: 20px; height: 20px; accent-color: var(--purple); flex: none; }
.ccw-field--check label { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.ccw-consents { display: grid; gap: 12px; padding: 18px; background: var(--mist); border-radius: var(--radius); }
.ccw-note { background: #FFF6EC; border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0; font-size: .94rem; }
.ccw-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ccw-progress { color: var(--muted); font-weight: 600; }
.ccw-form__summary { border: 2px solid var(--red); background: #FDECEC; padding: 16px 20px; border-radius: var(--radius); }
.ccw-form__summary ul { margin: 8px 0 0; }
.ccw-form__summary a { color: #8E0E14; }
.ccw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ccw-success { border: 2px solid #1E8E4E; background: #EFF9F2; border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.ccw-success--pending { border-color: var(--orange); background: #FFF6EC; }
.ccw-success__icon { width: 54px; height: 54px; border-radius: 50%; background: #1E8E4E; color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.ccw-success--pending .ccw-success__icon { background: var(--orange); color: #000; }
.ccw-success__icon .icon { width: 30px; height: 30px; }
.ccw-success h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.ccw-ref { font-size: 1.15em; letter-spacing: .04em; background: #fff; padding: 2px 8px; border-radius: 4px; }

/* Booking */
.ccw-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.ccw-type-card { position: relative; display: block; cursor: pointer; }
.ccw-type-card input { position: absolute; opacity: 0; }
.ccw-type-card__body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1.5px solid #C9C9D3; border-radius: var(--radius); background: #fff; transition: border-color .2s, background .2s; }
.ccw-type-card input:checked + .ccw-type-card__body { border-color: var(--purple); background: #F1EDFA; box-shadow: inset 0 0 0 1px var(--purple); }
.ccw-type-card input:focus-visible + .ccw-type-card__body { outline: 3px solid var(--blue); outline-offset: 2px; }
.ccw-type-card__title { font-weight: 800; color: var(--ink); text-transform: uppercase; font-size: .92rem; }
.ccw-type-card__meta { font-size: .82rem; color: var(--purple); font-weight: 600; }
.ccw-type-card__desc { font-size: .88rem; color: var(--muted); }
.ccw-picker__empty { color: var(--muted); }
.ccw-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.ccw-day { flex: none; scroll-snap-align: start; width: 74px; padding: 10px 6px; border: 1.5px solid #C9C9D3; border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-family: var(--font); display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.ccw-day__dow, .ccw-day__mon { font-size: .74rem; text-transform: uppercase; color: var(--muted); }
.ccw-day__num { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.ccw-day[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); }
.ccw-day[aria-pressed="true"] span { color: #fff; }
.ccw-picker__label { font-weight: 700; margin: 8px 0; }
.ccw-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.ccw-slot { min-height: 46px; border: 1.5px solid #C9C9D3; border-radius: var(--radius-sm); background: #fff; font: 600 .95rem var(--font); cursor: pointer; }
.ccw-slot:hover { border-color: var(--purple); }
.ccw-slot[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #000; }
.ccw-booking__summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 18px; }
.ccw-booking__summary p { margin: 0; }

/* =====================================================================
   9. CTA band, footer, mobile bar, chat
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--purple); color: #fff; padding: clamp(44px, 6vw, 72px) 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: 6%; top: -30%; width: 160px; height: 160%; background: var(--orange); transform: skewX(-18deg); opacity: .95; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: calc(6% + 190px); top: -30%; width: 40px; height: 160%; background: var(--red); transform: skewX(-18deg); }
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { color: #E6E1F3; max-width: 640px; }
@media (max-width: 760px) { .cta-band::before, .cta-band::after { opacity: .35; } }

.site-footer { background: var(--ink); color: #C9C9D3; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 60px 0 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.footer__logo img { height: 64px; width: auto; }
.site-footer h2 { color: #fff; font-size: .92rem; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--orange); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid var(--ink-3); padding: 18px 0; font-size: .84rem; }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

.mobile-bar { display: none; }
@media (max-width: 860px) {
	:root { --mobilebar-h: 64px; }
	.mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--mobilebar-h); background: var(--ink); border-top: 3px solid var(--orange); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; text-decoration: none; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
	.mobile-bar a .icon { width: 22px; height: 22px; }
	.mobile-bar a.is-primary { background: var(--orange); color: #000; }
	.mobile-bar a:focus-visible { outline-offset: -4px; }
}

.chat { position: fixed; right: 16px; bottom: calc(var(--mobilebar-h) + 16px); z-index: 95; font-size: .95rem; }
.chat__toggle { display: inline-flex; align-items: center; gap: 8px; background: #1E8E4E; color: #fff; border: 0; border-radius: 40px; padding: 12px 18px; font: 700 .85rem var(--font); text-transform: uppercase; letter-spacing: .04em; box-shadow: var(--shadow-lg); cursor: pointer; min-height: 50px; }
.chat__toggle:hover { background: #17733F; }
.chat__toggle .icon { width: 22px; height: 22px; }
.chat.is-open .chat__toggle { display: none; }
@media (max-width: 860px) { .chat__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .chat__toggle { width: 54px; height: 54px; padding: 0; justify-content: center; } }
.chat__panel { width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - var(--mobilebar-h) - 40px)); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column; overflow: hidden; }
.chat__panel[hidden] { display: none; }
.chat__head { position: relative; background: var(--ink); color: #fff; padding: 14px 56px 12px 14px; border-bottom: 4px solid var(--orange); display: flex; align-items: center; gap: 12px; }
.chat__logo { flex: none; background: #fff; border-radius: 8px; padding: 4px 6px; display: grid; place-items: center; }
.chat__logo img { width: 44px; height: auto; }
.chat__title { margin: 0; font-weight: 800; text-transform: uppercase; }
.chat__sub { margin: 0; font-size: .82rem; color: #C9C9D3; }
.chat__close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__log { padding: 14px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--mist); min-height: 160px; }
.chat__msg { max-width: 88%; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.chat__msg p { margin: 0 0 6px; }
.chat__msg p:last-child { margin: 0; }
.chat__msg--user { align-self: flex-end; background: var(--purple); color: #fff; border-color: var(--purple); }
.chat__link { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--mist); color: var(--purple); text-decoration: none; font-weight: 600; font-size: .88rem; }
.chat__link--primary { background: var(--orange); color: #000; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); max-height: 120px; overflow-y: auto; }
.chat__chip { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 12px; font: 600 .8rem var(--font); cursor: pointer; color: var(--ink); }
.chat__chip:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.chat__form { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.chat__form input { min-height: 44px; }

/* 404 */
.error-404 { text-align: center; }
.error-404 .btn-row { justify-content: center; }

/* Scrolling vehicle makes */
.brands { padding: 44px 0 18px; overflow: hidden; }
.brands__title { text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.brands__viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__track { display: flex; flex: none; gap: 56px; padding: 0 28px; margin: 0; list-style: none; align-items: center; animation: ccw-marquee 38s linear infinite; }
.brands:hover .brands__track, .brands:focus-within .brands__track { animation-play-state: paused; }
.brands__item { flex: none; display: flex; align-items: center; height: 64px; }
.brands__logo { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.brands__item:hover .brands__logo { filter: none; opacity: 1; }
.brands__name { font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .06em; text-transform: uppercase; color: #6E6E7A; white-space: nowrap; transition: color .3s; }
.brands__item:hover .brands__name { color: var(--purple); }
.brands__note { text-align: center; font-size: .75rem; color: var(--muted); margin: 14px 0 0; }
@keyframes ccw-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.brands__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
	.brands__track[aria-hidden="true"] { display: none; }
	.brands__viewport { -webkit-mask-image: none; mask-image: none; justify-content: center; }
}

/* Chat contact-details gate */
.chat__gate { padding: 14px 16px 16px; overflow-y: auto; display: grid; gap: 10px; }
.chat__gate[hidden], .chat__log[hidden], .chat__chips[hidden], .chat__form[hidden] { display: none; }
.chat__gate-intro { margin: 0; font-size: .9rem; color: var(--muted); }
.chat__field { display: grid; gap: 4px; }
.chat__field label { font-weight: 600; font-size: .86rem; }
.chat__field input { min-height: 44px; }
.chat__check { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; line-height: 1.45; }
.chat__check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--purple); }
.chat__err { color: #B3121A; font-size: .8rem; font-weight: 600; margin: 0; }
.chat__gate .btn { width: 100%; }
.chat__gate .ccw-hp { position: absolute; left: -9999px; }

/* Trust badges */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__item .icon { width: 30px; height: 30px; flex: none; color: var(--orange); background: #FFF1E3; border-radius: 50%; padding: 6px; box-sizing: content-box; }
.trust__item strong { display: block; text-transform: uppercase; font-size: .88rem; letter-spacing: .02em; color: var(--ink); line-height: 1.3; }
.trust__item small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 2px; }
.trust--compact { grid-template-columns: 1fr; gap: 12px; }
.trust-wrap { margin-top: 34px; }

/* =====================================================================
   Gallery (filters, feature tiles, lightbox)
   ===================================================================== */
.gallery__filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 10px; }
.gallery__group { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery__chip { font: 600 .86rem var(--font); padding: 9px 16px; min-height: 42px; border-radius: 30px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.gallery__chip:hover { border-color: var(--purple); color: var(--purple); }
.gallery__chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery__chip--type[aria-pressed="true"] { background: var(--orange); color: #000; border-color: var(--orange); }
.gallery__count { margin: 6px 0 18px; }
.gallery-grid--pro { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(0,0,0,.02); transition: transform .25s, box-shadow .25s; }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item[hidden] { display: none; }
.gallery-item__link { position: relative; display: block; overflow: hidden; }
.gallery-item__link img { transition: transform .6s ease; }
.gallery-item__link:hover img, .gallery-item__link:focus-visible img { transform: scale(1.06); }
.gallery-item__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #000; display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.gallery-item__link:hover .gallery-item__zoom, .gallery-item__link:focus-visible .gallery-item__zoom { opacity: 1; transform: none; }
.gallery-item figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; font-size: .88rem; }
.gallery-item__cap { font-weight: 600; color: var(--ink); }
.gallery-item__cat { margin-left: auto; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 900px) {
	.gallery-grid--pro .gallery-item--feature { grid-column: span 2; grid-row: span 2; }
	.gallery-grid--pro .gallery-item--feature img { aspect-ratio: auto; height: 100%; min-height: 420px; }
	.gallery-grid--pro .gallery-item--feature .gallery-item__link { flex: 1; }
}
.gallery__empty { padding: 30px; text-align: center; background: var(--mist); border-radius: var(--radius); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 6, 9, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1400px, 100%); max-height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__caption { color: #E6E6EE; margin-top: 14px; text-align: center; font-size: .95rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lightbox__count { color: #9D9DA1; font-size: .82rem; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--orange); color: #000; border-color: var(--orange); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } .lightbox { padding-bottom: 84px; } }
body.has-lightbox { overflow: hidden; }

/* "By appointment" notice (logo red, darkened slightly for readable contrast on white) */
.by-appt { display: block; color: #D41E20; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 2px 0 4px; }
.by-appt--lg { font-size: 1rem; margin: -6px 0 0; }

/* Mega menu: seven categories + feature in two rows of four */
@media (min-width: 1361px) {
	.mega__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; padding-top: 20px; padding-bottom: 22px; }
	.mega__img { aspect-ratio: 16 / 6; margin-bottom: 8px; }
	.mega__links a { padding: 2px 0; }
}

/* Brand logos (strip and make cards) */
.brands__track { gap: 48px; }
.brands__item a { display: flex; align-items: center; text-decoration: none; }
.brands__mark { display: flex; align-items: center; justify-content: center; width: 64px; height: 56px; color: #8A8A96; transition: color .3s, transform .3s; }
.brands__svg { width: 100%; height: 100%; }
.brands__item:hover .brands__mark, .brands__item a:focus-visible .brands__mark { color: var(--brand, var(--purple)); transform: scale(1.06); }
.brands__name { color: #6E6E7A; }
.brands__item:hover .brands__name { color: var(--brand, var(--purple)); }
.card--make { flex-direction: row; align-items: stretch; }
.card--make .card__logo { flex: none; width: 96px; display: flex; align-items: center; justify-content: center; background: var(--mist); border-right: 1px solid var(--line); padding: 12px; }
.card--make .card__logo .brands__mark { width: 56px; height: 56px; color: var(--brand, var(--ink)); }
.card--make .card__logo .brands__name { font-size: .8rem; text-align: center; color: var(--ink); white-space: normal; }
@media (max-width: 480px) { .card--make .card__logo { width: 72px; } }
