/* ═══════════════════════════════════════════════════════════════
   K5 apakšlapas: īsais hero, saturs, formas, raksti, portfolio,
   konsultāciju plānotājs, juridiskās lapas.
   Pamats (tokens, nav, hero, light-sheet) ir style.css.
   ═══════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: #fff; color: #111; padding: 10px 16px; border-radius: 8px; font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── Īsais hero apakšlapām ── */
.hero-section.hero-page {
  min-height: clamp(400px, 58vh, 600px);
  justify-content: flex-end;
  padding-bottom: clamp(96px, 14vh, 160px);
}
.hero-page .container { position: relative; width: 100%; }
.page-title {
  margin: 0;
  max-width: 17ch;
  font-weight: 700;
  font-size: clamp(38px, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
  animation: heroRise .9s cubic-bezier(.16, 1, .3, 1) both;
}
.page-title .accent-w { color: #e9b3a6; }
.page-lead {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 22px rgba(0, 0, 0, .5);
  animation: heroRise .9s .12s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-page .hero-cta-row {
  gap: 14px; flex-wrap: wrap; align-items: center;
  animation: heroRise .9s .24s cubic-bezier(.16, 1, .3, 1) both;
}
.pill-btn-ghost { background: transparent; }
.hero-page .pill-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-page .pill-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hero-section.hero-page::before {
  content: ""; position: absolute; inset: 0 0 calc(-1 * var(--cut)) 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 9, 14, .72) 0%, rgba(8, 9, 14, .4) 55%, rgba(8, 9, 14, 0) 100%);
}

/* Pogas uz gaiša fona (saites kā pogas) */
a.pill-btn { text-decoration: none; }
.light-sheet .pill-btn-ghost { color: #16171c; border-color: rgba(0, 0, 0, .28); }
.light-sheet .pill-btn-ghost:hover { background: rgba(0, 0, 0, .05); color: #16171c; border-color: #16171c; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: 12px 24px; border-radius: 9999px; cursor: pointer;
  border: 1px solid #16171c; background: #16171c; color: #fff; text-decoration: none;
  transition: all var(--transition);
}
.btn:hover { background: #000; }
.btn-outline { background: transparent; color: #16171c; border-color: rgba(0, 0, 0, .3); }
.btn-outline:hover { background: rgba(0, 0, 0, .05); border-color: #16171c; }
.btn-primary { background: #16171c; color: #fff; }

/* ── Gaišā satura pamati ── */
.light-sheet .container > .sec-head:first-child { margin-top: 0; }
.light-sheet a.text-link,
.light-sheet .article-body a,
.light-sheet .legal-content a,
.light-sheet .article-lead a { color: #8a3b2e; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link { font-weight: 600; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: #16171c;
  border-bottom: 1px solid rgba(0, 0, 0, .28); padding-bottom: 3px;
  transition: gap var(--transition), border-color var(--transition);
}
.arrow-link:hover { gap: 14px; border-color: #16171c; }

/* Pakalpojumu rindu meta ar saiti */
.service-link {
  font-size: .92rem; font-weight: 600; color: #16171c;
  border-bottom: 1px solid rgba(0, 0, 0, .28); padding-bottom: 2px; white-space: nowrap;
}
.service-row:hover .service-link { border-color: #16171c; }
a.service-row { color: inherit; }

/* ── Iekļautā saraksts ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.feature-item {
  display: flex; gap: 14px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.5; color: #1d1f25;
}
.feature-item::before { content: "✓"; flex-shrink: 0; color: #8a3b2e; font-weight: 700; }
.note-line { margin: 26px 0 0; color: #5a5d66; max-width: 70ch; line-height: 1.65; }

/* Cenas josla */
.price-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, .1);
}
.price-banner .pb-num { font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #111218; }
.price-banner .pb-num small { display: block; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: #6b6e76; margin-top: 10px; }
.price-banner p { margin: 0; color: #43464d; line-height: 1.65; max-width: 52ch; }
@media (max-width: 860px) { .price-banner { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: 1fr; } }

/* Četru faktu rinda */
.fact-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin-top: clamp(28px, 4vw, 48px); }
.fact { padding: 22px 20px 6px 0; }
.fact b { display: block; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; color: #111218; }
.fact span { display: block; margin-top: 6px; color: #5a5d66; font-size: .92rem; line-height: 1.5; }
@media (max-width: 860px) { .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Automatizācijas piemēri: tagad / ar automatizāciju */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-card { background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 16px; padding: clamp(22px, 2.6vw, 34px); }
.case-card h3 { margin: 0 0 18px; font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; color: #111218; }
.case-card dl { margin: 0; display: grid; gap: 14px; }
.case-card dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8d93; margin-bottom: 4px; }
.case-card dd { margin: 0; color: #3a3d44; line-height: 1.6; }
.case-card dd.after { color: #111218; font-weight: 500; }
.case-card dd.after::before { content: "→ "; color: #8a3b2e; font-weight: 700; }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

/* Ceļazīmju sistēmas ekrānuzņēmumi */
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot { margin: 0; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 16px; overflow: hidden; }
.shot img { width: 100%; height: auto; display: block; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.shot figcaption { padding: 16px 20px 18px; color: #43464d; font-size: .95rem; line-height: 1.55; }
.shot figcaption b { display: block; color: #111218; font-size: 1.02rem; margin-bottom: 2px; }
.shot.wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }
.calc-box { background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 16px; padding: clamp(22px, 2.6vw, 34px); }
.calc-box p { margin: 0 0 8px; color: #43464d; line-height: 1.6; }
.calc-box .calc-line { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .09); color: #111218; }
.calc-box .calc-line span:first-child { color: #5a5d66; }
.calc-box .calc-line b { font-weight: 700; text-align: right; }

/* ── Formas (gaišais fons) ── */
.k-form { display: grid; gap: 22px; }
.k-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .k-row { grid-template-columns: 1fr; } }
.k-field label, .k-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: #5a5d66; margin-bottom: 8px; }
.k-field input, .k-field select, .k-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #111218;
  background: #fff; border: 1px solid rgba(0, 0, 0, .16); border-radius: 12px;
  padding: 13px 15px; outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.k-field textarea { min-height: 150px; resize: vertical; }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus { border-color: #16171c; box-shadow: 0 0 0 3px rgba(22, 23, 28, .08); }
.k-check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.6; color: #43464d; cursor: pointer; }
.k-check input { margin-top: 5px; accent-color: #16171c; flex-shrink: 0; width: 16px; height: 16px; }
.k-check a { color: #8a3b2e; text-decoration: underline; text-underline-offset: 3px; }
.k-alert { padding: 16px 18px; border-radius: 12px; font-size: .95rem; line-height: 1.55; margin-bottom: 8px; }
.k-alert.ok { background: #e8f3ec; border: 1px solid #b6d9c2; color: #1d5a35; }
.k-alert.err { background: #fbeceb; border: 1px solid #f0c1bd; color: #8c2a22; }
.k-form .btn { justify-self: start; padding: 14px 30px; font-size: .95rem; }
.h-captcha { min-height: 78px; }

/* Kontaktu lapa */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.contact-card { display: block; padding: 22px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8d93; margin-bottom: 6px; }
.contact-card span, .contact-card a { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.015em; color: #111218; }
.contact-card a:hover { color: #8a3b2e; }
.contact-side-cta { margin-top: 28px; padding: 22px; border-radius: 16px; background: #16171c; color: #fff; }
.contact-side-cta p { margin: 0 0 14px; color: rgba(255, 255, 255, .8); line-height: 1.55; }
.contact-side-cta .pill-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.contact-side-cta .pill-btn:hover { background: #fff; color: #111; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Portfolio ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 40px); }
.filter-btn {
  font: inherit; font-size: .9rem; font-weight: 600; padding: 9px 18px; border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .2); background: transparent; color: #43464d; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: #16171c; color: #16171c; }
.filter-btn.active { background: #16171c; border-color: #16171c; color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.proj-card { display: block; width: 100%; text-align: left; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.proj-card[hidden] { display: none; }
.proj-media { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #e7e5e1; border: 1px solid rgba(0, 0, 0, .08); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj-card:hover .proj-media img, .proj-card:focus-visible .proj-media img { transform: scale(1.04); }
.proj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 2px 0; }
.proj-meta h3 { margin: 0; font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; color: #111218; }
.proj-meta span { color: #6b6e76; font-size: .9rem; text-align: right; }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } .proj-meta { flex-direction: column; gap: 4px; } .proj-meta span { text-align: left; } }

/* Projekta modālis */
.modal-label { margin: 6px 0 -8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8e97; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.modal-visit { color: #c5c7d0; font-size: .92rem; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.modal-visit:hover { color: #fff; border-color: #fff; }
.modal-title { font-weight: 700; }

/* Sākumlapas darbu saraksta saite */
a.work-line { text-decoration: none; color: inherit; }
.more-link { margin-top: clamp(24px, 3vw, 36px); }

/* ── Raksti ── */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.cat-chips a {
  font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .2); color: #43464d; transition: all var(--transition);
}
.cat-chips a span { margin-left: 6px; color: #9a9da5; font-weight: 500; }
.cat-chips a:hover { border-color: #16171c; color: #16171c; }
.cat-chips a.active { background: #16171c; border-color: #16171c; color: #fff; }
.cat-chips a.active span { color: rgba(255, 255, 255, .6); }

.article-featured {
  display: block; padding: clamp(26px, 3.4vw, 46px); border-radius: 20px; background: #16171c; color: #fff;
  margin-bottom: clamp(20px, 2.4vw, 32px); transition: transform .5s var(--ease);
}
.article-featured:hover { transform: translateY(-3px); }
.article-featured h2 { margin: 12px 0 14px; font-size: clamp(1.6rem, 3.2vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; max-width: 24ch; }
.article-featured p { margin: 0 0 20px; color: rgba(255, 255, 255, .78); max-width: 62ch; line-height: 1.65; }
.article-featured .article-card-meta { color: rgba(255, 255, 255, .6); }
.article-featured .svc-link { color: #fff; }
.article-featured .article-featured-cover, .article-card .article-card-cover { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px);
  background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 18px; color: inherit;
  transition: transform .5s var(--ease), border-color var(--transition);
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(0, 0, 0, .35); }
.article-card-meta { font-size: .84rem; color: #8a8d93; }
.article-card-meta strong { color: #8a3b2e; font-weight: 700; }
.article-card h2 { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #111218; }
.article-card p { margin: 0; color: #5a5d66; line-height: 1.6; font-size: .96rem; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .92rem; }
.svc-link svg { transition: transform var(--transition); }
.article-card:hover .svc-link svg, .article-featured:hover .svc-link svg { transform: translateX(4px); }
.article-empty, .article-rss { color: #5a5d66; }
.article-rss { margin-top: 32px; font-size: .92rem; }
.article-rss a { text-decoration: underline; text-underline-offset: 3px; }

.article-hero-meta { margin: 20px 0 0; color: rgba(255, 255, 255, .8); font-size: .95rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.article-hero-meta a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.article { max-width: 760px; margin: 0 auto; }
.article-lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.6; color: #2a2c33; font-weight: 500; margin: 0 0 clamp(28px, 3vw, 40px); }
.article-body { font-size: 1.06rem; line-height: 1.78; color: #2f3138; }
.article-body h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #111218; margin: 2.2em 0 .6em; }
.article-body h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: #111218; margin: 1.8em 0 .5em; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; display: grid; gap: .5em; }
.article-body ul { list-style: disc; } .article-body ol { list-style: decimal; }
.article-body strong { color: #111218; font-weight: 700; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .12); vertical-align: top; }
.article-body th { font-weight: 700; color: #111218; }
.article-body blockquote { margin: 1.6em 0; padding: 18px 0 0; border-top: 1px solid #8a3b2e; color: #3a3d44; font-size: 1.12em; }
.article-body code { font-size: .92em; background: rgba(0, 0, 0, .06); padding: 2px 6px; border-radius: 6px; }
.article-sources { margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgba(0, 0, 0, .12); }
.article-sources h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
.article-sources ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; color: #43464d; font-size: .95rem; }
.article-sources a { color: #8a3b2e; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.article-note { margin: 32px 0 26px; font-size: .86rem; color: #7a7d85; line-height: 1.6; }
.article-related { margin-top: clamp(48px, 6vw, 80px); }
.article-related > h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; margin: 0 0 22px; color: #111218; }

/* ── Mājaslapas ātrā pārbaude (raksta rīks) ── */
.sitecheck { margin: 40px 0; padding: clamp(22px, 3vw, 34px); border-radius: 20px; border: 1px solid rgba(0, 0, 0, .12); background: #fff; }
.article-body .sitecheck h3 { margin: 0 0 8px; }
.sitecheck-head h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.025em; }
.sitecheck-head p { font-size: .96rem; line-height: 1.65; color: #5a5d66; margin: 0 0 22px; }
.sitecheck-field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; color: #5a5d66; }
.sitecheck-field input { width: 100%; padding: 13px 15px; border: 1px solid rgba(0, 0, 0, .16); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; outline: none; }
.sitecheck-field input:focus { border-color: #16171c; box-shadow: 0 0 0 3px rgba(22, 23, 28, .08); }
.sitecheck .consent-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 8px; font-size: .86rem; line-height: 1.6; color: #43464d; cursor: pointer; }
.sitecheck .consent-check input { margin-top: 4px; accent-color: #16171c; flex-shrink: 0; }
.sitecheck .consent-check a { color: #8a3b2e; text-decoration: underline; }
.sitecheck-terms { margin: 4px 0 18px; font-size: .86rem; color: #5a5d66; }
.sitecheck-terms summary { cursor: pointer; font-weight: 600; color: #3a3d44; }
.sitecheck-terms ul { margin: 10px 0 0 1.2em; list-style: disc; display: grid; gap: 6px; line-height: 1.6; padding: 0; }
.sitecheck .h-captcha { margin-bottom: 16px; }
.sitecheck-status { margin-top: 16px; font-size: .94rem; line-height: 1.6; }
.sitecheck-status.is-busy { color: #16171c; font-weight: 600; }
.sitecheck-status.is-error { color: #b42318; font-weight: 600; }
.sitecheck-status.is-busy::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 2px solid #16171c; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: scspin .8s linear infinite; }
@keyframes scspin { to { transform: rotate(360deg); } }
.sitecheck-result { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .1); }
.sc-summary { display: flex; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 16px; background: #f5f4f2; margin-bottom: 26px; }
.sc-ring { --c: #16a34a; flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(15, 18, 34, .08) 0); position: relative; }
.sc-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #f5f4f2; }
.sc-ring span { position: relative; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.sc-summary.is-improve .sc-ring { --c: #d97706; }
.sc-summary.is-urgent .sc-ring { --c: #dc2626; }
.sc-summary-text h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.sc-summary-text p { font-size: .92rem; line-height: 1.65; color: #5a5d66; margin: 0 0 6px; }
.sc-summary-text .sc-meta { font-size: .8rem; color: #8a8d93; word-break: break-all; }
.sc-group { margin-bottom: 24px; }
.sc-group h4 { font-size: 1rem; font-weight: 700; margin: 0 0 10px; }
.sc-items { display: grid; gap: 8px; margin: 0; list-style: none; padding: 0; }
.sc-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-left: 3px solid rgba(0, 0, 0, .15); }
.sc-item.is-ok { border-left-color: #16a34a; } .sc-item.is-warn { border-left-color: #d97706; }
.sc-item.is-fail { border-left-color: #dc2626; } .sc-item.is-info { border-left-color: #6b7280; }
.sc-pill { flex-shrink: 0; min-width: 84px; padding: 3px 0; border-radius: 6px; text-align: center; font-size: .72rem; font-weight: 700; }
.is-ok .sc-pill { background: rgba(22, 163, 74, .12); color: #166534; } .is-warn .sc-pill { background: rgba(217, 119, 6, .14); color: #92400e; }
.is-fail .sc-pill { background: rgba(220, 38, 38, .12); color: #991b1b; } .is-info .sc-pill { background: rgba(107, 114, 128, .14); color: #374151; }
.sc-item-body { display: grid; gap: 3px; font-size: .92rem; line-height: 1.6; }
.sc-item-body strong { font-weight: 700; }
.sc-detail { color: #3a3d44; } .sc-tip { color: #6b6e76; font-size: .86rem; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.sc-disclaimer { font-size: .8rem; line-height: 1.65; color: #6b6e76; }
@media (max-width: 640px) { .sc-summary { flex-direction: column; align-items: flex-start; } .sc-item { flex-direction: column; gap: 8px; } }

/* ── Juridiskās lapas ── */
.legal-content { max-width: 780px; color: #2f3138; line-height: 1.75; font-size: 1.02rem; }
.legal-content h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; color: #111218; margin: 2.2em 0 .6em; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; margin: 1.6em 0 .4em; color: #111218; }
.legal-content p { margin: 0 0 1em; }
.legal-content ul { padding-left: 1.3em; list-style: disc; display: grid; gap: .45em; margin: 0 0 1.2em; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .94rem; }
.legal-content th, .legal-content td { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(0, 0, 0, .12); vertical-align: top; }
.legal-content th { font-weight: 700; color: #111218; }
.legal-meta { color: #8a8d93; font-size: .92rem; }
.table-scroll { overflow-x: auto; }

/* ── Konsultāciju plānotājs ── */
.bk-layout { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bk-aside h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #111218; }
.bk-aside p { margin: 0 0 18px; color: #43464d; line-height: 1.65; max-width: 44ch; }
.bk-points { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.bk-points li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); color: #1d1f25; line-height: 1.5; }
.bk-points li::before { content: "✓"; color: #8a3b2e; font-weight: 700; }
.bk {
  --ink: #111218; --sub: #7a7d85; --line: #dedcd8; --accent: #16171c;
  background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 22px;
  padding: clamp(22px, 3vw, 40px); font-feature-settings: "tnum";
}
.bk *, .bk *::before { box-sizing: border-box; }
.bk-head { margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.bk-head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; color: var(--ink); }
.bk-head p { margin: 0; color: var(--sub); font-size: .98rem; }
.bk-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); margin: 0 0 14px; }
.bk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.bk-month { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.bk-navs { display: flex; gap: 6px; }
.bk-nav { border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; font-size: 16px; line-height: 1; color: var(--ink); background: #fff; transition: background var(--transition); }
.bk-nav:hover:not(:disabled) { background: #f1efec; }
.bk-nav:disabled { color: #cfcdc8; cursor: default; }
.bk-tz { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.bk-dow { display: grid; grid-template-columns: repeat(7, 1fr); }
.bk-dow div { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--sub); padding: 0 0 10px; }
.bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-days > * { min-height: 46px; }
.bk-day { border: 0; border-radius: 12px; cursor: pointer; font-size: .98rem; color: var(--ink); width: 100%; min-height: 46px; background: transparent; transition: background var(--transition); }
.bk-day.muted { color: #cfcdc8; cursor: default; }
.bk-day.free { font-weight: 600; background: #f5f4f2; }
.bk-day.free:hover { background: #e9e6e1; }
.bk-day.sel { background: var(--accent); color: #fff; }
.bk-divider { height: 30px; }
.bk-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bk-hint { grid-column: 1 / -1; color: var(--sub); font-size: .95rem; padding: 6px 0; margin: 0; }
.bk-time { padding: 13px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .96rem; font-weight: 600; color: var(--ink); text-align: center; transition: all var(--transition); }
.bk-time:hover { border-color: var(--ink); }
.bk-time.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.bk-foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 30px; }
.bk-go { font: inherit; font-size: .95rem; font-weight: 700; color: var(--ink); padding: 12px 4px; background: none; border: 0; cursor: pointer; }
.bk-go:disabled { color: #cfcdc8; cursor: default; }
.bk-go.solid { background: var(--accent); color: #fff; padding: 14px 30px; border-radius: 9999px; }
.bk-go.solid:disabled { background: #ebe9e5; color: #b4b2ad; }
.bk-pick { font-size: .98rem; color: var(--sub); margin: 0 0 26px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bk-pick b { color: var(--ink); font-weight: 700; }
.bk-field { margin: 0 0 22px; }
.bk-field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); margin: 0 0 8px; }
.bk-field input, .bk-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; outline: none; }
.bk-field textarea { resize: vertical; }
.bk-field input:focus, .bk-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 23, 28, .08); }
.bk-foot.split { justify-content: space-between; }
.bk-back { color: var(--sub); font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 2px; background: none; border: 0; cursor: pointer; }
.bk-back:hover { color: var(--ink); }
.bk-err { color: #b3261e; font-size: .94rem; margin: 12px 0 0; min-height: 18px; }
.bk-done h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; margin: 0 0 10px; color: var(--ink); }
.bk-check { margin: 0 0 22px; }
.bk-check svg { width: 44px; height: 33px; stroke: #8a3b2e; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-done .sub { color: var(--sub); font-size: 1rem; margin: 0 0 26px; max-width: 42ch; }
.bk-when { font-size: 1.12rem; color: var(--ink); margin: 0; font-weight: 700; border-top: 1px solid var(--line); padding: 20px 0 4px; }
.bk-when-sub { font-size: .9rem; color: var(--sub); margin: 0 0 28px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.bk-meet { display: inline-block; background: var(--accent); color: #fff; padding: 14px 30px; font-weight: 700; font-size: .95rem; border-radius: 9999px; }
.bk [hidden] { display: none !important; }
@media (max-width: 900px) { .bk-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bk-times { grid-template-columns: repeat(3, 1fr); } .bk-days { gap: 2px; } }

/* ── Sīkdatņu paziņojums ── */
.cookie-notice {
  position: fixed; left: 20px; bottom: 20px; z-index: 1500; max-width: 420px;
  background: #16171c; color: #e8e8ec; border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  transform: translateY(calc(100% + 40px)); visibility: hidden; opacity: 0;
  transition: transform .5s var(--ease), opacity .4s, visibility .4s;
}
.cookie-notice.show { transform: none; visibility: visible; opacity: 1; }
.cookie-notice p { margin: 0 0 16px; font-size: .86rem; line-height: 1.6; color: #c5c7d0; }
.cookie-notice p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions { display: flex; gap: 10px; }
.cookie-notice-actions .pill-btn { flex: 1; color: #fff; border-color: rgba(255, 255, 255, .45); padding: 10px 16px; }
.cookie-notice-actions .pill-btn:first-child { background: #fff; color: #111; border-color: #fff; }
.cookie-notice-actions .pill-btn:first-child:hover { background: #e8e8ed; }
@media (max-width: 560px) { .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

.footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; margin-left: 20px; }
.footer-legal-links a, .footer-cookie-btn { color: inherit; text-decoration: none; opacity: .85; }
.footer-cookie-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal-links a:hover, .footer-cookie-btn:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .footer-legal-links { margin-left: 0; margin-top: 8px; display: flex; } }
.mobile-nav-cta { color: #e9b3a6; }

/* Aktīvā nav saite */
.site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .page-title, .page-lead, .hero-page .hero-cta-row { animation: none; }
}

h3.article-card-title { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #111218; }
a.service-action-btn { display: inline-flex; align-items: center; justify-content: center; }
.page-title.is-long { font-size: clamp(30px, 4.6vw, 62px); max-width: 24ch; line-height: 1.06; }

/* ── Noslēdzošais bloks: kreisais virsraksts, labajā kontaktu saraksts ── */
.light-sheet .cta-section { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); text-align: left; }
.cta-section .cta-wrap {
  max-width: none; margin: 0; display: grid; align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid rgba(0, 0, 0, .14); padding-top: clamp(36px, 5vw, 64px);
}
.cta-main { display: flex; flex-direction: column; align-items: flex-start; }
.light-sheet .cta-heading { font-size: clamp(40px, 6vw, 84px); line-height: 1; margin: 0 0 clamp(36px, 4vw, 52px); text-align: left; }
.light-sheet .cta-heading em { display: block; color: #8a3b2e; }
.cta-text { margin: -16px 0 clamp(28px, 3vw, 36px); max-width: 46ch; color: #43464d; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.cta-contacts { margin: 0; display: grid; }
.cta-contacts > div { padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.cta-contacts > div:first-child { border-top: 0; padding-top: 0; }
.cta-contacts dt { font-size: .82rem; color: #6b6e76; margin-bottom: 4px; }
.cta-contacts dd { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; color: #16171c; }
.cta-contacts a { color: inherit; text-decoration: none; }
.cta-contacts a:hover { color: #8a3b2e; }
@media (max-width: 860px) {
  .cta-section .cta-wrap { grid-template-columns: 1fr; align-items: start; }
}

/* ── Portfolio: projektu hronika ── */
.tl-intro { margin: 0 0 clamp(32px, 5vw, 64px); max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: #43464d; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; overflow-x: clip; }
.tl-body, .tl-media { min-width: 0; }
.tl::before { content: ""; position: absolute; top: 12px; bottom: 0; left: 169px; width: 1px; background: rgba(0, 0, 0, .16); }
.tl-year { display: flex; align-items: baseline; gap: 24px; padding: clamp(8px, 2vw, 24px) 0 clamp(20px, 3vw, 36px); position: relative; z-index: 1; background: #f5f4f2; }
.tl-year:not(:first-child) { padding-top: clamp(40px, 6vw, 80px); }
.tl-year-num { font-size: clamp(3rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: #16171c; }
.tl-year-count { font-size: .95rem; color: #6b6e76; }
.tl-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px) 0; position: relative; }
.tl-entry::before { content: ""; position: absolute; left: 164px; top: 50%; width: 11px; height: 11px; margin-top: -5px; border-radius: 50%; background: #f5f4f2; border: 2px solid var(--c, #16171c); }
.tl-date { font-size: 1.15rem; font-weight: 600; color: #16171c; text-align: left; }
.tl-type { display: inline-block; font-size: .85rem; color: #6b6e76; margin-bottom: 10px; }
.tl-body h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; color: #111218; }
.tl-body p { margin: 0 0 22px; max-width: 42ch; color: #43464d; line-height: 1.6; }
.tl-open { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: #16171c; cursor: pointer; border-bottom: 1px solid #16171c; padding-bottom: 2px; }
.tl-open:hover { color: #8a3b2e; border-color: #8a3b2e; }
.tl-open span { display: inline-block; transition: transform .25s var(--ease); }
.tl-open:hover span { transform: translateX(4px); }
.tl-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 16 / 10; }
.tl-media::before { content: ""; position: absolute; inset: 14% -4% -8% 8%; border-radius: 18px; background: var(--c, #d9d6d0); opacity: .9; transition: transform .5s var(--ease); }
.tl-media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); transition: transform .5s var(--ease); }
.tl-media:hover img, .tl-media:focus-visible img { transform: translate(-6px, -6px); }
.tl-media:hover::before { transform: translate(4px, 4px); }
@media (max-width: 860px) {
  .tl::before { left: 6px; }
  .tl-year { padding-left: 28px; }
  .tl-entry { grid-template-columns: minmax(0, 1fr); padding: 28px 0 28px 28px; row-gap: 16px; }
  .tl-media::before { inset: 12% 0 -6% 6%; }
  .tl-entry::before { left: 1px; top: 36px; margin-top: 0; }
  .tl-media { margin-top: 8px; }
}

/* ── Navigācijas izvēlne "Risinājumi" ── */
.nav-item { position: relative; }
.nav-drop {
  position: absolute; top: 100%; left: 50%; z-index: 95; padding-top: 16px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-card {
  width: 340px; padding: 24px 26px 22px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; color: #16171c; border-radius: 16px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06);
}
.nav-drop-card b { font-size: 1.1rem; letter-spacing: -.015em; }
.nav-drop-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: #5a5d66; }
.nav-drop-card ul { list-style: none; margin: 4px 0 6px; padding: 12px 0 0; border-top: 1px solid rgba(0, 0, 0, .08); display: grid; gap: 6px; font-size: .88rem; color: #43464d; }
.nav-drop-card li::before { content: "\2713"; color: #8a3b2e; margin-right: 8px; font-weight: 700; }
.nav-drop-actions { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.nav-drop-main { font-size: .9rem; font-weight: 600; color: #fff; background: #16171c; padding: 10px 18px; border-radius: 999px; transition: background .2s; }
.nav-drop-main:hover { background: #8a3b2e; color: #fff; }
.nav-drop-sub { font-size: .88rem; color: #5a5d66; border-bottom: 1px solid rgba(0, 0, 0, .25); }
.nav-drop-sub:hover { color: #16171c; border-color: #16171c; }

/* ── Ceļazīmju demonstrācija ── */
.cz { background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35); }
.cz-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #ece9e4; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.cz-dots { display: inline-flex; gap: 6px; }
.cz-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c8c4bd; }
.cz-title { font-size: .85rem; color: #5a5d66; }
.cz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.cz-steps button { width: 100%; padding: 16px 12px; border: 0; background: none; font: inherit; font-size: .92rem; color: #8a8d94; cursor: default; display: flex; gap: 10px; align-items: center; justify-content: center; border-bottom: 2px solid transparent; }
.cz-steps button b { width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; }
.cz-steps button:not(:disabled) { color: #16171c; cursor: pointer; }
.cz-steps button.on { border-bottom-color: #8a3b2e; color: #8a3b2e; }
.cz-body { padding: clamp(20px, 3vw, 36px); min-height: 340px; }
.cz-hint { margin: 0 0 18px; max-width: 62ch; color: #43464d; line-height: 1.6; }
.cz-btn { font: inherit; font-weight: 600; font-size: .92rem; color: #fff; background: #16171c; border: 1px solid #16171c; padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.cz-btn:hover:not(:disabled) { background: #8a3b2e; border-color: #8a3b2e; }
.cz-btn:disabled { opacity: .4; cursor: not-allowed; }
.cz-btn.ghost { background: none; color: #16171c; border-color: rgba(0, 0, 0, .25); }
.cz-btn.ghost:hover:not(:disabled) { background: rgba(0, 0, 0, .05); color: #16171c; border-color: #16171c; }
.cz-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px clamp(20px, 3vw, 36px); border-top: 1px solid rgba(0, 0, 0, .08); background: #faf9f7; }
.cz-foot [hidden] { display: none; }
.cz-foot #czNext { margin-left: auto; }
.cz-table-wrap { margin-top: 20px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 12px; overflow-x: auto; }
.cz-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.cz-table th, .cz-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, .07); white-space: nowrap; }
.cz-table th { font-weight: 600; font-size: .8rem; color: #6b6e76; background: #faf9f7; }
.cz-table .r { text-align: right; }
.cz-table tr:last-child td { border-bottom: 0; }
.cz-table tr.warn td { background: #fdf3ec; }
.cz-table select { font: inherit; font-size: .88rem; padding: 6px 8px; border: 1px solid #8a3b2e; border-radius: 8px; background: #fff; }
.cz-in { animation: czIn .35s var(--ease) both; }
@keyframes czIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cz-chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #eaf3ec; color: #1f6a3a; margin-right: 4px; }
.cz-status { margin: 16px 0 0; font-size: .92rem; color: #5a5d66; min-height: 1.4em; }
.cz-status.ok { color: #1f6a3a; }
.cz-status.warn { color: #9a3a1c; }
.cz-cars { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cz-cars button { font: inherit; font-size: .9rem; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .22); background: #fff; cursor: pointer; }
.cz-cars button.on { background: #16171c; color: #fff; border-color: #16171c; }
.cz-calc-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: end; margin-bottom: 20px; }
.cz-field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: #6b6e76; }
.cz-field input { font: inherit; font-size: 1.1rem; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .25); border-radius: 10px; color: #16171c; width: 100%; }
.cz-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: #6b6e76; }
.cz-facts b { color: #16171c; font-weight: 600; }
.cz-calc { border: 1px solid rgba(0, 0, 0, .1); border-radius: 12px; overflow: hidden; }
.cz-line { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid rgba(0, 0, 0, .07); font-variant-numeric: tabular-nums; }
.cz-line:first-child { border-top: 0; }
.cz-line span { color: #5a5d66; }
.cz-line.total { background: #faf9f7; }
.cz-line.total b { color: #8a3b2e; }
.cz-paper-wrap { background: #e9e6e0; padding: clamp(14px, 3vw, 32px); border-radius: 12px; margin-bottom: 20px; overflow-x: auto; }
.cz-paper { background: #fff; max-width: 720px; margin: 0 auto; padding: clamp(18px, 3vw, 40px); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); color: #16171c; font-size: .9rem; }
.cz-paper h4 { margin: 0 0 14px; font-size: 1.2rem; letter-spacing: -.01em; }
.cz-paper-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 16px; color: #5a5d66; }
.cz-paper-meta b { color: #16171c; }
.cz-paper table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cz-paper th, .cz-paper td { padding: 8px 10px; border-bottom: 1px solid #ddd; text-align: left; }
.cz-paper th { font-size: .78rem; color: #6b6e76; }
.cz-paper .r { text-align: right; }
.cz-paper tr.tot td { font-weight: 700; border-bottom: 0; }
.cz-paper-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.cz-paper-sum div { border: 1px solid #ddd; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.cz-paper-sum span { font-size: .75rem; color: #6b6e76; }
.cz-paper-note { margin: 18px 0 0; font-size: .78rem; color: #8a8d94; }
@media (max-width: 760px) {
  .cz-steps button { flex-direction: column; gap: 4px; font-size: .78rem; padding: 12px 4px; }
  .cz-calc-grid { grid-template-columns: 1fr; }
}
#czPrint2 { display: none; }
@media print {
  body.cz-printing > *:not(#czPrint2) { display: none !important; }
  body.cz-printing #czPrint2 { display: block !important; box-shadow: none; max-width: none; margin: 0; padding: 0; color: #000; background: #fff; }
  body.cz-printing { background: #fff !important; }
}

/* ── Ekrānuzņēmumu skatītājs (vienā vietā, nevis liels režģis) ── */
.shots { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.shots-tabs { display: flex; flex-direction: column; }
.shots-tabs button { text-align: left; font: inherit; background: none; border: 0; border-top: 1px solid rgba(0, 0, 0, .12); padding: 18px 0; cursor: pointer; color: #6b6e76; display: flex; flex-direction: column; gap: 4px; }
.shots-tabs button:last-child { border-bottom: 1px solid rgba(0, 0, 0, .12); }
.shots-tabs button b { font-size: 1.05rem; color: #6b6e76; font-weight: 600; transition: color .2s; }
.shots-tabs button span { font-size: .9rem; line-height: 1.5; display: none; }
.shots-tabs button:hover b { color: #16171c; }
.shots-tabs button.on b { color: #8a3b2e; }
.shots-tabs button.on span { display: block; color: #43464d; }
.shots-frame { position: relative; width: 100%; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .4); }
.shots-frame img { display: none; width: 100%; height: auto; }
.shots-frame img.on { display: block; animation: czIn .3s var(--ease) both; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shots-frame { order: -1; } }
