:root {
  --ink: #0d1b26;
  --ink-2: #132634;
  --ink-3: #1d3546;
  --text: #1b2833;
  --muted: #5b6874;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --line: #e4e0d6;
  --line-2: #d6d1c4;
  --accent: #f5a524;
  --accent-2: #ffb941;
  --accent-ink: #1d1404;
  --teal: #1f6f8b;
  --glass: #e3eef2;
  --wa: #1fae55;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 27, 38, .06), 0 8px 24px -8px rgba(13, 27, 38, .14);
  --shadow-lg: 0 30px 60px -25px rgba(13, 27, 38, .35);
  --wrap: 1200px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Pogas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(245, 165, 36, .7); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow-light { color: var(--accent); }
.eyebrow-ico .ico { width: 18px; height: 18px; }
.lead-txt { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 40em; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; color: var(--ink); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .ico { width: 18px; height: 18px; color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; stroke-width: 3; }
.checks-light { flex-direction: column; color: #e8eef2; }
.checks-light .ico { background: var(--accent); color: var(--accent-ink); }

/* ---------- Augšjosla un galvene ---------- */
.topbar { background: var(--ink); color: #b8c6d0; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico { width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.tb-right { gap: 22px !important; }
.lang { display: inline-flex; gap: 2px; }
.lang a { padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.lang a.on { background: rgba(255, 255, 255, .12); color: #fff; }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 27, 38, .4); }
.hdr-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.logo-light b { color: #fff; }
.logo-light .logo-mark rect:first-child { fill: #1d3546; }
.logo-light small { color: #93a6b4; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.nav-link:hover, .nav-link.on { background: rgba(13, 27, 38, .06); }
.nav-link .ico { width: 16px; height: 16px; transition: transform .2s; }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -10px; width: 400px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dd-panel::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-btn .ico, .dd.open .dd-btn .ico { transform: rotate(180deg); }
.dd-item { display: flex; gap: 14px; padding: 12px 14px; border-radius: 12px; align-items: flex-start; }
.dd-item:hover, .dd-item.on { background: var(--bg); }
.dd-item > .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--glass); color: var(--teal); }
.dd-item span { display: flex; flex-direction: column; }
.dd-item b { font-size: 15px; color: var(--ink); }
.dd-item small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; }
.hdr-phone .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--glass); color: var(--teal); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); align-items: center; justify-content: center; background: var(--surface); }
.burger .ico { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(13, 27, 38, .5); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface); padding: 18px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.drawer-top .lang a { color: var(--muted); }
.drawer-top .lang a.on { background: var(--ink); color: #fff; }
.drawer-x { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bg); }
.drawer-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 4px; }
.drawer-h:empty { border-top: 1px solid var(--line); margin: 10px 0; }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 12px 6px; font-weight: 700; font-size: 17px; color: var(--ink); border-radius: 10px; }
.drawer-link .ico { color: var(--teal); }
.drawer-cta { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 820px; height: 820px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 165, 36, .22), rgba(245, 165, 36, 0)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 20px; }
.hero .lead-txt { margin-bottom: 30px; }
.hero-visual { position: relative; }
.ba { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; background: #ccc; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-after img { width: 100%; height: 100%; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ba-line .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.ba-line .ico:first-child { transform: rotate(90deg); margin-right: -4px; }
.ba-line .ico:last-child { transform: rotate(-90deg); margin-left: -4px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba-tag-l { left: 18px; background: rgba(255, 255, 255, .85); color: var(--ink); }
.ba-tag-r { right: 18px; background: rgba(13, 27, 38, .78); color: #fff; }
.hero-badge { position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 14px; background: var(--surface); padding: 14px 20px 14px 14px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero-badge > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.hero-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.hero-badge b { font-size: 17px; color: var(--ink); }
.hero-badge small { color: var(--muted); font-size: 13px; }

/* ---------- Fakti ---------- */
.trust { background: var(--ink); color: #fff; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-in > div { padding: 34px 24px; display: flex; align-items: center; gap: 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
.trust-in > div:first-child { border-left: 0; padding-left: 0; }
.trust .ico { flex: none; width: 50px; height: 50px; padding: 13px; border-radius: 15px; background: rgba(245, 165, 36, .14); color: var(--accent); }
.trust span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trust b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.25; }
.trust small { color: #9fb0bd; font-size: 14px; line-height: 1.35; }
@media (max-width: 1140px) { .trust-in > div { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ---------- Sekcijas ---------- */
.sec { padding: 96px 0; }
.sec-tight { padding: 40px 0 96px; }
.sec-white { background: var(--surface); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head-row > div { max-width: 720px; }

/* Pakalpojumu kartītes */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-ico { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .35); }
.svc-ico .ico { width: 24px; height: 24px; }
.svc-body { padding: 34px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-problem { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.svc-body p:not(.svc-problem) { color: var(--muted); font-size: 15.5px; }
.more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; }
.more .ico { width: 17px; height: 17px; transition: transform .2s; }
.svc-card:hover .more .ico { transform: translateX(4px); }
.svc-card-help { background: var(--ink); color: #fff; grid-column: span 2; }
.svc-card-help h3 { color: #fff; font-size: 1.45rem; }
.svc-card-help .svc-body { padding: 32px 28px; justify-content: center; }
.svc-card-help .svc-problem { color: var(--accent); }
.svc-card-help .svc-body p:not(.svc-problem) { color: #b8c6d0; }
.svc-card-help .btn { margin-top: 18px; align-self: flex-start; }

/* Kāpēc plēve */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.why > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--ink); color: var(--accent); margin-bottom: 18px; }
.why h3 { margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 15.5px; }

/* Segmenti */
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seg { position: relative; border-radius: var(--r); overflow: hidden; min-height: 440px; display: flex; color: #fff; background: var(--ink); }
.seg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.seg:hover img { transform: scale(1.05); }
.seg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 38, .05) 10%, rgba(13, 27, 38, .78) 48%, rgba(13, 27, 38, .96) 80%); }
.seg-body { position: relative; z-index: 1; margin-top: auto; padding: 24px; }
.seg h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.seg p { color: #d3dde4; font-size: 15px; margin-bottom: 14px; }
.seg-links { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-links a { font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.seg-links a:hover { background: var(--accent); color: var(--accent-ink); }

/* Soļi */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 48px; right: -22px; width: 22px; height: 2px; background: var(--line-2); }
.step-n { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Darbi */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); text-align: left; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.06); }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 38, 0) 45%, rgba(13, 27, 38, .85)); }
.work-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; }
.work-zoom { position: absolute; z-index: 1; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: .2s; }
.work-zoom .ico { width: 18px; height: 18px; }
.work:hover .work-zoom { opacity: 1; transform: none; }
.work.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 15px; }
.filter span { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.on span { background: rgba(255, 255, 255, .16); color: #fff; }

.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8, 16, 22, .92); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb figure { margin: 0; max-width: min(92vw, 1000px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-height: 78vh; width: auto; border-radius: 10px; min-width: min(80vw, 600px); object-fit: contain; }
.lb figcaption { color: #fff; font-weight: 600; text-align: center; }
.lb-x, .lb-prev, .lb-next { position: fixed; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .24); }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--bg); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--accent); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.sec-white .faq details { background: var(--bg); }

/* Pieteikums */
.lead { background: var(--ink); color: #dfe7ec; padding: 96px 0; position: relative; overflow: hidden; }
.lead-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; position: relative; }
.lead h2 { color: #fff; margin-bottom: 18px; }
.lead-copy > p { color: #b8c6d0; font-size: 1.08rem; }
.lead-direct { display: grid; gap: 12px; margin-top: 34px; max-width: 360px; }
.direct { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--ink-3); transition: background .15s; }
.direct:hover { background: #26435a; }
.direct > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.direct span { display: flex; flex-direction: column; line-height: 1.25; }
.direct small { color: #93a6b4; font-size: 13px; }
.direct b { color: #fff; font-size: 17px; }
.direct:nth-child(2) > .ico { background: var(--wa); color: #fff; }
.form { background: var(--surface); color: var(--text); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; position: relative; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .fld > span { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: .15s; user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); transition: border-color .15s, background .15s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld.err input { border-color: #d64545; background: #fff5f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-err { color: #c03a3a; font-weight: 600; font-size: 14.5px; }
.form-ok { position: absolute; inset: 0; border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px; }
.form-ok[hidden] { display: none; }
.form-ok .ico { width: 68px; height: 68px; padding: 16px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.6; margin-bottom: 8px; }
.form-ok b { font-size: 1.4rem; color: var(--ink); }
.form-ok span { color: var(--muted); }

/* ---------- Pakalpojuma lapa ---------- */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.phero { padding: 40px 0 72px; position: relative; overflow: hidden; }
.phero::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 111, 139, .14), transparent); pointer-events: none; }
.phero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.phero h1 { margin-bottom: 18px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.phero .lead-txt { margin-bottom: 30px; }
.phero-img { border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-lg); }
.phero-img img { width: 100%; height: 100%; object-fit: cover; }
.phero-slim { padding-bottom: 40px; }
.phero-slim .lead-txt { margin-bottom: 0; }

.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ben { padding: 28px 24px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.ben > .ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--glass); color: var(--teal); margin-bottom: 18px; }
.ben h3 { margin-bottom: 8px; }
.ben p { color: var(--muted); font-size: 15.5px; }

.art-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.art { max-width: 760px; min-width: 0; }
.art h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 44px 0 16px; }
.art h2:first-child { margin-top: 0; }
.art p { margin-bottom: 14px; color: #34434f; font-size: 17.5px; }
.art a { color: var(--teal); text-decoration: underline; }
.art-narrow { margin: 0 auto 0 0; }
.uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uses li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--ink); }
.uses .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 3; }
.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; }
.tbl tbody th { color: var(--ink); white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td { color: #34434f; }
.aside { position: sticky; top: 100px; }
.aside-card { background: var(--ink); color: #c9d5dd; border-radius: 22px; padding: 28px; display: grid; gap: 12px; }
.aside-h { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.aside-card > p:not(.aside-h) { margin-bottom: 8px; font-size: 15.5px; }
.aside-phone { display: flex; justify-content: center; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 18px; padding-top: 6px; }
.aside-phone .ico { color: var(--accent); }

.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.rel:hover { border-color: var(--ink); transform: translateY(-2px); }
.rel > .ico:first-child { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--surface); color: var(--teal); }
.rel span { display: flex; flex-direction: column; flex: 1; }
.rel b { color: var(--ink); font-size: 16.5px; }
.rel small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.rel-arr { color: var(--ink); }

/* Kontakti */
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.ct { display: flex; flex-direction: column; gap: 3px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
a.ct:hover { border-color: var(--ink); transform: translateY(-2px); }
.ct > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--glass); color: var(--teal); margin-bottom: 12px; }
.ct small { color: var(--muted); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; }
.ct b { color: var(--ink); font-size: 1.15rem; word-break: break-word; }
.ct span { color: var(--muted); font-size: 14.5px; }
.ct-main { background: var(--ink); border-color: var(--ink); }
.ct-main > .ico { background: var(--accent); color: var(--accent-ink); }
.ct-main small { color: #93a6b4; }
.ct-main b { color: #fff; font-size: 1.5rem; }
.ct-wa > .ico { background: var(--wa); color: #fff; }

/* 404 */
.nf { padding: 100px 0 140px; text-align: center; }
.nf .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.nf-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--accent); }

/* ---------- Kājene ---------- */
.ftr { background: #091620; color: #93a6b4; padding: 72px 0 28px; font-size: 15px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.ftr-about p { margin-top: 18px; max-width: 320px; }
.ftr-area { display: flex; align-items: center; gap: 8px; color: #c9d5dd; }
.ftr-area .ico { width: 17px; height: 17px; color: var(--accent); }
.ftr-h { color: #fff; font-weight: 800; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr ul a:hover { color: #fff; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 10px; color: #dfe7ec; font-weight: 600; }
.ftr-contact .ico { width: 18px; height: 18px; color: var(--accent); }
.ftr-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.ftr-bottom .lang a.on { color: #fff; }

.mbar { display: none; }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(31, 174, 85, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 32px; height: 32px; }

/* Parādīšanās animācija */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Adaptīvais dizains ---------- */
@media (max-width: 1100px) {
  .hdr-phone span { display: none; }
  .why-grid, .ben-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .seg { min-height: 380px; }
  .works { grid-template-columns: repeat(3, 1fr); }
  .art-wrap { grid-template-columns: 1fr 300px; gap: 40px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .topbar { display: none; }
  .nav, .hdr-cta, .hdr-phone { display: none; }
  .burger { display: flex; }
  .hdr-in { min-height: 66px; }
  .hero { padding: 28px 0 56px; }
  .hero-in, .phero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { left: 12px; bottom: 12px; padding: 10px 14px 10px 10px; }
  .hero-badge > .ico { width: 38px; height: 38px; padding: 9px; }
  .hero-badge b { font-size: 15px; }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .trust-in > div { padding: 22px 16px; border-left: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust .ico { width: 42px; height: 42px; padding: 10px; border-radius: 13px; }
  .trust b { font-size: 16px; }
  .trust small { font-size: 13px; }
  .trust-in > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .trust-in > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .trust-in > div:first-child { padding-left: 16px; }
  .sec { padding: 64px 0; }
  .sec-tight { padding: 24px 0 64px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap, .lead-in, .art-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .aside { position: static; }
  .lead { padding: 64px 0; }
  .form { padding: 24px 20px; }
  .ct-grid { grid-template-columns: 1fr 1fr; }
  .phero { padding: 20px 0 48px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(13, 27, 38, .25); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--bg); }
  .mbar .ico { width: 21px; height: 21px; }
  .mbar-wa { color: var(--wa) !important; }
  .mbar-wa span { color: var(--ink); }
  .mbar-cta { background: var(--accent) !important; color: var(--accent-ink) !important; }
  .wa-float { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .btns .btn { flex: 1 1 100%; }
  .checks { flex-direction: column; gap: 10px; }
  .svc-grid, .why-grid, .ben-grid, .steps, .seg-grid, .rel-grid, .ct-grid, .uses { grid-template-columns: 1fr; }
  .svc-card-help { grid-column: auto; }
  .works { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work-cap { font-size: 12.5px; left: 10px; right: 10px; bottom: 8px; }
  .seg { min-height: 340px; }
  .row2 { grid-template-columns: 1fr; }
  .ba-tag { top: 12px; font-size: 12px; padding: 6px 11px; }
  .ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; }
  .ba { border-radius: 20px; }
  .hero-badge small { display: none; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; }
  .tbl tbody th { white-space: normal; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { transform: rotate(180deg); }
  .lb img { min-width: 0; }
}
