/* Form Industrial publiskā lapa. Tā pati dizaina valoda kā adminā (app.css): gaišas virsmas, smalkas ēnas,
   Raleway virsraksti, dzeltenais kā akcents, tumšas sadaļas kontrastam. Mobilais skats pirmais:
   pamata noteikumi ir telefonam, platāku ekrānu izmaiņas ir @media blokā uzreiz zem attiecīgās sadaļas.

   SATURS
    1. Fonti un mainīgie            10. Sākumlapa (hero, grupas, priekšrocības, soļi, valstis)
    2. Pamats un palīgklases        11. Vienību kartītes
    3. Pogas                        12. Katalogs (grupu cilnes, filtri)
    4. Formu lauki                  13. Vienības lapa
    5. Galvene un izvēlne           14. Pieprasījuma forma un Exclusive pieteikums
    6. Kājene                       15. Teksta saturs (prose, tabulas)
    7. Sadaļas un lapu augšdaļas    16. Kontakti un Pakalpojumi
    8. Kopīgie bloki                17. Eksporta lapa (soļu ceļš, sūtīšanas veidi)
    9. Zīmējumi (statiskie, kustīgie) 18. Raksti
                                    19. Exclusive lapas augšdaļa
                                    20. Kustība (animācijas, prefers-reduced-motion)
   Sadaļu secība ir svarīga: vēlāka sadaļa drīkst precizēt agrāku (piem., 19. precizē 7.). */

/* ==================== 1. Fonti un mainīgie ==================== */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/raleway-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/raleway-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff;
  --bg-2: #f5f4f0;
  --ink: #17171a;
  --ink-2: #47474c;
  --muted: #74736c;
  --line: #e7e4dc;
  --line-2: #d6d2c8;
  --brand: #e8bd32;
  --brand-hover: #dcb022;
  --brand-soft: #fbf2cf;
  --dark: #121213;
  --dark-2: #1d1d1f;
  --dark-line: #2c2c2f;
  --err: #b0271e; --err-bg: #fbeae8;
  --r-s: 8px; --r: 10px; --r-l: 16px;
  --shadow-1: 0 1px 2px rgba(18,18,19,.05), 0 0 0 1px rgba(18,18,19,.05);
  --shadow-2: 0 14px 34px -14px rgba(18,18,19,.22), 0 2px 6px rgba(18,18,19,.06), 0 0 0 1px rgba(18,18,19,.04);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Raleway", var(--sans);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gut: 20px;
}
@media (min-width: 640px) { :root { --gut: 28px; } }
@media (min-width: 960px) { :root { --gut: 40px; } }

/* ==================== 2. Pamats un palīgklases ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--head); font-feature-settings: "lnum" 1; line-height: 1.15; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
small { color: var(--muted); font-weight: 400; font-size: .85em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .sec-dark :focus-visible, .ftr :focus-visible { outline-color: var(--brand); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 760px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--brand); color: #111; padding: 10px 14px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { left: 8px; }
/* bulta saitēs un pogās: uzbraucot pabīdās pa labi */
.arr { display: inline-block; transition: transform .2s var(--ease); }
a:hover .arr, .btn:hover .arr { transform: translateX(4px); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .15s var(--ease); }
.link:hover { border-color: var(--ink); }
/* ikonas (FI\Site\Icon) */
.ico { flex: none; display: inline-block; vertical-align: -0.18em; }
/* mazais teksts ar dzeltenu punktu virs virsraksta; ievadteksts zem virsraksta */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 13px var(--mono); color: #c8c6be; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* ==================== 3. Pogas ==================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn .ico { margin: 0; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #141414; border-color: #cfa51f; box-shadow: 0 1px 2px rgba(18,18,19,.1), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { color: #fff; border-color: #4a4a4e; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
/* WhatsApp poga: tumšāka par logo zaļo, lai balts teksts būtu salasāms (kontrasts 5:1, WCAG AA) */
.btn-wa { background: #0d8050; color: #fff; border-color: #0a6b43; box-shadow: 0 1px 2px rgba(18,18,19,.1), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-wa:hover { background: #0a6b43; }

/* ==================== 4. Formu lauki ==================== */
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: 400 16px/1.4 var(--sans); padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
input:hover, select:hover, textarea:hover { border-color: #bdb9ae; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--brand-soft); }
input::placeholder, textarea::placeholder { color: #a8a69e; }
textarea { resize: vertical; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2374736c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
/* meklēšanas lauks ar lupu */
input[type=search] { padding-left: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2374736c' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.500 4.500'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; }

/* ==================== 5. Galvene un izvēlne ==================== */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 800 13px/1.05 var(--head); letter-spacing: .09em; text-transform: uppercase; }
.logo img { border-radius: 9px; }
.logo-light { color: #fff; }
/* pilnā izvēlne (tikai platos ekrānos) */
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 10px; border-radius: var(--r-s); text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease); }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); border-radius: var(--r-s) var(--r-s) 0 0; }
.hdr-cta { display: none; white-space: nowrap; }
/* valodu pārslēdzējs */
.langs { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 9px; background: var(--bg-2); }
.langs a { padding: 5px 9px; border-radius: 6px; text-decoration: none; font: 600 12.5px var(--sans); color: var(--muted); transition: background-color .15s var(--ease), color .15s var(--ease); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(18,18,19,.12); }
/* izvēlne ar trim svītrām (telefonā un šaurākos datoru ekrānos); strādā bez JavaScript, jo ir <details> */
.menu { margin-left: auto; }
.langs + .menu { margin-left: 4px; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: var(--r-s); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu nav { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gut) 22px; display: grid; gap: 2px; box-shadow: 0 24px 40px -24px rgba(18,18,19,.3); animation: drop .2s var(--ease); }
.menu nav a:not(.btn) { padding: 13px 4px; text-decoration: none; font: 600 18px var(--head); border-bottom: 1px solid var(--line); }
.menu nav .btn { margin-top: 16px; }
@media (min-width: 960px) {
  .hdr-in { gap: 16px; }
  .nav { display: flex; }
  .hdr-cta { display: inline-flex; }
  .langs { margin-left: 8px; }
  .menu { display: none; }
}
/* izvēlnē ir daudz saišu: pilno izvēlni rāda tikai no 1260 px, līdz tam paliek trīs svītras */
@media (min-width: 960px) and (max-width: 1259px) {
  .nav, .hdr-cta { display: none; }
  .menu { display: block; margin-left: 4px; }
  .langs { margin-left: auto; }
}

/* ==================== 6. Kājene ==================== */
.ftr { background: var(--dark); color: #c4c2ba; padding: 48px 0 0; font-size: 14.5px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr h2 { font: 700 13px var(--sans); letter-spacing: 0; color: #8d8b84; margin-bottom: 10px; }
.ftr p { margin: 0; line-height: 1.9; }
.ftr a { text-decoration: none; color: #fff; }
.ftr a:hover { text-decoration: underline; }
.ftr-tag { margin-top: 16px !important; max-width: 30ch; line-height: 1.6 !important; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 8px; }
.ftr-contact .ico { color: #8d8b84; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--dark-line); font-size: 13px; color: #8d8b84; }
.ftr-base a { color: #b9b7af; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ftr-grid { grid-template-columns: 1.4fr 1.3fr 1fr .8fr; } }

/* ==================== 7. Sadaļas un lapu augšdaļas ==================== */
.sec { padding: 64px 0; }
.sec-alt { background: var(--bg-2); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 32px; max-width: 22ch; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.sec-head .sec-title { margin: 0; }
@media (min-width: 960px) { .sec { padding: 96px 0; } }

/* lapas augšdaļa ar virsrakstu (visas lapas, izņemot sākumlapu) */
.page-head { background: var(--bg-2); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -.025em; }
.page-head .lead { margin: 16px 0 0; }
.page-head .count { margin: 10px 0 0; font: 500 14px var(--mono); color: var(--muted); }
/* zemāka augšdaļa katalogam, lai filtri un saraksts sākas augstāk */
.page-head-slim { padding: 26px 0 22px; }
.page-head-slim h1 { font-size: clamp(28px, 3.6vw, 38px); }
.page-head-slim .count { margin-top: 6px; }

/* divas kolonnas: teksts un zīmējums (.split) vai teksts un forma (.two) */
.split { display: grid; gap: 24px; align-items: center; }
.split-fig { max-width: 420px; justify-self: center; width: 100%; }
.split-fig-sm { max-width: 320px; }
.two { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
  .split-fig { max-width: none; justify-self: stretch; }
  .split-fig-sm { max-width: 380px; justify-self: end; }
}
@media (min-width: 960px) { .two { grid-template-columns: minmax(0, 1.2fr) minmax(340px, 1fr); gap: 56px; } }

/* lapas augšdaļa ar mazu zīmējumu blakus virsrakstam (Pakalpojumi, Eksports, Par mums, Kontakti, Raksti): zemāka */
.page-head-fig { padding-top: 28px; padding-bottom: 24px; }
.page-head-fig .split-fig { max-width: 240px; }
@media (min-width: 900px) {
  .page-head-fig { padding-top: 20px; padding-bottom: 16px; }
  .page-head-fig .split { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .page-head-fig .split-fig { max-width: 300px; justify-self: end; }
}

/* ==================== 8. Kopīgie bloki ==================== */
.card { background: var(--bg-2); border-radius: var(--r-l); padding: 22px; }
.card h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
/* dzeltenā josla ar aicinājumu lapas apakšā */
.cta { background: var(--brand); color: #141414; padding: 48px 0; }
.cta-in { display: grid; gap: 22px; align-items: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta p { margin: 10px 0 0; font-size: 17px; max-width: 52ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cta .btn-line { background: transparent; border-color: rgba(18,18,19,.45); }
.cta .btn-line:hover { border-color: #111; background: rgba(255,255,255,.25); }
@media (min-width: 960px) { .cta-in { grid-template-columns: 1fr auto; } }
/* paziņojumu lapas: nosūtīts, apstiprināts, 404 */
.msg { text-align: center; padding: 88px 0; }
.msg h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.msg .lead { margin: 0 auto 26px; }
.msg .code { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.msg form { margin-top: 8px; }
@media (min-width: 960px) { .msg { padding: 96px 0; } }
.tick { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; animation: pop .4s var(--ease) both; }
/* tukšs rezultāts (katalogā nekas neatbilst, nav rakstu) */
.empty { text-align: center; padding: 56px 20px; background: var(--bg-2); border-radius: var(--r-l); }
.empty h2 { font-size: 24px; margin-bottom: 10px; }
.empty p { color: var(--ink-2); }
.empty .btn { margin: 6px 4px 0; }
/* valstu saraksts: uzbraucot valsts iekrāsojas */
.countries { display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { padding: 7px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14.5px; font-weight: 500; cursor: default; transition: background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.sec-alt .countries li { background: #fff; box-shadow: var(--shadow-1); }
@media (hover: hover) {
  .countries li:hover, .sec-alt .countries li:hover { background: var(--brand); color: #141414; transform: translateY(-2px); box-shadow: var(--shadow-2); }
}
/* virsraksts ar ikonu (Compliance lapa) */
.h-ico { display: flex; align-items: center; gap: 12px; }
.h-ico .ico { color: #b8890a; }

/* ==================== 9. Zīmējumi ==================== */
/* Statiskie līniju zīmējumi (FI\Site\Iso, ainas FI\Site\Figures): zīmēti serverī kā SVG, bez kustības */
.fig { display: block; width: 100%; height: auto; --fig-plate: var(--bg-2); --fig-edge: #8a8880; --fig-mid: #aeaba2; --fig-lo: #d3d0c7; --fig-hi: #c8990f; }
.fig path, .fig ellipse { fill: var(--fig-plate); stroke: var(--fig-mid); stroke-width: 1.15; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.fig .nf { fill: none; }
.fig .sil { stroke: var(--fig-edge); }
.fig .lo { stroke: var(--fig-lo); }
.fig .hi { stroke: var(--fig-hi); stroke-width: 1.7; }
.fig .dot { stroke: none; fill: var(--fig-hi); }
.fig .dot.lo { fill: var(--fig-edge); }
/* zīmējuma "papīra" krāsai jāsakrīt ar fonu, uz kura tas stāv */
.sec-alt .fig { --fig-plate: var(--bg-2); }
.fig-white .fig { --fig-plate: #fff; }
/* Kustīgās figūras (assets/figures/*.js uz Hairline dzinēja): tumšajās sadaļās spilgtā līnija ir zīmola dzeltenā */
.hero, .sec-dark { --hairline-plate: #121213; --hairline-hi: #e8bd32; --hairline-edge: #b6b6bc; --hairline-mid: #7e7e86; --hairline-lo: #4c4c52; --hairline-stroke: 1.2; }

/* ==================== 10. Sākumlapa ==================== */
/* hero: tumša augšdaļa ar virsrakstu, ekskavatoru un četriem skaitļiem */
.hero { background: var(--dark); color: #fff; padding: 44px 0 0; }
.hero-in { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6.2vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
.hero .lead { color: #c4c2ba; margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-art { position: relative; min-width: 0; }
.hero-fig { width: 100%; aspect-ratio: 5 / 4; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--dark-line); }
.facts div { padding: 22px 0 26px; }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dd { font: 800 clamp(30px, 4.4vw, 44px)/1 var(--head); font-feature-settings: "lnum" 1; letter-spacing: -.02em; }
.facts dt { margin-top: 8px; font-size: 14px; color: #a3a199; }
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { padding-right: 16px; }
}
@media (min-width: 960px) {
  .hero { padding-top: 72px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .facts { margin-top: 72px; }
}

/* tehnikas grupas ar tipu birkām */
.groups { display: grid; gap: 14px; }
.groups > li { background: var(--bg-2); border-radius: var(--r-l); padding: 22px; }
.group-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; text-decoration: none; }
.group-ico { grid-row: 1 / 3; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: var(--shadow-1); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.group-head:hover .group-ico { background: var(--brand); transform: translateY(-1px); }
.group-name { align-self: end; font: 800 22px/1.2 var(--head); letter-spacing: -.01em; }
.group-n { align-self: start; font: 500 13.5px var(--mono); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-1); transition: box-shadow .15s var(--ease), transform .15s var(--ease); }
.chips a:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.chips span { font: 500 12px var(--mono); color: var(--muted); }

/* "Why dealers buy from us": trīs kartītes ar zīmējumu */
.why { display: grid; gap: 16px; }
.why li { background: var(--bg-2); border-radius: var(--r-l); padding: 22px; }
.why h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.why p { margin: 0; color: var(--ink-2); }
.why-fig { max-width: 250px; margin: -4px 0 10px -6px; }
@media (min-width: 640px) { .why, .groups { grid-template-columns: repeat(3, 1fr); } }

/* "How a deal works": soļi pa kreisi (2 × 2), traktors pa labi visā augstumā */
.how { display: grid; gap: 8px; }
.how-fig { width: 100%; max-width: 460px; aspect-ratio: 5 / 4; justify-self: center; order: -1; }
.steps { display: grid; gap: 0; }
.steps li { padding: 22px 0; border-top: 1px solid var(--dark-line); }
.step-n { display: block; font-size: 13px; color: var(--brand); margin-bottom: 10px; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.steps p { margin: 0; color: #b9b7af; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
@media (min-width: 960px) {
  .how { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .how-fig { order: 0; max-width: none; justify-self: stretch; }
}

/* ==================== 11. Vienību kartītes ==================== */
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ucard { position: relative; background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.ucard:hover, .ucard:focus-within { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.ucard-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #eeebe4; overflow: hidden; }
.ucard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ucard:hover .ucard-img img { transform: scale(1.04); }
.ucard-none { display: grid; place-items: center; height: 100%; font-size: 13px; color: var(--muted); }
.badge { position: absolute; left: 10px; top: 10px; font: 700 12px var(--sans); padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #141414; }
.badge-inline { position: static; display: inline-block; margin-bottom: 10px; }
.ucard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ucard-type { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.ucard h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ucard h3 a { text-decoration: none; }
/* visa kartīte ir klikšķināma: saites laukums izstiepts pa visu kartīti */
.ucard h3 a::after { content: ""; position: absolute; inset: 0; }
.ucard-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 14px; font-size: 14px; color: var(--ink-2); }
.ucard-facts li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ucard-facts .ico, .keyfacts .ico { color: var(--muted); }
.ucard-price { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 700 18px var(--head); font-feature-settings: "lnum" 1; }
.ucard-price.por { font: 500 14px var(--sans); color: var(--muted); }

/* ==================== 12. Katalogs ==================== */
.cat { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 72px; }
.cat > *, .cat-main { min-width: 0; }
/* grupu cilnes virs saraksta: telefonā ritināmas sāniski */
.gtabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 18px; padding: 2px var(--gut) 6px; scrollbar-width: none; }
.gtabs::-webkit-scrollbar { display: none; }
.gtabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--ink-2); transition: background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease); }
.gtabs a:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.gtabs a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.gtabs span { font: 500 12px var(--mono); opacity: .7; }
/* filtri: telefonā saliekami (<details>), datorā vienmēr atvērti sānā */
.filters { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-1); align-self: start; }
.filters summary { list-style: none; display: flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 14px 18px; font: 700 16px var(--head); cursor: pointer; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); margin-left: 10px; }
.filters[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.filters summary .ico { color: var(--muted); }
.pill { margin-left: 8px; font: 600 12px var(--mono); padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #141414; }
.filters summary .pill { margin-left: auto; }
.filters form { display: grid; gap: 10px; padding: 2px 16px 0; }
.filters label { font-size: 12.5px; }
.filters input, .filters select { margin-top: 4px; min-height: 40px; padding: 8px 10px; }
.filters select { padding-right: 34px; }
.filters input[type=search] { padding-left: 38px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* poga "Rādīt rezultātus" turas paneļa apakšā, lai tā ir redzama bez ritināšanas līdz galam */
.f-actions { display: flex; align-items: center; gap: 14px; margin: 2px -16px 0; padding: 12px 16px 14px; background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-l) var(--r-l); }
.f-actions .btn { flex: 1; }
.reset { font-size: 14px; white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
/* saite uz paziņojumu formu grupu ciļņu rindā */
/* josla virs saraksta: pa kreisi saite uz paziņojumu formu, pa labi kārtošana */
.cat-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.gtab-bell { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 0 0 1px #ecd98a; transition: background-color .15s var(--ease), box-shadow .15s var(--ease); }
.gtab-bell:hover { background: var(--brand); box-shadow: none; }
.gtab-bell:hover .ico { animation: ring .6s var(--ease); }
.sortby { display: flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; }
.sortby select { width: auto; margin: 0; min-height: 40px; padding: 7px 34px 7px 12px; font-size: 15px; }

/* Paziņojumi par jaunām vienībām: tumša kartīte zem saraksta ar zvanu un e-pasta lauku (FI\Site\AlertsCtl) */
.notify { display: grid; gap: 18px; align-items: center; margin-top: 36px; padding: 26px 22px; border-radius: var(--r-l); color: #fff; background: radial-gradient(700px 320px at 12% 0%, #2a2512 0%, var(--dark) 70%); scroll-margin-top: 100px; }
.notify-bell { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: rgba(232,189,50,.12); box-shadow: 0 0 0 1px rgba(232,189,50,.45); animation: pulse 2.6s ease-out infinite; }
.notify-bell .ico { transform-origin: 50% 10%; animation: ring 2.6s var(--ease) infinite; }
.notify h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; }
.notify-text p { margin: 8px 0 0; color: #c4c2ba; font-size: 15.5px; max-width: 60ch; }
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notify-field { flex: 1 1 220px; margin: 0; }
.notify-field input { margin-top: 0; min-height: 44px; border-color: transparent; }
.notify-form .btn { flex: 0 0 auto; }
.notify-form .cf-turnstile { flex: 1 1 100%; margin: 0; }
.notify :focus-visible { outline-color: var(--brand); }
.notify:target .notify-bell { animation: pulse 1.2s ease-out 3; }
.empty + .notify { margin-top: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 720px) {
  .notify { grid-template-columns: 64px minmax(0, 1fr); padding: 28px 30px; column-gap: 24px; }
  .notify-form { grid-column: 2; }
}
@media (min-width: 1200px) {
  .notify { grid-template-columns: 64px minmax(0, 1.1fr) minmax(320px, 1fr); }
  .notify-form { grid-column: auto; }
}
@media (min-width: 960px) {
  .cat { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .gtabs { margin: 0 0 20px; padding: 2px 2px 6px; flex-wrap: wrap; overflow: visible; }
  /* filtru panelis ir īss (kārtošana ir virs saraksta), tāpēc ietilpst ekrānā bez savas ritināšanas */
  .filters { position: sticky; top: 88px; }
  .filters summary { pointer-events: none; padding: 12px 16px 6px; }
  .filters summary::after { display: none; }
  .filters > form { display: grid !important; }
  .filters input, .filters select { min-height: 38px; padding: 7px 10px; font-size: 15px; }
  .filters select { padding-right: 34px; }
  .filters input[type=search] { padding-left: 38px; }
}

/* ==================== 13. Vienības lapa ==================== */
.unit { padding-top: 20px; padding-bottom: 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.unit-top { display: grid; gap: 24px; }
/* galerija: lielā bilde un sīktēlu josla (pārslēgšana: site.js) */
.gallery { min-width: 0; }
.g-main { display: block; border-radius: var(--r-l); overflow: hidden; background: #eeebe4; aspect-ratio: 4 / 3; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-main img.swap { animation: fade .25s var(--ease); }
.g-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; margin-top: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.g-thumbs a { display: block; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 4 / 3; opacity: .62; transition: opacity .15s var(--ease), box-shadow .15s var(--ease); }
.g-thumbs a:hover { opacity: 1; }
.g-thumbs a[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-none { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-l); background: var(--bg-2); color: var(--muted); }
/* labā puse: nosaukums, galvenie fakti, cena, saziņas pogas */
.buy h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.keyfacts li { background: #fff; padding: 12px 14px; }
.keyfacts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.keyfacts span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.keyfacts b { font-size: 17px; font-weight: 600; }
.pricebox { background: var(--bg-2); border-radius: var(--r-l); padding: 20px; }
.price { margin: 0; font: 800 34px/1.1 var(--head); font-feature-settings: "lnum" 1; letter-spacing: -.02em; }
.price.por { font-size: 24px; }
.price-note { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.pricebox .btn-block { margin-top: 16px; }
.buy-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.buy-phone { margin: 14px 0 0; text-align: center; font-size: 15px; }
.buy-phone a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; }
/* saite uz vienības PDF lapu (FI\Site\UnitPdf) */
.buy-pdf { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); text-align: center; font-size: 14.5px; }
.buy-pdf a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-underline-offset: 3px; }
.buy-pdf a:hover { color: var(--ink); }
/* apakšdaļa: apraksts un specifikācijas pa kreisi, forma pa labi */
.unit-body { display: grid; gap: 28px; margin-top: 40px; align-items: start; }
.block { margin-bottom: 36px; }
.block > h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.specs div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14.5px; }
.specs dd { font-weight: 500; }
.specs + p { margin-top: 18px; }
@media (min-width: 960px) {
  .unit-top { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 36px; align-items: start; }
  .buy { position: sticky; top: 92px; }
  .unit-body { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: 48px; }
  .unit-body .iform { position: sticky; top: 92px; }
}

/* ==================== 14. Pieprasījuma forma un Exclusive pieteikums ==================== */
.iform { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 24px 20px; }
.iform h2 { font-size: 24px; font-weight: 800; }
.iform-unit { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
.iform-grid { display: grid; gap: 14px; margin: 20px 0; }
.iform .btn { width: 100%; }
.iform-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
/* slēptais lauks robotiem (skat. FI\Site\FormGuard) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: var(--err-bg); color: #7d1b15; font-size: 14.5px; box-shadow: inset 0 0 0 1px #efc8c4; }
.alert p { margin: 0 0 4px; }
.alert ul { list-style: disc; padding-left: 20px; }
.cf-turnstile { margin-bottom: 16px; }
/* interešu izvēle Exclusive formā: lielas atzīmējamas rindas */
.checks { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.checks legend { padding: 0; margin-bottom: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.checks .check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 500; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.checks .check:hover { border-color: #bdb9ae; }
.checks .check:has(input:checked) { border-color: var(--ink); background: var(--brand-soft); }
.checks input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--ink); }
.checks .ico { color: var(--muted); }
@media (min-width: 640px) {
  .iform { padding: 28px; }
  .iform-grid { grid-template-columns: 1fr 1fr; }
  .iform-grid .wide { grid-column: 1 / -1; }
  .iform .btn { width: auto; }
}

/* ==================== 15. Teksta saturs ==================== */
/* garāks teksts: apraksti, Compliance, raksti (formāts FI\Site\Text) */
.prose { max-width: 70ch; color: var(--ink-2); }
.prose h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 10px; margin-bottom: 1em; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--brand); }
.prose b { color: var(--ink); }
.tbl { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.tbl table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--bg-2); font-weight: 700; color: var(--ink); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }

/* ==================== 16. Kontakti un Pakalpojumi ==================== */
/* kontaktu saraksts: ikona kreisajā pusē, pa labi nosaukums, vērtība un saite */
.contacts { display: grid; gap: 22px; margin-bottom: 28px; }
.contacts li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.contacts li > * { grid-column: 2; }
.contacts span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contacts .c-ico { grid-column: 1; grid-row: 1 / 4; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-2); color: var(--ink); margin: 0; }
.contacts .big { display: block; margin: 0 0 6px; font: 700 clamp(20px, 2.6vw, 26px)/1.3 var(--head); font-feature-settings: "lnum" 1; text-decoration: none; }
.contacts .big.mono { font-family: var(--mono); font-weight: 600; }
.contacts .link { justify-self: start; white-space: nowrap; }
.contacts .link .arr { display: inline-block; margin: 0; font-size: inherit; color: inherit; }
.contacts .btn { justify-self: start; margin-top: 4px; }
/* WhatsApp izcelts: zīmola zaļais ar pašu logo, lai uzreiz ir skaidrs, kur rakstīt */
.contacts .c-wa { background: #effbf3; border: 1px solid #c9efd7; border-radius: var(--r-l); padding: 16px; }
.contacts .c-wa .c-ico { background: #25d366; color: #fff; }

/* pakalpojumu kartītes: zīmējums pa kreisi, teksts pa labi */
.svc { display: grid; gap: 14px; }
.svc li { display: grid; gap: 4px; background: var(--bg-2); border-radius: var(--r-l); padding: 20px 22px; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.svc h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--ink-2); }
.svc .svc-more { margin-top: 10px; }
.svc-fig { max-width: 240px; }
/* uzbraucot zīmējums viegli paceļas un akcenta līnija kļūst spilgtāka */
.svc-fig .fig { transition: transform .45s var(--ease); transform-origin: 50% 70%; }
.svc-fig .fig path, .svc-fig .fig ellipse { transition: stroke .3s var(--ease), stroke-width .3s var(--ease); }
@media (hover: hover) {
  .svc li:hover { background: #fff; box-shadow: var(--shadow-2); }
  .svc li:hover .fig { transform: translateY(-5px) scale(1.06); --fig-plate: #fff; }
  .svc li:hover .fig .sil { stroke: #55534d; }
  .svc li:hover .fig .hi { stroke: var(--brand); stroke-width: 2.6; }
}
@media (min-width: 640px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .svc li { grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
  .svc-fig { max-width: none; }
}

/* ==================== 17. Eksporta lapa ==================== */
/* Soļu ceļš: mezgli ar ikonām, savienoti ar līniju un bultām.
   Telefonā un planšetē ceļš iet uz leju, platā ekrānā no kreisās uz labo. */
.path { display: grid; gap: 0; max-width: 720px; }
.path li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 34px; }
.path li:last-child { padding-bottom: 0; }
.path-node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 6px var(--bg); }
.path-n { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #141414; font-size: 12.5px; font-weight: 700; box-shadow: 0 0 0 3px var(--bg); }
.path li:last-child .path-node { background: var(--ink); color: var(--brand); }
.path-body { padding-top: 6px; }
.path h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.path p { margin: 0; color: var(--ink-2); }
/* savienojums uz nākamo soli */
.path li:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 70px; bottom: 8px; width: 2px; background: var(--line-2); }
.path li:not(:last-child)::after { content: ""; position: absolute; left: 26px; bottom: 8px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
@media (min-width: 1100px) {
  .path { max-width: none; grid-template-columns: repeat(6, 1fr); }
  .path li { display: block; padding: 0 22px 0 0; }
  .path li:last-child { padding-right: 0; }
  .path-body { padding-top: 22px; }
  .path h3 { font-size: 18px; }
  .path p { font-size: 15px; line-height: 1.55; }
  .path li:not(:last-child)::before { left: 76px; right: 10px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .path li:not(:last-child)::after { left: auto; right: 10px; top: 26px; bottom: auto; transform: rotate(-45deg); }
}
/* Soļu ceļa animācijas: mezgls iznirst, teksts paceļas, līnija uzzīmējas līdz nākamajam solim.
   Klasi .anim ceļam uzliek site.js; katram solim klasi .in, kad tas ieritinās skatā.
   Datorā (viena rinda) soļi parādās ar 0,18 s nobīdi (--d), telefonā katrs uzreiz, kad līdz tam aizritina. */
.path li { --d: 0s; }
.path li:nth-child(2) { --d: .18s; } .path li:nth-child(3) { --d: .36s; } .path li:nth-child(4) { --d: .54s; }
.path li:nth-child(5) { --d: .72s; } .path li:nth-child(6) { --d: .9s; }
.path-node { transition: transform .45s var(--ease), opacity .3s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); transition-delay: var(--d), var(--d), 0s, 0s, 0s; }
.path-n { transition: transform .35s var(--ease); transition-delay: calc(var(--d) + .2s); }
.path-body { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--d) + .08s); }
.path li::before { transform-origin: left top; transition: transform .5s var(--ease); transition-delay: calc(var(--d) + .22s); }
.path li::after { transition: opacity .25s var(--ease); transition-delay: calc(var(--d) + .6s); }
.path.anim li:not(.in) .path-node { opacity: 0; transform: scale(.6); }
.path.anim li:not(.in) .path-n { transform: scale(0); }
.path.anim li:not(.in) .path-body { opacity: 0; transform: translateY(10px); }
.path.anim li:not(.in)::before { transform: scaleY(0); }
.path.anim li:not(.in)::after { opacity: 0; }
@media (min-width: 1100px) { .path.anim li:not(.in)::before { transform: scaleX(0); } }
@media (max-width: 1099.98px) { .path li:nth-child(n) { --d: 0s; } }
/* uzbraucot ar peli: mezgls nedaudz paceļas un iekrāsojas */
.path li:hover .path-node { transform: translateY(-3px); background: var(--brand); color: #141414; box-shadow: var(--shadow-2), 0 0 0 6px var(--bg); transition-delay: 0s; }
.path li:last-child:hover .path-node { background: var(--ink); color: var(--brand); }

/* sūtīšanas veidi: RORO, konteiners, flat-rack */
.ship { display: grid; gap: 14px; }
.ship li { background: #fff; border-radius: var(--r-l); padding: 20px 22px; box-shadow: var(--shadow-1); }
.ship h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.ship p { margin: 0; color: var(--ink-2); }
.ship-fig { max-width: 300px; margin: -6px auto 8px; }
@media (min-width: 640px) { .ship { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ship { grid-template-columns: repeat(3, 1fr); } }

/* ==================== 18. Raksti ==================== */
/* rakstu saraksts */
.alist { display: grid; gap: 28px; }
.alist li { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.alist li.has-img { display: grid; gap: 16px; }
.alist h2 { font-size: 26px; font-weight: 800; margin: 4px 0 8px; }
.alist h2 a { text-decoration: none; }
.alist h2 a:hover { text-decoration: underline; }
.alist p { margin: 0; color: var(--ink-2); }
.adate { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.athumb { display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: #eeebe4; }
.athumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.alist li:hover .athumb img { transform: scale(1.03); }
@media (min-width: 640px) { .alist li.has-img { grid-template-columns: 260px 1fr; gap: 24px; align-items: center; } }
/* viens raksts */
.atitle { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
.ahero { margin: 24px 0 0; border-radius: var(--r-l); overflow: hidden; background: #eeebe4; }
.ahero img { width: 100%; height: auto; }
.abody { margin-top: 28px; font-size: 17px; }
.abody h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
.aback { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ==================== 19. Exclusive lapas augšdaļa ==================== */
/* tumša, ar zelta akcentu un kustīgu kombainu; precizē .page-head no 7. sadaļas */
.page-head-dark { background: radial-gradient(900px 500px at 78% 40%, #1e1c14 0%, var(--dark) 62%); color: #fff; border-bottom: 0; padding: 36px 0 28px;
  --hairline-plate: #141310; --hairline-hi: #e8bd32; --hairline-edge: #b9b29a; --hairline-mid: #84806f; --hairline-lo: #4d4a40; --hairline-stroke: 1.15; }
.page-head-dark :focus-visible { outline-color: var(--brand); }
.page-head-dark h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.025em; }
.page-head-dark .lead { color: #c4c2ba; margin: 18px 0 0; }
.page-head-dark .eyebrow { color: var(--brand); }
.excl-head { display: grid; gap: 12px; align-items: center; }
.excl-fig { width: 100%; max-width: 520px; aspect-ratio: 5 / 4; justify-self: center; }
@media (min-width: 960px) {
  .page-head-dark { padding: 44px 0 36px; }
  .excl-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
  .excl-fig { max-width: none; }
}

/* ==================== 20. Kustība ==================== */
/* enter: tikai pārvietojums, bez caurspīdīguma, lai saturs ir redzams arī tad, ja animācija neaiziet */
@keyframes enter { from { transform: translateY(16px); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: .35; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
/* zvans paziņojumu kartītē: īss zvanīšanas vēziens un izplūstošs aplis */
@keyframes ring { 0%, 62%, 100% { transform: rotate(0); } 68% { transform: rotate(14deg); } 76% { transform: rotate(-12deg); } 84% { transform: rotate(8deg); } 92% { transform: rotate(-4deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 1px rgba(232,189,50,.45), 0 0 0 0 rgba(232,189,50,.35); } 70%, 100% { box-shadow: 0 0 0 1px rgba(232,189,50,.45), 0 0 0 16px rgba(232,189,50,0); } }
/* lapas augšdaļas teksts ienāk pa rindai */
.hero-text > * { animation: enter .6s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-art { animation: enter .7s .15s var(--ease) both; }
/* sadaļas viegli paceļas, kad ieritinās skatā (tikai pārlūkos, kas to prot; citur vienkārši redzamas) */
@supports (animation-timeline: view()) {
  .rise, .ugrid > .ucard { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
/* kam sistēmā lūgts mazāk kustību, tam visas animācijas un pārejas ir izslēgtas */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
