/*
Theme Name: Artnicos
Theme URI: https://artnicos.ro
Author: ARTNICOS SRL
Description: Custom presentation theme for the ARTNICOS website. Sessions 02-03: global design system, header, navigation, footer, component library. Session 04: full public page renderer (hero + reusable sections), homepage, and 15 service/mobility/company pages. Session 18.1: editorial premium composition layer (instrument-plate media, larger display scale, spec cards, band seams) and flat primary navigation.
Version: 0.9.13
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: artnicos
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   1. Reset
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Session 13: found via a real 320×568 overflow measurement — a
   `transform`-positioned `position: fixed` element (`.art-mobile-nav`,
   translated off-screen via `translateX(100%)`) establishes its own
   containing block and was contributing to `document.documentElement.
   scrollWidth` even though it's visually off-screen, pre-existing and
   unrelated to any Session 13 change (confirmed: reproduces with the new
   quick-contact bar disabled too). `overflow-x: hidden` on both root
   elements clips that phantom contribution without affecting any visible
   layout. */
html {
	-webkit-text-size-adjust: 100%;
	/* Session 14.1: `overflow-x: hidden` here implicitly forces
	   `overflow-y: auto` per the CSS overflow spec (setting only one axis
	   makes the other compute to `auto` if it was `visible`), which turns
	   html/body into a real scroll container and silently breaks
	   `position: sticky` for any descendant (confirmed: the services-page
	   sticky nav scrolled away entirely instead of sticking — computed
	   style chain showed `overflow: hidden auto` on both html and body).
	   `overflow-x: clip` gives the identical horizontal-clipping behavior
	   this rule exists for, without establishing a scroll container on
	   the other axis, so sticky descendants work again. */
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip; /* see the html rule above for why not `hidden` */
}

img,
picture,
svg {
	max-width: 100%;
	display: block;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
}

/* ==========================================================================
   2. Design tokens (static fallback defaults)
   The full set is overridden inline by ARTNICOS Core's saved Design
   settings (Design\Design_Tokens, injected via inc/design-tokens.php).
   These are only used if that plugin is inactive. Keep in sync with
   Settings\Design_Settings defaults — see docs/DESIGN-SYSTEM.md.
   ========================================================================== */

:root {
	--art-color-primary: #0e6b62;
	--art-color-primary-hover: #0b5952;
	--art-color-primary-active: #094943;
	--art-color-primary-contrast: #ffffff;
	--art-color-primary-on-dark: #72c9bc;

	--art-color-secondary: #15181b;
	--art-color-secondary-hover: #2a2f34;
	--art-color-secondary-active: #3a4046;
	--art-color-secondary-contrast: #ffffff;

	--art-color-accent: #e08a2c;
	--art-color-accent-hover: #c06f1a;
	--art-color-accent-contrast: #15181b;
	/* Session 04.6: measures 5.6:1 on white — for amber used as standalone
	   run-on text (badges-as-text, inline links), where --accent/--accent-hover
	   don't clear the 4.5:1 text-contrast floor (they're tuned for
	   backgrounds/borders/UI components instead). */
	--art-color-accent-text: #9a5713;

	--art-color-background: #f7f5f1;
	--art-color-background-alt: #efebe3;
	--art-color-surface: #ffffff;
	--art-color-surface-elevated: #ffffff;
	--art-color-surface-inverse: #15181b;

	--art-color-text: #15181b;
	--art-color-text-muted: #484E55;
	--art-color-text-inverse: #f7f5f1;
	--art-color-heading: #0f1214;

	--art-color-border: #dcd8cf;
	--art-color-border-strong: #b9b3a4;
	--art-color-focus: #c06f1a; /* darker than --art-color-accent — see docs/DESIGN-SYSTEM.md Session 06 contrast audit: #e08a2c measures 2.68:1 on white, failing the 3:1 UI-component minimum; #c06f1a (already the accent-hover shade) measures 3.8:1 */

	--art-color-success: #1f7a4d;
	--art-color-success-bg: #e7f5ec;
	--art-color-warning: #b45309;
	--art-color-warning-bg: #fdf1e3;
	--art-color-error: #b3261e;
	--art-color-error-bg: #fbeae9;
	--art-color-info: #1d4ed8;
	--art-color-info-bg: #e9effc;

	/* Inter is the only public text family; the wordmark is isolated below. */
	--art-font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--art-font-size-body: 1rem;
	--art-font-size-small: 0.875rem;
	/* Session 11: 1.25rem (20px) measured above the 17-19px (desktop) /
	   16-18px (mobile) target for hero/section lead copy; 1.125rem (18px)
	   sits inside both ranges at once, so no separate mobile override is
	   needed. */
	--art-font-size-lead: 1.125rem;
	/* Session 04.6: these are the fluid scale's cap values (see "2b" below,
	   which derives an actual clamp() from each via calc()) — a real Major
	   Third (1.25) ratio: h4 1.125 -> h3 1.406 -> h2 2.2 -> h1 2.75. */
	--art-font-size-h1: 2.75rem;
	--art-font-size-h2: 2.2rem;
	--art-font-size-h3: 1.406rem;
	--art-font-size-h4: 1.125rem;

	--art-font-weight-body: 400;
	/* De-template pass (session/page-as-task-detemplate, 2026-12-04): headings
	   moved off the display serif onto --art-font-primary (Inter) below — see
	   the h1-h6 rule. Kept at 600 (Inter's shipped semibold), not bumped to
	   700/650: inc/fonts.php only ships Inter 400/600 locally, so 700 would
	   synthesize a faux-bold in the browser — the exact failure this same
	   comment originally warned about for Fraunces. Inter at 600 already
	   reads far sturdier than the serif did at the same weight (sans
	   semibold vs. a display serif's thin stroke contrast), which is what
	   actually fixes the "thin, light" tell. */
	--art-font-weight-heading: 600;
	--art-font-weight-strong: 600;

	--art-line-height-body: 1.6;
	--art-line-height-heading: 1.15;
	/* De-template pass: tightened from -0.01em — a sans headline reads better
	   slightly tracked-in than a serif did. */
	--art-letter-spacing-heading: -0.02em;
	--art-text-max-width: 65ch;

	/* Session 04.6: normalized onto a clean 8px-based rhythm — space-md was
	   previously 1.25rem/20px, which broke the implicit 8px step every
	   other value in this scale follows. */
	--art-space-2xs: 0.25rem;
	--art-space-xs: 0.5rem;
	--art-space-sm: 0.75rem;
	--art-space-md: 1rem;
	--art-space-lg: 1.5rem;
	--art-space-xl: 2.5rem;
	--art-space-2xl: 4rem;

	/* Session 11: decisive correction — 4rem (64px/side) was still above
	   the 44-52px "standard section" desktop target; 3rem (48px) lands in
	   range. --compact 2.5rem (40px) was at the very top of its own 32-40px
	   target; 2rem (32px) sits mid-range instead. Both get a further,
	   separate mobile-specific reduction below (32-40px and 24-32px
	   desktop targets do not apply unchanged to phone widths). */
	/* Session 04.6: corrected back toward Session 11's own measured targets
	   (48px/32px desktop) — Session 14's further compaction on top of that
	   (to 40px/30px) was an unmeasured judgment call per its own comment;
	   re-verified via the Playwright loop this session (docs/HISTORY.md
	   "Session 04.6") rather than re-applying an undocumented reduction. */
	/* De-template pass (2026-12-04): cut by roughly a third (brief: "reduce
	   the airy vertical rhythm... so pages read as practical, not as
	   showpieces") — 3rem->2rem, 2rem->1.25rem. Mobile override below cut
	   the same proportion. */
	--art-section-space: 2rem;
	--art-section-space-compact: 1.25rem;
	/* New tier for genuinely exceptional image-led/feature moments (64-80px
	   desktop target) — distinct from the two ordinary-content tiers above,
	   not used by any current page (no image content exists yet), declared
	   for when one is configured. */
	--art-section-space-feature: 4.5rem;

	--art-container: 1200px;
	--art-container-wide: 1400px;
	--art-container-narrow: 720px;
	--art-page-gutter: 1.25rem;

	--art-radius-button: 0.375rem;
	--art-radius-input: 0.375rem;
	--art-radius-card: 0.75rem;
	--art-radius-panel: 1rem;
	--art-radius-pill: 999px;
	--art-border-width: 1px;
	--art-focus-width: 3px;

	--art-shadow-subtle: 0 1px 2px rgba(15, 18, 20, 0.06);
	--art-shadow-card: 0 2px 8px rgba(15, 18, 20, 0.08);
	--art-shadow-elevated: 0 8px 24px rgba(15, 18, 20, 0.12);
	--art-shadow-floating: 0 16px 40px rgba(15, 18, 20, 0.18);

	--art-duration-fast: 120ms;
	--art-duration-normal: 200ms;
	--art-duration-slow: 320ms;
	--art-ease-standard: ease-in-out;
	--art-ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);

	/* ---- Motion system (session: motion-typography-polish) ------------------
	   The single source of truth for every reveal, stagger, hover and
	   collapse in the theme. reveal.js, fleet-filter.js and faq.js consume
	   these; no component hardcodes a duration or easing. All are zeroed
	   under prefers-reduced-motion below, so a token change here is the only
	   place motion is tuned. Curves are pure ease-out (no overshoot/bounce),
	   per the brief. */
	--art-ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* decisive ease-out, settles without overshoot */
	--art-reveal-distance: 16px;                    /* travel on scroll reveal (brief: 12–20px) */
	--art-reveal-duration: 520ms;                   /* reveal fade/slide (brief: 400–600ms) */
	--art-reveal-ease: var(--art-ease-out);
	--art-stagger-step: 60ms;                       /* delay between sequential items (brief: 40–80ms) */
	--art-stagger-cap: 8;                            /* index past which stagger delay stops growing */
	--art-hover-duration: 170ms;                    /* interactive hover/press (brief: 150–200ms) */
	--art-lift-distance: -4px;                       /* card hover lift — one value for every card family */
	--art-underline-weight: 1.5px;                   /* drawn text-link underline thickness */
	--art-collapse-duration: 260ms;                 /* accordion + filter collapse/expand */
	--art-count-duration: 1100ms;                   /* stat count-up */
	/* Safe no-JavaScript defaults. service-nav.js replaces both with
	   measured header/selector values in enhanced mode. */
	--art-service-nav-top: 88px;
	--art-service-nav-height: 64px;
}

/* Session 11: section padding did not previously have its own mobile
   value at all — being set in rem, it rendered identically at 390px and
   1440px. Phone-width targets (32-40px standard, 24-32px compact) are
   meaningfully smaller than the desktop ones above, so they need their own
   rule rather than inheriting the desktop rem value unchanged. */
@media (max-width: 47.999em) {
	:root {
		/* De-template pass: same ~1/3 cut applied to the phone-width tier. */
		--art-section-space: 1.25rem;
		--art-section-space-compact: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--art-duration-fast: 0ms;
		--art-duration-normal: 0ms;
		--art-duration-slow: 0ms;
		/* Motion system fully disabled: zero every duration/travel so reveals,
		   staggers, hovers, collapses and counts resolve to their final state
		   instantly. reveal.js/fleet-filter.js/faq.js also bail out of their
		   JS motion paths under this query — belt and braces. */
		--art-reveal-distance: 0px;
		--art-reveal-duration: 0ms;
		--art-stagger-step: 0ms;
		--art-hover-duration: 0ms;
		--art-lift-distance: 0px;
		--art-collapse-duration: 0ms;
		--art-count-duration: 0ms;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   2b. Fluid display scale (Session 04.5A)
   Derived from the admin-editable heading tokens above (never a fixed
   independent value) so a saved Design-settings change still moves these —
   used only for page heroes and section headers, where the brief calls for
   noticeably larger, more confident type than the base h1/h2 scale.
   ========================================================================== */

:root {
	/* Session 18.1 — visible-delta type pass: the owner reported the site
	   read as "almost unchanged" after Session 18's token-level polish, so
	   the display scale is deliberately pushed to an editorial register here.
	   Every value still derives from the admin-editable h1/h2 tokens (a saved
	   Design-settings change still moves them), only the multipliers grew.
	   Home hero cap 2.75rem(h1) * 1.55 ≈ 4.26rem (~68px) — a confident,
	   magazine-scale title; mobile floor stays a moderate ~42px so the hero
	   is never excessively tall on a phone. */
	--art-hero-size: clamp(2.6rem, 1.9rem + 3.5vw, calc(var(--art-font-size-h1) * 1.55));
	/* Interior-page hero: cap h1 * 1.12 ≈ 3.08rem — grown from the old
	   flat-h1 cap so interior openings read stronger, yet still clearly
	   below the home hero (the Session 10 hierarchy rule holds). */
	--art-hero-size-interior: clamp(2.1rem, 1.6rem + 2.4vw, calc(var(--art-font-size-h1) * 1.12));
	--art-hero-size-compact: clamp(2.05rem, 1.5rem + 2.6vw, calc(var(--art-font-size-h1) * 1.32));
	/* Section headings: cap h2(2.2rem) * 1.12 ≈ 2.46rem (~39px) — grown from
	   the old 0.9 multiplier so section titles carry real editorial weight
	   instead of sitting only marginally above body copy. */
	--art-section-heading-size: clamp(1.7rem, 1.4rem + 1.35vw, calc(var(--art-font-size-h2) * 1.12));

	/* Session 04.6: real fluid scaling for the base h1-h3 tags themselves
	   (previously flat rem with zero responsive behavior) — same
	   derived-from-the-admin-token pattern as the hero/section-heading
	   tokens above, so a saved Design-settings change still moves these.
	   h4 stays flat (1.125rem floor, no fluid scaling needed at that size). */
	--art-h1-fluid: clamp(2.2rem, 1.8rem + 2vw, var(--art-font-size-h1));
	--art-h2-fluid: clamp(1.75rem, 1.5rem + 1.2vw, var(--art-font-size-h2));
	--art-h3-fluid: clamp(1.25rem, 1.15rem + 0.4vw, var(--art-font-size-h3));

	/* Session 18.1 — premium composition primitives. Deliberately NEW custom
	   property names (never emitted by ARTNICOS Core's Design_Tokens, which
	   owns the ~70 base tokens), so they are safe to define here and are not
	   overridden by the plugin's inline :root block. They build the session's
	   signature "instrument-plate" media treatment and editorial rhythm on
	   top of the existing brand tokens rather than replacing any of them. */
	--art-hairline: color-mix(in srgb, var(--art-color-secondary) 14%, transparent);
	--art-plate-frame: var(--art-color-accent);   /* registration-frame accent behind framed media */
	--art-plate-offset: 1.15rem;                   /* diagonal offset of that frame */
	--art-elev-media: 0 1.5rem 3rem -1.25rem rgba(15, 18, 20, 0.45); /* refined, directional media shadow */
	--art-tile-tint: color-mix(in srgb, var(--art-color-primary) 10%, var(--art-color-surface)); /* filled icon-plate ground */
	--art-tint-warm: color-mix(in srgb, var(--art-color-accent) 8%, var(--art-color-background)); /* warm section wash */
	--art-heading-tracking: -0.025em;              /* tighter tracking for large display type */
	--art-seam-accent: linear-gradient(90deg, var(--art-color-accent) 0, var(--art-color-accent) 3.5rem, transparent 3.5rem); /* section-seam registration tick */
}

/* ==========================================================================
   3. Base typography and body
   ========================================================================== */

body {
	font-family: var(--art-font-primary);
	font-size: var(--art-font-size-body);
	font-weight: var(--art-font-weight-body);
	color: var(--art-color-text);
	background-color: var(--art-color-background);
	line-height: var(--art-line-height-body);
}

button,
input,
select,
textarea {
	font-family: var(--art-font-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/* One public family keeps every heading consistent with body text. */
	font-family: var(--art-font-primary);
	line-height: var(--art-line-height-heading);
	font-weight: var(--art-font-weight-heading);
	letter-spacing: var(--art-letter-spacing-heading);
	color: var(--art-color-heading);
	margin: 0 0 0.6em;
	/* Session 14.4: every heading in this design is a short page/section
	   title (FAQ questions use <summary>, not a heading tag, so there is
	   no long-form heading anywhere to accidentally over-balance) —
	   text-wrap:balance is safe applied broadly here. Unsupported
	   browsers (anything not on a 2024+ engine) silently ignore the
	   property and fall back to normal wrapping against the existing
	   max-width, which is the required fallback behavior anyway. */
	text-wrap: balance;
}

h1 {
	/* Session 04.6: fluid (was flat var(--art-font-size-h1), identical at
	   every viewport width) — see --art-h1-fluid in "2b" above. */
	font-size: var(--art-h1-fluid);
}

h2 {
	font-size: var(--art-h2-fluid);
}

h3 {
	font-size: var(--art-h3-fluid);
}

h4 {
	font-size: var(--art-font-size-h4);
}

p {
	margin: 0 0 1em;
	max-width: var(--art-text-max-width);
}

strong,
b {
	font-weight: var(--art-font-weight-strong);
}

small {
	font-size: var(--art-font-size-small);
}

a {
	color: var(--art-color-primary);
}

a:hover {
	color: var(--art-color-primary-hover);
}

/* ==========================================================================
   4. Accessibility
   ========================================================================== */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--art-color-surface);
	color: var(--art-color-text);
	padding: var(--art-space-sm) var(--art-space-md);
	border-radius: 0 0 var(--art-radius-button) 0;
}

.skip-link:focus {
	left: 0;
}

:focus-visible {
	outline: var(--art-focus-width) solid var(--art-color-focus);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.art-admin-only-notice,
.art-dev-notice {
	font-family: var(--art-font-primary);
	font-size: var(--art-font-size-small);
	background: var(--art-color-warning-bg);
	color: var(--art-color-warning);
	border: var(--art-border-width) dashed var(--art-color-warning);
	border-radius: var(--art-radius-input);
	padding: var(--art-space-sm) var(--art-space-md);
	max-width: none;
}

/* ==========================================================================
   5. Layout primitives
   ========================================================================== */

.art-container {
	width: 100%;
	max-width: var(--art-container);
	margin-inline: auto;
	padding-inline: var(--art-page-gutter);
}

.art-container--wide {
	max-width: var(--art-container-wide);
}

.art-container--narrow {
	max-width: var(--art-container-narrow);
}

/* Session 14: deep-link targets on consolidated pages (e.g. /servicii/
   #diagnoza-auto). Without this, the sticky header (~80-108px tall)
   covers the top of the target section after an anchor jump. */
.art-anchor-target {
	scroll-margin-top: calc(var(--art-header-height, 76px) + var(--art-space-sm));
}

/* Shared form and contextual field anchors are also direct CTA targets.
   Keep their heading/control below the same sticky-header clearance used
   by service panels at desktop and mobile widths. */
#artnicos-contact-form,
#flota,
#art_c_service_type,
#art_c_mobility_type {
	scroll-margin-top: calc(var(--art-header-height, 76px) + var(--art-space-sm));
}

/* Session 14.2 — Premium services page redesign
   ========================================================================== */

/* Compact hero, scoped to the consolidated pages only (art-has-service-nav
   body class) — a narrowly-scoped override, not a global hero change. */
body.art-has-service-nav .art-page-hero--no-media {
	padding-block: var(--art-space-xs) var(--art-space-sm);
}

.art-service-layout {
	/* 24px + the selector heading's own ~8px trailing gap keeps the real
	   (non-content) portion of the hero-to-nav spacing inside the 24-36px
	   desktop / 20-28px mobile targets — the rest of the visible distance
	   is the "SERVICII DISPONIBILE" label itself, real content, not blank space. */
	padding-block: 24px 0;
}

/* Page-as-task pass (2026-12-04): the standalone case (no groupable panels
   below — e.g. home's cross-page teaser list) gets ordinary section
   padding on both sides, and the nav pill stops being sticky — there is
   nothing below it to scroll-spy, so a sticky pill would just float
   oddly past unrelated sections. */
.art-service-layout--standalone {
	padding-block: var(--art-section-space-compact);
}

.art-service-layout--standalone .art-service-selector__nav {
	position: static;
	top: auto;
}

/* ---- Service index (navigation) ---- */

.art-service-selector__heading {
	font-size: var(--art-font-size-small);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--art-color-text-muted);
	margin: 0 0 var(--art-space-xs);
}

.art-service-selector__nav {
	position: sticky;
	top: var(--art-service-nav-top);
	z-index: 80;
	margin-inline: calc(var(--art-space-xs) * -1);
	padding: var(--art-space-xs);
	border: var(--art-border-width) solid var(--art-color-border);
	border-radius: var(--art-radius-pill);
	background: var(--art-color-surface);
	background: color-mix(in srgb, var(--art-color-surface) 94%, transparent);
	/* Session 18: shadow_subtle read as barely-there for a sticky control
	   that stays on screen through the whole page -- shadow_card gives it
	   real presence, matching the same depth pass applied to cards. */
	box-shadow: var(--art-shadow-card);
	backdrop-filter: blur(12px);
}

.art-service-selector__list {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	margin: 0;
	padding: 0 2px;
	gap: var(--art-space-2xs);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--art-color-border-strong) transparent;
	-webkit-overflow-scrolling: touch;
}

.art-service-selector__list > li {
	flex: 0 0 auto;
}

.art-service-selector__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: var(--art-space-2xs) var(--art-space-sm);
	border-radius: var(--art-radius-pill);
	text-decoration: none;
	color: var(--art-color-text);
	font-size: var(--art-font-size-small);
	font-weight: var(--art-font-weight-strong);
	transition: background-color var(--art-duration-normal) var(--art-ease-standard), color var(--art-duration-normal) var(--art-ease-standard);
	white-space: nowrap;
}

.art-service-selector__link:hover,
.art-service-selector__link:focus-visible {
	background-color: var(--art-color-background-alt);
	color: var(--art-color-primary);
}

/* Active location — synchronised by assets/js/service-nav.js from the
   controlled query/hash/visible section. Communicated by more than color
   alone (aria-current + a bottom rule); without JavaScript every link
   remains a normal anchor. */
.art-service-selector__link.is-active,
.art-service-selector__link[aria-current="location"] {
	color: var(--art-color-primary-contrast);
	background-color: var(--art-color-primary);
	font-weight: var(--art-font-weight-strong);
}

/* ---- Service rows (page-as-task pass, 2026-12-04) ----
   Replaces the former half-page editorial "service panel" (image + two
   paragraphs + a sub-grid of "what we check" cards) with one compact row
   per service: a small photo, a one-line title + ≤12-word blurb, and a
   button straight to the embedded form — the brief's "plain list... one
   line each" shape for /servicii/. art-service-panel's old CSS (the split
   layout, the capability-list sub-grid) is retired along with it; nothing
   renders those classes any more. */

.art-service-panels {
	display: flex;
	flex-direction: column;
}

.art-service-row {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: var(--art-space-md);
	padding-block: var(--art-space-sm);
	scroll-margin-top: calc(var(--art-header-height, 76px) + var(--art-space-sm));
}

.art-service-row + .art-service-row {
	border-top: var(--art-border-width) solid var(--art-color-border);
}

.art-service-row__media {
	width: 64px;
	height: 64px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--art-radius-card);
	border: 1px solid var(--art-color-border-strong);
	background: var(--art-color-surface);
}

.art-service-row__media .art-frame__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.art-service-row__media .art-empty-slot__icon {
	width: 1.25rem;
	height: 1.25rem;
}
.art-service-row__pictogram { display: grid; width: 100%; height: 100%; place-items: center; color: var(--art-color-primary); }
.art-service-row__pictogram svg { width: 26px; height: 26px; }
.art-service-row[id] { scroll-margin-top: calc(var(--art-header-height, 76px) + var(--art-space-sm)); }
.art-service-row[id]:target { outline: 1px solid var(--art-color-border-strong); outline-offset: 2px; }
.art-service-layout:not(.art-service-layout--standalone) .art-service-selector__heading,
.art-service-layout:not(.art-service-layout--standalone) .art-service-selector__nav { display: none; }

.art-service-row__title {
	margin: 0 0 0.2em;
	font-size: var(--art-font-size-body);
}

.art-service-row__description {
	margin: 0;
	font-size: var(--art-font-size-small);
	color: var(--art-color-text-muted);
	max-width: 48ch;
}

.art-service-row__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--art-space-2xs);
	color: var(--art-color-primary);
	font-weight: var(--art-font-weight-strong);
	text-decoration: none;
	white-space: nowrap;
	min-height: 44px;
	padding-inline: var(--art-space-xs);
}

.art-service-row__cta:hover,
.art-service-row__cta:focus-visible {
	text-decoration: underline;
}

@media (max-width: 47.999em) {
	.art-service-row {
		grid-template-columns: 48px 1fr;
		grid-template-areas: "media title" "media description" "cta cta";
		row-gap: var(--art-space-2xs);
	}
	.art-service-row__media { grid-area: media; width: 48px; height: 48px; }
	.art-service-row__title { grid-area: title; }
	.art-service-row__description { grid-area: description; }
	.art-service-row__cta { grid-area: cta; padding-inline: 0; margin-top: var(--art-space-2xs); }
}

.art-section {
	padding-block: var(--art-section-space);
}

.art-section--compact {
	padding-block: var(--art-section-space-compact);
}

.art-section--surface {
	background-color: var(--art-color-background-alt);
}

.art-section-header {
	max-width: var(--art-container-narrow);
	margin-bottom: var(--art-space-lg);
	margin-inline: auto;
	text-align: center;
}

.art-section-header--center {
	margin-inline: auto;
	text-align: center;
}

/* Split image + copy is the deliberate left-aligned exception. */
.art-split-block__content .art-section-header { margin-inline: 0; text-align: left; }

.art-section-header__description {
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-lead);
	/* Session 14.4: this is always a one-to-two-sentence section intro,
	   never long body copy, FAQ answers, or form/legal text (those use
	   plain <p> without this class) — safe to opt into orphan-avoiding
	   wrapping. Browsers without support fall back to normal wrapping. */
	text-wrap: pretty;
}

/* Signature: monospace, uppercase, letter-spaced "tag" eyebrow — a nod to
   parts tickets / diagnostic-readout labels, kept to this one recurring
   motif rather than scattered decoration. */
/* De-template pass (2026-12-04): was mono font + uppercase + an orange dash
   (::before) — one of the generated-template tells the client flagged.
   Now a quiet plain-sans label, no dash, no mono, no shout-casing. */
.art-eyebrow {
	font-family: var(--art-font-primary);
	font-size: var(--art-font-size-small);
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text-muted);
	margin: 0 0 var(--art-space-xs);
	max-width: none;
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.art-utility-bar {
	background: var(--art-color-secondary);
	color: var(--art-color-secondary-contrast);
	font-size: var(--art-font-size-small);
	padding-block: var(--art-space-xs);
}

.art-site-header {
	border-bottom: var(--art-border-width) solid transparent;
	background-color: var(--art-color-surface);
	transition: border-color var(--art-duration-normal) var(--art-ease-standard), box-shadow var(--art-duration-normal) var(--art-ease-standard);
}

.art-site-header--sticky {
	position: sticky;
	top: 0;
	z-index: 100;
}

body.admin-bar .art-site-header--sticky {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 782px) {
	body.admin-bar .art-site-header--sticky {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

/* WordPress changes its mobile Admin bar from fixed to absolute at 600px,
   so it scrolls away and no longer needs a reserved sticky offset. */
@media (max-width: 600px) {
	body.admin-bar .art-site-header--sticky {
		top: 0;
	}
}

.art-site-header--compactable.is-compact {
	border-bottom-color: var(--art-color-border);
	box-shadow: var(--art-shadow-card);
}

.art-site-header--compactable.is-compact .art-site-header__inner {
	padding-block: var(--art-space-sm);
}

.art-site-header--compactable.is-compact .art-brand__logo {
	max-height: 34px;
}

/* A native jump to the embedded enquiry form scrolls past the compact-header
   threshold before navigation.js runs. Apply the same dimensions from the
   fragment target before first paint so its scroll listener cannot shift the
   header controls on arrival. */
html.art-form-anchor .art-site-header--compactable {
	border-bottom-color: var(--art-color-border);
	box-shadow: var(--art-shadow-card);
}
html.art-form-anchor .art-site-header--compactable .art-site-header__inner {
	padding-block: var(--art-space-sm);
}
html.art-form-anchor .art-site-header--compactable .art-brand__logo {
	max-height: 34px;
}

.art-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--art-space-xl);
	padding-block: var(--art-space-lg);
	transition: padding var(--art-duration-normal) var(--art-ease-standard);
}

.art-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
}

/* Session 04.6: the wordmark is currently the only "logo" (logo_id is 0
   site-wide) — giving it the display face makes the header's first
   impression read as considered rather than a plain UI label. */
.art-brand__text {
	font-family: "Fraunces", Georgia, serif;
	font-weight: var(--art-font-weight-heading);
	font-size: 1.375rem;
	color: var(--art-color-heading);
	letter-spacing: -0.01em;
}

.art-brand__logo {
	max-height: 44px;
	width: auto;
	transition: max-height var(--art-duration-normal) var(--art-ease-standard);
}

.art-primary-nav > ul {
	display: flex;
	align-items: center;
	gap: var(--art-space-2xs);
}

.art-primary-nav li {
	position: relative;
}

/* Session 08: the previous version's clickable area was the text glyphs
   plus 4px of vertical padding and no horizontal padding at all — measured
   at 30px tall with zero breathing room (see docs/DESIGN-SYSTEM.md
   "Session 08 — header interaction targets"). Every top-level link is now
   a full 44px-tall, padded target with its own hover "pill" background,
   so the whole padded box is visibly and actually clickable — not just
   the letters. */
.art-primary-nav a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.4em;
	color: var(--art-color-text);
	text-decoration: none;
	padding: 0.75rem 0.85rem;
	min-height: 44px;
	border-radius: var(--art-radius-pill);
	font-size: var(--art-font-size-small);
	font-weight: var(--art-font-weight-strong);
	white-space: nowrap;
	transition: background-color var(--art-duration-normal) var(--art-ease-standard), color var(--art-duration-normal) var(--art-ease-standard);
}

.art-primary-nav a:hover,
.art-primary-nav a:focus-visible {
	color: var(--art-color-primary);
	background-color: var(--art-color-background-alt);
}

.art-primary-nav .current-menu-item > a,
.art-primary-nav .current-menu-ancestor > a {
	color: var(--art-color-primary);
	background-color: var(--art-color-background-alt);
}

/* Session 18: the hover pill and the "you are here" pill were previously
   identical, so the active page only read correctly while the mouse was
   elsewhere -- a small accent mark makes the current page state visible
   on its own, distinct from a hover interaction. */
.art-primary-nav .current-menu-item > a::after,
.art-primary-nav .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.3rem;
	height: 2px;
	border-radius: var(--art-radius-pill);
	background-color: var(--art-color-accent);
}

/* Session 18.1: the primary navigation is now fully flat — the
   "Închirieri auto" dropdown (chevron + hover/focus submenu panel) was
   removed at the data layer (Migration_202607310001_Flatten_Rental_Navigation),
   so the chevron `::before`, the `.sub-menu` panel and its hover/focus-within
   reveal rules that used to live here have been deleted with it. No primary
   menu item has children any more; the two rental paths (standard + Bolt)
   are discovered on the rental page itself. If a genuine dropdown is ever
   wanted again, reintroduce both the menu structure and this CSS together. */

/* The ordinary brand teal is tuned for light surfaces. Rental sections
   introduced an inverse editorial band and inverse closing CTA, where the
   same color measured only 2.79:1. Keep the brand hue but use its controlled
   light-surface counterpart on graphite so small eyebrow text remains AA. */
.art-section--inverse .art-eyebrow,
.art-global-cta--inverse .art-eyebrow {
	color: var(--art-color-primary-on-dark);
}

.art-header-actions {
	display: flex;
	align-items: center;
	gap: var(--art-space-lg);
}

.art-header-actions__link,
.art-header-actions__phone {
	white-space: nowrap;
	font-family: var(--art-font-primary);
	font-size: var(--art-font-size-small);
	text-decoration: none;
	color: var(--art-color-text-muted);
	transition: color var(--art-duration-normal) var(--art-ease-standard);
}

.art-header-actions__link:hover,
.art-header-actions__phone:hover {
	color: var(--art-color-primary);
}

.art-nav-toggle {
	display: none;
}

@media (max-width: 63.999em) {
	.art-primary-nav {
		display: none;
	}

	/* Session 14: hiding only __link/__cta left .art-header-actions itself
	   as a zero-size but still-flex participating child of
	   .art-site-header__inner's justify-content:space-between — an empty
	   0x0 box still claims the "last" position in the distribution, which
	   dragged .art-nav-toggle out of the right edge into the middle of the
	   row (confirmed via Playwright boundingClientRect at 320-480px: the
	   toggle's right edge sat well short of the container's right edge).
	   Mobile already gets phone/CTA access via the quick-contact bar
	   (Session 13) and the drawer's own CTA button, so the whole box can
	   be removed from the mobile flex row instead of just its children. */
	.art-header-actions {
		display: none;
	}

	.art-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: var(--art-border-width) solid var(--art-color-border);
		background: none;
		border-radius: var(--art-radius-button);
		cursor: pointer;
	}

	.art-nav-toggle__icon,
	.art-nav-toggle__icon::before,
	.art-nav-toggle__icon::after {
		display: block;
		width: 20px;
		height: 2px;
		background: currentColor;
		position: relative;
	}

	.art-nav-toggle__icon::before,
	.art-nav-toggle__icon::after {
		content: "";
		position: absolute;
	}

	.art-nav-toggle__icon::before {
		top: -6px;
	}

	.art-nav-toggle__icon::after {
		top: 6px;
	}
}

/* ==========================================================================
   7. Mobile navigation
   ========================================================================== */

.art-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--art-color-surface);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--art-duration-normal) var(--art-ease-emphasized);
}

.art-mobile-nav[hidden] {
	display: block;
	visibility: hidden;
}

.art-mobile-nav.is-open {
	transform: translateX(0);
	visibility: visible;
}

.art-mobile-nav__inner {
	padding: var(--art-space-lg) var(--art-page-gutter);
}

.art-mobile-nav__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--art-space-lg);
}

.art-mobile-nav__close {
	width: 44px;
	height: 44px;
	border: var(--art-border-width) solid var(--art-color-border);
	background: none;
	border-radius: var(--art-radius-button);
	font-size: 1.5rem;
	cursor: pointer;
}

.art-mobile-nav__list li {
	border-bottom: var(--art-border-width) solid var(--art-color-border);
}

.art-mobile-nav__list a {
	display: block;
	padding: var(--art-space-md) 0;
	color: var(--art-color-text);
	text-decoration: none;
	font-size: var(--art-font-size-lead);
}

/* Session 18.1: the mobile submenu styling was removed together with the
   rental dropdown (the mobile nav renders the same now-flat primary menu, so
   no `.sub-menu` list is ever produced). */

.art-mobile-nav__list .current-menu-item > a,
.art-mobile-nav__list .current-menu-ancestor > a {
	color: var(--art-color-primary);
	font-weight: var(--art-font-weight-strong);
}

body.art-nav-open {
	overflow: hidden;
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

/* Session 14: button-size correction against explicit measured targets
   (desktop 42-48px height / 18-26px horizontal padding / 15-17px label;
   mobile 44-48px / 16-22px / 15-16px). The default variant's 44px
   min-height and 16px label were already inside range; horizontal padding
   trimmed 24px -> 22px to sit mid-range instead of at its top edge. */
.art-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--art-space-xs);
	padding: 0.75rem 1.375rem;
	border-radius: var(--art-radius-button);
	background-color: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
	text-decoration: none;
	font-weight: var(--art-font-weight-strong);
	border: var(--art-border-width) solid transparent;
	cursor: pointer;
	min-height: 44px;
	/* Session 14: buttons inherited body's line-height:1.6, which alone adds
	   ~25.6px of text-box height at the 16px label size — that's why
	   min-height floors kept getting silently overridden by real rendered
	   height across every variant (measured: 51.6px actual vs. a 44-48px
	   target, despite matching padding numbers). A button label is a single
	   short line, not body copy, so a tight line-height is the correct fix
	   here rather than re-shrinking padding on each variant individually. */
	line-height: 1.2;
	/* Session 04.6: a subtle lift + shadow on hover (the emphasized easing
	   token, previously unused outside .art-reveal) — restrained (1px, one
	   shadow step), not a bouncy/flashy effect. */
	transition:
		background-color var(--art-duration-normal) var(--art-ease-standard),
		transform var(--art-duration-fast) var(--art-ease-emphasized),
		box-shadow var(--art-duration-fast) var(--art-ease-emphasized);
}

.art-button:hover,
.art-button:focus-visible {
	background-color: var(--art-color-primary-hover);
	color: var(--art-color-primary-contrast);
	transform: translateY(-1px);
	box-shadow: var(--art-shadow-card);
}

.art-button:active {
	background-color: var(--art-color-primary-active);
	transform: translateY(0);
	box-shadow: none;
}

.art-button--link:hover,
.art-button--link:focus-visible {
	transform: none;
	box-shadow: none;
}

.art-button--secondary {
	background-color: var(--art-color-secondary);
	color: var(--art-color-secondary-contrast);
}

.art-button--secondary:hover,
.art-button--secondary:focus-visible {
	background-color: var(--art-color-secondary-hover);
}

.art-button--outline {
	background-color: transparent;
	color: var(--art-color-primary);
	border-color: var(--art-color-primary);
}

.art-button--outline:hover,
.art-button--outline:focus-visible {
	background-color: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
}

.art-button--ghost {
	background-color: transparent;
	color: var(--art-color-text);
	border-color: transparent;
}

.art-button--ghost:hover,
.art-button--ghost:focus-visible {
	background-color: var(--art-color-background-alt);
	color: var(--art-color-text);
}

.art-button--inverse {
	background-color: var(--art-color-surface);
	color: var(--art-color-secondary);
}

.art-button--inverse:hover,
.art-button--inverse:focus-visible {
	background-color: var(--art-color-background-alt);
	color: var(--art-color-secondary);
}

.art-button--link {
	background: none;
	border: none;
	color: var(--art-color-primary);
	padding: 0;
	min-height: 0;
	text-decoration: underline;
}

.art-button--link:hover,
.art-button--link:focus-visible {
	background: none;
	color: var(--art-color-primary-hover);
}

.art-button--danger {
	background-color: var(--art-color-error);
	color: #fff;
}

.art-button--small {
	padding: 0.5rem 1rem;
	font-size: var(--art-font-size-small);
	min-height: 36px;
}

/* Session 14: 1rem/2rem padding (16/32px) plus the 18px lead font pushed
   the real rendered height to ~53px and horizontal padding to 32px, both
   over the 42-48px / 18-26px desktop targets (measured on hero CTAs,
   the most visually prominent buttons flagged as oversized). Dropping to
   the body font size (16px, still inside the 15-17px label target) and a
   fixed 48px min-height brings it to the top of both ranges instead of
   past them, without shrinking the tap target below 44px on mobile. */
.art-button--large {
	padding: 0.75rem 1.375rem;
	font-size: var(--art-font-size-body);
	min-height: 48px;
}

.art-button[disabled],
.art-button[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 47.999em) {
	.art-button--full-mobile {
		display: flex;
		width: 100%;
	}
}

/* ==========================================================================
   9. Cards
   ========================================================================== */

/* Flexbox, not CSS Grid: an incomplete final row centers its own cards
   (justify-content) with a capped width (max-width on each card) instead
   of stretching to fill — a card grid CSS Grid's `1fr` tracks cannot do
   without an item ending up alone at the row's left edge. See
   docs/DESIGN-SYSTEM.md "Session 06 — compositional centering". */
/* Session 11: margin-bottom trimmed --art-space-lg (32px) -> --art-space-md
   (20px) — tighter card-grid-to-next-section transition. */
.art-card-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--art-space-lg);
	margin-bottom: var(--art-space-md);
}

.art-card-grid > * {
	flex: 1 1 240px;
	max-width: 360px;
	min-width: 0; /* flex items holding an image frame must be able to shrink below their content size */
}

/* ---- Action tiles (page-as-task pass, 2026-12-04) ----
   Home's "put the action in front of the visitor" requirement: up to 4
   large, equally-weighted buttons. A thin border, not a shadow or a card
   component — these are controls, not content cards. */
.art-action-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--art-space-sm);
}

.art-action-tiles__heading {
	margin: 0 0 var(--art-space-md);
}

.art-action-tiles__tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--art-space-sm);
	text-align: center;
	padding: var(--art-space-sm);
	min-height: 76px;
	border: var(--art-border-width) solid var(--art-color-border-strong);
	border-radius: var(--art-radius-card);
	color: var(--art-color-heading);
	text-decoration: none;
	font-weight: var(--art-font-weight-strong);
	transition: border-color var(--art-hover-duration) var(--art-ease-out), transform var(--art-hover-duration) var(--art-ease-out);
}

@media (max-width: 47.999em) {
	.art-action-tiles__tile { min-height: 48px; flex-direction: row; justify-content: flex-start; text-align: left; gap: var(--art-space-xs); padding: var(--art-space-xs); font-size: var(--art-font-size-small); }
	.art-action-tiles__icon svg { width: 22px; height: 22px; }
}

.art-action-tiles__tile:hover,
.art-action-tiles__tile:focus-visible {
	border-color: var(--art-color-primary);
	transform: translateY(var(--art-lift-distance));
}

.art-action-tiles__icon {
	display: inline-flex;
	color: var(--art-color-primary);
}

.art-action-tiles__icon svg {
	width: 28px;
	height: 28px;
}

@media (min-width: 64em) {
	.art-fleet__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 47.999em) {
	.art-fleet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.art-fleet__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--art-space-md)) / 2); }
	.art-action-tiles { grid-template-columns: 1fr; }
}

/* Session 11: padding trimmed --art-space-lg (32px) -> 1.5rem (24px) —
   inside the 24-28px desktop / 20-24px mobile card-padding target at both
   ends at once, without a separate mobile override. */
/* De-template pass (2026-12-04): was a soft resting box-shadow (shadow_card)
   on every card — one of the generated-template tells the client flagged.
   A thin border_strong now carries the whole job .art-card--bordered used
   to carry alone; that modifier is kept (now a no-op alias) so nothing
   calling it breaks. */
.art-card {
	position: relative;
	background-color: var(--art-color-surface);
	border: var(--art-border-width) solid var(--art-color-border-strong);
	border-radius: var(--art-radius-card);
	box-shadow: none;
	padding: 1.5rem;
}

.art-card--elevated {
	box-shadow: none;
	border-color: var(--art-color-border-strong);
}

.art-card--bordered {
	box-shadow: none;
	border-color: var(--art-color-border-strong);
}

/* Session 04.6: the emphasized easing + a faster duration (matches the
   button hover refresh above) reads snappier/more premium than the
   previous standard-ease/normal-duration pairing. */
.art-card--interactive {
	transition: box-shadow var(--art-hover-duration) var(--art-ease-out), transform var(--art-hover-duration) var(--art-ease-out), border-color var(--art-hover-duration) var(--art-ease-out);
}

/* De-template pass: hover affordance is now the border going to full
   --color-primary + the existing lift, not a floating glow. */
.art-card--interactive:hover {
	box-shadow: none;
	border-color: var(--art-color-primary);
	transform: translateY(var(--art-lift-distance));
}

.art-card--inverse {
	background-color: var(--art-color-surface-inverse);
	color: var(--art-color-text-inverse);
	border-color: transparent;
}

.art-card--inverse h3,
.art-card--inverse h4 {
	color: var(--art-color-text-inverse);
}

.art-card--accent {
	border-color: var(--art-color-accent);
	border-width: 2px;
}

.art-card__title {
	margin-bottom: var(--art-space-xs);
}

.art-card__link-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.art-card__link-cover {
	color: inherit;
	text-decoration: none;
}

.art-card__description,
.art-card__meta {
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-small);
}

/* ==========================================================================
   10. Alerts / badges
   ========================================================================== */

.art-alert {
	border-radius: var(--art-radius-input);
	padding: var(--art-space-sm) var(--art-space-md);
	max-width: none;
	font-size: var(--art-font-size-small);
}

.art-alert--success {
	background: var(--art-color-success-bg);
	color: var(--art-color-success);
}

.art-alert--warning {
	background: var(--art-color-warning-bg);
	color: var(--art-color-warning);
}

.art-alert--error {
	background: var(--art-color-error-bg);
	color: var(--art-color-error);
}

.art-alert--info {
	background: var(--art-color-info-bg);
	color: var(--art-color-info);
}

.art-alert-demo {
	display: flex;
	flex-direction: column;
	gap: var(--art-space-sm);
	max-width: var(--art-container-narrow);
	margin-bottom: var(--art-space-md);
}

/* Session 04.6: a flat neutral-gray badge read as muted/dated for what's
   meant to be a small highlight tag (hero badge, service-card badge) — an
   accent-tinted treatment gives it real presence. color-accent-text (not
   color-accent-hover) is the token measured for standalone run-on text
   use (5.6:1 on white — see docs/DESIGN-SYSTEM.md). */
.art-badge {
	display: inline-block;
	font-family: var(--art-font-primary);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.6rem;
	border-radius: var(--art-radius-pill);
	background: var(--art-color-background-alt);
	background: color-mix(in srgb, var(--art-color-accent) 12%, var(--art-color-surface));
	color: var(--art-color-accent-text, var(--art-color-text));
	border: 1px solid transparent;
	border-color: color-mix(in srgb, var(--art-color-accent) 25%, transparent);
}

/* ==========================================================================
   11. Global CTA
   ========================================================================== */

.art-global-cta--surface {
	background-color: var(--art-color-background-alt);
}

.art-global-cta--primary {
	background-color: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
}

/* Description color for the colored CTA variants is set in sections.css
   (which loads after this file and so wins over its
   `.art-section .art-section-header__description` body-text rule at equal
   specificity). Only the heading is set here. */
.art-global-cta--primary h2 {
	color: var(--art-color-primary-contrast);
}

.art-global-cta--inverse {
	background-color: var(--art-color-surface-inverse);
	color: var(--art-color-text-inverse);
}

.art-global-cta--inverse h2 {
	color: var(--art-color-text-inverse);
}

.art-global-cta--center .art-section-header,
.art-global-cta--center .art-global-cta__actions {
	text-align: center;
	margin-inline: auto;
}

.art-global-cta--center .art-global-cta__actions {
	justify-content: center;
}

/* max-width: none overrides the global `p { max-width: 65ch }` reading-
   measure reset — same structural-<p>-as-flex-container issue fixed on
   .art-page-hero__actions in Session 09; without it this box also sits
   off-axis instead of spanning its container. */
.art-global-cta__actions {
	display: flex;
	gap: var(--art-space-md);
	flex-wrap: wrap;
	max-width: none;
}

/* ==========================================================================
   13. Hero
   ========================================================================== */

.art-hero {
	max-width: var(--art-container-narrow);
}

.art-hero__intro {
	font-size: var(--art-font-size-lead);
	color: var(--art-color-text-muted);
	text-wrap: pretty; /* short hero intro only, same reasoning as .art-section-header__description above */
}

/* ==========================================================================
   14. Footer
   ========================================================================== */

/* Session 18: a plain neutral border-top read as an afterthought rather
   than a deliberate close to the page -- a 2px accent line borrows the
   same "instrument readout" signature already used for eyebrows/section
   dividers elsewhere, so the footer closes the experience on-brand. */
.art-site-footer {
	border-top: 2px solid var(--art-color-accent);
	background-color: var(--art-color-background-alt);
	color: var(--art-color-text-muted);
}

/* Session 11: padding-block trimmed --art-space-lg (32px) -> --art-space-md
   (20px) on both the final-CTA band and the footer column grid. */
.art-footer-cta {
	background: var(--art-color-secondary);
	color: var(--art-color-secondary-contrast);
	padding-block: var(--art-space-md);
	text-align: center;
}

.art-footer-cta h2 {
	color: var(--art-color-secondary-contrast);
}

.art-site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--art-space-md) var(--art-space-xl);
	padding-block: var(--art-space-md);
}

/* Session 04.6: a deliberate exception to the global h1-h6 Fraunces rule —
   at this small size (h4/18px), the display serif loses clarity; Inter
   (with the strong weight to still read as a heading) is reserved for
   this size, Fraunces for larger moments only. */
.art-footer-col__heading {
	font-family: var(--art-font-primary);
	font-weight: var(--art-font-weight-strong);
	font-size: var(--art-font-size-small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--art-color-text);
	margin-bottom: var(--art-space-sm);
}

.art-footer-col__intro-title {
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text);
}

.art-footer-col__list li {
	margin-bottom: var(--art-space-xs);
}

.art-footer-col__list a {
	color: var(--art-color-text-muted);
	text-decoration: none;
	/* Drawn underline: grows from the left on hover/focus rather than snapping
	   on — see the .art-inline-link treatment (one shared idea, motion pass). */
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% var(--art-underline-weight);
	transition: background-size var(--art-hover-duration) var(--art-ease-out), color var(--art-hover-duration) var(--art-ease-standard);
}

.art-footer-col__list a:hover,
.art-footer-col__list a:focus-visible {
	color: var(--art-color-primary);
	background-size: 100% var(--art-underline-weight);
}

/* Reusable inline text-link: keeps an underline at rest (accessibility — a
   prose link must be distinguishable without colour), and thickens it with a
   colour shift on hover/focus rather than snapping state. Applied to genuine
   in-prose links (legal pages, running copy). One shared treatment. */
.art-inline-link,
.art-entry-content a,
.art-legal a {
	color: var(--art-color-primary);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 100% var(--art-underline-weight);
	transition: background-size var(--art-hover-duration) var(--art-ease-out), color var(--art-hover-duration) var(--art-ease-standard);
}

.art-inline-link:hover,
.art-inline-link:focus-visible,
.art-entry-content a:hover,
.art-entry-content a:focus-visible,
.art-legal a:hover,
.art-legal a:focus-visible {
	color: var(--art-color-primary-hover);
	background-size: 100% calc(var(--art-underline-weight) * 2);
}

.art-social-links {
	display: flex;
	gap: var(--art-space-sm);
	margin-top: var(--art-space-md);
}

.art-social-links a {
	color: var(--art-color-text-muted);
	display: inline-flex;
}

.art-social-links a:hover {
	color: var(--art-color-primary);
}

/* Compact base band — copyright + legal links on one row, identity + dev
   credit as a smaller muted sub-line beneath. Previously the legal links
   rendered as a vertical <ul> and each block stacked, so the footer base read
   as a second footer (owner defect, 2026-08-02). */
.art-site-footer__legal {
	border-top: var(--art-border-width) solid var(--art-color-border);
	padding-block: var(--art-space-md);
	display: flex;
	flex-direction: column;
	gap: var(--art-space-xs);
	font-size: var(--art-font-size-small);
}

.art-site-footer__legal-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--art-space-xs) var(--art-space-md);
}

.art-site-footer__legal p {
	max-width: none;
	margin: 0;
}

.art-site-footer__copyright {
	color: var(--art-color-text);
	font-weight: var(--art-font-weight-strong);
}

/* Identity + dev credit share one small muted line. */
.art-site-footer__legal-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--art-space-xs) var(--art-space-md);
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-xsmall, var(--art-font-size-small));
}

.art-site-footer__identity {
	color: var(--art-color-text-muted);
}

/* Legal menu: one horizontal line, dot-separated — not the vertical column list. */
.art-site-footer__legal .art-footer-col__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--art-space-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.art-site-footer__legal .art-footer-col__list li {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.art-site-footer__legal .art-footer-col__list li:not(:first-child)::before {
	content: "·";
	margin-right: var(--art-space-sm);
	color: var(--art-color-border);
}

.art-footer-developer-credit a {
	color: var(--art-color-text-muted);
}

/* ==========================================================================
   15. Forms
   ========================================================================== */

label {
	display: block;
	font-weight: var(--art-font-weight-strong);
	margin-bottom: var(--art-space-2xs);
}

.art-form-help {
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-small);
}

.art-form-required {
	color: var(--art-color-error);
}

/* Session 18: the form previously sat directly on the section's own
   background color with no framing — reads as fields dropped onto a
   color block rather than a contained, intentional module. A raised
   surface panel gives it real presence, especially on a tinted section
   background (surface/inverse/default all contrast against pure white). */
/* De-template pass (2026-12-04): was shadow_elevated (a floating-panel
   look); a thin border_strong frames the form instead, same device as
   every other panel/card in this pass. */
.art-form-panel {
	background-color: var(--art-color-surface);
	border: var(--art-border-width) solid var(--art-color-border-strong);
	border-radius: var(--art-radius-panel);
	box-shadow: none;
	padding: var(--art-space-2xl) var(--art-space-xl);
}

@media (max-width: 47.999em) {
	.art-form-panel {
		padding: var(--art-space-xl) var(--art-space-lg);
	}
}

.art-field {
	margin-bottom: var(--art-space-md);
}

/* Session 04.6: a premium form should feel considered, not like unstyled
   default HTML — a distinct label treatment (small, weighted, spaced)
   reads as "designed" rather than a browser default. */
.art-field > label {
	display: block;
	margin-bottom: var(--art-space-xs);
	font-size: var(--art-font-size-small);
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text);
}

.art-form-row--two {
	display: grid;
	gap: var(--art-space-md);
}

@media (min-width: 40em) {
	.art-form-row--two {
		grid-template-columns: 1fr 1fr;
	}
}

.art-field--checkbox {
	display: flex;
}

.art-form-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: var(--art-space-xs);
	font-weight: var(--art-font-weight-body);
	font-size: var(--art-font-size-small);
	color: var(--art-color-text-muted);
}

.art-form-checkbox-label input[type="checkbox"] {
	width: auto;
	margin-top: 0.2em;
	flex-shrink: 0;
}

/* Honeypot: invisible to sighted users and excluded from the tab order
   (tabindex="-1" in the markup); a form-filling bot that ignores CSS/ARIA
   will still find and fill it, which is the whole point. */
.art-form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="date"],
textarea,
select {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: var(--art-border-width) solid var(--art-color-border);
	border-radius: var(--art-radius-input);
	font-family: inherit;
	font-size: 1rem;
	background: var(--art-color-surface);
	color: var(--art-color-text);
	/* Session 04.6: the global :focus-visible outline (accessibility floor,
	   kept unconditionally) is joined by a border-color + soft glow on
	   focus for a more considered feel — additive, not a replacement. */
	transition: border-color var(--art-duration-fast) var(--art-ease-standard), box-shadow var(--art-duration-fast) var(--art-ease-standard);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="search"]:hover,
input[type="date"]:hover,
textarea:hover,
select:hover {
	border-color: var(--art-color-border-strong);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	border-color: var(--art-color-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--art-color-primary) 15%, transparent);
}

input:disabled,
textarea:disabled,
select:disabled {
	background: var(--art-color-background-alt);
	color: var(--art-color-text-muted);
}

.art-field--error input,
.art-field--error textarea {
	border-color: var(--art-color-error);
}

.art-field--success input,
.art-field--success textarea {
	border-color: var(--art-color-success);
}

/* Make/model picker (Task 1). No-JS: two native cascading <select>s + always-
   visible free-text fallbacks. vehicle-picker.js adds the .art-vp--enhanced
   combobox: the native <select> is kept for submission but visually removed,
   and a filterable text input + listbox stands in its place. All colour/spacing
   from the token layer — no hardcoded values. */
.art-vp__combo {
	position: relative;
}
/* room for the chevron so long labels never underlap it */
.art-vp--enhanced .art-vp__input {
	padding-right: 2.6rem;
}
/* the browse chevron — opens the full list on click/tap */
.art-vp__toggle {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	height: 100%;
	width: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--art-color-text-muted);
	cursor: pointer;
}
.art-vp__toggle:hover {
	color: var(--art-color-text);
}
.art-vp__toggle svg {
	transition: transform var(--art-duration-fast) var(--art-ease-standard);
}
.art-vp__input[aria-expanded="true"] ~ .art-vp__toggle svg {
	transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
	.art-vp__toggle svg { transition: none; }
}
.art-vp--enhanced .art-vp__native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}
.art-vp__input[aria-expanded="true"] {
	border-color: var(--art-color-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--art-color-primary) 15%, transparent);
}
.art-vp__list {
	position: absolute;
	z-index: 20;
	inset-inline: 0;
	top: calc(100% + 4px);
	margin: 0;
	padding: var(--art-space-xs);
	list-style: none;
	max-height: 16rem;
	overflow-y: auto;
	background: var(--art-color-surface);
	border: var(--art-border-width) solid var(--art-color-border-strong);
	border-radius: var(--art-radius-input);
	box-shadow: var(--art-elev-media);
}
.art-vp__opt {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0.5rem 0.6rem;
	border-radius: var(--art-radius-input);
	color: var(--art-color-text);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1.3;
}
/* touch: larger hit targets, comfortable to tap at 390px */
@media (pointer: coarse) {
	.art-vp__opt {
		min-height: 44px;
		padding: 0.65rem 0.75rem;
	}
}
.art-vp__opt.is-active,
.art-vp__opt:hover {
	background: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
}
.art-vp__opt--empty {
	color: var(--art-color-text-muted);
	cursor: default;
}
.art-vp__opt--empty.is-active,
.art-vp__opt--empty:hover {
	background: transparent;
	color: var(--art-color-text-muted);
}

fieldset {
	border: var(--art-border-width) solid var(--art-color-border);
	border-radius: var(--art-radius-card);
	padding: var(--art-space-md);
	margin: 0 0 var(--art-space-md);
}

legend {
	font-weight: var(--art-font-weight-strong);
	padding-inline: var(--art-space-xs);
}

/* ==========================================================================
   16. Empty states / 404
   ========================================================================== */

.art-error-page,
.art-empty-state {
	text-align: center;
	padding-block: var(--art-section-space-compact);
	max-width: var(--art-container-narrow);
	margin-inline: auto;
}

.art-error-page__routes {
	margin-top: var(--art-space-xl);
}

.art-error-page__routes-label {
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-small);
	margin-bottom: var(--art-space-sm);
}

.art-error-page__routes ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--art-space-sm) var(--art-space-lg);
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ==========================================================================
   18. Mobile quick-contact bar (Session 13)
   Fixed Sună/WhatsApp bar, mobile only — hidden entirely above the
   existing mobile-nav breakpoint (47.999em, matching every other
   mobile-only rule in this file). z-index 150 sits below the mobile-nav
   overlay (200) so an open menu visually covers it; `body.art-nav-open`
   also hides it outright (see inc/navigation.js), not relying on
   stacking alone. `env(safe-area-inset-bottom)` keeps it clear of home
   indicators on notched phones.
   ========================================================================== */

.art-quick-contact-bar {
	display: none;
}

@media (max-width: 48em) {
	body.art-has-quick-contact-bar {
		padding-bottom: 0;
	}

	.art-quick-contact-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 150;
		box-shadow: var(--art-shadow-floating);
		padding-bottom: env(safe-area-inset-bottom);
	}

	body.art-nav-open .art-quick-contact-bar {
		display: none;
	}

	.art-quick-contact-bar__action {
		flex: 1 1 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		font-weight: var(--art-font-weight-strong);
		text-decoration: none;
		color: var(--art-color-primary-contrast);
	}

	.art-quick-contact-bar__action--phone {
		background-color: var(--art-color-primary);
	}

	.art-quick-contact-bar__action--whatsapp {
		background-color: var(--art-color-success);
	}
}

/* ==========================================================================
   19. Print
   ========================================================================== */

@media print {
	.art-site-header,
	.art-site-footer,
	.art-nav-toggle,
	.art-mobile-nav,
	.art-utility-bar,
	.art-quick-contact-bar {
		display: none;
	}
}

/* ==========================================================================
   20. Floating WhatsApp button (Task 3)
   Desktop + tablet only (>=48em) — below that, the mobile quick-contact bar
   carries WhatsApp, so the two never coexist or overlap. z-index sits below the
   consent banner + open pickers (1000/999) so it never covers them; JS raises it
   above the consent banner geometrically while that banner is shown.
   ========================================================================== */
.art-wa-fab { display: none; }

@media (min-width: 48.001em) {
	.art-wa-fab {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		right: clamp(1rem, 2.5vw, 1.75rem);
		bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background-color: var(--art-color-success);
		color: #fff;
		box-shadow: var(--art-shadow-floating);
		z-index: 90;
		transition: bottom 200ms var(--art-ease-standard, ease), transform 160ms var(--art-ease-standard, ease);
		animation: art-wa-in 320ms var(--art-ease-standard, ease) both;
	}
	.art-wa-fab:hover { transform: translateY(-2px); }
	.art-wa-fab:focus-visible { outline: 3px solid var(--art-color-focus); outline-offset: 3px; }
	.art-wa-fab__icon { display: block; }
	/* While the consent banner is shown, sit above it (its inner is ~64–96px tall). */
	.art-wa-fab--raised { bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 96px + env(safe-area-inset-bottom, 0px)); }
	/* The consent script reveals its server-rendered banner after first paint.
	   Reserve the raised position from markup presence so the fixed WhatsApp
	   control does not jump when that script removes `hidden`. */
	body:has(#art-consent) .art-wa-fab { bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 96px + env(safe-area-inset-bottom, 0px)); }
}

@keyframes art-wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
	.art-wa-fab { animation: none; transition: none; }
	.art-wa-fab:hover { transform: none; }
}

/* Phone-first footer and menu: compact, centered contact details with two short link columns. */
@media (max-width: 48em) {
	.art-mobile-nav { min-height: 100svh; min-height: 100dvh; }
	.art-mobile-nav__inner { min-height: 100svh; min-height: 100dvh; padding-top: max(var(--art-space-lg), env(safe-area-inset-top)); padding-bottom: calc(var(--art-space-lg) + env(safe-area-inset-bottom)); }
	.art-mobile-nav__list a { min-height: 48px; display: flex; align-items: center; padding-block: var(--art-space-sm); }
	.art-mobile-nav__close, .art-nav-toggle { min-width: 48px; min-height: 48px; }
	.art-site-footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
	.art-site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--art-space-md) var(--art-space-sm); padding-block: var(--art-space-lg); }
	.art-footer-col--brand, .art-footer-col--contact { grid-column: 1 / -1; }
	.art-footer-col--brand { text-align: center; }
	.art-footer-col--brand .art-social-links { justify-content: center; }
	.art-footer-col--nav-primary, .art-footer-col--nav-secondary { min-width: 0; text-align: center; }
	.art-footer-col--nav-primary .art-footer-col__heading, .art-footer-col--nav-secondary .art-footer-col__heading { text-align: center; }
	.art-footer-col__list { padding-inline: 0; list-style: none; }
	.art-footer-col__list li { margin: 0; }
	.art-footer-col__list a { display: flex; min-height: 44px; align-items: center; justify-content: center; text-align: center; }
	.art-footer-col--contact { text-align: center; }
	.art-footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--art-space-sm) var(--art-space-md); list-style: none; margin: 0; padding: 0; }
	.art-footer-contact li { min-width: min(100%, 9rem); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
	.art-footer-contact__label { color: var(--art-color-text-muted); font: 400 var(--art-font-size-xsmall, var(--art-font-size-small))/1.2 var(--art-font-primary); }
	.art-footer-contact a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: var(--art-color-text); text-decoration: none; font: 600 var(--art-font-size-small)/1.3 var(--art-font-primary); overflow-wrap: anywhere; }
	.art-footer-contact strong { font-weight: inherit; }
	.art-footer-contact__hours { flex-basis: 100%; }
	.art-footer-contact__hours > span:last-child { font: 400 var(--art-font-size-small)/1.35 var(--art-font-primary); }
	.art-site-footer__legal { align-items: center; text-align: center; }
	.art-site-footer__legal-row, .art-site-footer__legal-meta { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
	.art-site-footer__legal .art-footer-col__list { justify-content: center; gap: 0 var(--art-space-xs); }
	.art-site-footer__legal .art-footer-col__list a { min-height: 44px; padding-inline: var(--art-space-2xs); }
	.art-site-footer__legal .art-footer-col__list li:not(:first-child)::before { margin-right: var(--art-space-xs); }
	.art-site-footer__identity { font-size: var(--art-font-size-xsmall, var(--art-font-size-small)); line-height: 1.4; }
	.art-social-links a { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}
