/* ============================================================
   Hotel Ops — hotelops.eu
   Dizains: "Nakts maiņa" — nakts konsole viesnīcai, kas neguļ
   Nakts zilā · Papīra baltā · Piparmētras signāls · Dzintara brīdinājums
   ============================================================ */

:root {
  --night: #0B1420;
  --night-2: #101D2C;
  --panel: #13212F;
  --panel-2: #182838;
  --paper: #EAF0F4;
  --dim: #8CA0B3;
  --faint: #5E7285;
  --mint: #3FD9A4;
  --mint-soft: rgba(63, 217, 164, .13);
  --mint-line: rgba(63, 217, 164, .38);
  --amber: #F2B24E;
  --amber-soft: rgba(242, 178, 78, .14);
  --coral: #F27E6B;
  --sky: #5AB8F5;
  --violet: #A78BFA;
  --gold: #F5D76B;
  --acc: var(--mint);
  --line: rgba(234, 240, 244, .1);
  --line-strong: rgba(234, 240, 244, .18);
  --glow: 0 0 0 1px rgba(63,217,164,.25), 0 10px 40px -8px rgba(63,217,164,.18);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.55);
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper);
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 900px 480px at 78% -80px, rgba(63,217,164,.09), transparent 65%),
    radial-gradient(ellipse 760px 560px at -8% 34%, rgba(167,139,250,.09), transparent 68%),
    radial-gradient(ellipse 820px 520px at 108% 78%, rgba(242,178,78,.06), transparent 70%),
    linear-gradient(rgba(234,240,244,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,240,244,.028) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, 52px 52px, 52px 52px, auto;
  background-attachment: fixed, fixed, fixed, scroll, scroll, scroll;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--mint); color: var(--night); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- tipogrāfija ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 640; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 600; }

.lead { font-size: 1.16rem; color: var(--dim); max-width: 42em; }

.kicker {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mint);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--mint); }

.ruled { border-bottom: 1px solid var(--line-strong); padding-bottom: 26px; margin-bottom: 44px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ruled .no {
  font-family: var(--font-mono); color: var(--faint); font-size: .82rem;
  letter-spacing: .2em; white-space: nowrap; padding-bottom: 6px;
}

/* ---------- navigācija ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 32, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--paper); text-decoration: none; display: flex; align-items: center; gap: 10px;
  letter-spacing: -.01em;
}
.logo .bell {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(63,217,164,.8);
  animation: pulse 2.4s ease-in-out infinite;
}
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: .94rem; }
.nav-links a:hover { color: var(--paper); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--night); }
.nav-burger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--paper); cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mint); color: var(--night);
  font-family: var(--font-body); font-weight: 700; font-size: .96rem;
  padding: 13px 26px; border-radius: 10px; border: none;
  text-decoration: none; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--glow); background: #55E6B4; }
.btn.ghost {
  background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--mint-line); color: var(--mint); background: transparent; }
.btn.small { padding: 9px 18px; font-size: .88rem; }

/* ---------- hero ---------- */

.hero { padding: 88px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { margin: 26px 0 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-note {
  margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--faint); max-width: 34em;
}

/* sistēmas žurnāls — dzīvā MI plūsma */
.feed {
  background: var(--panel); color: var(--paper);
  border: 1px solid var(--mint-line);
  border-radius: 14px; padding: 26px 24px 20px;
  box-shadow: var(--shadow), 0 0 60px -20px rgba(63,217,164,.25);
  position: relative;
}
.feed-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63,217,164,.5); }
  55% { box-shadow: 0 0 0 9px rgba(63,217,164,0); }
}
.feed-lines {
  font-family: var(--font-mono); font-size: .83rem; line-height: 1.5;
  height: 216px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.feed-track { display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.feed-line { display: flex; gap: 12px; color: var(--dim); }
.feed-line.on { opacity: 1; }
.feed-line .t { color: var(--faint); flex-shrink: 0; }
.feed-line .ok { color: var(--mint); }
.feed-line .warn { color: var(--amber); }
.feed-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .7rem; color: var(--faint);
}

/* ---------- sadaļas un soļi ---------- */

.section { padding: 92px 0; }
.section.tinted { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px 28px; position: relative; box-shadow: var(--shadow);
}
.step .n {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .2em;
  color: var(--mint); display: block; margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--dim); font-size: .97rem; }

/* ---------- MI sadaļa ---------- */

.ai-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.ai-points { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.ai-points li { display: flex; gap: 14px; color: var(--dim); font-size: 1rem; }
.ai-points .tick {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--mint-soft); color: var(--mint); border: 1px solid var(--mint-line);
  display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700;
}

/* čata demo */
.chat {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.chat-tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.bubble {
  max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: .93rem; line-height: 1.5;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s;
}
.bubble.on { opacity: 1; transform: none; }
.bubble.guest { background: var(--panel-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--paper); }
.bubble.ai {
  background: var(--mint-soft); border: 1px solid var(--mint-line);
  color: var(--paper); align-self: flex-end; border-bottom-right-radius: 4px;
}
.bubble.ai .who { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 7px; }
.chat-status {
  align-self: flex-end; font-family: var(--font-mono); font-size: .74rem; color: var(--mint);
  opacity: 0; transition: opacity .5s;
}
.chat-status.on { opacity: 1; }
.caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: text-bottom; background: var(--mint); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* kapacitātes josla */
.calc {
  margin-top: 26px; background: var(--night); border: 1px solid var(--line-strong); color: var(--dim); border-radius: 12px;
  padding: 18px 22px; font-family: var(--font-mono); font-size: .85rem;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.calc b { color: var(--paper); font-weight: 600; }
.calc .warn { color: var(--amber); }
.calc .arr { color: var(--faint); }

/* ---------- moduļu kartes (istabu numuri) ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 56px 26px 26px;
  text-decoration: none; color: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--acc) 40%, transparent), 0 10px 44px -8px color-mix(in srgb, var(--acc) 26%, transparent);
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
}
.card .no { position: absolute; top: 18px; right: 24px; font-family: var(--font-mono); font-size: .76rem; color: var(--faint); letter-spacing: .12em; }
.card h3 { margin-bottom: 8px; font-size: 1.28rem; }
.card p { color: var(--dim); font-size: .93rem; margin-bottom: 18px; }
.card .go { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; color: var(--acc); }
.card:hover .go { text-decoration: underline; }

/* ---------- segmenti ---------- */

.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seg { border-left: 2px solid var(--mint); padding: 6px 0 6px 22px; }
.seg h3 { font-size: 1.22rem; margin-bottom: 8px; }
.seg p { color: var(--dim); font-size: .95rem; }

/* ---------- drīzumā ---------- */

.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soon-item { border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 20px; }
.soon-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.soon-item p { font-size: .86rem; color: var(--faint); }
.soon-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber); border: 1px solid rgba(242,178,78,.35);
  border-radius: 99px; padding: 3px 10px; margin-bottom: 12px; background: var(--amber-soft);
}

/* ---------- demo forma ---------- */

.demo-box {
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid var(--mint-line);
  color: var(--paper); border-radius: 20px;
  padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  box-shadow: var(--shadow), 0 0 80px -30px rgba(63,217,164,.3);
  position: relative; overflow: hidden;
}
.demo-box::after {
  content: ""; position: absolute; right: -130px; top: -130px; width: 340px; height: 340px;
  border-radius: 50%; border: 1px solid rgba(63,217,164,.3);
  box-shadow: 0 0 0 40px rgba(63,217,164,.05), 0 0 0 90px rgba(63,217,164,.03);
}
.demo-box .lead { color: var(--dim); font-size: 1.04rem; margin-top: 16px; }
.demo-form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.demo-form label { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .08em; color: var(--dim); }
.demo-form input, .demo-form textarea {
  background: rgba(11,20,32,.6); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 12px 14px; color: var(--paper);
  font-family: var(--font-body); font-size: .95rem;
}
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--mint); }
.demo-form .btn { justify-content: center; margin-top: 6px; }

/* ---------- kājene ---------- */

.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--faint); font-size: .88rem; }
.footer a { color: var(--dim); text-decoration: none; }
.footer a:hover { color: var(--mint); }

/* ---------- moduļa lapa ---------- */

.mod-hero { padding: 76px 0 58px; border-bottom: 1px solid var(--line-strong); }
.mod-hero .lead { margin-top: 20px; }
.mod-tagline {
  margin-top: 26px; font-family: var(--font-mono); font-size: .95rem; color: var(--mint);
}

.proc { padding: 64px 0; border-bottom: 1px solid var(--line); }
.proc:last-of-type { border-bottom: none; }
.proc-grid { display: grid; grid-template-columns: 84px 1fr; gap: 28px; }
.proc .idx {
  font-family: var(--font-mono); font-size: .85rem; letter-spacing: .18em;
  color: var(--mint); line-height: 1.4; padding-top: 10px;
}
.proc h3 { font-size: 1.55rem; margin-bottom: 20px; max-width: 22em; }
.proc .ja {
  font-size: 1.1rem; line-height: 1.62; font-weight: 500;
  color: var(--paper); border-left: 2px solid var(--mint); padding-left: 20px; margin-bottom: 22px;
  max-width: 38em;
}
.proc .ris { color: var(--dim); max-width: 40em; margin-bottom: 22px; }
.proc .ris b { color: var(--paper); }
.proc .dos { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 40em; }
.proc .dos li { display: flex; gap: 12px; font-size: .97rem; color: var(--dim); }
.proc .dos .tick {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px;
  background: var(--mint-soft); color: var(--mint); border: 1px solid var(--mint-line);
  display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700;
}
.dos-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }

.mod-next { padding: 64px 0; }
.mod-next-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; padding: 34px 38px;
  box-shadow: var(--shadow);
}
.mod-next-card h3 { font-size: 1.4rem; }
.mod-next-card p { color: var(--dim); font-size: .95rem; margin-top: 4px; }

/* ---------- ikonas un akcentu sistēma ---------- */

.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--acc) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 32%, transparent);
  color: var(--acc); flex-shrink: 0;
}
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card { padding: 24px 26px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.card .ico { margin-bottom: 18px; }

.step { display: flex; flex-direction: column; align-items: flex-start; }
.step .ico { margin-bottom: 16px; }
.step .n { color: var(--acc); }

.seg { border-left-color: var(--acc); }

/* ---------- diennakts aina: orbīta, saule/mēness, ēnas slotiņa ---------- */

.hero { padding-bottom: 0; }
.hero-grid { position: relative; z-index: 2; padding-bottom: 96px; }

.scene {
  position: relative; height: clamp(195px, 12.5vw, 320px); margin-top: -30px;
  overflow: hidden; pointer-events: none;
}
.scene .skyglow { z-index: 1; }
.scene .orbit { z-index: 2; }   /* saule/mēness — AIZ ēkām */
.scene .skyline { z-index: 3; position: relative; }
.scene .sweep { z-index: 4; }   /* ēnas slotiņa pāri fasādēm */
.scene .fade { z-index: 7; }
.scene .orbit {
  position: absolute; left: 50%; bottom: -280px;
  width: 560px; height: 560px; margin-left: -280px;
  animation: orbit 48s linear infinite;
  animation-delay: -7s;
}
@keyframes orbit { to { transform: rotate(360deg); } }
.scene .sun, .scene .moon {
  position: absolute; left: 50%; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%;
}
.scene .sun {
  top: -48px;
  background: radial-gradient(circle at 38% 32%, #FFD98A, var(--amber));
  box-shadow: 0 0 90px 24px rgba(242,178,78,.38);
}
.scene .moon {
  bottom: -39px; width: 78px; height: 78px; margin-left: -39px;
  background: radial-gradient(circle at 40% 34%, #F2F6FA, #B9C9D8);
  box-shadow: 0 0 70px 16px rgba(214,228,240,.26);
}
.scene .moon::after {
  content: ""; position: absolute; top: 15px; left: 19px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(140,160,179,.5); box-shadow: 27px 13px 0 -6px rgba(140,160,179,.45);
}
/* ēnas slotiņa — riņķo tāpat kā debess ķermeņi */
.scene .sweep {
  position: absolute; left: 50%; bottom: -280px;
  width: 560px; height: 560px; margin-left: -280px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg 8deg,
    rgba(5, 10, 18, .5) 168deg 192deg,
    transparent 352deg 360deg);
  animation: orbit 48s linear infinite;
  animation-delay: -7s;
  filter: blur(30px); opacity: .8;
}
/* horizonta blāzma — silta ausmā/rietā, vēsa naktī */
.scene .skyglow {
  position: absolute; inset: auto 0 0 0; height: 190px;
  background: linear-gradient(to top, rgba(242,178,78,.16), transparent 75%);
  animation: skyglow 48s linear infinite;
  animation-delay: -7s;
}
@keyframes skyglow {
  0%, 16%  { background: linear-gradient(to top, rgba(234,240,244,.06), transparent 75%); }
  24%      { background: linear-gradient(to top, rgba(242,178,78,.22), transparent 75%); }
  31%      { background: linear-gradient(to top, rgba(167,139,250,.2), transparent 75%); }
  40%, 58% { background: linear-gradient(to top, rgba(90,130,180,.07), transparent 75%); }
  68%      { background: linear-gradient(to top, rgba(167,139,250,.16), transparent 75%); }
  75%      { background: linear-gradient(to top, rgba(242,178,78,.22), transparent 75%); }
  84%, 100%{ background: linear-gradient(to top, rgba(234,240,244,.06), transparent 75%); }
}
.scene .skyline { position: absolute !important; inset: auto 0 0 0; width: 100%; height: auto; display: block; }
.skyline .b {
  fill: #0D1826; stroke: rgba(234,240,244,.05); stroke-width: 1;
  animation: facadeDay 48s linear infinite; animation-delay: -7s;
}
@keyframes facadeDay {
  0%, 18%   { fill: #7E97AC; }
  28%, 70%  { fill: #0D1826; }
  80%, 100% { fill: #7E97AC; }
}
.skyline .w {
  fill: rgba(234,240,244,.075);
  animation: glassDay 48s linear infinite; animation-delay: -7s;
}
@keyframes glassDay {
  0%, 18%   { fill: rgba(11,20,32,.42); }
  28%, 70%  { fill: rgba(234,240,244,.075); }
  80%, 100% { fill: rgba(11,20,32,.42); }
}
/* jumta izkārtnes: dienā izslēgtas (pelēki burti), naktī spīd savā krāsā */
.skyline .sign {
  font-family: var(--font-mono); font-size: 20px; font-weight: 500; letter-spacing: .14em;
  fill: var(--sign-c, var(--amber));
  filter: drop-shadow(0 0 7px var(--sign-c, var(--amber)));
  animation: signNight 48s linear infinite; animation-delay: -7s;
}
@keyframes signNight {
  0%, 20%   { fill: rgba(234,240,244,.28); filter: none; }
  27%, 71%  { fill: var(--sign-c, var(--amber)); filter: drop-shadow(0 0 7px var(--sign-c, var(--amber))); }
  79%, 100% { fill: rgba(234,240,244,.28); filter: none; }
}
.skyline .sign.flicker { animation-name: signFlicker; }

/* ---- klienta viesnīca centrā: gaišāka fasāde, pilni logi, spilgtākais neons ---- */
.skyline .b.client { animation-name: facadeClient; }
@keyframes facadeClient {
  0%, 18%   { fill: #90A9BE; }
  28%, 70%  { fill: #1A2C3E; }
  80%, 100% { fill: #90A9BE; }
}
/* vakarā un no rīta deg VISI klienta logi */
.skyline .lit.c { animation-name: winClientEve; }
@keyframes winClientEve {
  0%, 21%   { opacity: 0; }
  25%, 41%  { opacity: .95; }
  48%, 60%  { opacity: 0; }
  65%, 77%  { opacity: .95; }
  83%, 100% { opacity: 0; }
}
/* daļa klienta logu paliek degoša arī naktī */
.skyline .lit.cn { animation-name: winClientNight; }
@keyframes winClientNight {
  0%, 21%   { opacity: 0; }
  25%, 73%  { opacity: .9; }
  80%, 100% { opacity: 0; }
}
.skyline .sign.brand {
  font-size: 25px; font-weight: 700; letter-spacing: .16em;
  animation-name: signBrand;
}
@keyframes signBrand {
  0%, 19%   { fill: rgba(234,240,244,.4); filter: none; }
  25%, 73%  { fill: #3FD9A4; filter: drop-shadow(0 0 9px #3FD9A4) drop-shadow(0 0 24px rgba(63,217,164,.55)); }
  81%, 100% { fill: rgba(234,240,244,.4); filter: none; }
}
@keyframes signFlicker {
  0%, 20%   { fill: rgba(234,240,244,.28); filter: none; }
  27%, 37.6%{ fill: var(--sign-c); filter: drop-shadow(0 0 7px var(--sign-c)); }
  38%       { fill: rgba(234,240,244,.2); filter: none; }
  38.5%, 55.4% { fill: var(--sign-c); filter: drop-shadow(0 0 7px var(--sign-c)); }
  55.7%     { fill: rgba(234,240,244,.2); filter: none; }
  56%, 71%  { fill: var(--sign-c); filter: drop-shadow(0 0 7px var(--sign-c)); }
  79%, 100% { fill: rgba(234,240,244,.28); filter: none; }
}
/* logi: dienā tumši, naktī iedegas — sinhroni ar orbītu */
.skyline .lit { fill: var(--amber); opacity: 0; animation: winEve 48s linear infinite; animation-delay: -7s; }
.skyline .lit.m { fill: var(--mint); animation-name: winNight; }
.skyline .lit.b2 { animation-delay: -6.2s; }
.skyline .lit.b3 { animation-delay: -7.8s; }
/* vairums logu: deg vakarā un no rīta, pa dienu un dziļā naktī tumši */
@keyframes winEve {
  0%, 21%   { opacity: 0; }
  26%, 40%  { opacity: .9; }
  47%, 60%  { opacity: 0; }
  66%, 76%  { opacity: .9; }
  82%, 100% { opacity: 0; }
}
/* daži "nakts putni": iedegas vakarā un paliek cauri naktij līdz ausmai */
@keyframes winNight {
  0%, 22%   { opacity: 0; }
  28%, 72%  { opacity: .8; }
  79%, 100% { opacity: 0; }
}
.scene .fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--night) 0%, transparent 34%);
}

/* ---------- vitrīnas un stikla durvis (1.-2. stāvs) ---------- */

.skyline .vit {
  fill: rgba(11,20,32,.5); stroke: rgba(234,240,244,.1); stroke-width: 1;
  animation: vitrine 48s linear infinite; animation-delay: -7s;
}
/* citu ēku vitrīnas: deg vakarā un rītā, naktī izslēdzas */
@keyframes vitrine {
  0%, 21%   { fill: rgba(11,20,32,.5); }
  25%, 44%  { fill: #E8C889; }
  50%, 60%  { fill: rgba(234,240,244,.08); }
  65%, 77%  { fill: #E8C889; }
  83%, 100% { fill: rgba(11,20,32,.5); }
}
/* HOTEL OPS vitrīnas un durvis deg līdz pat rītam */
.skyline .cvit { animation-name: vitClient; }
@keyframes vitClient {
  0%, 21%   { fill: rgba(11,20,32,.5); }
  25%, 77%  { fill: #F7DFA0; }
  83%, 100% { fill: rgba(11,20,32,.5); }
}
.skyline .mull { fill: #0D1826; }

/* ---------- iela un dienas satiksme ---------- */

.scene .road {
  position: absolute; inset: auto 0 0 0; height: 14px; z-index: 5;
  background: #0A111C; border-top: 1px solid rgba(234,240,244,.07);
}
.scene .road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(234,240,244,.16) 0 16px, transparent 16px 40px);
}

.scene .veh { position: absolute; bottom: 4px; z-index: 6; opacity: 0; }
.scene .bus {
  width: 52px; height: 17px; border-radius: 3px 5px 2px 2px;
  background: linear-gradient(#3E5570, #33475C);
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.scene .bus .win-strip {
  position: absolute; left: 5px; right: 8px; top: 3px; height: 6px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, rgba(242,208,138,.85) 0 6px, rgba(11,20,32,.9) 6px 9px);
}
.scene .bus::before, .scene .bus::after {
  content: ""; position: absolute; bottom: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: #060B12; box-shadow: inset 0 0 0 1.5px #2A3A4C;
}
.scene .bus::before { left: 7px; } .scene .bus::after { right: 7px; }

.scene .taxi {
  width: 27px; height: 10px; border-radius: 3px 4px 2px 2px;
  background: linear-gradient(#F2CB5E, #DDAF3F);
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.scene .taxi::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: -3px; height: 5px;
  border-radius: 2px 3px 0 0; background: #C99A34;
}
.scene .taxi::after {
  content: ""; position: absolute; bottom: -2px; left: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: #060B12; box-shadow: 14px 0 0 #060B12;
}

/* pietura pie HOTEL OPS (ēkas centrs 922/1920 = 48%) */
.scene { --stop: calc(48% - 26px); }

@keyframes busRun { /* rīta reiss: iebrauc, piestāj pie HOTEL OPS, izlaiž viesus, aizbrauc */
  0%, 83%    { left: 103%; opacity: 0; }
  83.6%      { opacity: 1; }
  89%, 93.5% { left: var(--stop); opacity: 1; }
  98.5%      { left: -8%; opacity: 1; }
  99%, 100%  { left: -8%; opacity: 0; }
}
@keyframes taxi1Run { /* pēcpusdienas takso ar pieturu */
  0%, 2.4%   { left: 103%; opacity: 0; }
  3%         { opacity: 1; }
  6.5%, 8.5% { left: calc(var(--stop) + 70px); opacity: 1; }
  12.5%      { left: -6%; opacity: 1; }
  13%, 100%  { left: -6%; opacity: 0; }
}
@keyframes taxi2Run { /* pusdienas takso — piestāj */
  0%, 10.4%  { left: 103%; opacity: 0; }
  11%        { opacity: 1; }
  14%, 16%   { left: calc(var(--stop) + 70px); opacity: 1; }
  20.5%      { left: -6%; opacity: 1; }
  21%, 100%  { left: -6%; opacity: 0; }
}
@keyframes taxi3Run { /* rīta takso — piestāj pēc autobusa */
  0%, 93.6%  { left: 103%; opacity: 0; }
  94.2%      { opacity: 1; }
  96%, 97.6% { left: calc(var(--stop) + 70px); opacity: 1; }
  99.7%      { left: -6%; opacity: 1; }
  99.9%, 100%{ left: -6%; opacity: 0; }
}
@keyframes bus2Run { /* pusdienlaika autobuss — piestāj */
  0%, 15%     { left: 103%; opacity: 0; }
  15.6%       { opacity: 1; }
  18.5%, 21%  { left: var(--stop); opacity: 1; }
  24.6%       { left: -8%; opacity: 1; }
  25%, 100%   { left: -8%; opacity: 0; }
}
@keyframes ntaxi1Run { /* nakts takso — atved vēlu viesi */
  0%, 32.4%   { left: 103%; opacity: 0; }
  33%         { opacity: 1; }
  36%, 38%    { left: calc(var(--stop) + 40px); opacity: 1; }
  42.5%       { left: -6%; opacity: 1; }
  43%, 100%   { left: -6%; opacity: 0; }
}
@keyframes ntaxi2Run {
  0%, 54.4%   { left: 103%; opacity: 0; }
  55%         { opacity: 1; }
  58%, 59.5%  { left: calc(var(--stop) + 40px); opacity: 1; }
  63.5%       { left: -6%; opacity: 1; }
  64%, 100%   { left: -6%; opacity: 0; }
}
.scene .v-bus1  { animation: busRun 48s linear infinite;  animation-delay: -7s; }
.scene .v-bus2  { animation: bus2Run 48s linear infinite; animation-delay: -7s; }
.scene .v-ntaxi1 { animation: ntaxi1Run 48s linear infinite; animation-delay: -7s; }
.scene .v-ntaxi2 { animation: ntaxi2Run 48s linear infinite; animation-delay: -7s; }
.scene .v-taxi1 { animation: taxi1Run 48s linear infinite; animation-delay: -7s; }
.scene .v-taxi2 { animation: taxi2Run 48s linear infinite; animation-delay: -7s; }
.scene .v-taxi3 { animation: taxi3Run 48s linear infinite; animation-delay: -7s; }

/* viesi: izkāpj no autobusa/takso un aiziet uz viesnīcas durvīm */
.scene .guest {
  position: absolute; bottom: 7px; left: calc(var(--stop) + 14px);
  width: 5px; height: 5px; border-radius: 50%; background: #E8D9B8; z-index: 6; opacity: 0;
}
@keyframes guestBusA {
  0%, 90%      { opacity: 0; transform: translate(0, 0); }
  90.6%, 93%   { opacity: 1; }
  93.8%        { opacity: 0; transform: translate(-26px, -5px); }
  94%, 100%    { opacity: 0; }
}
@keyframes guestBusB {
  0%, 91%      { opacity: 0; transform: translate(6px, 0); }
  91.6%, 93.4% { opacity: 1; }
  94.2%        { opacity: 0; transform: translate(-22px, -5px); }
  94.4%, 100%  { opacity: 0; }
}
@keyframes guestTaxi {
  0%, 6.8%     { opacity: 0; transform: translate(64px, 0); }
  7.2%, 8.6%   { opacity: 1; }
  9.6%         { opacity: 0; transform: translate(30px, -5px); }
  10%, 100%    { opacity: 0; }
}
@keyframes guestBus2 {
  0%, 19%      { opacity: 0; transform: translate(3px, 0); }
  19.6%, 20.8% { opacity: 1; }
  21.8%        { opacity: 0; transform: translate(-24px, -5px); }
  22%, 100%    { opacity: 0; }
}
@keyframes guestNight {
  0%, 36.3%    { opacity: 0; transform: translate(36px, 0); }
  36.8%, 37.9% { opacity: 1; }
  39%          { opacity: 0; transform: translate(6px, -5px); }
  39.4%, 100%  { opacity: 0; }
}
.scene .g1 { animation: guestBusA 48s linear infinite; animation-delay: -7s; }
.scene .g4 { animation: guestBus2 48s linear infinite; animation-delay: -7s; }
.scene .g5 { animation: guestNight 48s linear infinite; animation-delay: -7s; }
.scene .g2 { animation: guestBusB 48s linear infinite; animation-delay: -7s; }
.scene .g3 { animation: guestTaxi 48s linear infinite; animation-delay: -7s; }

/* ---------- moduļa lapas akcenti ---------- */

.mod-hero {
  background:
    radial-gradient(ellipse 780px 380px at 82% -60px, color-mix(in srgb, var(--acc) 14%, transparent), transparent 68%);
}
.mod-hero .kicker { color: var(--acc); }
.mod-hero .kicker::before { background: var(--acc); }
.mod-hero .mod-tagline { color: var(--acc); }
.mod-hero .ico { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 24px; }
.mod-hero .ico svg { width: 27px; height: 27px; }
.proc .idx { color: var(--acc); }
.proc .ja { border-left-color: var(--acc); }
.proc .dos .tick {
  background: color-mix(in srgb, var(--acc) 13%, transparent);
  border-color: color-mix(in srgb, var(--acc) 34%, transparent);
  color: var(--acc);
}

/* ---------- atklāšanās ritinot ---------- */

.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .rv, .feed-line, .bubble { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse, .caret, .logo .bell { animation: none !important; }
  .scene .orbit, .scene .sweep, .scene .skyglow { animation: none !important; }
  .scene .orbit { transform: rotate(200deg); }
  .skyline .lit { animation: none !important; opacity: .85; }
  .skyline .b, .skyline .w, .skyline .sign { animation: none !important; }
  .scene .veh, .scene .guest { animation: none !important; opacity: 0 !important; }
  .skyline .vit { animation: none !important; fill: #E8C889; }
  .skyline .cvit { fill: #F7DFA0; }
  .scene .skyglow { background: linear-gradient(to top, rgba(242,178,78,.18), transparent 75%); }
  html { scroll-behavior: auto; }
}

/* ---------- responsīvs ---------- */

@media (max-width: 980px) {
  .hero-grid, .ai-grid, .demo-box { grid-template-columns: 1fr; }
  .cards, .steps, .segs { grid-template-columns: 1fr 1fr; }
  .soon { grid-template-columns: 1fr 1fr; }
  .demo-box { padding: 38px 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .steps, .segs, .soon { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--night-2); border-bottom: 1px solid var(--line-strong);
    flex-direction: column; padding: 20px 28px; gap: 18px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .hero { padding: 56px 0 0; }
  .hero-grid { padding-bottom: 48px; }
  .scene { height: 165px; --stop: calc(44% - 26px); }
  .scene .skyline { width: 250%; left: 50%; transform: translateX(-50%); }
  .scene .orbit, .scene .sweep { width: 440px; height: 440px; margin-left: -220px; bottom: -230px; }
  .section { padding: 60px 0; }
  .proc-grid { grid-template-columns: 1fr; gap: 8px; }
  .proc .idx { padding-top: 0; }
}
