/* ==========================================================================
   Autoskola Vanags - dizaina sistēma
   Monohroms kino + signāla dzintars (pagrieziena rādītāja krāsa)
   ========================================================================== */

:root {
  --bg: #111111;
  --bg-2: #171717;
  --bg-3: #202020;
  --line: rgba(242, 240, 235, .1);
  --line-2: rgba(242, 240, 235, .18);
  --text: #f4f4f4;
  --muted: #a3a09a;
  --dim: #a0a0a0;
  --accent: #ffc107;
  --accent-2: #ffd54f;
  --accent-ink: #111111;
  --paper: #f4f4f4;
  --paper-2: #e9e9e9;
  --ink: #0e0e10;
  --ink-muted: #6b6b6b;
  --ok: #3ccf91;
  --err: #ff5d5d;

  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Bāze ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipogrāfija ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow .idx { color: var(--accent); }
.eyebrow .idx::after { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.h2 {
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: .98;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.035em;
  margin-top: 20px;
  text-wrap: balance;
}
.section__lead { color: var(--muted); max-width: 46ch; margin-top: 24px; font-size: clamp(16px, 1.2vw, 19px); }
.section__lead a { color: var(--text); }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--dim); }

/* ---------- Pogas ---------- */
.btn {
  --bh: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -12px rgba(255, 193, 7, .55); }
.btn--accent::before { background: var(--text); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(11, 11, 12, .25); backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 60px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: var(--text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
  padding-bottom: 2px;
}
.link::after { content: '→'; color: var(--accent); transition: transform .4s var(--ease); }
.link:hover { background-size: 100% 1px; }
.link:hover::after { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease);
}
.chip b { font-family: var(--f-mono); font-size: 11px; font-weight: 500; opacity: .7; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Ielādes ekrāns ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: 110px; clip-path: inset(0 0 100% 0); animation: markIn 1s var(--ease) .1s forwards; }
.loader__bar { width: 120px; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: bar 1.1s var(--ease-io) .15s forwards; }
@keyframes markIn { to { clip-path: inset(0 0 0 0); } }
@keyframes bar { to { transform: scaleX(1); } }
.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }

/* ---------- Galvene ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 11, 12, .72); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; transition: transform .6s var(--ease); }
.brand:hover img { transform: translateY(-2px) scale(1.05); }
.brand__word { display: grid; line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: .08em; font-size: 18px; }
.brand__word small { font-weight: 400; font-size: 10px; letter-spacing: .5em; color: var(--muted); margin-top: 4px; font-stretch: 100%; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 12px;
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--text); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-family: var(--f-mono); font-size: 14px; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status.is-open i { background: var(--ok); box-shadow: 0 0 0 0 rgba(60, 207, 145, .6); animation: pulse 2s infinite; }
.status.is-open { color: var(--text); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(60, 207, 145, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 145, 0); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); }
.menu[hidden] { display: none; }
.menu ol { display: grid; gap: 4px; }
.menu ol a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(34px, 9vw, 56px); font-weight: 800; font-stretch: 115%; letter-spacing: -.03em; line-height: 1.15;
  text-decoration: none;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu ol a small { font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 400; letter-spacing: .1em; }
.menu ol a:hover { color: var(--accent); }
.menu.is-open ol a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(1) a { transition-delay: .15s; }
.menu.is-open li:nth-child(2) a { transition-delay: .19s; }
.menu.is-open li:nth-child(3) a { transition-delay: .23s; }
.menu.is-open li:nth-child(4) a { transition-delay: .27s; }
.menu.is-open li:nth-child(5) a { transition-delay: .31s; }
.menu.is-open li:nth-child(6) a { transition-delay: .35s; }
.menu.is-open li:nth-child(7) a { transition-delay: .39s; }
.menu__foot { display: grid; gap: 12px; color: var(--muted); }
.menu__phone { font-family: var(--f-mono); font-size: 22px; color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden; isolation: isolate;
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; transform: scale(1.12); transition: transform 2.6s var(--ease); filter: contrast(1.05); }
.is-loaded .hero__media img { transform: scale(1.02); }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .55) 42%, rgba(11, 11, 12, .1) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 38%),
    linear-gradient(180deg, rgba(11, 11, 12, .6) 0%, rgba(11, 11, 12, 0) 22%);
}
.hero__streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__streaks i {
  position: absolute; left: 0; height: 1px; width: 40vw;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  opacity: 0; animation: streak 6s linear infinite;
}
.hero__streaks i:nth-child(1) { top: 72%; animation-delay: .4s; }
.hero__streaks i:nth-child(2) { top: 78%; animation-delay: 2.1s; width: 25vw; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hero__streaks i:nth-child(3) { top: 84%; animation-delay: 3.4s; animation-duration: 4.5s; }
.hero__streaks i:nth-child(4) { top: 66%; animation-delay: 4.6s; width: 18vw; }
.hero__streaks i:nth-child(5) { top: 90%; animation-delay: 1.2s; animation-duration: 5s; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
@keyframes streak {
  0% { transform: translateX(-50vw); opacity: 0; }
  10% { opacity: .9; }
  60% { opacity: .5; }
  100% { transform: translateX(120vw); opacity: 0; }
}
.grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

.hero__content { align-self: end; padding-top: 6vh; padding-bottom: 5vh; }
.hero__eyebrow { color: var(--text); opacity: .85; }
.blinker { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; box-shadow: none; } }
.hero__title {
  margin-top: 24px;
  font-size: clamp(36px, 10.4vw, 150px);
  line-height: .86;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero__title .char { display: inline-block; transform: translateY(105%); }
.is-loaded .hero__title .char { transform: none; transition: transform 1.2s var(--ease); transition-delay: calc(.35s + var(--i) * .035s); }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; margin-top: 40px; }
.hero__lead { max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); color: rgba(242, 240, 235, .82); }
.hero__lead strong { color: var(--accent); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
[data-hero-item] { opacity: 0; transform: translateY(24px); }
.is-loaded [data-hero-item] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__eyebrow { transition-delay: .25s; }
.is-loaded .hero__lead { transition-delay: .85s; }
.is-loaded .hero__ctas { transition-delay: .95s; }
.is-loaded .hero__stats { transition-delay: 1.1s; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  padding-block: 22px 28px;
}
.hero__stats > div { padding-right: 16px; }
.hero__stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__stats dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__stats dd { margin-top: 6px; font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; }
.hero__stats dd b { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; font-stretch: 120%; letter-spacing: -.02em; }
.hero__stats dd span { color: var(--muted); font-size: 14px; }
.hero__stats dd s { color: var(--dim); font-size: 14px; margin-left: 6px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 120px;
  width: 26px; height: 44px; border: 1px solid var(--line-2); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: var(--accent); border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ritošā josla ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding-block: 18px; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 235, .45); transition: color .3s; }
.ticker span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.ticker i { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sadaļas ---------- */
.section { position: relative; padding-block: clamp(88px, 12vw, 180px); }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 64px; }
.section__head--split > div { flex: 1 1 520px; max-width: 780px; }
.section__head--split > .section__lead { flex: 0 1 420px; }
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow, .light .section__lead { color: var(--ink-muted); }
.light .fineprint { color: var(--ink-muted); }

/* ---------- Kategorijas ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 420px; padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 60%);
  text-align: left; overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease), opacity .5s var(--ease);
  transform-style: preserve-3d;
}
.cat::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 193, 7, .16), transparent 60%);
  transition: opacity .4s;
}
.cat:hover { border-color: var(--line-2); }
.cat:hover::before { opacity: 1; }
.cat.is-hidden { display: none; }
.cat__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.cat__code {
  font-size: clamp(64px, 7vw, 104px); line-height: .8; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em;
  transition: color .4s;
}
.cat:hover .cat__code { color: var(--accent); }
.cat__variants { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-align: right; }
.cat__badge { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0; font-family: var(--f-body); }
.cat__art { margin: auto 0 0; padding-block: 24px 20px; color: var(--muted); transition: color .4s; }
.cat:hover .cat__art { color: var(--text); }
.vicon { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.vicon .hub { fill: currentColor; stroke: none; }
.vicon .svg-num { font: 900 26px var(--f-body); font-stretch: 125%; fill: currentColor; stroke: none; }
.cat .vicon [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cat.is-in .vicon [pathLength] { animation: draw 1.6s var(--ease) both; }
.cat:hover .vicon [pathLength] { animation: draw 1.2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cat h3 { font-size: 24px; font-weight: 700; font-stretch: 110%; letter-spacing: -.01em; }
.cat__lead { color: var(--muted); font-size: 15px; margin-top: 6px; }
.cat__foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.cat__price small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cat__price b { font-size: 30px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.cat__age { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.cat__open {
  position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; border-radius: inherit;
}
.cat__plus {
  position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background-color .4s, transform .6s var(--ease), border-color .4s;
}
.cat__plus::before, .cat__plus::after { content: ''; position: absolute; width: 14px; height: 2px; background: currentColor; }
.cat__plus::after { transform: rotate(90deg); }
.cat:hover .cat__plus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }
.cat__foot { padding-right: 56px; }

/* ---------- Piedāvājumi ---------- */
.offers { background: var(--bg-2); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.lane {
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 48px, transparent 48px 96px);
  animation: lane 2.4s linear infinite; opacity: .9;
}
@keyframes lane { to { background-position: 96px 0; } }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.offer { padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.offer + .offer { border-left: 1px solid var(--line); }
.offer__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.offer h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.offer p { color: var(--muted); }
.offer p b { color: var(--text); }
.offer .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }

/* ---------- Cenas ---------- */
.price-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper-2); margin-bottom: 28px; position: relative; }
.price-tabs button {
  border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-muted);
  transition: color .3s, background-color .3s;
}
.price-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.price-table { display: grid; gap: 0; border-top: 1px solid rgba(14, 14, 16, .15); }
.prow {
  display: grid; grid-template-columns: 120px 1.4fr 1fr 1fr 1fr 150px; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid rgba(14, 14, 16, .15);
  transition: background-color .3s, padding .4s var(--ease);
  animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } }
.prow:hover { background: var(--paper-2); padding-inline: 16px; }
.prow__code { font-size: 44px; line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; }
.prow__name b { display: block; font-weight: 700; font-size: 17px; }
.prow__name span { font-size: 13px; color: var(--ink-muted); }
.prow__cell small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.prow__cell span { font-weight: 600; }
.prow__cell s { color: var(--ink-muted); font-weight: 400; font-size: 13px; margin-right: 4px; }
.prow__total { text-align: right; }
.prow__total b { display: block; font-size: 30px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.prow__total em { font-style: normal; font-size: 12px; font-weight: 700; color: #c2410c; }
.prow__go { grid-column: 1 / -1; display: none; }

/* ---------- Kāpēc ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; transform: scale(1.25); }
.why .h2 { font-size: clamp(36px, 4.4vw, 68px); }
.why__list { margin-top: 40px; display: grid; }
.why__list li { display: grid; grid-template-columns: 136px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.why__num { font-size: 40px; line-height: 1; white-space: nowrap; font-weight: 900; font-stretch: 125%; color: var(--accent); letter-spacing: -.03em; }
.why__list h3 { font-size: 19px; font-weight: 700; }
.why__list p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* image reveal */
[data-reveal-img] > picture { width: 100%; height: 100%; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
[data-reveal-img] img { transition: transform 1.8s var(--ease); }
[data-reveal-img].is-in > picture { clip-path: inset(0 0 0 0); }
[data-reveal-img].is-in img { transform: scale(1.05); }

/* ---------- Soļi ---------- */
.steps { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.steps__intro .btn { margin-top: 36px; }
.road { position: relative; display: grid; gap: clamp(48px, 7vw, 96px); padding-left: 72px; }
.road__line { position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 14px, transparent 14px 26px); }
.road__fill { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: var(--accent); box-shadow: 0 0 18px rgba(255, 193, 7, .6); }
.road__car {
  position: absolute; left: 50%; top: calc(var(--p, 0) * 100%);
  width: 18px; height: 30px; margin: -15px 0 0 -9px; border-radius: 6px 6px 4px 4px;
  background: var(--text); box-shadow: 0 0 0 4px var(--bg-2), 0 8px 24px rgba(0, 0, 0, .5);
}
.road__car::before { content: ''; position: absolute; left: 3px; right: 3px; top: 6px; height: 6px; border-radius: 2px; background: var(--bg); }
.road__car::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: -6px; height: 10px; background: radial-gradient(ellipse at top, rgba(255, 193, 7, .9), transparent 70%); filter: blur(2px); }
.step { position: relative; opacity: .35; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step::before {
  content: ''; position: absolute; left: -59px; top: 10px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--line-2); transition: border-color .4s, background-color .4s;
}
.step.is-active::before { border-color: var(--accent); background: var(--accent); }
.step__n { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; font-stretch: 115%; letter-spacing: -.025em; line-height: 1.05; margin-top: 6px; }
.step p { color: var(--muted); margin-top: 12px; max-width: 48ch; }
.step .link { margin-top: 14px; }

/* ---------- Grupas ---------- */
.groups__list { display: grid; gap: 12px; }
.group {
  display: grid; grid-template-columns: 90px 1.2fr 1.6fr 70px auto; align-items: center; gap: 24px;
  padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color .4s, transform .5s var(--ease), background-color .4s;
}
.group:hover { border-color: var(--accent); transform: translateX(6px); background: var(--bg-3); }
.group__cat { font-size: 40px; font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; }
.group__cat small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); font-weight: 400; margin-top: 6px; }
.group__dates b { display: block; font-size: 19px; font-weight: 700; }
.group__dates span, .group__days span { font-size: 13px; color: var(--muted); }
.group__days { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.group__days div { font-size: 14px; }
.group__days b { font-family: var(--f-mono); color: var(--accent); font-weight: 500; margin-right: 6px; }
.group__lang { font-family: var(--f-mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; justify-self: start; }
.group__soon { font-family: var(--f-mono); font-size: 11px; color: var(--ok); letter-spacing: .06em; display: block; margin-top: 4px; }
.groups__empty { padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* ---------- Instruktori ---------- */
.ins-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); }
.tag--auto { border-color: rgba(255, 193, 7, .5); color: var(--accent-2); }
.tag--ev, .tag--hy { border-color: rgba(60, 207, 145, .45); color: var(--ok); }

.quotes { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.quotes .eyebrow { grid-column: 1 / -1; }
.quotes__track { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease), visibility 0s .7s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote blockquote { font-size: clamp(24px, 3vw, 46px); line-height: 1.15; font-weight: 600; font-stretch: 105%; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
.quote figcaption { margin-top: 20px; color: var(--muted); font-size: 15px; }
.quote figcaption b { color: var(--text); }
.quotes__nav { display: flex; align-items: center; gap: 16px; }
.quotes__count { font-family: var(--f-mono); font-size: 13px; color: var(--muted); min-width: 44px; text-align: center; }

/* ---------- Pakalpojumi ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease);
  transform-style: preserve-3d;
}
.svc:hover { border-color: var(--line-2); }
.svc__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(1) contrast(1.05); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__media--pedals { background: radial-gradient(circle at 60% 50%, #2a2a2e, var(--bg-2) 70%); display: grid; place-items: center; }
.svc__media--pedals img { width: auto; height: 82%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.svc:hover .svc__media--pedals img { transform: scale(1.06) rotate(-2deg); }
.svc__media--bus img { object-position: 50% 60%; }
.svc__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.svc__body h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.svc__body p:not(.eyebrow) { color: var(--muted); }
.svc__body .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }

/* ---------- BUJ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--accent); }
.accordion summary i { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.accordion summary i::before, .accordion summary i::after { content: ''; position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.accordion summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.accordion details[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.accordion details[open] summary i::after { transform: rotate(0); }
.accordion details > div { padding: 0 56px 28px 0; color: var(--muted); }
.accordion details > div a { color: var(--text); }
.accordion details[open] > div { animation: rowIn .5s var(--ease); }
.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ages li { display: flex; gap: 12px; align-items: baseline; }
.ages b { font-family: var(--f-mono); color: var(--accent); min-width: 48px; font-weight: 500; }

/* ---------- Pieteikšanās ---------- */
.apply { overflow: hidden; }
.apply__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(255, 193, 7, .12), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(242, 240, 235, .05), transparent 70%);
}
.apply { isolation: isolate; }
.apply__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.contact dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact dd { font-size: 17px; font-weight: 600; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--accent); }
.contact div:last-child { grid-column: 1 / -1; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; font-weight: 500 !important; }
.hours span:nth-child(odd) { font-family: var(--f-mono); color: var(--muted); font-size: 14px; }
.map { margin-top: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }

.form-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 3vw, 44px); border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8);
}
.form { display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .seg legend { font-size: 13px; font-weight: 600; color: var(--muted); }
.field label em, .seg legend em, .check em { color: var(--accent); font-style: normal; }
.field .opt { font-weight: 400; color: var(--dim); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11, 11, 12, .6);
  font-size: 16px; color: var(--text);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(242, 240, 235, .35); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 193, 7, .18); background: var(--bg); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: 13px; color: var(--err); min-height: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select option { background: var(--bg-2); color: var(--text); }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: grid; place-items: center; min-height: 50px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s;
}
.seg input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 400 !important; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; }
.check__box { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.check__box::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--err); }
.form__note { font-size: 13px; color: var(--dim); text-align: center; }
.form__note:empty { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(18, 7, 0, .25); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-result { display: grid; gap: 16px; animation: rowIn .6s var(--ease); }
.form-result:focus { outline: none; }
.form-result__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 193, 7, .14); color: var(--accent); }
.form-result__icon.is-ok { background: rgba(60, 207, 145, .14); color: var(--ok); }
.form-result__icon.is-err { background: rgba(255, 93, 93, .14); color: var(--err); }
.form-result__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-result h3 { font-size: 30px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.1; }
.form-result p { color: var(--muted); }
.form-result pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-height: 220px; overflow: auto; color: var(--muted); margin: 0; }
.form-result__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Kājene ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: clamp(72px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.footer__big { font-size: clamp(48px, 9vw, 150px); line-height: .9; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; text-transform: uppercase; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px; }
.footer__brand img { width: 150px; opacity: .95; }
.footer h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { text-decoration: none; transition: color .3s; }
.footer ul a:hover { color: var(--accent); }
.social { display: flex !important; gap: 8px !important; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.social a:hover { background: var(--accent); color: var(--accent-ink) !important; border-color: var(--accent); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.totop { text-decoration: none; }
.totop:hover { color: var(--accent); }

/* ---------- Atklāšanās animācijas ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-lines] .rl { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
[data-reveal-lines] .rl > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--l) * .09s); }
[data-reveal-lines].is-in .rl > span { transform: none; }
.js .cat-grid .cat { opacity: 0; transform: translateY(48px); }
.js .cat-grid .cat.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease), border-color .4s; transition-delay: var(--d, 0s); }

/* ---------- Apakšlapas (pakalpojumi) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(56px, 7vw, 100px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(40px, 5.3vw, 96px); line-height: .88; font-weight: 900; font-stretch: 125%; letter-spacing: -.045em; text-transform: uppercase; margin-top: 20px; }
.page-hero .section__lead { max-width: 52ch; }
.page-hero__media { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media--contain { background: radial-gradient(circle at 50% 50%, #26262a, var(--bg) 70%); aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1px solid var(--line); }
.page-hero__media--contain img { width: 78%; height: auto; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .7)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: 10px; align-content: start; }
.feature .eyebrow { color: var(--accent); }
.feature h3 { font-size: 24px; font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.1; }
.feature p { color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); transition: color .3s, border-color .3s; }
.brands li:hover { color: var(--text); border-color: var(--accent); }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-top: 36px; }
.spec div { padding: 20px 16px 0 0; }
.spec div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; font-stretch: 115%; margin-top: 6px; letter-spacing: -.02em; }
.reqs { font-size: 14px; color: var(--muted); display: grid; gap: 4px; margin-top: 24px; }
.reqs b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Pielāgošanās ekrāniem
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prow { grid-template-columns: 90px 1.3fr 1fr 1fr 1fr 130px; }
  .group { grid-template-columns: 80px 1fr 1.4fr auto; }
  .group__lang { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header__phone, .status { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__scroll { display: none; }
  .offers__grid { grid-template-columns: 1fr; }
  .offer + .offer { border-left: 0; border-top: 1px solid var(--line); }
  .why__grid, .steps__grid, .faq__grid, .apply__grid, .svc-grid, .page-hero__grid { grid-template-columns: 1fr; }
  .why__media { aspect-ratio: 16 / 11; }
  .steps__intro { position: static; }
  .form-card { position: static; }
  .prow { grid-template-columns: 72px 1fr auto; row-gap: 12px; }
  .prow__cell { display: none; }
  .prow__code { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 8.4vw; }
}

@media (max-width: 680px) {
  .header .btn--sm { display: none; }
  .brand img { width: 38px; }
  .hero__title { font-size: 11.2vw; }
  .hero__title .line:last-child { -webkit-text-stroke-width: 1px; }
  .hero { min-height: 0; }
  .hero__media { inset: 0 0 auto; height: calc(var(--header-h) + 82vw); }
  .hero__media img { object-position: 30% 62%; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 12, .6) 0, rgba(11, 11, 12, 0) calc(var(--header-h) + 10vw), rgba(11, 11, 12, .15) calc(var(--header-h) + 50vw), var(--bg) calc(var(--header-h) + 80vw)); }
  .hero__content { padding-top: 56vw; padding-bottom: 32px; }
  .hero__bottom { margin-top: 24px; }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .hero__stats > div + div { padding-left: 14px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { min-height: 0; }
  .group { grid-template-columns: 64px 1fr; gap: 14px 16px; padding: 20px; }
  .group__days { grid-column: 1 / -1; }
  .group .btn { grid-column: 1 / -1; width: 100%; }
  .group__cat { font-size: 32px; }
  .why__list li { grid-template-columns: 100px 1fr; gap: 14px; }
  .why__num { font-size: 30px; }
  .row2, .contact { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr; }
  .accordion details > div { padding-right: 0; }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
  .price-tabs { display: flex; }
  .price-tabs button { flex: 1; padding-inline: 8px; }
}

@media (hover: none) {
  .cat .vicon [pathLength] { animation: none; }
  .cat.is-in .vicon [pathLength] { animation: draw 1.6s var(--ease) both; }
}

/* ---------- Samazināta kustība ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero__streaks, .grain { display: none; }
  .ticker__track { animation: none; }
  .js .loader { display: none; }
  .js [data-reveal], [data-hero-item], .js .cat-grid .cat { opacity: 1; transform: none; }
  .hero__title .char, [data-reveal-lines] .rl > span { transform: none; }
  [data-reveal-img] > picture { clip-path: none; }
}

/* apakšlapu palīgklases */
.page-hero__ctas { margin-top: 32px; }
.brands-block { margin-top: 72px; }
.brands-block .brands { margin-top: 24px; }
.muted { color: var(--muted); font-weight: 400; }
.mono { font-family: var(--f-mono); font-size: 14px; }

/* attēlu ietvari aizpilda konteineru */
.hero__media picture, .why__media picture, .svc__media picture, .page-hero__media picture { width: 100%; height: 100%; }
.svc__media--pedals picture, .page-hero__media--contain picture { display: grid; place-items: center; }
@media (max-width: 680px) {
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .1em; }
}

.nowrap { white-space: nowrap; }

/* ==========================================================================
   Daudzlapu vietne - papildu komponentes
   ========================================================================== */
[hidden] { display: none !important; }
.h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; margin: 10px 0 20px; }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section__more { margin-top: 36px; }
.muted { color: var(--muted); }
.light .muted { color: var(--ink-muted); }

/* aktīvā lapa navigācijā */
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu ol a[aria-current="page"] { color: var(--accent); }
.header .btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }

/* tumšā poga gaišās sadaļās */
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: var(--accent); }
.btn--dark:hover { color: var(--accent-ink); }
.link--dark { color: var(--ink); }

/* ---------- Lapu pārejas (View Transitions) ---------- */
@view-transition { navigation: none; }
.header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) .05s both; }
::view-transition-group(site-header) { animation: none; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* ---------- Apakšlapu galvas ---------- */
.page-hero__split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.page-hero--compact { padding-bottom: clamp(32px, 4vw, 56px); }
.stat-stack { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.stat-stack div { padding: 18px 12px 0 0; }
.stat-stack div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stat-stack dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat-stack dd { font-size: clamp(28px, 3vw, 46px); font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; margin-top: 4px; white-space: nowrap; }
.crumbs a[href] { color: var(--muted); }

/* ---------- Kalkulatora ievads sākumlapā ---------- */
.calc-teaser__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.receipt--demo { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 28px; transform: rotate(-1.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); transition: transform .8s var(--ease); }
.receipt--demo:hover { transform: rotate(0) translateY(-6px); }
.receipt--demo ul { display: grid; margin-top: 12px; }
.receipt--demo li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(238, 236, 230, .16); font-size: 15px; }
.receipt--demo li span { color: #b9b6af; }
.receipt--demo s { color: #77746e; font-weight: 400; margin-right: 6px; }

/* ---------- Kvīts (kopīga) ---------- */
.receipt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.receipt__head b { font-family: var(--f-body); font-size: 18px; letter-spacing: 0; text-transform: none; color: inherit; font-weight: 800; font-stretch: 115%; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; margin-top: 6px; }
.receipt__total span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.receipt__total b { font-size: clamp(40px, 4vw, 60px); font-weight: 900; font-stretch: 120%; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__save { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 193, 7, .15); color: var(--accent-2); font-weight: 700; font-size: 13px; }

/* ---------- Kalkulators ---------- */
.calc__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__controls { display: grid; gap: 14px; }
.calc__step { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-2); min-width: 0; }
.calc__step legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; font-size: 19px; font-weight: 700; }
.calc__step legend small { color: var(--muted); font-weight: 400; font-size: 14px; }
.calc__step legend + * { clear: both; }
.calc__n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.calc__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.opt span {
  display: grid; gap: 2px; align-content: center; min-height: 64px; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2);
  transition: border-color .3s, background-color .3s, color .3s, transform .4s var(--ease);
}
.opt b { font-size: 20px; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; }
.opt small { font-size: 12px; color: var(--muted); line-height: 1.3; transition: color .3s; }
.opt:hover span { border-color: var(--text); transform: translateY(-2px); }
.opt input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.opt input:checked + span small { color: #55524d; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt--other b { font-stretch: 100%; font-size: 16px; }
.opt--sm span { min-height: 56px; }
.opt--sm b { font-size: 16px; font-stretch: 105%; }
.calc__hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.calc__hint:empty { display: none; }
.calc__hint b { color: var(--text); }
.calc__hint s { color: var(--dim); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper__value input {
  width: 120px; height: 64px; text-align: center; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: 34px; font-weight: 900; font-stretch: 120%; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.stepper__value input::-webkit-inner-spin-button, .stepper__value input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__value input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 193, 7, .18); }
.range { --fill: 0%; display: block; width: 100%; margin: 22px 0 4px; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--line-2) var(--fill)); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }
.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.age-help { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: grid; grid-template-columns: auto 110px 1fr auto; align-items: center; gap: 10px 14px; }
.age-help label { font-size: 14px; font-weight: 600; color: var(--muted); }
.age-help input { height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; width: 100%; }
.age-help input:focus { outline: none; border-color: var(--accent); }
.age-help p { font-size: 14px; color: var(--muted); }
.age-help p b { color: var(--text); }
.check--row { grid-template-columns: 24px 1fr; padding: 14px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; position: relative; }
.check--row:first-child { border-top: 0; padding-top: 0; }
.check--row b { font-weight: 600; }
.check--row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.check--row .tag { font-style: normal; margin-left: 6px; vertical-align: 2px; }
.calc__other { border: 1px dashed var(--accent); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; color: var(--muted); animation: rowIn .5s var(--ease); }
.calc__other .eyebrow { color: var(--accent); }
.calc__other b { color: var(--text); }

.receipt { position: sticky; top: calc(var(--header-h) + 20px); }
.receipt__inner {
  position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8);
}
.receipt__inner::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 30px); border-radius: 0 0 3px 3px; }
.receipt__group { margin-top: 18px; }
.receipt__sub { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.receipt__group li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.receipt__group li span { color: var(--muted); }
.receipt__group li b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt__group li s { color: var(--dim); font-weight: 400; margin-right: 6px; }
.receipt__group li.sub { font-size: 13px; border-bottom: 0; padding-top: 4px; }
.receipt__group li.sub b { color: var(--muted); font-weight: 500; }
.receipt__group li.is-new { animation: lineIn .6s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(14px); background: rgba(255, 193, 7, .12); } }
.receipt__total { border-top: 1px solid var(--line-2); margin-top: 18px; }
.receipt__note { margin-top: 16px; font-size: 13px; color: var(--dim); }
.receipt__ctas { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Cenu tabulas (saites) ---------- */
a.prow { color: inherit; text-decoration: none; }
a.prow:hover .prow__code { color: #c2410c; }
.tab-in { animation: rowIn .5s var(--ease); }

/* ---------- Salīdzinājuma tabula ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.avail { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.avail th, .avail td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.avail thead th { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; background: var(--bg-2); }
.avail tbody tr { transition: background-color .3s; }
.avail tbody tr:hover { background: var(--bg-2); }
.avail tbody tr:last-child th, .avail tbody tr:last-child td { border-bottom: 0; }
.avail th[scope="row"] a { font-size: 22px; font-weight: 900; font-stretch: 120%; text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.avail th[scope="row"] a:hover { color: var(--accent); }
.avail td { color: var(--muted); }
.avail .c { text-align: center; }
.avail .r { text-align: right; white-space: nowrap; }
.avail .r b { color: var(--text); font-size: 17px; }
.avail .yes { color: var(--accent); font-size: 12px; }
.avail .no { color: var(--dim); }
.cta-band { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 193, 7, .2), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.cta-band h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.cta-band p { color: var(--muted); margin-top: 6px; }

/* ---------- Kategorijas lapa ---------- */
.cat-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cat-hero__code { font-size: clamp(96px, 16vw, 240px); line-height: .78; font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; margin-top: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); white-space: nowrap; }
.cat-hero__art { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--accent); position: relative; background: radial-gradient(circle, rgba(255, 193, 7, .1), transparent 65%); }
.cat-hero__art::before, .cat-hero__art::after { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.cat-hero__art::after { inset: 18%; border-style: solid; border-color: var(--line); animation-direction: reverse; animation-duration: 60s; }
.cat-hero__art .vicon { max-width: 74%; position: relative; z-index: 1; }
.vicon--draw [pathLength] { stroke-dasharray: 1; animation: draw 2.2s var(--ease) .4s both; }
.cat-hero__facts { margin-top: clamp(40px, 5vw, 64px); grid-template-columns: repeat(4, 1fr); }
.cat-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.info-list { margin-top: 36px; }
.info-item { padding: 20px 0; border-top: 1px solid var(--line); }
.info-item h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.info-item p, .info-item li { color: var(--muted); font-size: 15px; }
.info-item ul { margin-top: 8px; display: grid; gap: 6px; }
.info-item li { padding-left: 18px; position: relative; }
.info-item li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--accent); }
.info-item .age { display: inline-flex; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--text); font-weight: 600; }
.info-item .age::before { content: '◆'; color: var(--accent); font-size: 10px; line-height: 2.1; }
.cat-price { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.cat-price .eyebrow { margin-bottom: 4px; }
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 22px; background: var(--bg-2); margin-bottom: 12px; }
.pcard table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pcard td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pcard td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.pcard td small { display: block; color: var(--dim); font-size: 12.5px; font-weight: 400; }
.pcard s { color: var(--dim); font-weight: 400; margin-right: 8px; }
.pcard .free { color: var(--ok); }
.pcard__sum { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 18px; }
.pcard__sum small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; }
.pcard__sum b { font-size: 44px; font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; line-height: 1; }
.pcard__save { background: rgba(255, 193, 7, .14); color: var(--accent-2); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; border-block: 1px solid var(--line); }
.pager__link { display: flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); font-stretch: 110%; transition: color .3s; }
.pager__link small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; font-stretch: 100%; }
.pager__link svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.pager__link:hover { color: var(--accent); }
.pager__link:hover svg { transform: translateX(-4px); }
.pager__link--next { text-align: right; }
.pager__link--next:hover svg { transform: translateX(4px); }
.pager__all { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.pager__all:hover { color: var(--accent); }
.other-cats { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.other-cat { position: relative; display: grid; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .5s var(--ease), background-color .3s; }
.other-cat span { font-size: 34px; font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.04em; }
.other-cat .vicon { max-width: 90px; color: var(--muted); transition: color .3s; }
.other-cat b { font-size: 14px; font-weight: 600; }
.other-cat:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--bg-2); }
.other-cat:hover .vicon { color: var(--accent); }

/* ---------- Instruktoru josla ---------- */
.ins-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ins-mini { display: grid; gap: 10px; text-decoration: none; }
.ins-mini picture { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.ins-mini img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.95); transition: filter .6s, transform 1s var(--ease); }
.ins-mini:hover img, .ins-mini:focus-visible img { filter: none; transform: scale(1.06); }
.ins-mini b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.ins-mini small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Instruktoru katalogs ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.toolbar .filters { margin: 0; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 193, 7, .18); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.select--sm { position: relative; display: inline-block; }
.select--sm select { min-height: 42px; height: 42px; padding: 0 40px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 14px; appearance: none; cursor: pointer; max-width: 260px; }
.select--sm::after { right: 16px; }
.select--sm select:focus { outline: none; border-color: var(--accent); }
.result-count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 18px; min-height: 1.4em; }
.ins-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ins-card a { position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.ins-card a:hover { border-color: var(--line-2); transform: translateY(-6px); }
.ins-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.ins-card__photo picture, .ins-card__photo img { display: block; width: 100%; height: 100%; }
.ins-card__photo img { object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.92); transition: filter .7s, transform 1.2s var(--ease); }
.ins-card a:hover .ins-card__photo img, .ins-card a:focus-visible .ins-card__photo img { filter: none; transform: scale(1.05); }
.ins-card__photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(17, 17, 19, .92), transparent); pointer-events: none; }
.ins-card__count { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.ins-card__body { padding: 18px 18px 20px; display: grid; gap: 4px; align-content: start; }
.ins-card__body h3 { font-size: 18px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.ins-card__body p { font-size: 14px; color: var(--muted); }
.ins-card__body .ins__tags { padding-top: 10px; }
.ins__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ins-card__go { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 11, 12, .55); backdrop-filter: blur(8px); opacity: 0; transform: translate(-6px, 6px) rotate(-45deg); transition: opacity .4s, transform .5s var(--ease), background-color .3s; }
.ins-card__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ins-card a:hover .ins-card__go, .ins-card a:focus-visible .ins-card__go { opacity: 1; transform: rotate(-45deg); background: var(--accent); color: var(--accent-ink); }
.js .ins-cards .ins-card { animation: rowIn .6s var(--ease) both; animation-delay: calc(min(var(--i), 12) * 40ms); }
.empty-note { padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); display: grid; gap: 12px; justify-items: start; }
.empty-note a { color: var(--text); }

/* ---------- Instruktora profils ---------- */
.profile { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) 0 clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.profile__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.profile__photo { position: relative; margin: 0; max-width: 440px; width: 100%; }
.profile__photo picture { display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--bg-3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 1.2s var(--ease); }
.profile__photo:hover img { filter: none; }
.profile__photo::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line-2); border-radius: 28px; z-index: -1; }
.profile__plate {
  position: absolute; right: -18px; bottom: 28px; padding: 8px 16px 8px 30px; border-radius: 6px; background: var(--text); color: var(--bg);
  font-family: var(--f-mono); font-weight: 500; font-size: 15px; letter-spacing: .14em; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text), 0 20px 40px rgba(0, 0, 0, .5);
}
.profile__plate::before { content: 'LV'; position: absolute; left: 0; top: 0; bottom: 0; width: 20px; background: #1d3fb3; color: #fff; font-size: 8px; display: grid; place-items: end center; padding-bottom: 5px; border-radius: 4px 0 0 4px; letter-spacing: 0; }
.profile__name { font-size: clamp(44px, 6.4vw, 104px); line-height: .9; font-weight: 900; font-stretch: 120%; letter-spacing: -.045em; margin: 18px 0 22px; }
.profile__info .ins__tags { margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-bottom: 32px; }
.facts div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 18px; font-weight: 700; margin-top: 4px; }

/* ---------- Atsauksmes ---------- */
.reviews-grid { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 16px; position: relative; transition: border-color .3s; }
.review:hover { border-color: var(--line-2); }
.review::before { content: '„'; position: absolute; right: 20px; top: -14px; font-size: 64px; line-height: 1; font-weight: 900; color: var(--accent); opacity: .25; pointer-events: none; }
.review blockquote { padding-right: 22px; font-size: 16px; line-height: 1.6; color: rgba(242, 240, 235, .88); overflow-wrap: anywhere; }
.review figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.review__author { font-weight: 700; }
.review time { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.review__ins { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; font-size: 12px; color: var(--muted); }
.review__ins img { width: 36px; height: 45px; border-radius: 8px; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.review__ins b { display: block; color: var(--text); font-size: 14px; }
.review__ins:hover img { filter: none; }
.review__ins:hover b { color: var(--accent); }
.pop-in { animation: rowIn .6s var(--ease) both; animation-delay: calc(min(var(--k, 0), 12) * 35ms); }
.more-btn { display: flex; margin: 28px auto 0; }
.reviews-teaser .quotes { margin-top: 0; }

/* ---------- Par mums ---------- */
.about-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86svh, 820px); display: grid; align-items: end; padding: calc(var(--header-h) + 80px) 0 clamp(48px, 7vw, 96px); }
.about-hero__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.about-hero__media picture, .about-hero__media img { display: block; width: 100%; height: 100%; }
.about-hero__media img { object-fit: cover; object-position: 60% 50%; filter: contrast(1.05); }
.about-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .9), rgba(11, 11, 12, .35) 70%), linear-gradient(0deg, var(--bg), transparent 45%); }
.about-hero h1 { font-size: clamp(44px, 7vw, 120px); line-height: .9; font-weight: 900; font-stretch: 122%; letter-spacing: -.045em; text-transform: uppercase; margin-top: 20px; max-width: 12ch; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.facts-grid > div { padding: 28px 20px 0 0; }
.facts-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-grid dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts-grid dd { font-size: clamp(44px, 5.4vw, 84px); font-weight: 900; font-stretch: 122%; letter-spacing: -.04em; line-height: 1; margin-top: 10px; color: var(--accent); white-space: nowrap; }
.facts-grid p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { display: grid; gap: 18px; font-size: clamp(16px, 1.2vw, 19px); color: rgba(242, 240, 235, .82); padding-top: 20px; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.mosaic__all { display: grid !important; place-content: center; text-align: center; gap: 4px; border: 1px solid var(--line-2); text-decoration: none; background: var(--bg-2) !important; transition: border-color .3s, background-color .3s; }
.mosaic__all b { font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; font-stretch: 120%; color: var(--accent); line-height: 1; }
.mosaic__all span { font-size: 11px; color: var(--muted); padding-inline: 4px; }
.mosaic__all:hover { border-color: var(--accent); }
@media (max-width: 1180px) { .mosaic { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 680px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mosaic a { display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--bg-3); }
.mosaic picture { display: block; width: 100%; height: 100%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85); transition: filter .5s, transform .8s var(--ease); }
.mosaic a:hover img, .mosaic a:focus-visible img { filter: none; transform: scale(1.08); }

/* ---------- Kontakti ---------- */
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.live-status { margin-top: 20px; }
.live-status .status { font-size: 13px; }
.map--tall { aspect-ratio: 4 / 5; margin-top: 0; }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 12px; align-content: start; transition: border-color .3s, transform .5s var(--ease); }
.branch:hover { border-color: var(--line-2); }
.branch--main { border-color: rgba(255, 193, 7, .45); background: radial-gradient(120% 120% at 100% 0%, rgba(255, 193, 7, .12), transparent 60%), var(--bg-2); }
.branch h3 { font-size: 34px; font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; line-height: 1; }
.branch__addr { font-weight: 600; }
.branch dl { display: grid; gap: 10px; margin: 6px 0; }
.branch dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.branch dd a { text-decoration: none; font-weight: 600; }
.branch dd a:hover { color: var(--accent); }
.branch__note { color: var(--muted); font-size: 14px; }
.branch .link { margin-top: 6px; justify-self: start; }

/* ---------- Pieteikšanās ---------- */
.apply__info .groups__list { gap: 10px; }
.apply__info .group { grid-template-columns: 64px 1fr; gap: 10px 16px; padding: 18px 20px; }
.apply__info .group__days { grid-column: 2; }
.apply__info .group__lang { display: none; }
.apply__info .group .btn { grid-column: 1 / -1; justify-self: start; }
.apply__info .group__cat { font-size: 32px; }
.group__dates .is-soon { color: var(--ok); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; }
.next-steps { margin-top: 48px; display: grid; counter-reset: s; border-top: 1px solid var(--line); }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.next-steps li::before { content: '0' counter(s); grid-row: span 2; font-family: var(--f-mono); color: var(--accent); font-size: 13px; padding-top: 4px; }
.next-steps b { font-size: 18px; }
.next-steps span { color: var(--muted); font-size: 15px; }
.field textarea[readonly] { color: var(--muted); background: var(--bg-2); font-family: var(--f-mono); font-size: 13px; }

/* ---------- 404 ---------- */
.notfound { min-height: 80svh; display: grid; align-items: center; }
.notfound__code { font-size: clamp(120px, 24vw, 340px); line-height: .8; font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }

/* ---------- Pielāgošanās ---------- */
@media (max-width: 1180px) {
  .ins-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ins-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .other-cats { grid-template-columns: repeat(3, 1fr); }
  .branches { grid-template-columns: 1fr 1fr; }
  .branch--main { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .page-hero__split, .calc-teaser__grid, .calc__grid, .cat-hero__grid, .cat-body, .profile__grid, .about-split, .contact-main { grid-template-columns: minmax(0, 1fr); }
  .receipt, .cat-price { position: static; }
  .cat-hero__art { max-width: 300px; width: 70%; justify-self: center; order: -1; }
  .cat-hero__facts { grid-template-columns: 1fr 1fr; }
  .cat-hero__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facts-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .profile__photo { max-width: 340px; }
  .map--tall { aspect-ratio: 16 / 11; }
  .receipt--demo { transform: none; }
}
@media (max-width: 680px) {
  .ins-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ins-card__body { padding: 14px; }
  .ins-card__body h3 { font-size: 15px; }
  .ins-card__body p { font-size: 13px; }
  .other-cats { grid-template-columns: 1fr 1fr; }
  .branches { grid-template-columns: 1fr; }
  .stat-stack dd { font-size: clamp(18px, 5.6vw, 22px); white-space: normal; overflow-wrap: anywhere; }
  .stat-stack div + div { padding-left: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .age-help { grid-template-columns: auto 1fr; }
  .age-help p { grid-column: 1 / -1; }
  .calc__step { padding: 18px; }
  .calc__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opt span { padding: 10px; min-height: 58px; }
  .opt b { font-size: 17px; }
  .opt small { font-size: 11px; }
  .pager { flex-wrap: wrap; }
  .pager__all { order: 3; width: 100%; text-align: center; }
  .pager__link { font-size: 15px; }
  .profile__plate { right: 12px; }
  .search { max-width: none; }
  .toolbar .filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
  .toolbar .chip { flex-shrink: 0; }
  .sort { width: 100%; justify-content: space-between; }
  .reviews-grid { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .cat-hero__art::before, .cat-hero__art::after { animation: none; }
}

/* mobilā kalkulatora kopsummas josla */
.calc__bar { display: none; }
@media (max-width: 900px) {
  .calc__bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 12px 18px; border-radius: 16px;
    background: rgba(25, 25, 28, .92); backdrop-filter: blur(14px); border: 1px solid var(--line-2); text-decoration: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .calc__bar.is-on { transform: none; }
  .calc__bar span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .calc__bar b { grid-row: span 2; grid-column: 2; font-size: 28px; font-weight: 900; font-stretch: 120%; letter-spacing: -.03em; color: var(--accent); }
  .calc__bar em { font-style: normal; font-size: 13px; font-weight: 600; }
}
