/* ==========================================================================
   AL Manzalawy Auto — Front-end design system (RTL, Cairo)
   Brand: Royal Blue #09377E · Golden Yellow #F6B900 · Dark Navy #07162C
   All selectors are scoped under .ama-root to avoid theme conflicts.
   ========================================================================== */

:root {
	--ama-primary: #09377E;
	--ama-accent: #F6B900;
	--ama-dark: #07162C;
	--ama-light: #F4F6FA;
	--ama-bg: var(--ama-dark);
	--ama-surface: #0c2246;
	--ama-surface-2: #10295a;
	--ama-line: rgba(140, 175, 255, .16);
	--ama-line-strong: rgba(140, 175, 255, .32);
	--ama-text: #EAF0FB;
	--ama-muted: #9db0d3;
	--ama-glow: #2f7bff;
	--ama-success: #22c55e;
	--ama-danger: #ef4444;
	--ama-warn: #f59e0b;
	--ama-radius: 18px;
	--ama-radius-sm: 12px;
	--ama-shadow: 0 18px 50px -18px rgba(0, 0, 0, .65);
	--ama-shadow-glow: 0 0 0 1px rgba(80, 140, 255, .18), 0 20px 60px -25px rgba(47, 123, 255, .55);
	--ama-font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
	--ama-ease: cubic-bezier(.22, .8, .24, 1);
	--ama-header-h: 76px;
}

/* ---------- Base ---------------------------------------------------------- */
body.ama-body { margin: 0; background: var(--ama-bg); }
.ama-root, .ama-root * { box-sizing: border-box; }
.ama-root {
	direction: rtl; text-align: right;
	font-family: var(--ama-font); font-size: 16px; line-height: 1.75;
	color: var(--ama-text); background: var(--ama-bg);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
.ama-root.ama-in-theme { border-radius: var(--ama-radius); }
.ama-root img { max-width: 100%; height: auto; display: block; }
.ama-root a { color: inherit; text-decoration: none; }
.ama-root a:focus-visible, .ama-root button:focus-visible, .ama-root input:focus-visible, .ama-root select:focus-visible, .ama-root textarea:focus-visible {
	outline: 2px solid var(--ama-accent); outline-offset: 2px;
}
.ama-root button { font-family: inherit; cursor: pointer; }
.ama-root h1, .ama-root h2, .ama-root h3, .ama-root h4 { font-family: var(--ama-font); color: #fff; line-height: 1.35; margin: 0 0 .5em; font-weight: 800; letter-spacing: 0; }
.ama-root p { margin: 0 0 1em; }
.ama-root ul { margin: 0; padding: 0; list-style: none; }
.ama-root [hidden] { display: none !important; }
.ama-root .screen-reader-text, .ama-root .ama-hp, .ama-root input.ama-hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; right: 0; }
.ama-skip { position: absolute; top: -60px; right: 12px; z-index: 1000; background: var(--ama-accent); color: var(--ama-dark); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.ama-skip:focus { top: 12px; }
.ama-ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.ama-container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.ama-container--narrow { width: min(880px, 100% - 40px); }
.ama-main { min-height: 60vh; outline: none; }
.ama-h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.ama-h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.ama-h3 { font-size: 1.3rem; }
.ama-h4 { font-size: 1.08rem; }
.ama-muted { color: var(--ama-muted); }
.ama-small { font-size: .875rem; }
.ama-center { text-align: center; }
.ama-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ama-accent); font-weight: 700; font-size: .9rem; letter-spacing: .02em; margin-bottom: 10px; }
.ama-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ama-accent); border-radius: 2px; }
.ama-link { background: none; border: 0; padding: 0; color: var(--ama-accent); font-weight: 600; }
.ama-link:hover { text-decoration: underline; }

/* ---------- Buttons ------------------------------------------------------- */
.ama-btn {
	--b-bg: var(--ama-surface-2); --b-fg: #fff; --b-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--b-bd);
	background: var(--b-bg); color: var(--b-fg) !important; font-weight: 700; font-size: .98rem; line-height: 1;
	transition: transform .25s var(--ama-ease), box-shadow .25s var(--ama-ease), background .25s, border-color .25s, color .25s;
	white-space: nowrap; text-decoration: none; position: relative; isolation: isolate;
}
.ama-btn:hover { transform: translateY(-2px); }
.ama-btn:active { transform: translateY(0); }
.ama-btn[disabled], .ama-btn.is-loading { opacity: .65; pointer-events: none; }
.ama-btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: ama-spin .7s linear infinite; }
.ama-btn--gold { --b-bg: linear-gradient(135deg, #ffd34d, var(--ama-accent) 55%, #e0a400); --b-fg: var(--ama-dark); box-shadow: 0 10px 30px -10px rgba(246, 185, 0, .65); }
.ama-btn--gold:hover { box-shadow: 0 14px 34px -10px rgba(246, 185, 0, .85); }
.ama-btn--outline { --b-bg: transparent; --b-bd: var(--ama-accent); --b-fg: var(--ama-accent); }
.ama-btn--outline:hover { --b-bg: var(--ama-accent); --b-fg: var(--ama-dark); }
.ama-btn--ghost { --b-bg: rgba(255, 255, 255, .04); --b-bd: var(--ama-line-strong); }
.ama-btn--ghost:hover { --b-bd: var(--ama-accent); }
.ama-btn--glass { --b-bg: rgba(15, 40, 90, .45); --b-bd: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ama-btn--wa { --b-bg: #16a34a; --b-fg: #fff; }
.ama-btn--wa:hover { --b-bg: #15803d; }
.ama-btn--sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.ama-btn--lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.ama-btn--block { width: 100%; }
.ama-btn--icon { width: 46px; padding: 0; }
.ama-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ama-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); color: #fff; transition: .2s;
}
.ama-icon-btn:hover { border-color: var(--ama-accent); color: var(--ama-accent); }
.ama-round-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(7, 22, 44, .72); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: .2s; font-weight: 800; font-size: .72rem;
}
.ama-round-btn:hover { border-color: var(--ama-accent); color: var(--ama-accent); }
.ama-round-btn[aria-pressed="true"] { background: var(--ama-accent); color: var(--ama-dark); border-color: var(--ama-accent); }
.ama-round-btn[data-ama-fav][aria-pressed="true"] { background: #e11d48; border-color: #e11d48; color: #fff; }
.ama-round-btn[data-ama-fav][aria-pressed="true"] .ama-ico path { fill: currentColor; }
.ama-link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ama-accent); font-weight: 700; }
.ama-link-more:hover .ama-ico { transform: translateX(-4px); }
.ama-link-more .ama-ico { transition: transform .2s; }

/* ---------- Badges / chips ------------------------------------------------ */
.ama-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: rgba(7, 22, 44, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); line-height: 1.6; }
.ama-badge .ama-ico { width: 14px; height: 14px; }
.ama-badge--gold, .ama-badge--3d { background: var(--ama-accent); color: var(--ama-dark); border-color: transparent; }
.ama-badge--verified { background: rgba(34, 197, 94, .18); color: #86efac; border-color: rgba(34, 197, 94, .4); }
.ama-badge--reserved { background: rgba(245, 158, 11, .2); color: #fcd34d; border-color: rgba(245, 158, 11, .45); }
.ama-badge--sold { background: rgba(239, 68, 68, .22); color: #fca5a5; border-color: rgba(239, 68, 68, .45); }
.ama-badge--available { background: rgba(34, 197, 94, .16); color: #86efac; border-color: rgba(34, 197, 94, .35); }
.ama-badge--unavailable { background: rgba(148, 163, 184, .2); color: #cbd5e1; }
.ama-badge--demo { background: #7c3aed; border-color: transparent; }
.ama-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); color: var(--ama-text); font-size: .88rem; font-weight: 600; transition: .2s; }
.ama-chip:hover, .ama-chip.is-active, .ama-chip[aria-pressed="true"] { border-color: var(--ama-accent); color: var(--ama-accent); background: rgba(246, 185, 0, .08); }
.ama-chip--gold { border-color: var(--ama-accent); color: var(--ama-accent); }
.ama-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ama-chips--center { justify-content: center; }
.ama-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(148, 163, 184, .18); color: #cbd5e1; white-space: nowrap; }
.ama-status--new, .ama-status--pending { background: rgba(59, 130, 246, .2); color: #93c5fd; }
.ama-status--in_progress, .ama-status--quoted { background: rgba(245, 158, 11, .2); color: #fcd34d; }
.ama-status--approved, .ama-status--confirmed, .ama-status--completed { background: rgba(34, 197, 94, .18); color: #86efac; }
.ama-status--rejected, .ama-status--cancelled, .ama-status--no_show { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.ama-count-pill { font-style: normal; background: var(--ama-accent); color: var(--ama-dark); border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 800; margin-inline-start: auto; }

/* ---------- Header -------------------------------------------------------- */
.ama-header { position: sticky; top: 0; z-index: 90; height: var(--ama-header-h); background: rgba(7, 22, 44, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--ama-line); transition: background .3s, box-shadow .3s; }
.admin-bar .ama-header { top: 32px; }
.ama-header.is-scrolled { background: rgba(7, 22, 44, .96); box-shadow: 0 12px 30px -20px #000; }
.ama-header__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.ama-logo img { height: 38px; width: auto; }
.ama-nav { flex: 1; }
.ama-nav__head, .ama-nav__mobile-actions { display: none; }
.ama-menu { display: flex; align-items: center; gap: 4px; justify-content: center; }
.ama-menu > li { position: relative; }
.ama-menu a { display: block; padding: 8px 14px; border-radius: 10px; color: #dbe5f8; font-weight: 600; font-size: .95rem; transition: color .2s, background .2s; }
.ama-menu > li > a:hover, .ama-menu > .current-menu-item > a, .ama-menu > .current-menu-ancestor > a { color: var(--ama-accent); }
.ama-menu > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--ama-accent); border-radius: 0; }
.ama-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-3px); margin-inline-start: 8px; }
.ama-menu .sub-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 8px; border-radius: 14px; background: #0b1f42; border: 1px solid var(--ama-line); box-shadow: var(--ama-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ama-ease); }
.ama-menu li:hover > .sub-menu, .ama-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ama-menu .sub-menu a { padding: 9px 12px; font-weight: 500; }
.ama-menu .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--ama-accent); }
.ama-header__actions { display: flex; align-items: center; gap: 10px; }
.ama-burger { display: none; }
.ama-badge-dot { position: absolute; top: -3px; left: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e11d48; color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.ama-nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 89; }
body.ama-nav-open .ama-header { z-index: 130; }
body.ama-nav-open .ama-nav-backdrop { z-index: 120; }
.ama-nav__mobile-actions .ama-btn + .ama-btn { margin-top: 8px; }
.ama-nav__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ama-nav__quick a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); font-size: .78rem; font-weight: 700; color: #dbe5f8; }
.ama-nav__quick .ama-ico { color: var(--ama-accent); width: 22px; height: 22px; }

/* ---------- Search overlay ------------------------------------------------ */
.ama-search-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(3, 10, 24, .8); backdrop-filter: blur(10px); display: grid; place-items: start center; padding: 12vh 20px 20px; animation: ama-fade .2s; }
.ama-search-overlay__box { position: relative; width: min(760px, 100%); background: linear-gradient(160deg, #0f2a5c, #081a37); border: 1px solid var(--ama-line-strong); border-radius: 24px; padding: 34px; box-shadow: var(--ama-shadow-glow); }
.ama-search-overlay__close { position: absolute; top: 14px; left: 14px; }
.ama-smart-search { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ama-line-strong); border-radius: 999px; padding: 6px 18px 6px 6px; margin-bottom: 12px; }
.ama-smart-search > .ama-ico { color: var(--ama-accent); }
.ama-smart-search input { flex: 1; background: transparent; border: 0; color: #fff; font: inherit; padding: 10px 4px; min-width: 0; outline: none; }
.ama-smart-search__chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 8px; margin-bottom: 8px; }

/* ---------- Hero ---------------------------------------------------------- */
.ama-hero { position: relative; min-height: min(86vh, 820px); display: grid; align-content: center; padding: 70px 0 40px; overflow: hidden; isolation: isolate; }
.ama-hero__media { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(60% 55% at 30% 60%, rgba(47, 123, 255, .38), transparent 70%),
	radial-gradient(40% 40% at 85% 20%, rgba(9, 55, 126, .9), transparent 70%),
	linear-gradient(180deg, #061127, var(--ama-dark)); }
.ama-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; }
.ama-hero__slide.is-active { opacity: 1; transform: scale(1); }
.ama-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ama-hero.has-media .ama-hero__media::after, .ama-hero__media:has(video)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(7, 22, 44, .94) 0%, rgba(7, 22, 44, .55) 45%, rgba(7, 22, 44, .15) 100%), linear-gradient(0deg, var(--ama-dark), transparent 35%); }
.ama-hero__glow { position: absolute; inset: auto 0 -30% 0; height: 60%; background: radial-gradient(50% 60% at 50% 100%, rgba(47, 123, 255, .35), transparent 70%); pointer-events: none; }
.ama-hero__content { position: relative; }
.ama-hero:not(.has-media) .ama-hero__media::before { content: ""; position: absolute; left: 6%; top: 50%; width: min(46vw, 620px); aspect-ratio: 1; transform: translateY(-50%) rotateX(72deg); border-radius: 50%; border: 2px solid rgba(47, 123, 255, .55); box-shadow: 0 0 60px rgba(47, 123, 255, .45), inset 0 0 60px rgba(47, 123, 255, .3), 0 0 0 40px rgba(246, 185, 0, .04); animation: ama-pulse 5s ease-in-out infinite; }
.ama-hero__text { max-width: 640px; }
.ama-hero__title { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.2; margin: 0 0 18px; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ama-hero__title span { color: var(--ama-accent); background: linear-gradient(90deg, #ffe082, var(--ama-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ama-hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: #cfdbf2; margin-bottom: 28px; }
.ama-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ama-hero__dots { display: flex; gap: 8px; margin-top: 30px; }
.ama-hero__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .35); transition: .3s; padding: 0; }
.ama-hero__dots button.is-active { width: 30px; background: var(--ama-accent); }
.ama-hero__search { margin-top: 46px; }

/* ---------- Quick search -------------------------------------------------- */
.ama-quick-search { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; padding: 12px; border-radius: 22px; background: rgba(10, 30, 66, .72); border: 1px solid var(--ama-line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--ama-shadow-glow); }
.ama-qs-field { position: relative; display: flex; align-items: center; }
.ama-qs-field--text .ama-ico { position: absolute; right: 14px; color: var(--ama-muted); pointer-events: none; }
.ama-qs-field--text input { padding-right: 42px !important; }
.ama-qs-submit { min-height: 50px; border-radius: 14px; }

/* ---------- Form controls ------------------------------------------------- */
.ama-root input[type="text"], .ama-root input[type="search"], .ama-root input[type="email"], .ama-root input[type="tel"], .ama-root input[type="password"], .ama-root input[type="number"], .ama-root input[type="date"], .ama-root select, .ama-root textarea {
	width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 14px;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line-strong); color: #fff;
	font: inherit; font-size: .97rem; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; margin: 0;
}
.ama-root textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.ama-root select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6B900' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 16px; padding-left: 38px; }
.ama-root select option { background: #0b1f42; color: #fff; }
.ama-root select:disabled { opacity: .5; }
.ama-root input::placeholder, .ama-root textarea::placeholder { color: #8195bb; }
.ama-root input:focus, .ama-root select:focus, .ama-root textarea:focus { border-color: var(--ama-accent); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(246, 185, 0, .12); outline: none; }
.ama-root input.is-invalid, .ama-root select.is-invalid, .ama-root textarea.is-invalid { border-color: var(--ama-danger); }
.ama-root input[type="checkbox"], .ama-root input[type="radio"] { accent-color: var(--ama-accent); width: 18px; height: 18px; }
.ama-root input[type="range"] { width: 100%; accent-color: var(--ama-accent); margin-top: 8px; }
.ama-field { display: grid; gap: 6px; margin-bottom: 14px; }
.ama-field > span:first-child { font-weight: 600; font-size: .92rem; color: #cfdbf2; display: flex; align-items: center; gap: 6px; }
.ama-field b { color: var(--ama-accent); }
.ama-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.ama-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.ama-form__msg:empty { display: none; }
.ama-form__msg { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.ama-form__msg.is-success { background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .4); color: #bbf7d0; }
.ama-form__msg.is-error { background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca; }
.ama-fieldset { border: 1px solid var(--ama-line); border-radius: 14px; padding: 14px 16px 4px; margin: 6px 0 16px; }
.ama-fieldset legend { padding: 0 8px; font-weight: 700; color: var(--ama-accent); }
.ama-check-inline { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px 14px; font-weight: 500; cursor: pointer; }
.ama-checks { display: grid; gap: 4px; margin-bottom: 14px; }
.ama-checks label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.ama-range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ama-input-affix { position: relative; display: block; }
.ama-input-affix em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ama-muted); font-size: .85rem; }
.ama-input-affix input { padding-left: 52px; font-weight: 700; }
.ama-pass { position: relative; display: block; }
.ama-pass .ama-icon-btn { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: transparent; border: 0; }
.ama-radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ama-radio-cards label { position: relative; cursor: pointer; }
.ama-radio-cards input { position: absolute; opacity: 0; }
.ama-radio-cards span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--ama-line-strong); font-weight: 700; transition: .2s; }
.ama-radio-cards input:checked + span { border-color: var(--ama-accent); background: rgba(246, 185, 0, .1); color: var(--ama-accent); }
.ama-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); }
.ama-seg button, .ama-seg a { min-width: 46px; padding: 8px 14px; border-radius: 10px; border: 0; background: transparent; color: #cfdbf2; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; justify-content: center; transition: .2s; }
.ama-seg .is-active { background: var(--ama-accent); color: var(--ama-dark); }
.ama-seg--sm button { padding: 5px 12px; font-size: .85rem; }
.ama-seg--wide { display: flex; margin-bottom: 18px; }
.ama-seg--wide a { flex: 1; }

/* ---------- Cards / sections --------------------------------------------- */
.ama-card { background: linear-gradient(160deg, rgba(18, 46, 98, .78), rgba(10, 28, 60, .82)); border: 1px solid var(--ama-line); border-radius: var(--ama-radius); box-shadow: var(--ama-shadow); }
.ama-block { padding: 26px; margin-bottom: 22px; }
.ama-section { padding: clamp(46px, 7vw, 86px) 0; position: relative; }
.ama-section--dark { background: linear-gradient(180deg, transparent, rgba(9, 55, 126, .22) 30%, rgba(9, 55, 126, .22) 70%, transparent); }
.ama-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ama-section__head .ama-h2 { margin-bottom: 4px; position: relative; padding-inline-start: 16px; }
.ama-section__head .ama-h2::before { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px; background: linear-gradient(var(--ama-accent), #e0a400); }
.ama-section__head p { margin: 0; }
.ama-grid { display: grid; gap: 22px; }
.ama-grid--cars { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.ama-grid--listing { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ama-grid--features { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ama-grid--services { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ama-grid--offers { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 28px; }
.ama-grid--testimonials { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.ama-grid--report { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.ama-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.ama-split--top { align-items: start; }
.ama-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Car card ------------------------------------------------------ */
.ama-car-card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ama-ease), box-shadow .35s var(--ama-ease), border-color .35s; }
.ama-car-card:hover { transform: translateY(-6px); border-color: rgba(246, 185, 0, .45); box-shadow: var(--ama-shadow-glow); }
.ama-car-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(80% 80% at 50% 90%, #143a80, #081a37); }
.ama-car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ama-ease); }
.ama-car-card:hover .ama-car-card__media img { transform: scale(1.06); }
.ama-car-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(7, 22, 44, .85), transparent); pointer-events: none; }
.ama-car-card__badges { position: absolute; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: 75%; }
.ama-car-card__tools { position: absolute; top: 12px; left: 12px; display: grid; gap: 8px; z-index: 3; }
.ama-car-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ama-car-card__brand { font-size: .8rem; color: var(--ama-accent); font-weight: 700; min-height: 1.2em; }
.ama-car-card__title { font-size: 1.1rem; margin: 2px 0 10px; }
.ama-car-card__title a:hover { color: var(--ama-accent); }
.ama-car-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: .84rem; color: var(--ama-muted); margin-bottom: 14px; }
.ama-car-card__specs li { display: flex; align-items: center; gap: 6px; }
.ama-car-card__specs .ama-ico { color: #6f9bff; width: 16px; height: 16px; }
.ama-car-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ama-line); }
.ama-car-card.is-sold .ama-car-card__media img { filter: grayscale(.7) brightness(.7); }
.ama-price { display: flex; flex-direction: column; line-height: 1.3; }
.ama-price strong { color: var(--ama-accent); font-size: 1.12rem; font-weight: 800; }
.ama-price del { color: var(--ama-muted); font-size: .82rem; }
.ama-price small { color: var(--ama-muted); font-size: .8rem; }
.ama-price--lg strong { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.ama-price--lg { gap: 4px; margin: 10px 0 18px; align-items: flex-start; }
.ama-price-inline { color: var(--ama-accent); }
.ama-grid--scroll { grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--ama-primary) transparent; }
.ama-grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .ama-grid--scroll { grid-auto-columns: calc((100% - 66px) / 4); } }

/* ---------- Stats / features / services ---------------------------------- */
.ama-stats { margin-top: -10px; }
.ama-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.ama-stat { text-align: center; padding: 20px; border-radius: var(--ama-radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--ama-line); }
.ama-stat strong { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; }
.ama-stat span { color: var(--ama-muted); font-size: .92rem; }
.ama-feature { padding: 26px; border-radius: var(--ama-radius); background: rgba(255, 255, 255, .035); border: 1px solid var(--ama-line); transition: .3s; }
.ama-feature:hover { border-color: rgba(246, 185, 0, .5); transform: translateY(-4px); }
.ama-feature__ico, .ama-service__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(246, 185, 0, .22), rgba(246, 185, 0, .04)); color: var(--ama-accent); margin-bottom: 14px; }
.ama-feature__ico .ama-ico, .ama-service__ico .ama-ico { width: 28px; height: 28px; }
.ama-feature h3, .ama-service h3 { font-size: 1.1rem; }
.ama-feature p, .ama-service p { color: var(--ama-muted); margin: 0; font-size: .94rem; }
.ama-service { display: block; padding: 26px; border-radius: var(--ama-radius); background: linear-gradient(160deg, rgba(18, 46, 98, .6), rgba(10, 28, 60, .6)); border: 1px solid var(--ama-line); transition: .3s; }
.ama-service:hover { border-color: var(--ama-accent); box-shadow: var(--ama-shadow-glow); }
.ama-service__ico img { width: 34px; height: 34px; object-fit: contain; }

/* ---------- Brands -------------------------------------------------------- */
.ama-brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.ama-brand-tile { display: grid; place-items: center; gap: 6px; padding: 20px 12px; min-height: 120px; border-radius: var(--ama-radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--ama-line); text-align: center; transition: .3s; position: relative; overflow: hidden; }
.ama-brand-tile::after { content: ""; position: absolute; inset: auto 15% 0; height: 3px; background: var(--ama-glow); filter: blur(4px); opacity: .7; }
.ama-brand-tile:hover { border-color: var(--ama-accent); transform: translateY(-4px); }
.ama-brand-tile img { max-height: 56px; width: auto; object-fit: contain; }
.ama-brand-tile__name { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.ama-brand-tile small { color: var(--ama-muted); font-size: .78rem; }
.ama-brand-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.ama-brand-card { padding: 22px; background-image: linear-gradient(160deg, rgba(18, 46, 98, .92), rgba(10, 28, 60, .95)), var(--ama-brand-bg, none); background-size: cover; }
.ama-brand-card__head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; margin-bottom: 14px; }
.ama-brand-card__head h2 { margin: 0; }
.ama-brand-mark { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ama-primary), #0f4bb0); border: 1px solid var(--ama-line-strong); font-size: 1.9rem; font-weight: 900; color: var(--ama-accent); overflow: hidden; }
.ama-brand-mark img { width: 80%; height: 80%; object-fit: contain; }
.ama-brand-card .ama-brand-tile { min-height: 96px; }

/* ---------- Showroom gallery ---------- */
.ama-showroom-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-bottom: 30px; }
.ama-showroom-gallery__item { position: relative; overflow: hidden; border-radius: var(--ama-radius); border: 1px solid var(--ama-line); }
.ama-showroom-gallery__item.is-wide { grid-column: span 2; grid-row: span 2; }
.ama-showroom-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ama-ease); }
.ama-showroom-gallery__item:hover img { transform: scale(1.06); }
.ama-showroom-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 22, 44, .45), transparent 50%); pointer-events: none; }
@media (max-width: 720px) { .ama-showroom-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

/* ---------- Offers -------------------------------------------------------- */
.ama-offer { position: relative; min-height: 230px; display: flex; align-items: flex-end; border-radius: var(--ama-radius); overflow: hidden; background: linear-gradient(0deg, rgba(7, 22, 44, .95), rgba(7, 22, 44, .2)), var(--ama-offer-bg, linear-gradient(135deg, var(--ama-primary), #0a1f45)); background-size: cover; background-position: center; border: 1px solid var(--ama-line); }
.ama-offer__body { padding: 22px; }
.ama-offer h3 { margin: 10px 0 6px; }
.ama-offer p { color: #cfdbf2; margin-bottom: 8px; }
.ama-offer small { display: block; color: var(--ama-accent); margin-bottom: 10px; }

/* ---------- Finance calculator ------------------------------------------- */
.ama-calc { padding: 24px; }
.ama-calc__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--ama-accent); }
.ama-calc__head h3 { margin: 0; }
.ama-calc__head .ama-ico { width: 28px; height: 28px; }
.ama-calc__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: rgba(255, 255, 255, .05); border-radius: 14px; margin-bottom: 18px; }
.ama-calc__tabs button { border: 0; border-radius: 10px; padding: 10px; background: transparent; color: #cfdbf2; font-weight: 700; }
.ama-calc__tabs .is-active { background: var(--ama-accent); color: var(--ama-dark); }
.ama-calc__result { margin: 8px 0 14px; padding: 18px; border-radius: 16px; text-align: center; border: 1.5px solid var(--ama-accent); background: radial-gradient(90% 120% at 50% 0%, rgba(246, 185, 0, .14), transparent); }
.ama-calc__result span { display: block; color: #cfdbf2; font-weight: 600; }
.ama-calc__result strong { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; color: var(--ama-accent); line-height: 1.2; }
.ama-calc__result em { font-style: normal; color: var(--ama-accent); font-weight: 700; margin-inline-start: 6px; }
.ama-calc__breakdown { display: grid; gap: 8px; margin: 0 0 12px; }
.ama-calc__breakdown div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--ama-line); }
.ama-calc__breakdown dt { color: var(--ama-muted); }
.ama-calc__breakdown dd { margin: 0; font-weight: 800; }

/* ---------- 3D teaser ----------------------------------------------------- */
.ama-explorer-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.ama-checklist { display: grid; gap: 10px; margin: 18px 0 22px; }
.ama-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.ama-checklist .ama-ico { color: var(--ama-accent); margin-top: 4px; }
.ama-turntable { position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; }
.ama-turntable img { position: relative; z-index: 2; width: 86%; border-radius: 18px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: ama-float 6s ease-in-out infinite; }
.ama-turntable__ring { position: absolute; inset: auto 6% 4%; height: 26%; border-radius: 50%; border: 2px solid rgba(47, 123, 255, .65); box-shadow: 0 0 40px rgba(47, 123, 255, .6), inset 0 0 40px rgba(47, 123, 255, .35); }
.ama-turntable__ring.is-2 { inset: auto 14% 8%; height: 16%; border-color: rgba(246, 185, 0, .55); box-shadow: 0 0 30px rgba(246, 185, 0, .35); animation: ama-pulse 3s ease-in-out infinite; }

/* ---------- Testimonials / FAQ ------------------------------------------- */
.ama-testimonial { margin: 0; padding: 24px; border-radius: var(--ama-radius); background: rgba(255, 255, 255, .035); border: 1px solid var(--ama-line); display: flex; flex-direction: column; gap: 12px; }
.ama-testimonial blockquote { margin: 0; color: #d8e3f7; }
.ama-testimonial blockquote p:last-child { margin: 0; }
.ama-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ama-testimonial figcaption img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.ama-testimonial figcaption small { display: block; color: var(--ama-muted); }
.ama-stars { display: flex; gap: 2px; color: #4b5d82; }
.ama-stars .is-on { color: var(--ama-accent); }
.ama-stars .is-on .ama-ico path { fill: currentColor; }
.ama-stars .ama-ico { width: 18px; height: 18px; }
.ama-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--ama-primary), var(--ama-glow)); color: #fff; font-weight: 800; flex: none; }
.ama-avatar--lg { width: 56px; height: 56px; font-size: 1.3rem; }
.ama-faq { display: grid; gap: 12px; }
.ama-faq__item { border-radius: 16px; border: 1px solid var(--ama-line); background: rgba(255, 255, 255, .035); overflow: hidden; }
.ama-faq__item[open] { border-color: rgba(246, 185, 0, .45); }
.ama-faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.ama-faq__item summary::-webkit-details-marker { display: none; }
.ama-faq__item summary .ama-ico { transition: transform .3s; color: var(--ama-accent); }
.ama-faq__item[open] summary .ama-ico { transform: rotate(180deg); }
.ama-faq__answer { padding: 0 22px 18px; color: #cfdbf2; }

/* ---------- Branches / contact ------------------------------------------- */
.ama-branches { display: grid; gap: 20px; }
.ama-branch { display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; overflow: hidden; }
.ama-branch__info { padding: 24px; }
.ama-branch__map { min-height: 280px; }
.ama-branch__map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; filter: saturate(.9) contrast(1.05); }
.ama-footer__contact { display: grid; gap: 10px; margin-bottom: 16px; }
.ama-footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: #cfdbf2; }
.ama-footer__contact .ama-ico { color: var(--ama-accent); margin-top: 4px; }
.ama-footer__contact a:hover { color: var(--ama-accent); }
.ama-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 28px; }
.ama-contact-card { display: grid; justify-items: center; gap: 4px; padding: 22px; text-align: center; transition: .3s; }
.ama-contact-card:hover { border-color: var(--ama-accent); transform: translateY(-3px); }
.ama-contact-card .ama-ico { width: 32px; height: 32px; color: var(--ama-accent); }
.ama-contact-card.is-wa .ama-ico { color: #22c55e; }
.ama-contact-card span { color: var(--ama-muted); }
.ama-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding: 26px 30px; border-radius: var(--ama-radius); background: linear-gradient(120deg, var(--ama-primary), #0f4bb0); box-shadow: var(--ama-shadow-glow); }
.ama-cta-band h2 { margin: 0; }
.ama-cta-band p { margin: 0; color: #d8e3f7; }

/* ---------- Page hero / crumbs ------------------------------------------- */
.ama-page-hero { position: relative; padding: 46px 0 34px; background: radial-gradient(60% 120% at 80% 0%, rgba(47, 123, 255, .28), transparent 60%), linear-gradient(180deg, #0a1f45, var(--ama-dark)); border-bottom: 1px solid var(--ama-line); }
.ama-page-hero h1 { margin: 6px 0 8px; }
.ama-page-hero__sub { color: #cfdbf2; max-width: 760px; margin: 0; }
.ama-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--ama-muted); margin: 14px 0; }
.ama-crumbs a:hover { color: var(--ama-accent); }

/* ---------- Listing ------------------------------------------------------- */
.ama-listing { padding: 26px 0 70px; }
.ama-nl-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; padding-inline-start: 18px; border-radius: 999px; background: linear-gradient(90deg, rgba(246, 185, 0, .12), rgba(47, 123, 255, .1)); border: 1px solid rgba(246, 185, 0, .4); margin-bottom: 24px; }
.ama-nl-bar > .ama-ico { color: var(--ama-accent); }
.ama-nl-bar input { flex: 1; background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 44px !important; padding: 0 !important; }
.ama-listing__layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.ama-filters { position: sticky; top: calc(var(--ama-header-h) + 16px); max-height: calc(100vh - var(--ama-header-h) - 30px); overflow: auto; padding: 20px; border-radius: var(--ama-radius); background: rgba(12, 34, 70, .85); border: 1px solid var(--ama-line); scrollbar-width: thin; }
.ama-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ama-filters__head h2 { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--ama-accent); }
.ama-filters .ama-field { margin-bottom: 12px; }
.ama-filters input, .ama-filters select { min-height: 44px !important; font-size: .9rem !important; }
.ama-filters__actions { display: grid; gap: 8px; position: sticky; bottom: -20px; padding: 12px 0 4px; background: linear-gradient(0deg, rgba(12, 34, 70, 1) 70%, transparent); }
.ama-results__bar { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.ama-results__count { margin: 0; color: var(--ama-muted); }
.ama-results__count strong { color: #fff; font-size: 1.2rem; }
.ama-sort { display: flex; align-items: center; gap: 8px; }
.ama-sort span { color: var(--ama-muted); white-space: nowrap; }
.ama-sort select { min-height: 42px !important; min-width: 190px; }
[data-ama-results].is-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }
.ama-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.ama-page-link { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--ama-line); background: rgba(255, 255, 255, .04); font-weight: 700; }
.ama-page-link:hover { border-color: var(--ama-accent); }
.ama-page-link.is-current { background: var(--ama-accent); color: var(--ama-dark); border-color: var(--ama-accent); }
.ama-page-gap { align-self: center; color: var(--ama-muted); }
.ama-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; border-radius: var(--ama-radius); border: 1px dashed var(--ama-line-strong); background: rgba(255, 255, 255, .02); }
.ama-empty__ico { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(246, 185, 0, .1); color: var(--ama-accent); margin-bottom: 12px; }
.ama-empty__ico .ama-ico { width: 34px; height: 34px; }
.ama-empty p { color: var(--ama-muted); max-width: 520px; margin: 0 auto 16px; }

/* ---------- Skeleton ------------------------------------------------------ */
.ama-skeleton { border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .04) 25%, rgba(255, 255, 255, .1) 37%, rgba(255, 255, 255, .04) 63%); background-size: 400% 100%; animation: ama-shimmer 1.4s ease infinite; }
.ama-skeleton--card { height: 360px; }
.ama-skeleton--row { height: 76px; }

/* ---------- Single car ---------------------------------------------------- */
.ama-car-page { padding-bottom: 50px; }
.ama-car-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 26px; align-items: start; margin-bottom: 26px; }
.ama-car-media { min-width: 0; }
.ama-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ama-tabs button { display: inline-flex; gap: 6px; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ama-line); background: rgba(255, 255, 255, .04); color: #cfdbf2; font-weight: 700; transition: .2s; }
.ama-tabs button.is-active, .ama-tabs button:hover { border-color: var(--ama-accent); color: var(--ama-accent); }
.ama-tabs button.is-active { background: rgba(246, 185, 0, .1); }
.ama-gallery__stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--ama-radius); overflow: hidden; background: radial-gradient(80% 80% at 50% 90%, #143a80, #081a37); border: 1px solid var(--ama-line); }
.ama-gallery__stage img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .3s; }
.ama-gallery__stage img.is-swapping { opacity: .2; }
.ama-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(7, 22, 44, .65); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.ama-gallery__nav:hover { background: var(--ama-accent); color: var(--ama-dark); }
.ama-gallery__nav.is-prev { right: 14px; }
.ama-gallery__nav.is-next { left: 14px; }
.ama-gallery__zoom { position: absolute; top: 14px; left: 14px; }
.ama-gallery__count { position: absolute; bottom: 14px; left: 14px; padding: 3px 12px; border-radius: 999px; background: rgba(7, 22, 44, .75); font-size: .82rem; font-weight: 700; }
.ama-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.ama-gallery__thumbs button { flex: 0 0 112px; aspect-ratio: 3 / 2; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #0b1f42; opacity: .7; transition: .2s; }
.ama-gallery__thumbs button.is-active, .ama-gallery__thumbs button:hover { border-color: var(--ama-accent); opacity: 1; }
.ama-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ama-gallery .ama-seg { margin-top: 10px; }
.ama-video { aspect-ratio: 16 / 9; border-radius: var(--ama-radius); overflow: hidden; background: #000; }
.ama-video iframe, .ama-video video { width: 100%; height: 100%; border: 0; display: block; }
.ama-car-summary { padding: 24px; position: sticky; top: calc(var(--ama-header-h) + 16px); }
.ama-car-summary__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ama-car-summary__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 12px 0 2px; }
.ama-car-summary__sub { color: var(--ama-muted); margin: 0; }
.ama-keyspecs { display: grid; gap: 2px; margin-bottom: 18px; }
.ama-keyspecs li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ama-line); }
.ama-keyspecs .ama-ico { color: var(--ama-accent); }
.ama-keyspecs span { color: var(--ama-muted); }
.ama-car-actions { display: grid; gap: 10px; margin-bottom: 12px; }
.ama-car-actions__tools { display: flex; gap: 8px; align-items: center; justify-content: center; padding-top: 6px; }
.ama-car-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 26px; align-items: start; }
.ama-car-body__side { position: sticky; top: calc(var(--ama-header-h) + 16px); display: grid; gap: 20px; }
.ama-spec-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 26px; margin: 0 0 14px; }
.ama-spec-table div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ama-line); }
.ama-spec-table dt { color: var(--ama-muted); }
.ama-spec-table dd { margin: 0; font-weight: 700; text-align: left; }
.ama-bullets { list-style: disc !important; padding-inline-start: 20px !important; color: #cfdbf2; }
.ama-prose { color: #d8e3f7; }
.ama-prose h2 { font-size: 1.25rem; margin-top: 1.4em; }
.ama-prose a { color: var(--ama-accent); text-decoration: underline; }
.ama-verified { border-color: rgba(34, 197, 94, .4); }
.ama-verified__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ama-verified__head h2 { margin: 0; }
.ama-verified__head p { margin: 0; }
.ama-verified__seal { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(34, 197, 94, .16); color: #4ade80; }
.ama-verified__seal .ama-ico { width: 30px; height: 30px; }
.ama-report-item { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--ama-line); }
.ama-report-item > span { color: #4ade80; }
.ama-report-item p { margin: 4px 0 0; color: #cfdbf2; font-size: .92rem; }
.ama-report-images { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ama-report-images img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.ama-showroom-card { padding: 22px; }
.ama-showroom-card img { height: 30px; width: auto; margin-bottom: 10px; }
.ama-sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 80; display: none; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 22, 44, .96); border-top: 1px solid var(--ama-line); backdrop-filter: blur(12px); }
.ama-sticky-cta > div { flex: 1; display: grid; line-height: 1.3; min-width: 0; }
.ama-sticky-cta small { color: var(--ama-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ama-sticky-cta strong { color: var(--ama-accent); }
.ama-mini-car { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ama-line); margin-bottom: 18px; }
.ama-mini-car img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; }
.ama-mini-car div { display: grid; flex: 1; }
.ama-mini-car span { color: var(--ama-accent); font-weight: 700; }
.ama-alert { padding: 14px 18px; border-radius: 14px; background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .35); color: #dbeafe; margin-bottom: 16px; }
.ama-alert--warn { background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); color: #fde68a; }

/* ---------- 3D viewer ----------------------------------------------------- */
.ama-viewer { position: relative; }
.ama-viewer__stage { position: relative; aspect-ratio: 16 / 10; min-height: 340px; border-radius: var(--ama-radius); overflow: hidden; background: radial-gradient(70% 60% at 50% 75%, #12408f 0%, #0a2250 45%, #050f22 100%); border: 1px solid var(--ama-line); touch-action: none; user-select: none; -webkit-user-select: none; }
.ama-viewer.is-night .ama-viewer__stage { background: radial-gradient(70% 60% at 50% 75%, #0d1f45 0%, #050c1c 60%, #02060f 100%); }
.ama-viewer__stage canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.ama-viewer:fullscreen .ama-viewer__stage { aspect-ratio: auto; height: 100vh; border-radius: 0; }
.ama-viewer:fullscreen { background: var(--ama-dark); }
.ama-viewer__poster { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 10px; background-size: cover; background-position: center; text-align: center; }
.ama-viewer__poster::before { content: ""; position: absolute; inset: 0; background: rgba(5, 15, 34, .55); }
.ama-viewer__poster > * { position: relative; }
.ama-viewer__poster small { color: #cfdbf2; }
.ama-viewer__loading, .ama-viewer__error { position: absolute; inset: 0; z-index: 7; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(5, 15, 34, .78); text-align: center; padding: 20px; }
.ama-viewer__error { color: #fecaca; }
.ama-spinner { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(246, 185, 0, .2); border-top-color: var(--ama-accent); animation: ama-spin .9s linear infinite; }
.ama-viewer__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.ama-viewer__lines line { stroke: var(--ama-accent); stroke-width: 1.4; stroke-dasharray: 4 4; filter: drop-shadow(0 0 3px rgba(246, 185, 0, .8)); animation: ama-dash 1.2s linear infinite; }
.ama-viewer__lines circle { fill: var(--ama-accent); }
.ama-viewer__hotspots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ama-hotspot { position: absolute; top: 0; left: 0; pointer-events: auto; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; background: radial-gradient(circle, var(--ama-accent) 35%, rgba(246, 185, 0, .35) 36%); box-shadow: 0 0 0 0 rgba(246, 185, 0, .7); animation: ama-hs-pulse 2s infinite; cursor: pointer; transition: opacity .25s, transform .2s; will-change: transform; padding: 0; }
.ama-hotspot:hover, .ama-hotspot.is-active { transform: scale(1.25); }
.ama-hotspot.is-hidden { opacity: 0; pointer-events: none; }
.ama-callout { position: absolute; top: 0; left: 0; pointer-events: auto; max-width: 200px; padding: 8px 12px; border-radius: 12px; background: rgba(7, 22, 44, .86); border: 1px solid rgba(246, 185, 0, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .82rem; line-height: 1.45; cursor: pointer; transition: opacity .25s; will-change: transform; box-shadow: 0 10px 24px -10px #000; }
.ama-callout strong { display: block; color: var(--ama-accent); font-size: .9rem; }
.ama-callout span { color: #d8e3f7; }
.ama-callout.is-hidden { opacity: 0; pointer-events: none; }
.ama-viewer__badge { position: absolute; top: 14px; right: 14px; z-index: 5; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--ama-accent); color: var(--ama-accent); font-weight: 800; font-size: .85rem; background: rgba(7, 22, 44, .6); }
.ama-viewer__rail { position: absolute; right: 14px; top: 56px; z-index: 5; display: grid; gap: 6px; }
.ama-viewer__rail button { padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(7, 22, 44, .7); color: #fff; font-weight: 700; font-size: .8rem; backdrop-filter: blur(6px); }
.ama-viewer__rail button:hover, .ama-viewer__rail button.is-active { border-color: var(--ama-accent); color: var(--ama-accent); }
.ama-viewer__controls { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 8px; }
.ama-viewer__info { position: absolute; z-index: 8; left: 70px; top: 14px; bottom: 14px; width: min(330px, calc(100% - 90px)); overflow: auto; padding: 18px; border-radius: 16px; background: rgba(7, 22, 44, .92); border: 1px solid rgba(246, 185, 0, .45); backdrop-filter: blur(10px); animation: ama-slide-in .3s var(--ama-ease); }
.ama-viewer__info .ama-icon-btn { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; }
.ama-viewer__info img { border-radius: 12px; margin: 8px 0 12px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ama-viewer__info h3 { color: var(--ama-accent); margin: 0 0 6px; padding-left: 40px; }
.ama-viewer__info ul { display: grid; gap: 6px; margin-top: 10px; }
.ama-viewer__info li { display: flex; gap: 8px; font-size: .9rem; }
.ama-viewer__info li::before { content: "◆"; color: var(--ama-accent); font-size: .7rem; margin-top: 5px; }
.ama-viewer__interior-ui { position: absolute; z-index: 6; inset: auto 0 14px 0; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; color: #cfdbf2; font-size: .88rem; }
.ama-viewer__dock { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; padding: 14px 18px; margin-top: 12px; border-radius: var(--ama-radius); background: rgba(12, 34, 70, .8); border: 1px solid var(--ama-line); }
.ama-viewer__group { display: grid; gap: 8px; }
.ama-viewer__label { display: flex; gap: 6px; align-items: center; color: var(--ama-muted); font-size: .84rem; font-weight: 700; }
.ama-viewer__label b { color: #fff; }
.ama-viewer__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ama-viewer__chips .ama-chip { padding: 5px 12px; font-size: .82rem; }
.ama-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.ama-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: var(--sw); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .35), inset 0 4px 8px rgba(255, 255, 255, .35); padding: 0; transition: .2s; }
.ama-swatch.is-active, .ama-swatch:hover { border-color: var(--ama-accent); transform: scale(1.12); box-shadow: 0 0 0 3px rgba(246, 185, 0, .3), inset 0 -6px 10px rgba(0, 0, 0, .35); }
.ama-explorer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.ama-explorer-side { padding: 22px; display: grid; gap: 10px; }
.ama-explorer-picker { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 18px; }
.ama-explorer-pick { flex: 0 0 170px; border-radius: 14px; overflow: hidden; border: 2px solid var(--ama-line); background: rgba(255, 255, 255, .03); }
.ama-explorer-pick.is-active, .ama-explorer-pick:hover { border-color: var(--ama-accent); }
.ama-explorer-pick img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ama-explorer-pick span { display: block; padding: 8px 10px; font-size: .85rem; font-weight: 700; }

/* ---------- Compare ------------------------------------------------------- */
.ama-compare-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ama-compare-wrap { overflow-x: auto; border-radius: var(--ama-radius); border: 1px solid var(--ama-line); background: rgba(12, 34, 70, .7); }
.ama-compare-table { width: 100%; border-collapse: collapse; min-width: calc(220px + var(--cols) * 220px); }
.ama-compare-table th, .ama-compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--ama-line); text-align: center; vertical-align: middle; position: relative; }
.ama-compare-table tbody th { text-align: right; color: var(--ama-muted); font-weight: 600; width: 220px; background: #0d2550; position: sticky; right: 0; z-index: 1; }
.ama-compare-table thead th:first-child { position: sticky; right: 0; z-index: 2; background: #0d2550; }
.ama-compare-table thead th { background: rgba(255, 255, 255, .03); }
.ama-compare-table tr.is-diff td, .ama-compare-table tr.is-diff th { background: rgba(246, 185, 0, .045); }
.ama-compare-table.only-diff tr.is-same { display: none; }
.ama-compare-table td.is-best { color: #86efac; font-weight: 800; }
.ama-best-tag { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 197, 94, .2); color: #4ade80; margin-inline-start: 6px; vertical-align: middle; }
.ama-best-tag .ama-ico { width: 14px; height: 14px; }
.ama-compare-car { display: grid; justify-items: center; gap: 6px; position: relative; }
.ama-compare-car img { width: 180px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.ama-compare-car a { font-weight: 800; }
.ama-compare-car__rm { position: absolute; top: -4px; left: 0; width: 32px; height: 32px; }
.ama-mini-list { display: grid; gap: 2px; font-size: .84rem; text-align: right; }
.ama-compare-tray { position: fixed; z-index: 85; inset: auto 0 0 0; background: rgba(7, 22, 44, .96); border-top: 1px solid var(--ama-accent); backdrop-filter: blur(12px); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); animation: ama-up .3s var(--ama-ease); }
.ama-compare-tray__inner { display: flex; align-items: center; gap: 14px; }
.ama-compare-tray__inner > strong { display: flex; gap: 8px; align-items: center; color: var(--ama-accent); white-space: nowrap; }
.ama-compare-tray__items { display: flex; gap: 10px; flex: 1; overflow-x: auto; }
.ama-tray-item { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); font-size: .82rem; white-space: nowrap; }
.ama-tray-item img { width: 46px; height: 32px; object-fit: cover; border-radius: 8px; }
.ama-tray-item button { border: 0; background: none; color: var(--ama-muted); font-size: 1rem; padding: 0 4px; }

/* ---------- Booking ------------------------------------------------------- */
.ama-booking-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 26px; align-items: start; }
.ama-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.ama-day { flex: 0 0 76px; display: grid; justify-items: center; gap: 0; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--ama-line-strong); background: rgba(255, 255, 255, .04); color: #fff; line-height: 1.4; transition: .2s; }
.ama-day small { color: var(--ama-muted); font-size: .72rem; }
.ama-day strong { font-size: 1.3rem; }
.ama-day:hover { border-color: var(--ama-accent); }
.ama-day.is-active { background: var(--ama-accent); border-color: var(--ama-accent); color: var(--ama-dark); }
.ama-day.is-active small { color: var(--ama-dark); }
.ama-day:disabled { opacity: .35; cursor: not-allowed; }
.ama-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.ama-slot { padding: 10px; border-radius: 12px; border: 1.5px solid var(--ama-line-strong); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700; transition: .2s; }
.ama-slot:hover { border-color: var(--ama-accent); }
.ama-slot.is-active { background: var(--ama-accent); color: var(--ama-dark); border-color: var(--ama-accent); }
.ama-slot:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.ama-steps-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ama-steps-inline span { display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ama-line); font-weight: 600; font-size: .9rem; }
.ama-steps-inline b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ama-accent); color: var(--ama-dark); }
.ama-upload input[type="file"] { padding: 14px; border: 1.5px dashed var(--ama-line-strong); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--ama-muted); width: 100%; }
.ama-upload__preview { display: flex; flex-wrap: wrap; gap: 8px; }
.ama-upload__preview img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
.ama-estimate { margin-top: 16px; padding: 20px; border-radius: 16px; border: 1.5px solid var(--ama-accent); background: rgba(246, 185, 0, .07); }
.ama-estimate strong { font-size: 1.4rem; color: var(--ama-accent); }

/* ---------- Auth / account ------------------------------------------------ */
.ama-auth { min-height: calc(100vh - var(--ama-header-h) - 120px); display: grid; place-items: center; padding: 46px 20px; background: radial-gradient(50% 60% at 50% 0%, rgba(47, 123, 255, .3), transparent 70%); }
.ama-auth__card { width: min(470px, 100%); padding: 34px; }
.ama-auth__logo { height: 40px; width: auto; margin: 0 auto 18px; }
.ama-auth__card h1 { text-align: center; }
.ama-auth__card > div > p.ama-muted, .ama-auth__card > p.ama-muted { text-align: center; }
.ama-auth__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ama-auth__row .ama-check-inline { margin: 0; }
.ama-auth__alt { text-align: center; margin: 18px 0 0; color: var(--ama-muted); }
.ama-auth__alt a { color: var(--ama-accent); font-weight: 700; }
.ama-account { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; }
.ama-account__nav { padding: 18px; position: sticky; top: calc(var(--ama-header-h) + 16px); }
.ama-account__user { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--ama-line); }
.ama-account__user small { display: block; color: var(--ama-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }
.ama-account__user > div { min-width: 0; }
.ama-account__nav nav { display: grid; gap: 4px; }
.ama-account__nav nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: #cfdbf2; font-weight: 600; }
.ama-account__nav nav a:hover { background: rgba(255, 255, 255, .05); }
.ama-account__nav nav a.is-active { background: rgba(246, 185, 0, .12); color: var(--ama-accent); }
.ama-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.ama-kpi { display: grid; gap: 2px; padding: 18px; transition: .2s; }
.ama-kpi:hover { border-color: var(--ama-accent); }
.ama-kpi .ama-ico { color: var(--ama-accent); width: 26px; height: 26px; }
.ama-kpi strong { font-size: 1.8rem; font-weight: 900; }
.ama-kpi span { color: var(--ama-muted); }
.ama-timeline { display: grid; gap: 10px; }
.ama-timeline li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ama-line); }
.ama-timeline small { color: var(--ama-muted); margin-inline-start: auto; }
.ama-list { display: grid; gap: 12px; }
.ama-list__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; flex-wrap: wrap; }
.ama-list__item > div { flex: 1; min-width: 180px; display: grid; }
.ama-list__item small { color: var(--ama-muted); }
.ama-list__item p { margin: 2px 0; color: #cfdbf2; }
.ama-list__item.is-unread { border-color: rgba(246, 185, 0, .5); }
.ama-list__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(246, 185, 0, .1); color: var(--ama-accent); }
.ama-note { color: #fcd34d !important; }
.ama-table-wrap { overflow-x: auto; border-radius: var(--ama-radius); border: 1px solid var(--ama-line); }
.ama-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ama-table th, .ama-table td { padding: 12px 14px; border-bottom: 1px solid var(--ama-line); text-align: right; vertical-align: top; }
.ama-table th { background: rgba(255, 255, 255, .04); color: var(--ama-muted); font-weight: 700; font-size: .88rem; }
.ama-inbox { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; min-height: 420px; }
.ama-inbox__list { padding: 8px; display: grid; align-content: start; gap: 4px; max-height: 560px; overflow: auto; }
.ama-inbox__list a { display: grid; padding: 10px 12px; border-radius: 12px; }
.ama-inbox__list a small { color: var(--ama-muted); }
.ama-inbox__list a.is-active, .ama-inbox__list a:hover { background: rgba(246, 185, 0, .1); }
.ama-inbox__thread { padding: 16px; display: flex; flex-direction: column; }
.ama-thread { display: flex; flex-direction: column; height: 100%; gap: 12px; }
.ama-thread__log { flex: 1; display: flex; flex-direction: column; gap: 10px; max-height: 440px; overflow: auto; padding: 4px; }
.ama-msg { max-width: 80%; align-self: flex-start; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(47, 123, 255, .2); }
.ama-msg.is-staff { align-self: flex-end; background: rgba(246, 185, 0, .14); border-radius: 16px 16px 4px 16px; }
.ama-msg p { margin: 0; }
.ama-msg small { color: var(--ama-muted); font-size: .74rem; }
.ama-thread__form { display: flex; gap: 8px; align-items: flex-end; }
.ama-thread__form textarea { min-height: 52px !important; }

/* ---------- Trust bar / footer ------------------------------------------- */
.ama-trust-bar { border-top: 1px solid var(--ama-line); background: linear-gradient(90deg, rgba(9, 55, 126, .4), rgba(7, 22, 44, .2)); }
.ama-trust-bar__inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 22px 0; }
.ama-trust-item { display: flex; gap: 12px; align-items: center; padding: 6px 10px; border-inline-start: 1px solid var(--ama-line); }
.ama-trust-item:first-child { border: 0; }
.ama-trust-item__ico { color: var(--ama-accent); }
.ama-trust-item__ico .ama-ico { width: 34px; height: 34px; }
.ama-trust-item strong { display: block; font-size: .95rem; }
.ama-trust-item small { color: var(--ama-accent); font-weight: 600; }
.ama-footer { background: #050f22; border-top: 1px solid var(--ama-line); padding-top: 50px; }
.ama-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 36px; }
.ama-footer__brand img { height: 40px; width: auto; margin-bottom: 14px; }
.ama-footer__brand p { color: var(--ama-muted); }
.ama-footer__title { font-size: 1.05rem; color: var(--ama-accent) !important; margin-bottom: 14px !important; }
.ama-footer__links { display: grid; gap: 8px; }
.ama-footer__links a { color: #cfdbf2; transition: .2s; }
.ama-footer__links a:hover { color: var(--ama-accent); padding-inline-start: 4px; }
.ama-social { display: flex; flex-wrap: wrap; gap: 8px; }
.ama-footer__bottom { border-top: 1px solid var(--ama-line); padding: 16px 0; color: var(--ama-muted); font-size: .86rem; }

/* ---------- Floating: WA / AI / toasts / lightbox ------------------------ */
.ama-floating { position: fixed; z-index: 86; left: 20px; bottom: 20px; display: grid; gap: 12px; }
.ama-fab { display: flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 999px; border: 0; color: #fff !important; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); font-weight: 700; overflow: hidden; transition: .3s var(--ama-ease); }
.ama-fab .ama-ico { width: 26px; height: 26px; }
.ama-fab__label { max-width: 0; opacity: 0; white-space: nowrap; transition: .3s var(--ama-ease); }
.ama-fab:hover .ama-fab__label { max-width: 160px; opacity: 1; margin-inline-start: 8px; }
.ama-fab--wa { background: #16a34a; }
.ama-fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: ama-hs-pulse 2.4s infinite; pointer-events: none; }
.ama-fab { position: relative; }
.ama-fab--ai { background: linear-gradient(135deg, var(--ama-primary), var(--ama-glow)); }
body.has-compare-tray .ama-floating { bottom: 88px; }
body.has-sticky-cta .ama-floating { bottom: 84px; }
.ama-ai { position: fixed; z-index: 110; left: 20px; bottom: 90px; width: min(390px, calc(100vw - 40px)); height: min(600px, calc(100vh - 140px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #081a37; border: 1px solid var(--ama-line-strong); box-shadow: var(--ama-shadow-glow); animation: ama-up .3s var(--ama-ease); }
.ama-ai__head { display: flex; align-items: center; gap: 10px; padding: 14px; background: linear-gradient(120deg, var(--ama-primary), #0f4bb0); }
.ama-ai__head > div { flex: 1; display: grid; line-height: 1.4; }
.ama-ai__head small { color: #cfdbf2; font-size: .76rem; }
.ama-ai__avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.ama-ai__body { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ama-ai__msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; white-space: pre-line; }
.ama-ai__msg.is-bot { align-self: flex-start; background: rgba(47, 123, 255, .16); border-radius: 16px 16px 16px 4px; }
.ama-ai__msg.is-user { align-self: flex-end; background: var(--ama-accent); color: var(--ama-dark); border-radius: 16px 16px 4px 16px; font-weight: 600; }
.ama-ai__msg.is-typing { opacity: .7; }
.ama-ai__suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.ama-ai__cars { display: grid; gap: 8px; align-self: stretch; }
.ama-ai__car { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ama-line); }
.ama-ai__car img { width: 70px; height: 48px; object-fit: cover; border-radius: 8px; }
.ama-ai__car span { display: grid; font-size: .84rem; }
.ama-ai__car b { color: var(--ama-accent); }
.ama-ai__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--ama-line); }
.ama-toasts { position: fixed; z-index: 200; top: calc(var(--ama-header-h) + 14px); left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 30px)); pointer-events: none; }
.ama-toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #0f2a5c; border: 1px solid var(--ama-line-strong); box-shadow: var(--ama-shadow); font-weight: 600; animation: ama-toast .35s var(--ama-ease); }
.ama-toast.is-success { border-color: rgba(34, 197, 94, .55); }
.ama-toast.is-error { border-color: rgba(239, 68, 68, .55); }
.ama-toast.is-out { opacity: 0; transform: translateY(-8px); transition: .3s; }
.ama-lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(2, 6, 15, .94); display: grid; place-items: center; animation: ama-fade .2s; }
.ama-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 10px; cursor: zoom-in; transition: transform .3s; }
.ama-lightbox img.is-zoomed { transform: scale(1.8); cursor: zoom-out; }
.ama-lightbox__close { position: absolute; top: 18px; left: 18px; }
.ama-lightbox__prev, .ama-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.ama-lightbox__prev { right: 18px; }
.ama-lightbox__next { left: 18px; }
.ama-about-logo { height: 52px; width: auto; margin: 0 auto 14px; }

/* ---------- Motion -------------------------------------------------------- */
.ama-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ama-ease), transform .8s var(--ama-ease); }
.ama-reveal.is-visible { opacity: 1; transform: none; }
.no-js .ama-reveal { opacity: 1; transform: none; }
@keyframes ama-spin { to { transform: rotate(360deg); } }
@keyframes ama-fade { from { opacity: 0; } }
@keyframes ama-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes ama-toast { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
@keyframes ama-slide-in { from { opacity: 0; transform: translateX(-16px); } }
@keyframes ama-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes ama-float { 50% { transform: translateY(-10px); } }
@keyframes ama-pulse { 50% { opacity: .4; transform: scale(.96); } }
@keyframes ama-hs-pulse { 0% { box-shadow: 0 0 0 0 rgba(246, 185, 0, .65); } 70% { box-shadow: 0 0 0 14px rgba(246, 185, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(246, 185, 0, 0); } }
@keyframes ama-dash { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) {
	.ama-root *, .ama-root *::before, .ama-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ama-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------------------------------------------------- */
.ama-show-sm { display: none !important; }
@media (max-width: 1180px) {
	.ama-menu a { padding: 8px 9px; font-size: .9rem; }
	.ama-quick-search { grid-template-columns: 1fr 1fr 1fr; }
	.ama-quick-search .ama-qs-field--text { grid-column: 1 / -1; }
	.ama-trust-bar__inner { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
}
@media (max-width: 1024px) {
	:root { --ama-header-h: 66px; }
	.ama-burger { display: inline-grid; }
	/* backdrop-filter would turn the header into the containing block of the fixed off-canvas menu (clipping it to 66px). */
	.ama-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 22, 44, .98); }
	.ama-nav { position: fixed; top: 0; bottom: 0; right: 0; left: auto; height: 100vh; height: 100dvh; width: min(340px, 88vw); z-index: 140; background: #081a37; border-inline-start: 1px solid var(--ama-line); padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateX(105%); transition: transform .35s var(--ama-ease); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); visibility: hidden; transition: transform .35s var(--ama-ease), visibility 0s linear .35s; }
	.ama-nav.is-open { visibility: visible; transition: transform .35s var(--ama-ease), visibility 0s; }
	.admin-bar .ama-nav { top: 46px; height: calc(100dvh - 46px); }
	.ama-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.ama-menu li.is-open > a { color: var(--ama-accent); }
	.ama-menu .sub-menu a { padding: 10px 12px; font-size: .94rem; color: #b9c8e6; border-inline-start: 2px solid var(--ama-line); border-radius: 0; }
	.ama-nav.is-open { transform: none; }
	.ama-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
	.ama-nav__head img { height: 30px; width: auto; }
	.ama-nav__mobile-actions { display: block; margin-top: auto; padding-top: 16px; }
	.ama-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.ama-menu a { padding: 12px 10px; font-size: 1rem; border-radius: 10px; }
	.ama-menu > .current-menu-item > a { box-shadow: none; background: rgba(246, 185, 0, .1); }
	.ama-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 14px 0 0; display: none; }
	.ama-menu li.is-open > .sub-menu { display: block; }
	.ama-menu .menu-item-has-children > a::after { float: left; margin-top: 10px; }
	.ama-hide-sm { display: none !important; }
	.ama-listing__layout { grid-template-columns: 1fr; }
	.ama-filters { position: fixed; z-index: 105; inset: 0 0 0 auto; width: min(360px, 90vw); max-height: none; border-radius: 0; transform: translateX(105%); transition: transform .35s var(--ama-ease); top: 0; }
	.ama-filters.is-open { transform: none; }
	.ama-show-sm { display: inline-flex !important; }
	.ama-car-hero, .ama-car-body, .ama-booking-layout, .ama-explorer-layout { grid-template-columns: 1fr; }
	.ama-car-summary, .ama-car-body__side { position: static; }
	.ama-sticky-cta.ama-show-sm { display: flex !important; }
	.ama-car-page { padding-bottom: 90px; }
	.ama-split, .ama-explorer-teaser { grid-template-columns: 1fr; }
	.ama-footer__grid { grid-template-columns: 1fr 1fr; }
	.ama-account { grid-template-columns: 1fr; }
	.ama-account__nav { position: static; }
	.ama-account__nav nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
	.ama-branch { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-width: 1024px) {
	.ama-grid--cars, .ama-grid--listing { grid-template-columns: repeat(2, 1fr); }
	.ama-grid--scroll { grid-auto-columns: 46%; grid-template-columns: none; }
	.ama-car-hero .ama-car-summary { max-width: none; }
	.ama-hero__title { font-size: 2.8rem; }
	.ama-trust-bar__inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.ama-container { width: calc(100% - 28px); }
	.ama-root { font-size: 15px; }
	.ama-hero { min-height: auto; padding: 46px 0 26px; }
	.ama-hero:not(.has-media) .ama-hero__media::before { display: none; }
	.ama-hero.has-media .ama-hero__media::after { background: linear-gradient(0deg, var(--ama-dark) 8%, rgba(7, 22, 44, .78) 45%, rgba(7, 22, 44, .62) 100%); }
	.ama-hero__title { font-size: 2.05rem; }
	.ama-hero__ctas .ama-btn { flex: 1 1 auto; }
	.ama-section { padding: 40px 0; }
	.ama-section__head { margin-bottom: 18px; }
	.ama-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.ama-stat { padding: 12px 6px; }
	.ama-stat strong { font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
	.ama-stat span { font-size: .74rem; line-height: 1.4; display: block; }
	.ama-page-hero { padding: 26px 0 20px; }
	.ama-page-hero .ama-h1 { font-size: 1.6rem; }
	.ama-compare-table { min-width: calc(110px + var(--cols) * 150px); font-size: .86rem; }
	.ama-compare-table tbody th { width: 110px; }
	.ama-compare-table th, .ama-compare-table td { padding: 10px 8px; }
	.ama-compare-car img { width: 130px; }
	.ama-car-summary__title { font-size: 1.4rem; }
	.ama-keyspecs li { padding: 7px 0; }
	.ama-tabs button { padding: 7px 12px; font-size: .85rem; }
	.ama-gallery__thumbs button { flex-basis: 84px; }
	.ama-viewer__dock { padding: 12px; gap: 12px; }
	.ama-cta-band { padding: 20px; }
	.ama-contact-cards { grid-template-columns: 1fr 1fr; }
	.ama-contact-card { padding: 16px 10px; }
	.ama-contact-card strong { font-size: .85rem; word-break: break-all; }
	.ama-auth__card { padding: 22px; }
	.ama-kpis { grid-template-columns: 1fr 1fr; }
	.ama-brand-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.ama-brand-tile { min-height: 92px; padding: 12px 6px; }
	.ama-brand-tile__name { font-size: .95rem; }
	.ama-results__bar { display: grid; grid-template-columns: auto 1fr; }
	.ama-sort { grid-column: 1 / -1; }
	.ama-hero__search { margin-top: 26px; }
	.ama-quick-search { grid-template-columns: 1fr 1fr; padding: 10px; }
	.ama-qs-submit { grid-column: 1 / -1; }
	.ama-section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.ama-grid--cars, .ama-grid--listing { grid-template-columns: 1fr; }
	.ama-grid--scroll { grid-auto-columns: 82%; }
	.ama-two-col, .ama-btn-row { grid-template-columns: 1fr; }
	.ama-trust-bar__inner { grid-template-columns: 1fr 1fr; }
	.ama-trust-item { border: 0; }
	.ama-footer__grid { grid-template-columns: 1fr; }
	.ama-block { padding: 18px; }
	.ama-viewer__stage { aspect-ratio: 4 / 5; min-height: 0; }
	.ama-viewer__rail { top: auto; bottom: 12px; right: 12px; left: 64px; grid-auto-flow: column; overflow-x: auto; }
	.ama-viewer__controls { top: 12px; transform: none; left: 10px; }
	.ama-round-btn { width: 36px; height: 36px; }
	.ama-callout { max-width: 140px; font-size: .74rem; padding: 6px 9px; }
	.ama-viewer__info { inset: auto 10px 10px 10px; width: auto; max-height: 62%; top: auto; }
	.ama-inbox { grid-template-columns: 1fr; }
	.ama-brand-card__head { grid-template-columns: 90px 1fr; }
	.ama-floating { left: 14px; bottom: 14px; }
	.ama-fab { height: 52px; min-width: 52px; }
	.ama-ai { left: 10px; right: 10px; width: auto; bottom: 76px; height: calc(100vh - 120px); }
	.ama-sort select { min-width: 0; }
}
@media print {
	.ama-header, .ama-footer, .ama-trust-bar, .ama-floating, .ama-compare-tray, .ama-sticky-cta, .ama-filters { display: none !important; }
	.ama-root { background: #fff; color: #000; }
}
