/* AutoKare — tumšs dizains ar baltiem laukumiem (.panel-light). Krāsas un fonti — :root mainīgajos; .panel-light tos pārslēdz uz gaišajiem. */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400 800; font-display: swap; src: url(/fonts/pjs-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400 800; font-display: swap; src: url(/fonts/pjs-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
:root {
	color-scheme: dark;
	--bg: #0b0d11; --bg2: #111419; --card: #15181e; --card2: #1c2028; --tile: #171b22; --tile2: #20252e;
	--ink: #fff; --text: rgba(232, 235, 242, .8); --muted: #8f95a5; --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .18);
	--btn-bg: #fff; --btn-fg: #0b0d11; --btn-hover: #e9ebf0;
	--accent: #e3002b; --accent2: #ff2d55; --accent-soft: rgba(227, 0, 43, .16); --ok: #3ccf7f; --ev: #3ad0e6;
	--r: 22px; --r-sm: 14px; --wrap: 1600px; --gut: clamp(16px, 3vw, 40px);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
/* balts laukums: tie paši komponenti, gaišās krāsas */
.panel-light, .dlg {
	color-scheme: light;
	--bg: #fff; --bg2: #f4f5f8; --card: #f4f5f8; --card2: #fff; --tile: #f2f3f7; --tile2: #e8eaf0;
	--ink: #0d0f14; --text: #3a3e4b; --muted: #6c7180; --line: #e4e6ec; --line2: #cfd2da;
	--btn-bg: #0d0f14; --btn-fg: #fff; --btn-hover: #262a33;
	--accent-soft: #fdeaee; --ok: #157347; --ev: #0e8aa0;
	--shadow: 0 18px 50px -18px rgba(13, 15, 20, .25);
	background: var(--bg); color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(32px, 4.4vw, 56px); }
h2 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.035em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; flex: none; }
.dim { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.mt { margin-top: 48px; }

/* pogas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn svg { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent2); border-color: var(--accent2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { background: var(--tile); border-color: var(--line2); }
.btn-light { background: #fff; color: #0b0d11; border-color: #fff; }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-wa { background: transparent; color: #25d366; border-color: rgba(37, 211, 102, .45); }
.btn-wa:hover { background: rgba(37, 211, 102, .1); border-color: #25d366; }
.panel-light .btn-wa { color: #128c4a; border-color: #bfe6cf; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
/* Polestar stila poga: balts taisnstūris + bultas bloks */
.cta { display: inline-flex; align-items: stretch; text-decoration: none; font-weight: 600; font-size: 15px; height: 56px; }
.cta span { display: flex; align-items: center; padding: 0 30px; background: #fff; color: #0b0d11; border-radius: 4px 0 0 4px; min-width: 190px; }
.cta i { display: grid; place-items: center; width: 56px; border: 1px solid rgba(255,255,255,.45); border-left: 0; color: #fff; border-radius: 0 4px 4px 0; transition: background .15s; }
.cta:hover i { background: var(--accent); border-color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; color: var(--accent); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 16px; letter-spacing: .02em; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* galvene */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(11,13,17,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
body[data-page="home"] .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(5,6,9,.6), rgba(5,6,9,0)); backdrop-filter: none; }
body[data-page="home"] .site-header.scrolled { background: rgba(11,13,17,.88); backdrop-filter: saturate(1.4) blur(14px); }
.nav { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo img { width: 132px; height: auto; }
.menu { display: flex; gap: 2px; margin: 0 auto; }
.menu a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); white-space: nowrap; position: relative; }
.menu a:hover { color: #fff; }
.menu a[aria-current] { color: #fff; }
.menu a.nav-ev { color: var(--ev); }
.menu a.nav-ev:hover { color: #7fe6f4; }
.menu a.nav-ev[aria-current]::after { background: var(--ev); }
.menu a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.menu-phone { display: none !important; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: #fff; }
.head-phone svg { width: 18px; height: 18px; color: var(--accent2); }
.head-phone:hover { border-color: #fff; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }

/* atrašanās vieta */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #4b505c; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* hero — visā ekrāna platumā */
.hero { position: relative; min-height: max(660px, min(100svh, 960px)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #050609; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,6,9,.88) 0%, rgba(5,6,9,.55) 38%, rgba(5,6,9,.05) 70%), linear-gradient(180deg, rgba(5,6,9,.45) 0%, rgba(5,6,9,0) 30%, rgba(5,6,9,0) 55%, var(--bg) 100%); }
.hero-in { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 140px; padding-bottom: 40px; }
.hero-txt { max-width: 640px; color: #fff; }
.hero-kicker { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.hero-txt h1 { color: #fff; font-weight: 500; font-size: clamp(38px, 5vw, 76px); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 22px; }
.hero-rule { display: block; width: 56px; height: 2px; background: var(--accent); margin-bottom: 22px; }
.hero-txt p { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.82); margin-bottom: 34px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { min-height: 56px; border-radius: 4px; }
.hero-search { width: 100%; padding-bottom: 28px; }

/* ātrā meklēšana */
.quick-search { background: rgba(17,20,25,.72); backdrop-filter: blur(16px); border: 1px solid var(--line2); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px; align-items: stretch; }
.quick-search label { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 9px 16px; }
.quick-search label span { font-size: 12px; color: var(--muted); font-weight: 500; }
.quick-search select { border: 0; background: transparent; font: 600 15px var(--font); color: #fff; padding: 2px 20px 2px 0; width: 100%; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f95a5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; cursor: pointer; }
.quick-search select option { background: #15181e; color: #fff; }
.quick-search .btn { height: auto; min-height: 60px; border-radius: 12px; padding: 0 28px; }

/* sadaļas */
.section { padding: clamp(56px, 7vw, 110px) 0; }
.section.alt { background: var(--bg2); }
.cars-first { padding-top: clamp(32px, 4vw, 56px) !important; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-head h2 { margin: 0; }
.sec-lead { max-width: 640px; color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.panel-light { border-radius: 32px; }

/* auto kartītes */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.car-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.car-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--shadow); }
.cc-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .cc-img img { transform: scale(1.05); }
.cc-img::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); pointer-events: none; }
.cc-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #4b505c; } .cc-noimg svg { width: 56px; height: 56px; }
.cc-tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 1; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: rgba(11,13,17,.72); backdrop-filter: blur(6px); color: #fff; }
.tag svg { width: 13px; height: 13px; }
.tag-ev svg { color: var(--ev); } .tag-res { background: #fff; color: #0b0d11; }
.g-main > .tag-res { position: absolute; left: 14px; top: 14px; }
.cc-count { position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; background: rgba(11,13,17,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; }
.cc-count svg { width: 14px; height: 14px; }
.is-reserved .cc-img img { opacity: .6; }
.gifts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.cc-img .gifts { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.gifts li { display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 8px; border-radius: 8px; }
.gifts svg { width: 14px; height: 14px; }
.gifts.big li { font-size: 13.5px; padding: 6px 12px 6px 10px; background: var(--accent-soft); color: var(--accent); }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cc-title { font-size: 19px; font-weight: 600; margin: 0; letter-spacing: -.02em; }
.cc-title a { text-decoration: none; }
.cc-title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.cc-spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.cc-spec li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cc-spec svg { width: 17px; height: 17px; color: var(--muted); }
.cc-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-price { display: flex; flex-direction: column; gap: 1px; }
.cc-price strong { font-size: 23px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.cc-price span { font-size: 13px; color: var(--muted); }
.cc-price b { color: var(--accent2); font-weight: 700; }
.panel-light .cc-price b, .section.alt .cc-price b { color: var(--accent); }
.cc-go { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.cc-go svg { width: 18px; height: 18px; }
.car-card:hover .cc-go { background: var(--accent); border-color: var(--accent); color: #fff; }
/* elektroauto: zilgans rāmis un bultiņa, uzbraucot ar peli */
.car-card.is-ev:hover { border-color: var(--ev); box-shadow: var(--shadow), 0 0 0 1px var(--ev), 0 10px 40px -12px rgba(58, 208, 230, .45); }
.car-card.is-ev:hover .cc-go { background: var(--ev); border-color: var(--ev); color: #0b0d11; }

/* markas */
.makes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.makes a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.makes a small { font-size: 12px; color: var(--muted); letter-spacing: 0; font-weight: 600; }
.makes a:hover { border-color: var(--line2); background: var(--tile); }
.makes .makes-all { text-transform: none; letter-spacing: 0; font-size: 14px; } .makes-all svg { width: 16px; height: 16px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 14px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.chip small { color: var(--muted); font-size: 12px; } .chip:hover { border-color: var(--line2); background: var(--tile); }

/* līzings — balts laukums ar auto un kartītēm */
.showcase { padding: clamp(28px, 4.5vw, 72px); }
.sc-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(24px, 3vw, 44px); }
.sc-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 54px); }
.sc-side { display: flex; gap: 18px; align-items: flex-start; }
.sc-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.sc-side p { margin: 0; color: var(--muted); font-size: 15px; }
.sc-stage { position: relative; border-radius: 24px; overflow: hidden; background: #e9edf2; }
.sc-stage img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 60%; }
.sc-pin { position: absolute; display: flex; align-items: flex-start; gap: 12px; }
.sc-pin-1 { left: 5%; top: 10%; } .sc-pin-2 { right: 3%; top: 6%; flex-direction: row-reverse; } .sc-pin-3 { right: 3%; bottom: 6%; flex-direction: row-reverse; }
.sc-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--ink); margin-top: 16px; box-shadow: 0 0 0 6px rgba(255,255,255,.5); }
.sc-card { width: 250px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.sc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.sc-ic svg { width: 20px; height: 20px; }
.sc-card b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.sc-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.sc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* skaitļi / kāpēc mēs */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.why-list li { display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-size: 15px; line-height: 1.4; }
.why-list li b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.why-list li p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.why-list li span { width: 40px; height: 40px; border-radius: 50%; background: var(--tile2); display: grid; place-items: center; color: var(--accent2); }
.why-list svg { width: 18px; height: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); margin: 0; }
.stats dt { font-size: clamp(64px, 8.4vw, 136px); font-weight: 600; color: var(--ink); line-height: .9; letter-spacing: -.06em; margin-bottom: 12px; }
.stats dd { margin: 0; color: var(--muted); font-size: 15px; max-width: 280px; }

/* pakalpojumi — akordeons + soļi */
.svc-panel { padding: clamp(28px, 4.5vw, 72px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-head h2 { font-size: clamp(30px, 3.4vw, 50px); }
.acc { display: grid; gap: 10px; }
.acc-it { background: var(--tile); border-radius: 16px; transition: background .15s; }
.acc-it[open] { background: var(--tile2); }
.acc-it summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 150px 1fr 32px; gap: 16px; align-items: center; padding: 20px 22px; }
.acc-it summary::-webkit-details-marker { display: none; }
.acc-tag { font-size: 12.5px; color: var(--muted); }
.acc-t { font-weight: 600; color: var(--ink); font-size: 17px; }
.acc-pm { position: relative; width: 32px; height: 32px; }
.acc-pm::before, .acc-pm::after { content: ''; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.acc-pm::after { transform: rotate(90deg); }
.acc-it[open] .acc-pm::before { transform: rotate(45deg); } .acc-it[open] .acc-pm::after { transform: rotate(135deg); }
.acc-b { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; padding: 0 22px 22px; }
.acc-b .acc-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.acc-b p { margin: 0; color: var(--text); max-width: 520px; }
.acc .btn-block { margin-top: 6px; border-radius: 999px; }
.steps-head { margin: clamp(56px, 7vw, 100px) 0 28px; }
.steps-head h2 { font-size: clamp(30px, 3.4vw, 50px); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); gap: 14px; }
.step { background: var(--tile); border-radius: 20px; padding: clamp(22px, 2.4vw, 34px); min-height: 280px; display: flex; flex-direction: column; }
.step b { font-size: clamp(64px, 6vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: 1; color: var(--ink); margin-bottom: auto; }
.step h3 { margin: 24px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step-img { width: 100%; height: 100%; min-height: 0; max-height: 340px; object-fit: cover; border-radius: 20px; }
.step-wide { grid-column: span 2; flex-direction: row; align-items: flex-end; gap: 32px; }
.step-wide b { margin-bottom: 0; align-self: flex-start; }
.step-wide > div { max-width: 420px; margin-left: auto; }
.step-wide .btn { margin-top: 20px; }

/* baneri */
.promo { padding-top: 0; }
.promo-box { position: relative; border-radius: var(--r); overflow: hidden; background: var(--tile); }
.promo-box .slide { display: none; } .promo-box .slide.is-on { display: block; }
.promo-box img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,.92); color: #0b0d11; cursor: pointer; display: grid; place-items: center; }
.sl-prev { left: 14px; } .sl-next { right: 14px; }

/* raksti */
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1340px) { .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-arts .art-card:nth-child(n+4) { display: none; } }
@media (max-width: 980px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-arts .art-card:nth-child(n+4) { display: flex; } }
@media (max-width: 640px) { .art-grid { grid-template-columns: 1fr; } .home-arts .art-card:nth-child(n+4) { display: none; } }
.art-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.art-card:hover { border-color: var(--line2); transform: translateY(-3px); }
.art-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--tile); }
.art-card > div { padding: 18px 20px 22px; }
.art-card time { font-size: 13px; color: var(--muted); }
.art-card h2, .art-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 8px; }
.art-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* katalogs */
.page-head { padding: 30px 0 28px; }
.page-head h1, .page-head > p { max-width: 860px; }
.page-head h1 { font-weight: 500; letter-spacing: -.04em; }
.page-head p { color: var(--muted); font-size: 17px; margin: 0; }
.catalog { padding-bottom: 80px; }
.cat-layout { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.cat-side { position: sticky; top: 100px; }
.f-toggle { display: none; width: 100%; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.filters label { display: flex; flex-direction: column; gap: 5px; }
.filters label span, .fl span { font-size: 13px; font-weight: 600; color: var(--ink); }
.filters select, .sort select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); padding: 0 12px; font: 500 14.5px var(--font); color: var(--ink); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-actions { display: flex; gap: 8px; margin-top: 6px; } .f-actions .btn { flex: 1; min-height: 46px; padding: 0 14px; }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.cat-bar p { margin: 0; color: var(--muted); } .cat-bar strong { color: var(--ink); }
.sort { width: 240px; }
.cat-main .car-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.empty-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; text-align: center; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); padding: 0 10px; }
.pager .pg-cur { background: #fff; border-color: #fff; color: #0b0d11; }
.pager .pg-gap { border: 0; }
.pager a:hover { border-color: var(--line2); }
.seo-text { margin-top: 56px; max-width: 860px; }

/* auto lapa */
.car-page { padding-bottom: 64px; }
.car-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); gap: 32px; padding-top: 20px; align-items: start; }
.gallery { min-width: 0; }
.g-main { position: relative; border-radius: 24px; overflow: hidden; background: var(--tile); aspect-ratio: 4 / 3; }
.g-open { border: 0; padding: 0; margin: 0; background: none; width: 100%; height: 100%; cursor: zoom-in; display: block; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255,255,255,.92); color: #0b0d11; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-count { position: absolute; right: 14px; bottom: 14px; background: rgba(11,13,17,.75); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 8px; }
.g-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: thin; }
.g-thumbs button { flex: none; width: 108px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--tile); cursor: pointer; opacity: .65; transition: opacity .15s; }
.g-thumbs button:hover { opacity: 1; }
.g-thumbs button[aria-current] { border-color: var(--accent); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-empty { aspect-ratio: 4 / 3; border-radius: 24px; background: var(--tile); display: grid; place-content: center; justify-items: center; color: var(--muted); }
.g-empty svg { width: 64px; height: 64px; }
/* pirkšanas bloks — balts laukums */
.car-buy { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; color-scheme: light; --bg: #fff; --tile: #f2f3f7; --tile2: #e8eaf0; --ink: #0d0f14; --text: #3a3e4b; --muted: #6c7180; --line: #e4e6ec; --line2: #cfd2da; --btn-bg: #0d0f14; --btn-fg: #fff; --btn-hover: #262a33; --accent-soft: #fdeaee; --ok: #157347; background: #fff; color: var(--text); border-radius: 24px; padding: 26px; }
.car-buy .btn-wa { color: #128c4a; border-color: #bfe6cf; }
.car-make { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .car-make a { text-decoration: none; }
.car-buy h1 { font-size: clamp(28px, 2.6vw, 38px); margin: 0; }
.car-sub { margin: 0; color: var(--muted); }
.car-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 16px 18px; background: var(--tile); border-radius: 16px; }
.car-price strong { font-size: 34px; color: var(--ink); font-weight: 700; letter-spacing: -.03em; }
.car-price span { color: var(--muted); } .car-price b { color: var(--accent); }
.note-res { background: #fff6e0; color: #6b4a00; border-radius: 12px; padding: 12px 14px; margin: 0; font-size: 14.5px; }
.checked { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; margin: 0; }
.car-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.car-cta .btn:first-child { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); color: #fff; }
.car-cta .btn:first-child:hover { background: var(--accent2); border-color: var(--accent2); }
.car-loc { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--text); font-size: 15px; }
.car-loc svg { color: var(--accent); margin-top: 3px; }
.car-info { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); gap: 32px; margin-top: 56px; }
.car-specs { order: 2; }
.car-specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.car-specs dl div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.car-specs dt { font-size: 12.5px; color: var(--muted); } .car-specs dd { margin: 0; font-weight: 600; color: var(--ink); }
.car-specs h2, .car-desc h2 { font-size: 28px; }
.car-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.car-perks li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); } .car-perks svg { color: var(--ok); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,9,.96); display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb .lb-x { top: 16px; right: 16px; } .lb .lb-p { left: 16px; top: 50%; } .lb .lb-n { right: 16px; top: 50%; }

/* satura lapas — teksts baltā laukumā */
.page-hero { max-width: var(--wrap); margin: 12px auto 0; padding: 0 var(--gut); } .page-hero img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: 28px; }
.page-content { padding-bottom: 80px; }
.sheet { padding: clamp(24px, 4vw, 64px); }
.sheet .page-head { padding-top: 0; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.has-form .pc-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); align-items: start; }
.prose { max-width: 780px; font-size: 16.5px; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; font-weight: 600; letter-spacing: -.025em; } .prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .3em 0; }
.prose a { color: var(--accent2); }
.panel-light .prose a { color: var(--accent); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose img { border-radius: var(--r-sm); }
.contacts { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.contacts li { display: flex; gap: 10px; align-items: center; } .contacts svg { color: var(--accent); }
.faq { margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq-a { padding: 0 0 18px; color: var(--text); }
.section-pad { padding: 8px var(--gut) 80px; }
.article { max-width: 920px; padding-bottom: 64px; }
.article .sheet { margin-top: 18px; }
.article time { color: var(--muted); font-size: 14px; }
.article h1 { font-weight: 500; letter-spacing: -.035em; }
.article .lead { font-size: 19px; color: var(--muted); }
.article-img { border-radius: var(--r); margin: 24px 0; width: 100%; }

/* formas */
.form-sec { position: sticky; top: 100px; }
.form-box { background: var(--tile); border-radius: var(--r); padding: 28px 26px; }
.form-box h2 { font-size: 26px; margin-bottom: 6px; font-weight: 600; } .form-box > p { color: var(--muted); font-size: 15px; }
.lead-form { display: grid; gap: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fl { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fl.wide { grid-column: 1 / -1; }
.fl input, .fl select, .fl textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); padding: 12px 13px; font: 400 15px var(--font); color: var(--ink); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.fl.file input { padding: 9px; } .fl small { color: var(--muted); font-size: 12.5px; }
.fl .err, .fl input[aria-invalid="true"] { border-color: var(--accent); }
.fl em { color: var(--accent); font-size: 12.5px; font-style: normal; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.consent a { color: var(--ink); }
.lead-car { margin: 0; background: var(--card2); border-radius: 10px; padding: 10px 13px; font-size: 14.5px; }
.lead-msg { margin: 0; font-weight: 600; } .lead-msg.ok { color: var(--ok); } .lead-msg.bad { color: var(--accent); }
.lead-form.sent .fgrid, .lead-form.sent .consent, .lead-form.sent .file, .lead-form.sent button { display: none; }
.lead-form .btn[type="submit"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.lead-form .btn[type="submit"]:hover { background: var(--accent2); border-color: var(--accent2); }
.dlg { border: 0; padding: 0; border-radius: 24px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.dlg::backdrop { background: rgba(5,6,9,.72); backdrop-filter: blur(4px); }
.dlg-in { padding: 28px 26px 24px; position: relative; }
.dlg-in h2 { font-size: 26px; padding-right: 40px; font-weight: 600; }
.dlg-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.calc { background: var(--tile); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; max-width: 520px; margin: 1em 0; }
.calc label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; color: var(--ink); }
.calc input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 500 16px var(--font); background: var(--card2); color: var(--ink); }
.calc-out { font-size: 18px; margin: 0; } .calc-out strong { font-size: 26px; color: var(--ink); }

/* kājene */
.site-footer { background: #06070a; color: rgba(255,255,255,.62); padding: 72px 0 28px; border-top: 1px solid var(--line); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot img { width: 140px; }
.foot-lead { margin: 18px 0; max-width: 320px; }
.site-footer h2 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 14px; }
.foot-h2b { margin-top: 22px !important; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-locs-row { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-locs { font-size: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px !important; }
@media (max-width: 1100px) { .foot-locs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .foot-locs { grid-template-columns: 1fr; } }
.foot-locs li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.foot-locs li > span:first-child { min-width: 0; }
.foot-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-footer .foot-nav a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 5px 10px; line-height: 1.2; }
.site-footer .foot-nav a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); text-decoration: none; }
.foot-nav svg { width: 15px; height: 15px; flex: none; }
.foot-soc { display: flex !important; gap: 10px !important; }
.foot-soc a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; }
.foot-soc a:hover { background: rgba(255,255,255,.08); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: 13.5px; }
.quickbar { display: none; }

/* pielāgošana */
@media (max-width: 1360px) {
	.menu { display: none; position: fixed; inset: 80px 0 auto 0; background: #0f1217; flex-direction: column; padding: 12px var(--gut) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 80px); overflow-y: auto; }
	.menu.open { display: flex; }
	.menu a { padding: 14px 12px; font-size: 16.5px; border-radius: 10px; }
	.menu a[aria-current] { background: var(--tile); } .menu a[aria-current]::after { display: none; }
	.menu-phone { display: flex !important; align-items: center; gap: 8px; color: var(--accent2) !important; font-weight: 700 !important; }
	.burger { display: inline-flex; margin-left: 0; }
	.head-phone { margin-left: auto; }
	body[data-page="home"] .site-header:has(.menu.open) { background: #0f1217; }
}
@media (max-width: 1180px) {
	.sc-card { width: 220px; }
	.sc-pin-2 { left: auto; right: 5%; top: 10%; }
	.sc-pin-3 { display: none; }
}
@media (max-width: 980px) {
	.quick-search { grid-template-columns: 1fr 1fr; }
	.quick-search .btn { grid-column: 1 / -1; min-height: 54px; }
	.cat-layout { grid-template-columns: 1fr; }
	.cat-side { position: static; }
	.f-toggle { display: inline-flex; }
	.f-wrap { display: none; margin-top: 12px; } .f-wrap.open { display: block; }
	.car-top, .car-info, .has-form .pc-grid, .why-grid, .svc-grid, .sc-head { grid-template-columns: 1fr; }
	.car-buy, .form-sec { position: static; }
	.car-specs { order: 0; }
	.foot { grid-template-columns: 1fr 1fr; }
	/* līzinga kartītes zem bildes */
	.sc-stage { background: none; overflow: visible; display: grid; gap: 10px; }
	.sc-stage img { border-radius: 20px; aspect-ratio: 16 / 9; }
	.sc-pin, .sc-pin-3 { position: static; display: block; }
	.sc-dot { display: none; }
	.sc-card { width: auto; background: var(--tile); box-shadow: none; display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; }
	.sc-ic { grid-row: span 2; margin: 0; }
	.steps { grid-template-columns: 1fr 1fr; }
	.step-img:nth-of-type(2) { display: none; }
	.step-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; padding-bottom: 64px; }
	.nav { height: 66px; gap: 12px; } .logo img { width: 108px; }
	.menu { inset: 66px 0 auto 0; }
	.head-phone span { display: none; } .head-phone { padding: 0; width: 46px; height: 46px; justify-content: center; }
	.hero { min-height: 0; }
	.hero::before { background: linear-gradient(180deg, rgba(5,6,9,.55) 0%, rgba(5,6,9,.35) 35%, rgba(5,6,9,.85) 70%, var(--bg) 100%); }
	.hero-in { padding-top: 120px; padding-bottom: 24px; }
	.hero-cta .cta, .hero-cta .btn { width: 100%; } .cta span { flex: 1; }
	.quick-search { gap: 6px; padding: 8px; border-radius: 16px; }
	.quick-search label { padding: 7px 11px; }
	.car-grid, .cat-main .car-grid { grid-template-columns: 1fr; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.fgrid { grid-template-columns: 1fr; }
	.car-cta { grid-template-columns: 1fr; }
	.car-buy { padding: 20px; border-radius: 20px; }
	.g-main { border-radius: 18px; }
	.g-thumbs button { width: 84px; }
	.promo-box img { aspect-ratio: 1 / 1; }
	.foot { grid-template-columns: 1fr; }
	.cat-bar { flex-direction: column; align-items: stretch; } .sort { width: 100%; }
	.page-hero img { aspect-ratio: 16 / 8; border-radius: 20px; }
	.panel-light { border-radius: 24px; }
	.why-list { grid-template-columns: 1fr; }
	.stats dt { font-size: 64px; }
	.acc-it summary { grid-template-columns: 1fr 28px; padding: 18px; }
	.acc-tag { display: none; }
	.acc-b { grid-template-columns: 1fr; padding: 0 18px 18px; }
	.acc-b .acc-ic { display: none; }
	.steps { grid-template-columns: 1fr; }
	.step-img { display: none; }
	.step { min-height: 0; }
	.step-wide { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 0; }
	.step-wide > div { margin-left: 0; }
	.quickbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0f1217; border-top: 1px solid var(--line); }
	.quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; text-decoration: none; font-weight: 700; color: #fff; }
	.quickbar a + a { border-left: 1px solid var(--line); color: #25d366; }
	.quickbar a:first-child svg { color: var(--accent2); }
	.dlg { border-radius: 22px 22px 0 0; margin: auto auto 0; width: 100vw; max-width: 100vw; max-height: 92vh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.car-gal, .car-buy, .car-desc, .car-specs { min-width: 0; }
.page-hero + .page-content .sheet { margin-top: 14px; }
@media (max-width: 640px) { .sheet { padding: 24px 18px; } }

/* sīkdatņu josla */
.ck { position: fixed; left: var(--gut); bottom: 20px; z-index: 80; width: min(560px, calc(100vw - 2 * var(--gut))); color-scheme: light; --ink: #0d0f14; --text: #3a3e4b; --muted: #6c7180; --line: #e4e6ec; --line2: #cfd2da; --tile: #f2f3f7; --btn-bg: #0d0f14; --btn-fg: #fff; --btn-hover: #262a33; background: #fff; color: var(--text); border-radius: 20px; box-shadow: 0 24px 70px -10px rgba(0,0,0,.6); }
.ck[hidden] { display: none; }
.ck-in { padding: 20px 22px; display: grid; gap: 14px; font-size: 14.5px; }
.ck p { margin: 0; } .ck p b { color: var(--ink); } .ck a { color: var(--ink); }
.ck-opts { display: grid; gap: 8px; } .ck-opts[hidden] { display: none; }
.ck-opts label { display: flex; gap: 12px; align-items: flex-start; background: var(--tile); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.ck-opts input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.ck-opts b { display: block; color: var(--ink); } .ck-opts small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ck-btns { display: flex; gap: 8px; flex-wrap: wrap; } .ck-btns .btn { flex: 1; min-height: 44px; border-radius: 10px; }
@media (max-width: 640px) { .ck { left: 8px; right: 8px; width: auto; bottom: 72px; } .ck-btns .btn:first-child { flex-basis: 100%; } }
.dlg .calc { max-width: none; margin: 0; }

/* noklusētā hero bilde (Tesla ar AUTO KARE numuru): datorā bilde labajā pusē, teksts uz tumša fona */
@media (min-width: 641px) {
	.hero-velar .hero-bg { left: auto; width: 76%; object-position: 62% 50%; }
	.hero-velar::before { background: linear-gradient(90deg, #050609 0%, #050609 24%, rgba(5,6,9,.82) 32%, rgba(5,6,9,.35) 46%, rgba(5,6,9,0) 62%), linear-gradient(180deg, rgba(5,6,9,.5) 0%, rgba(5,6,9,0) 26%, rgba(5,6,9,0) 58%, var(--bg) 100%); }
}

/* telefonā bilde augšā kā josla (redzams viss auto), teksts zem tās */
@media (max-width: 640px) {
	.hero { display: block; }
	.hero picture { display: block; }
	.hero-bg, .hero-velar .hero-bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; object-position: 50% 50%; }
	.hero::before { inset: 0 0 auto; height: calc(100vw * .625 + 1px); background: linear-gradient(180deg, rgba(5,6,9,.55) 0%, rgba(5,6,9,0) 32%, rgba(5,6,9,0) 70%, var(--bg) 100%); }
	.hero-in { padding-top: 4px; margin-top: -28px; position: relative; }
	.hero-kicker { margin-bottom: 14px; }
}

/* sākumlapas jaunākie auto: tikai pilnas rindas (8 = 4×2, 6 = 3×2, 8 = 2×4, telefonā 4) */
.cars-first .car-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1340px) { .cars-first .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cars-first .car-card:nth-child(n+7) { display: none; } }
@media (max-width: 980px) { .cars-first .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cars-first .car-card:nth-child(n+7) { display: flex; } }
@media (max-width: 640px) { .cars-first .car-grid { grid-template-columns: 1fr; } .cars-first .car-card:nth-child(n+5) { display: none; } }

/* ---------- satura lapas: tumšs fons, sadaļas kā kartītes / soļi, BUJ akordeons ---------- */
.cp { padding-bottom: 96px; }
.cp-head { padding: 26px 0 40px; max-width: 1000px; }
.cp-head .eyebrow { margin-bottom: 18px; }
.cp-head h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; margin: 0; }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.cp.has-form .cp-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); align-items: start; }
.cp-main { min-width: 0; display: grid; gap: 64px; align-content: start; }
.cp .prose { max-width: 820px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.cp .prose > :first-child { margin-top: 0; }
.cp .prose h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); margin: 1.4em 0 .6em; }
.cp .prose h3 { color: var(--ink); }
.cp .prose a { color: var(--accent2); }
.cp-intro p:first-child { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
/* saraksti ar ķeksīšiem */
.cp .prose ul, .card-b ul { list-style: none; padding: 0; margin: .4em 0 1em; display: grid; gap: 10px; }
.cp .prose ul li, .card-b ul li { position: relative; padding-left: 32px; margin: 0; }
.cp .prose ul li::before, .card-b ul li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card-ev .card-b ul li::before { background-color: rgba(58, 208, 230, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ad0e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
/* tabulas (EKII) */
.cp .prose table { display: block; overflow-x: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line2); border-radius: 18px; font-size: 15px; margin: 1.2em 0; }
.cp .prose th, .cp .prose td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; vertical-align: top; }
.cp .prose th { background: var(--tile2); color: var(--ink); font-weight: 600; font-size: 14px; }
.cp .prose tr:last-child td { border-bottom: 0; }
.cp .prose td:not(:first-child) { color: var(--ink); font-weight: 600; white-space: nowrap; }
/* bilde starp tekstiem */
.cp-fig { margin: 0; position: relative; border-radius: 28px; overflow: hidden; background: var(--tile); isolation: isolate; }
.cp-fig img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.cp-fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,17,0) 55%, rgba(11,13,17,.45)); pointer-events: none; }
.cp-introgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.cp-introgrid .cp-fig img { aspect-ratio: 4 / 4.4; }
.cp-sec > h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); margin: 0 0 30px; max-width: 860px; }
.cp-sec > .prose { margin-bottom: 26px; }
/* kartītes */
.cards { display: grid; gap: 18px; }
.cards.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 24px; padding: 28px 28px 24px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card-ev:hover { border-color: var(--ev); }
.card-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent2); display: grid; place-items: center; margin-bottom: 20px; }
.card-ev .card-ic { background: rgba(58, 208, 230, .12); color: var(--ev); }
.card-ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 0 0 12px; }
.card-b { color: var(--text); font-size: 15.5px; line-height: 1.6; }
.card-b p { margin: 0 0 .6em; } .card-b > :last-child { margin-bottom: 0; }
.card-b p:first-child::first-letter { text-transform: uppercase; }
/* soļi */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tl li { position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: border-color .25s; }
.tl li::before { content: ''; position: absolute; left: 28px; top: 30px; width: 36px; height: 3px; border-radius: 2px; background: var(--accent); }
.tl li:hover { border-color: var(--line2); }
.tl-n { position: absolute; top: 14px; right: 22px; font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); transition: -webkit-text-stroke-color .25s; }
.tl li:hover .tl-n { -webkit-text-stroke-color: var(--accent2); }
.tl-b h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.tl-b p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
/* BUJ */
.cp-faq { display: grid; gap: 28px; }
.cpf-head h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 0; max-width: 860px; }
.cpf-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cpf-contact .btn svg { width: 17px; height: 17px; }
.cpf-list { display: grid; gap: 10px; }
.cpf-list details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, background .2s; }
.cpf-list details[open] { background: var(--card2); border-color: var(--line2); }
.cpf-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 34px; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 600; font-size: 17px; color: var(--ink); }
.cpf-list summary::-webkit-details-marker { display: none; }
.cpf-n { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); transition: color .2s; }
.cpf-list details[open] .cpf-n { color: var(--accent2); }
.cpf-pm { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); transition: transform .25s, background .25s, border-color .25s; }
.cpf-pm::before, .cpf-pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 1px; }
.cpf-pm::after { transform: rotate(90deg); }
.cpf-list details[open] .cpf-pm { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.cpf-list summary:hover .cpf-pm { border-color: var(--ink); }
.cpf-a { padding: 0 22px 22px 76px; color: var(--text); line-height: 1.65; }
.cpf-a p { margin: 0 0 .7em; } .cpf-a > :last-child { margin-bottom: 0; }
/* forma: balta kartīte uz tumšā fona */
.cp .form-sec { position: sticky; top: 100px; }
.cp .form-box { background: var(--bg); border-radius: 28px; padding: 30px 28px; box-shadow: var(--shadow); }
@media (max-width: 1100px) {
	.cp.has-form .cp-grid { grid-template-columns: minmax(0, 1fr); }
	.cp .form-sec { position: static; }
	.cards.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .cp-introgrid { grid-template-columns: 1fr; gap: 32px; } .cp-introgrid .cp-fig img { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) {
	.cp-main { gap: 48px; }
	.cards.g2, .cards.g3, .tl { grid-template-columns: 1fr; }
	.tl li { min-height: 170px; }
	.cp-fig { border-radius: 20px; } .cp-fig img { aspect-ratio: 16 / 10; }
	.cpf-list summary { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 10px; padding: 18px 16px; font-size: 16px; }
	.cpf-pm { width: 30px; height: 30px; }
	.cpf-a { padding: 0 16px 18px; }
	.cp .form-box { padding: 24px 18px; border-radius: 22px; }
}

/* satura lapas bez formas: virsraksts + ievads pa kreisi, bilde pa labi; sadaļas divās kolonnās */
.cp.split .cp-introgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding: 10px 0 72px; }
.cp.split .cp-introtxt .cp-head { padding: 16px 0 28px; }
.cp.split .cp-introtxt .cp-intro { max-width: 640px; }
.cp.split .cp-introgrid .cp-fig img { aspect-ratio: 5 / 4; object-position: 50% 100%; }
.cp.split .cp-sec.prose { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.cp.split .cp-sec.prose > h2 { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 110px; margin: 0; font-size: clamp(26px, 2.6vw, 40px); }
.cp.split .cp-sec.prose > :not(h2) { grid-column: 2; max-width: 760px; }
.cp.split .cp-sec.prose > p:first-of-type { margin-top: 0; }
.cp.split .cp-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.cp.split .cpf-head { position: sticky; top: 110px; }
.cp.split .cpf-head h2 { font-size: clamp(26px, 2.6vw, 40px); }

/* raksta atvērums (tumšs) */
.art .cp-head { max-width: 1100px; padding-bottom: 34px; }
.art .cp-head .eyebrow a { text-decoration: none; color: inherit; } .art .cp-head .eyebrow a:hover { color: var(--ink); }
.art-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--text); margin: 22px 0 0; max-width: 860px; }
.art-fig { margin: 0 0 56px; border-radius: 28px; overflow: hidden; background: var(--tile); }
.art-fig img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 760px); gap: clamp(32px, 6vw, 110px); align-items: start; }
.art-meta { position: sticky; top: 110px; display: grid; gap: 10px; padding-top: 14px; border-top: 2px solid var(--accent); font-size: 14.5px; color: var(--muted); }
.art-meta time { color: var(--ink); font-weight: 600; font-size: 15px; }
.art .prose.art-body { max-width: 760px; font-size: 17.5px; line-height: 1.75; }
.art .prose.art-body img { border-radius: 18px; }

@media (max-width: 900px) {
	.cp.split .cp-introgrid { grid-template-columns: 1fr; padding-bottom: 40px; }
	.cp.split .cp-sec.prose, .cp.split .cp-faq { grid-template-columns: 1fr; }
	.cp.split .cp-sec.prose > h2, .cp.split .cpf-head { position: static; grid-row: auto; margin-bottom: 18px; }
	.cp.split .cp-sec.prose > :not(h2) { grid-column: 1; }
	.art-layout { grid-template-columns: 1fr; gap: 24px; }
	.art-meta { position: static; grid-auto-flow: column; justify-content: start; align-items: center; gap: 18px; }
}
@media (max-width: 640px) {
	.art-fig { border-radius: 20px; margin-bottom: 32px; } .art-fig img { aspect-ratio: 16 / 10; }
	.art-meta { grid-auto-flow: row; gap: 6px; }
}

/* ---------- UX audits 2026-11-07 ---------- */
/* auto lapa: pogas nekad neiziet ārpus kartītes (1280–1920 px), tālrunis redzams pilnībā */
.car-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.car-cta .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.25; padding: 10px 14px; }
.car-cta .btn:nth-child(2) { grid-column: 1 / -1; }
.car-cta .btn svg { flex: none; }
.car-ev { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--tile); font-size: 14px; line-height: 1.45; color: var(--text); }
.car-ev svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #128c4a; }
.car-ev a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* līzings divos soļos */
.lease-quick { border: 2px solid var(--accent); border-radius: 24px; padding: clamp(18px, 3vw, 28px); margin: 0 0 clamp(28px, 4vw, 44px); }
.lease-quick.compact { border: 1px solid var(--line2, var(--line)); border-left: 4px solid var(--accent); background: var(--card); border-radius: 20px; padding: 20px 24px; }
.lease-quick.compact .lq-h { font-size: 20px; margin: 0 0 4px; }
.lease-quick.compact .lease2-lead { margin-bottom: 12px; }
.lease-quick.compact .lead-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; row-gap: 10px; }
.lease-quick.compact .fgrid { grid-column: 1; grid-row: 1; }
.lease-quick.compact .lead-form > .btn { grid-column: 2; grid-row: 1; white-space: nowrap; }
.lease-quick.compact .consent, .lease-quick.compact .lead-msg { grid-column: 1 / -1; }
.lease-quick.compact .lead-msg:empty { display: none; }
@media (max-width: 640px) {
	.lease-quick.compact { padding: 18px; }
	.lease-quick.compact .lead-form { grid-template-columns: 1fr; }
	.lease-quick.compact .fgrid { grid-template-columns: 1fr; }
	.lease-quick.compact .fgrid, .lease-quick.compact .lead-form > .btn { grid-column: 1; grid-row: auto; }
}
.lq-h { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 6px; }
.lease2-lead { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.lease2-lead strong { color: var(--ink); }
.lq-full { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.lq-full a { font-weight: 600; color: var(--ink); }
@media (min-width: 1101px) { .lq-full { display: none; } }
.lease2 { overflow: hidden; }
.l2-pane.l2-in-r { animation: l2-in-r .28s ease-out; }
.l2-pane.l2-in-l { animation: l2-in-l .28s ease-out; }
@keyframes l2-in-r { from { transform: translateX(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes l2-in-l { from { transform: translateX(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .l2-pane.l2-in-r, .l2-pane.l2-in-l { animation: none; } }
.l2-switch { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 20px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted); font: 400 15px var(--font); text-align: left; cursor: pointer; transition: border-color .15s; }
.l2-switch:hover { border-color: var(--accent); }
.l2-switch svg { flex: none; width: 20px; height: 20px; padding: 9px; box-sizing: content-box; border-radius: 50%; background: var(--accent); color: #fff; }
.l2-switch b { color: var(--ink); font-weight: 700; }
.l2-switch::after { content: '→'; margin-left: auto; padding-left: 8px; color: var(--accent); font-weight: 700; font-size: 18px; }
/* katalogs: izvēlētie filtri */
.active-f { list-style: none; margin: -6px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.active-f a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line2); font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.active-f a span { font-size: 16px; line-height: 1; color: var(--muted); }
.active-f a:hover { border-color: var(--ink); }
/* satura lapu piezīmes un vārdnīca */
.cp-note { margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: var(--tile); }
.cp-note p { margin: 0 0 12px; } .cp-note p:last-child { margin: 0; }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.glossary div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.glossary dt { font-weight: 700; margin-bottom: 4px; } .glossary dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
/* sākumlapas meklētājs: 6 lauki */
.quick-search { grid-template-columns: repeat(6, minmax(0, 1fr)) auto; }
.quick-search label { min-width: 0; }
@media (max-width: 1100px) and (min-width: 981px) { .quick-search { grid-template-columns: 1fr 1fr 1fr; } .quick-search .btn { grid-column: 1 / -1; } }
@media (max-width: 980px) { .quick-search { grid-template-columns: 1fr 1fr; } }
/* kājene: navigācijas pogas ērti spiežamas telefonā */
@media (max-width: 640px) {
	.site-footer .foot-nav a { min-height: 44px; padding: 0 14px; font-size: 13.5px; }
	.glossary { grid-template-columns: 1fr; }
	/* katalogs: rezultāti jau pirmajā ekrānā — ievads 2 rindās, markas vienā ritināmā rindā; ar filtriem ievadu nerāda */
	.catalog .page-head h1 { margin-bottom: 6px; }
	.catalog .cat-intro { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; margin: 0; }
	.catalog .page-head .chips { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
	.catalog .page-head .chips::-webkit-scrollbar { display: none; }
	.catalog .page-head .chip { flex: none; }
	.catalog .page-head.is-filtered .cat-intro, .catalog .page-head.is-filtered .chips { display: none; }
}
/* satura lapas: plata tabula (EKII) nedrīkst izplest visu lapu telefonā */
.cp-grid > *, .cp-main, .cp-main > * { min-width: 0; }
.cp .prose table, .cp-main table { display: block; max-width: 100%; overflow-x: auto; }
.l2-switch[data-l2-to="full"]::after { content: "←"; }
