/* Justify, tumšais dizains */
:root {
  --bg: #0d0e10;
  --card: #16181b;
  --line: #24262b;
  --ink: #f2f0eb;
  --soft: #c9c6bf;
  --muted: #b9b5ad;
  --dim: #8f8b84;
  --faint: #a9a59d;
  --ctrl: #3a3d44;
  --ph: #1f2125;
  --pill: #24262b;
  --pill-line: #2e3036;
  --active-card: #14202b;
  --num-off: #6f6b65;
  --accent: #0094e0;
  --on-accent: #0b0e14;
  --hero-bg: #15171a;
  --stripe-a: #17191c;
  --stripe-b: #1a1c20;
  --hero-shade: rgba(13, 14, 16, 0.55);
  --glass: rgba(13, 14, 16, 0.72);
  --glass-line: rgba(255, 255, 255, 0.12);
  --hero-sub: #d4d1ca;
  --call-line: rgba(255, 255, 255, 0.35);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.nav > a:not(.btn) { text-decoration: none; color: var(--soft); }
.nav > a:not(.btn):hover { color: var(--ink); }
.lang { display: flex; gap: 4px; font-size: 13px; border: 1px solid var(--pill-line); border-radius: 99px; padding: 3px; }
.lang a { text-decoration: none; padding: 4px 10px; border-radius: 99px; color: var(--faint); }
.lang a.is-active { background: var(--pill); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; cursor: pointer; border: 0;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; padding: 14px 22px; border-radius: 12px; min-height: 48px;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; border-radius: 10px; min-height: 44px; }
.btn-lg { font-weight: 700; padding: 18px 32px; font-size: 17px; letter-spacing: 0.02em; min-height: 56px; }
.btn-ghost { background: var(--glass); border: 1px solid var(--call-line); color: var(--ink); }
.btn-block { width: 100%; font-size: 17px; font-weight: 700; padding: 16px; min-height: 54px; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; background: var(--hero-bg); }
.hero-photo {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--stripe-a) 0 24px, var(--stripe-b) 24px 48px);
  background-size: cover; background-position: center;
  color: var(--dim); font-size: 15px; text-align: center;
}
.hero-photo.has-photo { font-size: 0; color: transparent; }
.hero-shade { position: absolute; inset: 0; background: var(--hero-shade); }
.hero-inner { position: relative; width: 100%; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero-cards { width: 100%; display: flex; flex-wrap: wrap; gap: 16px; }
.glass { flex: 1 1 420px; min-width: 0; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; padding: 36px; text-align: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.glass h1 { font-family: var(--display); font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 14px; }
.glass p { font-size: 18px; color: var(--hero-sub); }
.glass-type { display: flex; flex-direction: column; justify-content: center; }
.glass .type-lead { font-family: var(--display); font-size: 34px; line-height: 1.15; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.glass .type-line { min-height: 46px; font-family: var(--display); font-size: 36px; font-weight: 700; color: var(--accent); }
.caret { color: var(--ink); font-weight: 400; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { font-size: 14px; padding: 6px 14px; border-radius: 99px; background: var(--glass); color: var(--hero-sub); text-align: center; }

/* Klientu josla */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-row { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 28px; }
.marquee-label { flex: none; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.marquee-view { flex: 1 1 0; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-track span { flex: none; padding-right: 56px; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--soft); }

/* Sekcijas */
.section { padding: 104px 0 40px; }
.section-tight { padding-top: 24px; }
.eyebrow { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.eyebrow-sm { font-size: 13px; margin-bottom: 8px; }
.eyebrow.center { text-align: center; }
h2 { font-family: var(--display); font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.h2-sm { font-size: 36px; }
.lead { font-size: 18px; color: var(--muted); }
.center-block { text-align: center; }
.center-block .lead { margin: 16px auto 40px; max-width: 560px; }

/* Rezultātu karuselis: ekrānšāviņš un nosaukums ir saites uz klienta lapu */
.shot-link { padding: 0; overflow: hidden; position: relative; }
.shot-link img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.5s; }
.case.is-active .shot-link:hover img { transform: scale(1.04); }
.case-site a { text-decoration: none; }
.case.is-active .case-site a:hover { color: var(--accent); }
.ring { position: relative; height: 600px; perspective: 1400px; overflow: hidden; margin-top: 48px; }
.case {
  position: absolute; top: 24px; left: 50%;
  width: min(460px, 80vw); margin-left: calc(min(460px, 80vw) / -2);
  padding: 28px; border-radius: 18px; background: var(--card);
  display: flex; flex-direction: column; gap: 18px;
  will-change: transform, opacity;
  transition: transform 1.4s cubic-bezier(.65, 0, .25, 1), opacity 1.4s ease-in-out, background 1.4s ease-in-out;
}
.case.is-active { background: var(--active-card); }
.shot { aspect-ratio: 16 / 9; border-radius: 12px; background: var(--ph); display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 14px; text-align: center; padding: 12px; }
.case-site { font-family: var(--display); font-weight: 600; font-size: 22px; }
.case-num-row { display: flex; align-items: baseline; gap: 10px; }
.case-num { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.02em; color: var(--num-off); transition: color 1.4s ease-in-out; }
.case.is-active .case-num { color: var(--accent); }
.case-unit { font-size: 15px; color: var(--muted); }
.case-line { font-size: 15px; color: var(--muted); }
.case-line strong { color: var(--ink); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: var(--ctrl); transition: width 0.4s, background 0.4s; }
.dots button.is-on { width: 28px; background: var(--accent); }

/* Partneri */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding-bottom: 56px; }
.partner { flex: 1 1 280px; max-width: 440px; height: 170px; padding: 22px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
a.partner { text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
a.partner:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--accent); }
.partner img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Pakalpojumi */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: 48px; }
.split-head > div { flex: 1 1 420px; min-width: 0; }
.split-head h2 { max-width: 620px; }
.aside { flex: 1 1 320px; max-width: 460px; font-size: 19px; color: var(--muted); padding-left: 24px; border-left: 2px solid var(--accent); }
.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: var(--ctrl); transform: translateY(-2px); }
.card h3 { font-family: var(--display); font-size: 23px; letter-spacing: -0.01em; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.card .tags { margin: 0; font-size: 13px; color: var(--dim); letter-spacing: 0.02em; }
.card .tags a { color: var(--accent); text-decoration: none; display: inline-block; padding: 6px 0; }
.card .tags a:hover { text-decoration: underline; }
.svc-more { margin-top: 24px; font-size: 15px; color: var(--dim); }
.svc-more a { color: var(--accent); text-decoration: none; display: inline-block; padding: 8px 0; }
.svc-more a:hover { text-decoration: underline; }

/* Komanda */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 48px; }
.member { flex: 0 1 calc((100% - 40px) / 3); min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.photo { aspect-ratio: 1 / 1; border-radius: 14px; background: var(--ph); border: 1px dashed var(--ctrl); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--dim); text-align: center; margin-bottom: 16px; background-size: cover; background-position: center; }
.photo.has-photo { border-style: solid; font-size: 0; }
.member h3 { font-family: var(--display); font-size: 22px; margin-bottom: 4px; font-weight: 600; }
.member .role { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.member .bio { color: var(--muted); font-size: 15px; }
.member .meta, .founder .meta { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.member .meta + .meta, .founder .meta + .meta { margin-top: 4px; }
.member .meta b, .founder .meta b { color: var(--ink); font-weight: 600; }

/* Kā strādājam */
.steps-layout { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.steps-intro { flex: 1 1 320px; min-width: 0; }
.steps-intro h2 { margin-bottom: 20px; }
.steps-intro .lead { margin-bottom: 32px; max-width: 420px; }
.steps { flex: 1.4 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: relative; }
.step + .step { margin-top: 24px; }
.step + .step::before { content: ""; position: absolute; left: 52px; top: -25px; width: 2px; height: 24px; background: var(--ctrl); }
.step.is-first { background: var(--active-card); border-color: var(--accent); }
.step-n { flex: none; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--num-off); }
.step.is-first .step-n { color: var(--accent); }
.step h3 { font-family: var(--display); font-size: 24px; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--muted); font-size: 16px; }

/* CRM josla */
.band { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band-text { flex: 1 1 420px; min-width: 0; }
.band-text h3 { font-family: var(--display); font-size: 24px; margin-bottom: 6px; font-weight: 600; }
.band-text p:last-child { color: var(--muted); font-size: 16px; }
.band-price { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price-old { font-size: 18px; color: var(--dim); text-decoration: line-through; }
.price-new { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; color: var(--accent); }
.price-unit { font-size: 15px; color: var(--muted); }

/* BUJ */
.faq-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-layout > div:first-child { flex: 1 1 320px; min-width: 0; }
.faq { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); flex: none; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Pieteikums */
#pieteikums { padding-bottom: 104px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; }
.contact h2 { margin-bottom: 16px; }
.contact .lead { margin-bottom: 24px; }
.small-dim { font-size: 15px; color: var(--dim); margin-bottom: 6px; }
.phone { font-family: var(--display); font-size: 22px; text-decoration: none; display: inline-block; }
.mail { margin-top: 4px; font-size: 16px; }
.details { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.details dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.details dl div { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; }
.details dt { flex: 0 0 130px; color: var(--dim); }
.details dd { margin: 0; flex: 1 1 200px; min-width: 0; color: var(--soft); overflow-wrap: anywhere; }
.social-block { margin: auto 0; padding: 32px 0; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.social-block img { height: 80px; width: auto; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid var(--ctrl); border-radius: 14px; color: var(--soft); transition: border-color 0.2s, color 0.2s; }
.social a:hover { border-color: var(--accent); color: var(--accent); }

.form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.row-2 { display: flex; flex-wrap: wrap; gap: 16px; }
.row-2 .field { flex: 1 1 200px; min-width: 0; }
.field, .label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--ctrl); border-radius: 10px; padding: 13px 14px; width: 100%; min-height: 48px;
  letter-spacing: 0; text-transform: none; font-weight: 400;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6a6f78; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 148, 224, 0.2); }
.field input.is-bad { border-color: #e5484d; }
.hint { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--dim); }
.field-group { display: flex; flex-direction: column; gap: 10px; }
.label span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 15px; padding: 10px 18px; min-height: 44px; border-radius: 99px; cursor: pointer; border: 1px solid var(--pill-line); background: transparent; color: var(--muted); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--ctrl); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.seg button { flex: 1; font-size: 15px; min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; background: transparent; color: var(--dim); transition: background 0.2s; }
.seg button.is-on { background: var(--card); color: var(--ink); font-weight: 600; }
.budget, .budget-item { display: flex; flex-direction: column; gap: 10px; }
.budget-each { display: flex; flex-direction: column; gap: 22px; }
.budget-each[hidden], .budget[hidden] { display: none; }
.budget-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 5px 12px; border-radius: 8px; background: var(--active-card); color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 28px; margin: 0; }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }
.empty-note { font-size: 15px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-size: 15px; text-align: center; }
.form-status.ok { color: #4cc38a; }
.form-status.err { color: #ff8589; }
.legal { text-align: center; font-size: 13px; color: var(--dim); }

/* Kājene */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--faint); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* Privātuma lapa */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-family: var(--display); font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }

/* Pielāgošana */
@media (max-width: 760px) {
  .section { padding-top: 72px; }
  h2 { font-size: 34px; }
  .glass { padding: 26px; }
  .glass h1 { font-size: 32px; }
  .glass .type-lead { font-size: 28px; }
  .glass .type-line { font-size: 30px; }
  .panel { padding: 28px; }
  .nav { gap: 10px 18px; }
  .ring { height: 640px; }
  .step { padding: 22px; gap: 18px; }
  .step-n { font-size: 44px; }
  .step + .step::before { left: 42px; }
  .marquee-row { gap: 16px; }
  .btn-lg { padding: 16px 22px; }
}
/* Ievada animācija: lapas augša parādās pa daļām */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomOut { from { transform: scale(1.08); } to { transform: none; } }
.hero-photo { animation: zoomOut 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.site-header { animation: fade 0.6s ease-out both; }
.hero .glass { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.15s both; }
.hero .glass-type { animation-delay: 0.4s; }
.hero-cta { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.65s both; }
.marquee { animation: fade 0.8s ease-out 0.9s both; }

/* Animācijas rādām visiem (pēc Kristiana vēlmes); "samazināt kustību" tikai izslēdz gludo ritināšanu. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== Par mums: animēts dzinējs ===== */
.engine { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; container-type: inline-size; isolation: isolate;
  background: radial-gradient(circle at 50% 50%, rgba(0,148,224,.2), transparent 55%), linear-gradient(160deg, #141920, #0c0f13); }
.eng-grid { position: absolute; inset: -40px; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 65%); mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 65%); animation: eng-grid 14s linear infinite; }
@keyframes eng-grid { to { transform: translate(40px, 40px); } }
.eng-rings, .eng-orbit { position: absolute; left: 50%; top: 50%; width: 64.5cqw; height: 64.5cqw; margin: -32.25cqw 0 0 -32.25cqw; }
.eng-rings circle { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.eng-rings .dash { stroke-dasharray: 2 7; }
.eng-rings .sweep { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 130 1000; transform-origin: 200px 200px; animation: eng-spin 5s linear infinite; filter: drop-shadow(0 0 6px rgba(0,148,224,.9)); }
.eng-orbit { animation: eng-spin 48s linear infinite; }
@keyframes eng-spin { to { transform: rotate(360deg); } }
.eng-spokes { position: absolute; inset: 0; width: 100%; height: 100%; }
.eng-spokes line { stroke: var(--accent); stroke-opacity: .6; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 10; animation: eng-flow 1.3s linear infinite; }
@keyframes eng-flow { to { stroke-dashoffset: -26; } }
.eng-node { position: absolute; left: 50%; top: 50%; width: 10.5cqw; height: 10.5cqw; margin: -5.25cqw 0 0 -5.25cqw; transform: rotate(var(--a)) translateX(27cqw) rotate(calc(-1 * var(--a))); }
.eng-node i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 30%; color: #e9f1f7; background: rgba(15,19,24,.92); border: 1px solid rgba(0,148,224,.4);
  box-shadow: 0 0 0 4px rgba(0,148,224,.06), 0 8px 22px rgba(0,0,0,.45); animation: eng-spin 48s linear infinite reverse, eng-blink 6s ease-in-out var(--d) infinite; }
.eng-node svg { width: 46%; height: 46%; }
@keyframes eng-blink { 0%, 70%, 100% { border-color: rgba(0,148,224,.4); color: #e9f1f7; } 80% { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(0,148,224,.15), 0 0 22px rgba(0,148,224,.65); } }
.eng-core { position: absolute; left: 50%; top: 50%; width: 27cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #13212d 0%, #0c1015 72%); border: 1px solid rgba(0,148,224,.55); box-shadow: 0 0 40px rgba(0,148,224,.35), inset 0 0 30px rgba(0,148,224,.15); animation: eng-core 3s ease-in-out infinite; }
.eng-core img { position: relative; z-index: 1; width: 80%; height: auto; }
.eng-core::before, .eng-core::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent); animation: eng-pulse 3s ease-out infinite; }
.eng-core::after { animation-delay: 1.5s; }
@keyframes eng-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2); opacity: 0; } }
@keyframes eng-core { 50% { box-shadow: 0 0 70px rgba(0,148,224,.55), inset 0 0 34px rgba(0,148,224,.28); } }
.eng-toast, .eng-chart { position: absolute; z-index: 2; background: rgba(13,17,22,.86); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.eng-toast { right: 4cqw; top: 4.5cqw; display: flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: clamp(11px, 2.5cqw, 13px); font-weight: 600; color: var(--ink); animation: eng-toast 6s ease-in-out infinite; }
.eng-toast b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes eng-toast { 0%, 12% { opacity: 0; transform: translateY(-10px); } 20%, 72% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-10px); } }
.eng-chart { left: 4cqw; bottom: 4.5cqw; width: 25cqw; padding: 8px 10px 6px; border-radius: 12px; }
.eng-chart span { display: block; font-size: clamp(10px, 2.2cqw, 12px); color: var(--muted); margin-bottom: 4px; }
.eng-chart svg { display: block; width: 100%; height: 7cqw; min-height: 24px; overflow: visible; }
.eng-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 140; animation: eng-draw 6s ease-in-out infinite; }
.eng-chart .area { animation: eng-area 6s ease-in-out infinite; }
@keyframes eng-draw { 0% { stroke-dashoffset: 140; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes eng-area { 0%, 25% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* ===== Komandas avatāri (foto vietā) ===== */
.avatar { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 16px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(0,148,224,.22), transparent 60%), linear-gradient(160deg, #151a21, #0d1014); }
.avatar::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%); }
.av-c { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; }
.av-c::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--accent), transparent 30%, rgba(0,148,224,.5) 55%, transparent 80%, var(--accent)); animation: eng-spin 7s linear infinite; }
.av-c::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #10151b; box-shadow: inset 0 0 24px rgba(0,148,224,.18); }
.av-l { position: relative; z-index: 1; font-family: var(--display); font-size: 42px; font-weight: 700; color: var(--ink); }
.av-i { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: rgba(13,17,22,.9); border: 1px solid rgba(0,148,224,.35); }
.av-i svg { width: 18px; height: 18px; }
.founder:hover .av-c::before, .member:hover .av-c::before { animation-duration: 2s; }

.seg[hidden], .budget[hidden] { display: none; }

/* Mārketinga testa bloks */
.test-promo{display:grid;grid-template-columns:1.3fr .7fr;gap:32px;align-items:center;padding:44px;border-radius:24px;border:1px solid rgba(0,148,224,.35);background:radial-gradient(120% 140% at 100% 0%,rgba(0,148,224,.22),transparent 55%),linear-gradient(160deg,#14181d,#0f1114);box-shadow:0 20px 60px rgba(0,148,224,.08);overflow:hidden}
.test-promo h2{font-size:clamp(28px,3.6vw,42px);line-height:1.1;margin:8px 0 14px}
.test-promo .tp-text>p:not(.eyebrow){color:var(--dim);font-size:17px;max-width:520px;margin:0 0 22px}
.tp-facts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
.tp-facts span{padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);font-size:14px;color:var(--dim)}
.tp-facts b{color:#fff;margin-right:4px}
.tp-visual{position:relative;width:min(260px,100%);aspect-ratio:1;margin:0 auto}
.tp-gauge{width:100%;height:100%;transform:rotate(-90deg)}
.tp-track{fill:none;stroke:rgba(255,255,255,.08);stroke-width:12}
.tp-arc{fill:none;stroke:#0094e0;stroke-width:12;stroke-linecap:round;stroke-dasharray:515;stroke-dashoffset:515;animation:tp-fill 2.4s ease-out .3s forwards;filter:drop-shadow(0 0 10px rgba(0,148,224,.6))}
@keyframes tp-fill{to{stroke-dashoffset:90}}
.tp-score{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tp-score b{font-size:64px;line-height:1;color:#fff}
.tp-score span{font-size:16px;color:var(--dim)}
.tp-bar{position:absolute;height:8px;border-radius:8px;background:rgba(0,148,224,.5);animation:tp-pulse 3s ease-in-out infinite}
.tp-b1{width:46px;left:-6px;top:22%}.tp-b2{width:70px;right:-10px;top:50%;animation-delay:.8s}.tp-b3{width:34px;left:4px;bottom:16%;animation-delay:1.6s}
@keyframes tp-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media (max-width:760px){.test-promo{grid-template-columns:1fr;padding:28px 22px}.tp-visual{width:190px;order:-1}.tp-score b{font-size:48px}}

.svc-cta{display:flex;justify-content:center;margin-top:36px}

/* ===== Rezultātu izliektā galerija (sharpify paraugs) ===== */
.arc { --cw: clamp(260px, 23vw, 380px); position: relative; margin-top: 56px; height: calc(var(--cw) * 1.22 + 40px); perspective: 1100px; perspective-origin: 50% 50%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.arc-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.arc .case { position: absolute; top: 20px; left: 0; margin: 0; width: var(--cw); height: calc(var(--cw) * 1.22); padding: 26px; border-radius: 20px; overflow: hidden;
  background: #0f1114; display: flex; flex-direction: column; gap: 10px; transition: none; opacity: 1; will-change: transform; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.arc .case::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,.15) 35%, rgba(8,9,11,.85) 100%); }
.arc .shot-link { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; background: #0f1114; padding: 0; z-index: 0; }
.arc .shot-link img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.arc .case:hover .shot-link img { transform: scale(1.05); }
.arc .case-site, .arc .case-num-row, .arc .case-line { position: relative; z-index: 2; }
.arc .case-site { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.arc .case-site a { color: #fff; }
.arc .case-site a:hover { color: var(--accent); }
.arc .case-num-row { margin-top: auto; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(10,12,15,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.arc .case-num { font-size: clamp(30px, 2.6vw, 42px); color: #fff; line-height: 1; white-space: nowrap; }
.arc .case-unit { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.arc .case-line { padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(10,12,15,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.85); }
.arc .case-line strong { color: #fff; }
@media (max-width: 760px) {
  .arc { --cw: min(270px, 72vw); margin-top: 32px; perspective: 800px; }
  .arc .case { padding: 18px; }
  .arc .case-line { font-size: 12.5px; }
}
.arc .shot-link img { filter: brightness(.62) saturate(.9); }

/* Pieteikšanās jaunumiem */
.news { width: 100%; max-width: 440px; text-align: center; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: radial-gradient(120% 120% at 50% 0%, rgba(0,148,224,.14), transparent 60%), rgba(255,255,255,.02); }
.news-title { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0 0 6px; }
.news-lead { font-size: 14px; color: var(--dim); margin: 0 0 16px; }
.news-row { display: flex; gap: 8px; }
.news-row input[type=email] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ctrl); background: rgba(0,0,0,.25); color: var(--ink); font: inherit; font-size: 15px; }
.news-row input[type=email]:focus { outline: none; border-color: var(--accent); }
.news-row .btn { border-radius: 999px; min-height: 48px; padding: 0 22px; white-space: nowrap; }
.news-msg { min-height: 20px; margin: 10px 0 0; font-size: 14px; color: var(--dim); }
.news-msg.is-ok { color: #3ecf8e; }
.news-msg.is-err { color: #ff6b6b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 420px) { .news-row { flex-direction: column; } }

/* Sīkdatņu paziņojums */
.cookie-bar { position: fixed; left: 50%; bottom: 20px; z-index: 1000; width: min(560px, calc(100vw - 32px)); transform: translate(-50%, 20px); opacity: 0;
  padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(18,20,24,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: transform .35s ease, opacity .35s ease; }
.cookie-bar.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookie-title { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.cookie-text { font-size: 14px; line-height: 1.5; color: var(--dim); margin: 0 0 14px; }
.cookie-text a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-btns .btn { min-height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; }
@media (max-width: 760px) {
  .cookie-bar { bottom: 92px; padding: 16px; }
  .cookie-btns .btn { flex: 1; }
}

/* Rezultātu rinda: redzams pilns mājaslapas sākuma ekrāns (bez aptumšošanas), teksts zem attēla */
.arc { --cw: clamp(300px, 27vw, 460px); height: calc(var(--cw) * 0.625 + 290px); }
.arc .case { height: auto; padding: 14px 14px 18px; justify-content: flex-start; gap: 12px; background: #121418; }
.arc .case::after { display: none; }
.arc .shot-link { position: relative; inset: auto; aspect-ratio: 16 / 10; width: 100%; border-radius: 12px; overflow: hidden; background: #0f1114; flex: none; border: 1px solid rgba(255,255,255,.08); }
.arc .shot-link img { filter: none; object-fit: cover; object-position: top center; }
.arc .case-site { padding: 2px 6px 0; font-size: clamp(19px, 1.6vw, 24px); }
.arc .case-num-row { margin: 0 4px; }
.arc .case-line { margin: 0 4px; }
@media (max-width: 760px) {
  .arc { --cw: min(300px, 80vw); height: calc(var(--cw) * 0.625 + 300px); }
}

/* Justify CRM: ātrā tālruņa forma */
.crm-quick { max-width: 560px; margin: 14px 0 0 auto; padding: 18px 20px; border: 1px solid rgba(0,148,224,.35); border-radius: 16px; background: rgba(0,148,224,.06); }
.crm-quick[hidden] { display: none; }
.crm-quick label { display: block; font-size: 14px; color: var(--dim); margin-bottom: 10px; }
.crm-row { display: flex; gap: 8px; }
.crm-row input[type=tel] { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ctrl); background: rgba(0,0,0,.25); color: var(--ink); font: inherit; font-size: 15px; }
.crm-row input[type=tel]:focus { outline: none; border-color: var(--accent); }
.crm-row .btn { min-height: 46px; white-space: nowrap; }
.crm-msg { min-height: 18px; margin: 8px 0 0; font-size: 14px; color: var(--dim); }
.crm-msg.is-ok { color: #3ecf8e; }
.crm-msg.is-err { color: #ff6b6b; }
@media (max-width: 760px) { .crm-quick { margin-left: 0; } }

/* CRM tālruņa lodziņš centrā zem bloka */
.crm-quick { margin: 14px auto 0; text-align: center; }
.crm-quick .crm-msg { text-align: center; }
@media (max-width: 760px) { .crm-quick { margin: 14px auto 0; } }

/* Sīkdatnes: mazs, neuzkrītošs lodziņš labajā apakšējā stūrī */
.cookie-bar { left: auto; right: 20px; bottom: 20px; width: min(340px, calc(100vw - 24px)); transform: translateY(16px); padding: 14px 16px; border-radius: 14px;
  background: rgba(18,20,24,.92); border-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cookie-bar.is-in { transform: translateY(0); opacity: 1; }
.cookie-title { font-size: 14px; margin-bottom: 4px; }
.cookie-text { font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; }
.cookie-btns { gap: 8px; }
.cookie-btns .btn { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
@media (max-width: 760px) {
  .cookie-bar { right: 12px; left: auto; bottom: 88px; }
  .cookie-btns .btn { flex: 1; }
}

/* Sīkdatnes v3: pamanāms, bet mierīgs */
.cookie-bar { display: flex; gap: 14px; align-items: flex-start; right: 24px; bottom: 24px; width: min(400px, calc(100vw - 24px)); padding: 18px 18px 16px;
  border-radius: 18px; border: 1px solid rgba(0,148,224,.28);
  background: linear-gradient(180deg, rgba(0,148,224,.10), rgba(0,148,224,0) 60%), rgba(17,19,23,.97);
  box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset; transform: translateY(24px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.cookie-bar.is-in { transform: translateY(0); opacity: 1; }
.cookie-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #0094e0; background: rgba(0,148,224,.12); border: 1px solid rgba(0,148,224,.25); }
.cookie-body { flex: 1; min-width: 0; }
.cookie-title { font-size: 15px; margin: 2px 0 4px; }
.cookie-text { font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.cookie-text a { white-space: nowrap; }
.cookie-btns { justify-content: flex-start; gap: 8px; }
.cookie-btns .btn { min-height: 36px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.cookie-btns .btn-ghost { background: transparent; border-color: rgba(255,255,255,.16); }
@media (max-width: 760px) {
  .cookie-bar { left: 12px; right: 12px; width: auto; bottom: 88px; padding: 14px; gap: 12px; }
  .cookie-ic { width: 34px; height: 34px; border-radius: 10px; }
  .cookie-btns .btn { flex: 1; }
}

/* Jaunumu forma telefonā: liels e-pasta lauks un poga */
@media (max-width: 760px) {
  .news { padding: 22px 18px; max-width: none; }
  .news-row { flex-direction: column; gap: 10px; }
  .news-row input[type=email] { flex: none; width: 100%; height: 54px; font-size: 16px; padding: 0 18px; }
  .news-row .btn { width: 100%; min-height: 52px; font-size: 16px; }
  .news-title { font-size: 21px; }
  .news-lead { font-size: 14.5px; }
}
